@webstudio-is/sdk 0.189.0 → 0.191.4

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 (38) hide show
  1. package/package.json +13 -9
  2. package/lib/__generated__/normalize.css.js +0 -505
  3. package/lib/index.js +0 -1377
  4. package/lib/types/__generated__/normalize.css.d.ts +0 -57
  5. package/lib/types/expression.d.ts +0 -53
  6. package/lib/types/expression.test.d.ts +0 -1
  7. package/lib/types/form-fields.d.ts +0 -8
  8. package/lib/types/index.d.ts +0 -22
  9. package/lib/types/instances-utils.d.ts +0 -5
  10. package/lib/types/instances-utils.test.d.ts +0 -1
  11. package/lib/types/jsx.d.ts +0 -151
  12. package/lib/types/jsx.test.d.ts +0 -1
  13. package/lib/types/page-meta-generator.d.ts +0 -24
  14. package/lib/types/page-meta-generator.test.d.ts +0 -1
  15. package/lib/types/page-utils.d.ts +0 -24
  16. package/lib/types/page-utils.test.d.ts +0 -1
  17. package/lib/types/resource-loader.d.ts +0 -25
  18. package/lib/types/resource-loader.test.d.ts +0 -1
  19. package/lib/types/resources-generator.d.ts +0 -22
  20. package/lib/types/resources-generator.test.d.ts +0 -1
  21. package/lib/types/schema/assets.d.ts +0 -527
  22. package/lib/types/schema/breakpoints.d.ts +0 -56
  23. package/lib/types/schema/data-sources.d.ts +0 -303
  24. package/lib/types/schema/deployment.d.ts +0 -41
  25. package/lib/types/schema/instances.d.ts +0 -208
  26. package/lib/types/schema/pages.d.ts +0 -675
  27. package/lib/types/schema/props.d.ts +0 -549
  28. package/lib/types/schema/resources.d.ts +0 -126
  29. package/lib/types/schema/style-source-selections.d.ts +0 -23
  30. package/lib/types/schema/style-sources.d.ts +0 -62
  31. package/lib/types/schema/styles.d.ts +0 -2629
  32. package/lib/types/schema/webstudio.d.ts +0 -2374
  33. package/lib/types/scope.d.ts +0 -16
  34. package/lib/types/scope.test.d.ts +0 -1
  35. package/lib/types/testing.d.ts +0 -1
  36. package/lib/types/to-string.d.ts +0 -2
  37. package/lib/types/url-pattern.d.ts +0 -2
  38. package/lib/types/url-pattern.test.d.ts +0 -1
@@ -1,16 +0,0 @@
1
- export type Scope = {
2
- /**
3
- * Accepts unique id to identify specific variable
4
- * and preferred name to use it as variable name
5
- * or suffix if already used.
6
- */
7
- getName(id: string, preferredName: string): string;
8
- };
9
- /**
10
- * Utility to maintain unique variable when generate code.
11
- * Single scope is shared for generated module for simplicity.
12
- *
13
- * occupiedIdentifiers parameter prevents collision with hardcoded
14
- * identifiers.
15
- */
16
- export declare const createScope: (occupiedIdentifiers?: string[], normalizeName?: (name: string) => string, separator?: string) => Scope;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from "./jsx";
@@ -1,2 +0,0 @@
1
- export declare const createJsonStringifyProxy: <T extends object>(target: T) => T;
2
- export declare const isPlainObject: (value: unknown) => value is object;
@@ -1,2 +0,0 @@
1
- export declare const isPathnamePattern: (pathname: string) => boolean;
2
- export declare const matchPathnameParams: (pathname: string) => RegExpStringIterator<RegExpExecArray>;
@@ -1 +0,0 @@
1
- export {};