@styleframe/transpiler 3.4.0 → 3.4.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.
Files changed (158) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/index.d.cts +105 -0
  3. package/dist/index.d.mts +105 -0
  4. package/dist/index.d.ts +105 -10
  5. package/package.json +13 -7
  6. package/dist/constants.d.ts +0 -4
  7. package/dist/constants.d.ts.map +0 -1
  8. package/dist/consume/css/at-rule.d.ts +0 -8
  9. package/dist/consume/css/at-rule.d.ts.map +0 -1
  10. package/dist/consume/css/at-rule.test.d.ts +0 -2
  11. package/dist/consume/css/at-rule.test.d.ts.map +0 -1
  12. package/dist/consume/css/consume.d.ts +0 -7
  13. package/dist/consume/css/consume.d.ts.map +0 -1
  14. package/dist/consume/css/consume.test.d.ts +0 -2
  15. package/dist/consume/css/consume.test.d.ts.map +0 -1
  16. package/dist/consume/css/container.d.ts +0 -11
  17. package/dist/consume/css/container.d.ts.map +0 -1
  18. package/dist/consume/css/container.test.d.ts +0 -2
  19. package/dist/consume/css/container.test.d.ts.map +0 -1
  20. package/dist/consume/css/css.d.ts +0 -7
  21. package/dist/consume/css/css.d.ts.map +0 -1
  22. package/dist/consume/css/css.test.d.ts +0 -2
  23. package/dist/consume/css/css.test.d.ts.map +0 -1
  24. package/dist/consume/css/declarations.d.ts +0 -7
  25. package/dist/consume/css/declarations.d.ts.map +0 -1
  26. package/dist/consume/css/declarations.test.d.ts +0 -2
  27. package/dist/consume/css/declarations.test.d.ts.map +0 -1
  28. package/dist/consume/css/index.d.ts +0 -13
  29. package/dist/consume/css/index.d.ts.map +0 -1
  30. package/dist/consume/css/primitive.d.ts +0 -7
  31. package/dist/consume/css/primitive.d.ts.map +0 -1
  32. package/dist/consume/css/primitive.test.d.ts +0 -2
  33. package/dist/consume/css/primitive.test.d.ts.map +0 -1
  34. package/dist/consume/css/ref.d.ts +0 -7
  35. package/dist/consume/css/ref.d.ts.map +0 -1
  36. package/dist/consume/css/ref.test.d.ts +0 -2
  37. package/dist/consume/css/ref.test.d.ts.map +0 -1
  38. package/dist/consume/css/root.d.ts +0 -4
  39. package/dist/consume/css/root.d.ts.map +0 -1
  40. package/dist/consume/css/root.test.d.ts +0 -2
  41. package/dist/consume/css/root.test.d.ts.map +0 -1
  42. package/dist/consume/css/selector.d.ts +0 -7
  43. package/dist/consume/css/selector.d.ts.map +0 -1
  44. package/dist/consume/css/selector.test.d.ts +0 -2
  45. package/dist/consume/css/selector.test.d.ts.map +0 -1
  46. package/dist/consume/css/theme.d.ts +0 -4
  47. package/dist/consume/css/theme.d.ts.map +0 -1
  48. package/dist/consume/css/theme.test.d.ts +0 -2
  49. package/dist/consume/css/theme.test.d.ts.map +0 -1
  50. package/dist/consume/css/utility.d.ts +0 -7
  51. package/dist/consume/css/utility.d.ts.map +0 -1
  52. package/dist/consume/css/utility.test.d.ts +0 -2
  53. package/dist/consume/css/utility.test.d.ts.map +0 -1
  54. package/dist/consume/css/variable.d.ts +0 -4
  55. package/dist/consume/css/variable.d.ts.map +0 -1
  56. package/dist/consume/css/variable.test.d.ts +0 -2
  57. package/dist/consume/css/variable.test.d.ts.map +0 -1
  58. package/dist/consume/dts/constants.d.ts +0 -25
  59. package/dist/consume/dts/constants.d.ts.map +0 -1
  60. package/dist/consume/dts/consume.d.ts +0 -6
  61. package/dist/consume/dts/consume.d.ts.map +0 -1
  62. package/dist/consume/dts/index.d.ts +0 -7
  63. package/dist/consume/dts/index.d.ts.map +0 -1
  64. package/dist/consume/dts/recipe.d.ts +0 -8
  65. package/dist/consume/dts/recipe.d.ts.map +0 -1
  66. package/dist/consume/dts/recipe.test.d.ts +0 -2
  67. package/dist/consume/dts/recipe.test.d.ts.map +0 -1
  68. package/dist/consume/dts/root.d.ts +0 -4
  69. package/dist/consume/dts/root.d.ts.map +0 -1
  70. package/dist/consume/dts/root.test.d.ts +0 -2
  71. package/dist/consume/dts/root.test.d.ts.map +0 -1
  72. package/dist/consume/dts/selector.d.ts +0 -9
  73. package/dist/consume/dts/selector.d.ts.map +0 -1
  74. package/dist/consume/dts/shims.d.ts +0 -10
  75. package/dist/consume/dts/shims.d.ts.map +0 -1
  76. package/dist/consume/dts/shims.test.d.ts +0 -2
  77. package/dist/consume/dts/shims.test.d.ts.map +0 -1
  78. package/dist/consume/ts/consume.d.ts +0 -7
  79. package/dist/consume/ts/consume.d.ts.map +0 -1
  80. package/dist/consume/ts/index.d.ts +0 -4
  81. package/dist/consume/ts/index.d.ts.map +0 -1
  82. package/dist/consume/ts/recipe.d.ts +0 -8
  83. package/dist/consume/ts/recipe.d.ts.map +0 -1
  84. package/dist/consume/ts/recipe.test.d.ts +0 -2
  85. package/dist/consume/ts/recipe.test.d.ts.map +0 -1
  86. package/dist/consume/ts/root.d.ts +0 -4
  87. package/dist/consume/ts/root.d.ts.map +0 -1
  88. package/dist/consume/ts/root.test.d.ts +0 -2
  89. package/dist/consume/ts/root.test.d.ts.map +0 -1
  90. package/dist/consume/ts/selector.d.ts +0 -9
  91. package/dist/consume/ts/selector.d.ts.map +0 -1
  92. package/dist/consume/ts/selector.test.d.ts +0 -2
  93. package/dist/consume/ts/selector.test.d.ts.map +0 -1
  94. package/dist/defaults.d.ts +0 -5
  95. package/dist/defaults.d.ts.map +0 -1
  96. package/dist/defaults.test.d.ts +0 -2
  97. package/dist/defaults.test.d.ts.map +0 -1
  98. package/dist/generator/genAtRuleQuery.d.ts +0 -2
  99. package/dist/generator/genAtRuleQuery.d.ts.map +0 -1
  100. package/dist/generator/genAtRuleQuery.test.d.ts +0 -2
  101. package/dist/generator/genAtRuleQuery.test.d.ts.map +0 -1
  102. package/dist/generator/genDeclaration.d.ts +0 -2
  103. package/dist/generator/genDeclaration.d.ts.map +0 -1
  104. package/dist/generator/genDeclaration.test.d.ts +0 -2
  105. package/dist/generator/genDeclaration.test.d.ts.map +0 -1
  106. package/dist/generator/genDeclarationsBlock.d.ts +0 -2
  107. package/dist/generator/genDeclarationsBlock.d.ts.map +0 -1
  108. package/dist/generator/genDeclarationsBlock.test.d.ts +0 -2
  109. package/dist/generator/genDeclarationsBlock.test.d.ts.map +0 -1
  110. package/dist/generator/genDeclareVariable.d.ts +0 -2
  111. package/dist/generator/genDeclareVariable.d.ts.map +0 -1
  112. package/dist/generator/genDeclareVariable.test.d.ts +0 -2
  113. package/dist/generator/genDeclareVariable.test.d.ts.map +0 -1
  114. package/dist/generator/genInlineAtRule.d.ts +0 -2
  115. package/dist/generator/genInlineAtRule.d.ts.map +0 -1
  116. package/dist/generator/genInlineAtRule.test.d.ts +0 -2
  117. package/dist/generator/genInlineAtRule.test.d.ts.map +0 -1
  118. package/dist/generator/genReferenceVariable.d.ts +0 -2
  119. package/dist/generator/genReferenceVariable.d.ts.map +0 -1
  120. package/dist/generator/genReferenceVariable.test.d.ts +0 -2
  121. package/dist/generator/genReferenceVariable.test.d.ts.map +0 -1
  122. package/dist/generator/genSafePropertyName.d.ts +0 -2
  123. package/dist/generator/genSafePropertyName.d.ts.map +0 -1
  124. package/dist/generator/genSafePropertyName.test.d.ts +0 -2
  125. package/dist/generator/genSafePropertyName.test.d.ts.map +0 -1
  126. package/dist/generator/genSafeVariableName.d.ts +0 -10
  127. package/dist/generator/genSafeVariableName.d.ts.map +0 -1
  128. package/dist/generator/genSafeVariableName.test.d.ts +0 -2
  129. package/dist/generator/genSafeVariableName.test.d.ts.map +0 -1
  130. package/dist/generator/genSelector.d.ts +0 -2
  131. package/dist/generator/genSelector.d.ts.map +0 -1
  132. package/dist/generator/genSelector.test.d.ts +0 -2
  133. package/dist/generator/genSelector.test.d.ts.map +0 -1
  134. package/dist/generator/index.d.ts +0 -10
  135. package/dist/generator/index.d.ts.map +0 -1
  136. package/dist/index.d.ts.map +0 -1
  137. package/dist/license.d.ts +0 -3
  138. package/dist/license.d.ts.map +0 -1
  139. package/dist/minify/defaults.d.ts +0 -3
  140. package/dist/minify/defaults.d.ts.map +0 -1
  141. package/dist/minify/generate-map.d.ts +0 -8
  142. package/dist/minify/generate-map.d.ts.map +0 -1
  143. package/dist/minify/generate-map.test.d.ts +0 -2
  144. package/dist/minify/generate-map.test.d.ts.map +0 -1
  145. package/dist/minify/index.d.ts +0 -5
  146. package/dist/minify/index.d.ts.map +0 -1
  147. package/dist/minify/shorten.d.ts +0 -4
  148. package/dist/minify/shorten.d.ts.map +0 -1
  149. package/dist/minify/shorten.test.d.ts +0 -2
  150. package/dist/minify/shorten.test.d.ts.map +0 -1
  151. package/dist/transpile.d.ts +0 -5
  152. package/dist/transpile.d.ts.map +0 -1
  153. package/dist/transpile.test.d.ts +0 -2
  154. package/dist/transpile.test.d.ts.map +0 -1
  155. package/dist/types.d.ts +0 -31
  156. package/dist/types.d.ts.map +0 -1
  157. package/dist/utils.d.ts +0 -7
  158. package/dist/utils.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"utility.test.d.ts","sourceRoot":"","sources":["../../../src/consume/css/utility.test.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { StyleframeOptions, Variable } from '@styleframe/core';
2
- import { ConsumeFunction } from '../../types';
3
- export declare function createVariableConsumer(consume: ConsumeFunction): (instance: Variable, options: StyleframeOptions) => string;
4
- //# sourceMappingURL=variable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../../src/consume/css/variable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,eAAe,IAE7D,UAAU,QAAQ,EAClB,SAAS,iBAAiB,KACxB,MAAM,CAMT"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=variable.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variable.test.d.ts","sourceRoot":"","sources":["../../../src/consume/css/variable.test.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- /**
2
- * Shared constants for the DTS (TypeScript declaration) output pipeline.
3
- *
4
- * The DTS pipeline emits two files that describe the same exports in two forms:
5
- * - `styleframe.d.ts` — top-level exports (the `virtual:styleframe` module shape).
6
- * Vue consumers map `virtual:styleframe` to this file via a
7
- * `compilerOptions.paths` entry, because `vue-tsc` won't resolve a
8
- * bare-specifier ambient module imported inside a `.vue` SFC.
9
- * - `shims.d.ts` — self-contained ambient declarations: a `declare module
10
- * "virtual:styleframe"` carrying the full typed exports, plus the
11
- * `virtual:styleframe.css` string shim. Non-Vue consumers include this file
12
- * (via the `.styleframe/**\/*.d.ts` glob) and resolve both virtual modules
13
- * with zero `paths` configuration.
14
- */
15
- /** Header prepended to every generated declaration file. */
16
- export declare const DTS_HEADER = "// Auto-generated by @styleframe/plugin - DO NOT EDIT";
17
- /** File holding the top-level exports for the `virtual:styleframe` module. */
18
- export declare const DTS_TYPES_FILENAME = "styleframe.d.ts";
19
- /** File holding the self-contained ambient shims for the virtual modules. */
20
- export declare const DTS_SHIMS_FILENAME = "shims.d.ts";
21
- /** Specifier for the typed virtual module wrapped ambiently in `shims.d.ts`. */
22
- export declare const VIRTUAL_TS_MODULE_ID = "virtual:styleframe";
23
- /** Specifier for the CSS virtual module resolved via the ambient shim. */
24
- export declare const VIRTUAL_CSS_MODULE_ID = "virtual:styleframe.css";
25
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,4DAA4D;AAC5D,eAAO,MAAM,UAAU,0DACiC,CAAC;AAEzD,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAE/C,gFAAgF;AAChF,eAAO,MAAM,oBAAoB,uBAAuB,CAAC;AAEzD,0EAA0E;AAC1E,eAAO,MAAM,qBAAqB,2BAA2B,CAAC"}
@@ -1,6 +0,0 @@
1
- import { StyleframeOptions } from '@styleframe/core';
2
- /**
3
- * Consumes any token instance and returns the DTS (TypeScript declaration) string representation
4
- */
5
- export declare function consume(instance: unknown, options: StyleframeOptions): string;
6
- //# sourceMappingURL=consume.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consume.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/consume.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAM1D;;GAEG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAiB7E"}
@@ -1,7 +0,0 @@
1
- export * from './constants';
2
- export * from './consume';
3
- export * from './recipe';
4
- export * from './root';
5
- export * from './selector';
6
- export * from './shims';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -1,8 +0,0 @@
1
- import { Recipe, StyleframeOptions } from '@styleframe/core';
2
- import { ConsumeFunction } from '../../types';
3
- /**
4
- * Consumes a recipe instance and generates TypeScript type declaration for it.
5
- * Outputs the function signature with variant props type.
6
- */
7
- export declare function createRecipeConsumer(_consume: ConsumeFunction): (instance: Recipe, _options: StyleframeOptions) => string;
8
- //# sourceMappingURL=recipe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAmCnD;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,eAAe,IAE5D,UAAU,MAAM,EAChB,UAAU,iBAAiB,KACzB,MAAM,CAmBT"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=recipe.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recipe.test.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/recipe.test.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { Root, StyleframeOptions } from '@styleframe/core';
2
- import { ConsumeFunction } from '../../types';
3
- export declare function createRootConsumer(consume: ConsumeFunction): (instance: Root, options: StyleframeOptions) => string;
4
- //# sourceMappingURL=root.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/root.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,IAAI,EAEJ,iBAAiB,EACjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAcnD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,IAC9B,UAAU,IAAI,EAAE,SAAS,iBAAiB,YAyCtE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=root.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"root.test.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/root.test.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { Selector, StyleframeOptions } from '@styleframe/core';
2
- import { ConsumeFunction } from '../../types';
3
- /**
4
- * Consumes a selector instance and generates TypeScript type declaration for it.
5
- * Only generates output if the selector has an _exportName set.
6
- * Exports the selector as a string type.
7
- */
8
- export declare function createSelectorConsumer(_consume: ConsumeFunction): (instance: Selector, _options: StyleframeOptions) => string;
9
- //# sourceMappingURL=selector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"selector.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/selector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,eAAe,IAE9D,UAAU,QAAQ,EAClB,UAAU,iBAAiB,KACzB,MAAM,CAQT"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Generates the self-contained ambient shims for the virtual modules.
3
- *
4
- * Emits a `declare module "virtual:styleframe"` block carrying the full typed
5
- * exports (so non-Vue consumers resolve it with zero `paths` config) followed by
6
- * the `virtual:styleframe.css` string shim. The typed exports are passed in as
7
- * `typesContent` — the same string written to `styleframe.d.ts`.
8
- */
9
- export declare function generateShims(typesContent: string): string;
10
- //# sourceMappingURL=shims.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shims.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/shims.ts"],"names":[],"mappings":"AA4BA;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAY1D"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=shims.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shims.test.d.ts","sourceRoot":"","sources":["../../../src/consume/dts/shims.test.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { StyleframeOptions } from '@styleframe/core';
2
- import { TranspileContext } from '../../types';
3
- /**
4
- * Consumes any token instance and returns the TS string representation
5
- */
6
- export declare function consume(instance: unknown, options: StyleframeOptions, context?: TranspileContext): string;
7
- //# sourceMappingURL=consume.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consume.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/consume.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAKpD;;GAEG;AACH,wBAAgB,OAAO,CACtB,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,iBAAiB,EAC1B,OAAO,CAAC,EAAE,gBAAgB,GACxB,MAAM,CAiBR"}
@@ -1,4 +0,0 @@
1
- export * from './consume';
2
- export * from './recipe';
3
- export * from './root';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
@@ -1,8 +0,0 @@
1
- import { Recipe, StyleframeOptions } from '@styleframe/core';
2
- import { ConsumeFunction, TranspileContext } from '../../types';
3
- /**
4
- * Consumes a recipe instance and generates TypeScript code for it.
5
- * Outputs the _runtime field which contains resolved keys for efficient class name lookups.
6
- */
7
- export declare function createRecipeConsumer(_consume: ConsumeFunction): (instance: Recipe, _options: StyleframeOptions, context?: TranspileContext) => string;
8
- //# sourceMappingURL=recipe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGrE;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,eAAe,IAE5D,UAAU,MAAM,EAChB,UAAU,iBAAiB,EAC3B,UAAU,gBAAgB,KACxB,MAAM,CA4BT"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=recipe.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recipe.test.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/recipe.test.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { Root, StyleframeOptions } from '@styleframe/core';
2
- import { ConsumeFunction, TranspileContext } from '../../types';
3
- export declare function createRootConsumer(consume: ConsumeFunction): (instance: Root, options: StyleframeOptions, context?: TranspileContext) => string;
4
- //# sourceMappingURL=root.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/root.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,IAAI,EAEJ,iBAAiB,EACjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAarE,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,IAEzD,UAAU,IAAI,EACd,SAAS,iBAAiB,EAC1B,UAAU,gBAAgB,YAgD3B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=root.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"root.test.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/root.test.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { Selector, StyleframeOptions } from '@styleframe/core';
2
- import { ConsumeFunction } from '../../types';
3
- /**
4
- * Consumes a selector instance and generates TypeScript code for it.
5
- * Only generates output if the selector has an _exportName set.
6
- * Exports the selector query string.
7
- */
8
- export declare function createSelectorConsumer(_consume: ConsumeFunction): (instance: Selector, _options: StyleframeOptions) => string;
9
- //# sourceMappingURL=selector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"selector.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/selector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,eAAe,IAE9D,UAAU,QAAQ,EAClB,UAAU,iBAAiB,KACzB,MAAM,CAST"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=selector.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"selector.test.d.ts","sourceRoot":"","sources":["../../../src/consume/ts/selector.test.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { ThemeSelectorFn, VariableNameFn } from '@styleframe/core';
2
- export { defaultUtilitySelectorFn } from '@styleframe/core';
3
- export declare const defaultThemeSelectorFn: ThemeSelectorFn;
4
- export declare const defaultVariableNameFn: VariableNameFn;
5
- //# sourceMappingURL=defaults.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,sBAAsB,EAAE,eAEpC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAEnC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=defaults.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaults.test.d.ts","sourceRoot":"","sources":["../src/defaults.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genAtRuleQuery(identifier: string, rule: string): string;
2
- //# sourceMappingURL=genAtRuleQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genAtRuleQuery.d.ts","sourceRoot":"","sources":["../../src/generator/genAtRuleQuery.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAE9D"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genAtRuleQuery.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genAtRuleQuery.test.d.ts","sourceRoot":"","sources":["../../src/generator/genAtRuleQuery.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genDeclaration(property: string, value: string): string;
2
- //# sourceMappingURL=genDeclaration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genDeclaration.d.ts","sourceRoot":"","sources":["../../src/generator/genDeclaration.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAMtE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genDeclaration.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genDeclaration.test.d.ts","sourceRoot":"","sources":["../../src/generator/genDeclaration.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genDeclarationsBlock(declarations: string[]): string;
2
- //# sourceMappingURL=genDeclarationsBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genDeclarationsBlock.d.ts","sourceRoot":"","sources":["../../src/generator/genDeclarationsBlock.ts"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,UAI1D"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genDeclarationsBlock.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genDeclarationsBlock.test.d.ts","sourceRoot":"","sources":["../../src/generator/genDeclarationsBlock.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genDeclareVariable(name: string, value: string): string;
2
- //# sourceMappingURL=genDeclareVariable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genDeclareVariable.d.ts","sourceRoot":"","sources":["../../src/generator/genDeclareVariable.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAE7D"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genDeclareVariable.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genDeclareVariable.test.d.ts","sourceRoot":"","sources":["../../src/generator/genDeclareVariable.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genInlineAtRule(identifier: string, rule: string): string;
2
- //# sourceMappingURL=genInlineAtRule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genInlineAtRule.d.ts","sourceRoot":"","sources":["../../src/generator/genInlineAtRule.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAE/D"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genInlineAtRule.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genInlineAtRule.test.d.ts","sourceRoot":"","sources":["../../src/generator/genInlineAtRule.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genReferenceVariable(name: string, fallback?: string): string;
2
- //# sourceMappingURL=genReferenceVariable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genReferenceVariable.d.ts","sourceRoot":"","sources":["../../src/generator/genReferenceVariable.ts"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5E"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genReferenceVariable.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genReferenceVariable.test.d.ts","sourceRoot":"","sources":["../../src/generator/genReferenceVariable.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genSafePropertyName(name: string): string;
2
- //# sourceMappingURL=genSafePropertyName.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genSafePropertyName.d.ts","sourceRoot":"","sources":["../../src/generator/genSafePropertyName.ts"],"names":[],"mappings":"AAEA,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genSafePropertyName.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genSafePropertyName.test.d.ts","sourceRoot":"","sources":["../../src/generator/genSafePropertyName.test.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- /**
2
- * CSS variable names must start with -- and can only contain:
3
- * - letters (a-z, A-Z)
4
- * - digits (0-9)
5
- * - hyphens (-)
6
- * - underscores (_)
7
- * - non-ASCII characters (code points >= 0x80)
8
- */
9
- export declare function genSafeVariableName(name: string): string;
10
- //# sourceMappingURL=genSafeVariableName.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genSafeVariableName.d.ts","sourceRoot":"","sources":["../../src/generator/genSafeVariableName.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,UAY/C"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genSafeVariableName.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genSafeVariableName.test.d.ts","sourceRoot":"","sources":["../../src/generator/genSafeVariableName.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function genSelector(query: string, declarations: string[]): string;
2
- //# sourceMappingURL=genSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genSelector.d.ts","sourceRoot":"","sources":["../../src/generator/genSelector.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAEzE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=genSelector.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genSelector.test.d.ts","sourceRoot":"","sources":["../../src/generator/genSelector.test.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- export * from './genAtRuleQuery';
2
- export * from './genDeclaration';
3
- export * from './genDeclarationsBlock';
4
- export * from './genDeclareVariable';
5
- export * from './genInlineAtRule';
6
- export * from './genSafePropertyName';
7
- export * from './genReferenceVariable';
8
- export * from './genSafeVariableName';
9
- export * from './genSelector';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generator/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
package/dist/license.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { Styleframe } from '@styleframe/core';
2
- export declare function addLicenseWatermark(instance: Styleframe): void;
3
- //# sourceMappingURL=license.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../src/license.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGnD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,UAAU,QAyBvD"}
@@ -1,3 +0,0 @@
1
- export declare const defaultPropertyShortNames: Record<string, string>;
2
- export declare const defaultModifierShortNames: Record<string, string>;
3
- //# sourceMappingURL=defaults.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/minify/defaults.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA8E5D,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAU5D,CAAC"}
@@ -1,8 +0,0 @@
1
- import { Root, ShorteningMap } from '@styleframe/core';
2
- export type ShorteningMapDefaults = {
3
- properties?: Record<string, string>;
4
- values?: Record<string, string>;
5
- modifiers?: Record<string, string>;
6
- };
7
- export declare function generateShorteningMap(root: Root, defaults?: ShorteningMapDefaults): ShorteningMap;
8
- //# sourceMappingURL=generate-map.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generate-map.d.ts","sourceRoot":"","sources":["../../src/minify/generate-map.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAO5D,MAAM,MAAM,qBAAqB,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC,CAAC;AA4EF,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,IAAI,EACV,QAAQ,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAoBf"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=generate-map.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generate-map.test.d.ts","sourceRoot":"","sources":["../../src/minify/generate-map.test.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export { defaultModifierShortNames, defaultPropertyShortNames, } from './defaults';
2
- export { generateShorteningMap } from './generate-map';
3
- export type { ShorteningMapDefaults } from './generate-map';
4
- export { buildClassNameLookup, shortenUtilityOptions } from './shorten';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/minify/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,yBAAyB,EACzB,yBAAyB,GACzB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,YAAY,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Root, ShorteningMap, UtilitySelectorFn, UtilitySelectorOptions } from '@styleframe/core';
2
- export declare function shortenUtilityOptions(opts: UtilitySelectorOptions, map: ShorteningMap): UtilitySelectorOptions;
3
- export declare function buildClassNameLookup(root: Root, map: ShorteningMap, selectorFn?: UtilitySelectorFn): Record<string, string>;
4
- //# sourceMappingURL=shorten.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shorten.d.ts","sourceRoot":"","sources":["../../src/minify/shorten.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,MAAM,kBAAkB,CAAC;AAG1B,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,sBAAsB,EAC5B,GAAG,EAAE,aAAa,GAChB,sBAAsB,CAOxB;AAED,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,aAAa,EAClB,UAAU,GAAE,iBAA4C,GACtD,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA2BxB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=shorten.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shorten.test.d.ts","sourceRoot":"","sources":["../../src/minify/shorten.test.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { Styleframe } from '@styleframe/core';
2
- import { Output, OutputFile, TranspileOptions } from './types';
3
- export declare function createFile(name: string, content?: string): OutputFile;
4
- export declare function transpile(instance: Styleframe, { type, treeshake, scanner, minify, minifyOptions, consumers, }?: TranspileOptions): Promise<Output>;
5
- //# sourceMappingURL=transpile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transpile.d.ts","sourceRoot":"","sources":["../src/transpile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAqB,MAAM,kBAAkB,CAAC;AAgBtE,OAAO,KAAK,EACX,MAAM,EACN,UAAU,EAEV,gBAAgB,EAChB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,MAAW,GAAG,UAAU,CAKzE;AAED,wBAAsB,SAAS,CAC9B,QAAQ,EAAE,UAAU,EACpB,EACC,IAAY,EACZ,SAAiB,EACjB,OAAe,EACf,MAAc,EACd,aAAa,EACb,SAA+D,GAC/D,GAAE,gBAAqB,GACtB,OAAO,CAAC,MAAM,CAAC,CA2CjB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=transpile.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transpile.test.d.ts","sourceRoot":"","sources":["../src/transpile.test.ts"],"names":[],"mappings":""}
package/dist/types.d.ts DELETED
@@ -1,31 +0,0 @@
1
- import { ShorteningMap, StyleframeOptions } from '@styleframe/core';
2
- export type OutputFile = {
3
- name: string;
4
- content: string;
5
- };
6
- export type Output = {
7
- files: OutputFile[];
8
- };
9
- export type TranspileContext = {
10
- treeshake?: boolean;
11
- scanner?: boolean;
12
- shortMap?: ShorteningMap;
13
- };
14
- export type ConsumeFunction = (instance: unknown, options: StyleframeOptions, context?: TranspileContext) => string;
15
- export type TranspileOptions = {
16
- type?: "css" | "ts" | "dts" | "all";
17
- treeshake?: boolean;
18
- scanner?: boolean;
19
- minify?: boolean;
20
- minifyOptions?: {
21
- properties?: Record<string, string>;
22
- values?: Record<string, string>;
23
- modifiers?: Record<string, string>;
24
- };
25
- consumers?: {
26
- css: ConsumeFunction;
27
- ts: ConsumeFunction;
28
- dts: ConsumeFunction;
29
- };
30
- };
31
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,MAAM,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,UAAU,EAAE,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAC7B,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,iBAAiB,EAC1B,OAAO,CAAC,EAAE,gBAAgB,KACtB,MAAM,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG;IAC9B,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE;QACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAChC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACnC,CAAC;IACF,SAAS,CAAC,EAAE;QACX,GAAG,EAAE,eAAe,CAAC;QACrB,EAAE,EAAE,eAAe,CAAC;QACpB,GAAG,EAAE,eAAe,CAAC;KACrB,CAAC;CACF,CAAC"}
package/dist/utils.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { KebabCase, CamelCase } from 'scule';
2
- export declare function addIndentToLine(line: string): string;
3
- export declare function indentLines(lines: string): string;
4
- export declare function isUppercase(char: string): boolean;
5
- export declare function toCamelCase<S extends string>(str: S): CamelCase<S>;
6
- export declare function toKebabCase<S extends string>(str: S): KebabCase<S>;
7
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKjD;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjD;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAElE;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAElE"}