@sugarcube-sh/core 0.0.1 → 0.0.2
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/dist/index.d.ts +10 -9
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -749,25 +749,25 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
749
749
|
themeAttribute: z.ZodOptional<z.ZodString>;
|
|
750
750
|
defaultContext: z.ZodOptional<z.ZodString>;
|
|
751
751
|
}, "strip", z.ZodTypeAny, {
|
|
752
|
-
defaultContext?: string | undefined;
|
|
753
|
-
components?: string | undefined;
|
|
754
752
|
cssRoot?: string | undefined;
|
|
755
753
|
variables?: string | undefined;
|
|
756
754
|
variablesFilename?: string | undefined;
|
|
757
755
|
utilities?: string | undefined;
|
|
758
756
|
utilitiesFilename?: string | undefined;
|
|
759
757
|
cube?: string | undefined;
|
|
758
|
+
components?: string | undefined;
|
|
760
759
|
themeAttribute?: string | undefined;
|
|
761
|
-
}, {
|
|
762
760
|
defaultContext?: string | undefined;
|
|
763
|
-
|
|
761
|
+
}, {
|
|
764
762
|
cssRoot?: string | undefined;
|
|
765
763
|
variables?: string | undefined;
|
|
766
764
|
variablesFilename?: string | undefined;
|
|
767
765
|
utilities?: string | undefined;
|
|
768
766
|
utilitiesFilename?: string | undefined;
|
|
769
767
|
cube?: string | undefined;
|
|
768
|
+
components?: string | undefined;
|
|
770
769
|
themeAttribute?: string | undefined;
|
|
770
|
+
defaultContext?: string | undefined;
|
|
771
771
|
}>>;
|
|
772
772
|
utilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
773
773
|
source: z.ZodString;
|
|
@@ -821,15 +821,15 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
821
821
|
stripDuplicates?: boolean | undefined;
|
|
822
822
|
}[]> | undefined;
|
|
823
823
|
output?: {
|
|
824
|
-
defaultContext?: string | undefined;
|
|
825
|
-
components?: string | undefined;
|
|
826
824
|
cssRoot?: string | undefined;
|
|
827
825
|
variables?: string | undefined;
|
|
828
826
|
variablesFilename?: string | undefined;
|
|
829
827
|
utilities?: string | undefined;
|
|
830
828
|
utilitiesFilename?: string | undefined;
|
|
831
829
|
cube?: string | undefined;
|
|
830
|
+
components?: string | undefined;
|
|
832
831
|
themeAttribute?: string | undefined;
|
|
832
|
+
defaultContext?: string | undefined;
|
|
833
833
|
} | undefined;
|
|
834
834
|
}, {
|
|
835
835
|
resolver?: string | undefined;
|
|
@@ -852,16 +852,17 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
852
852
|
stripDuplicates?: boolean | undefined;
|
|
853
853
|
}[]> | undefined;
|
|
854
854
|
output?: {
|
|
855
|
-
defaultContext?: string | undefined;
|
|
856
|
-
components?: string | undefined;
|
|
857
855
|
cssRoot?: string | undefined;
|
|
858
856
|
variables?: string | undefined;
|
|
859
857
|
variablesFilename?: string | undefined;
|
|
860
858
|
utilities?: string | undefined;
|
|
861
859
|
utilitiesFilename?: string | undefined;
|
|
862
860
|
cube?: string | undefined;
|
|
861
|
+
components?: string | undefined;
|
|
863
862
|
themeAttribute?: string | undefined;
|
|
863
|
+
defaultContext?: string | undefined;
|
|
864
864
|
} | undefined;
|
|
865
865
|
}>;
|
|
866
866
|
|
|
867
|
-
export {
|
|
867
|
+
export { DEFAULT_CONFIG, Instrumentation, PerfMonitor, clearMatchCache, configFileExists, convertConfigToUnoRules, defineConfig, fillDefaults, findResolverDocument, generateCSSVariables, isNoConfigError, loadAndResolveTokens, loadInternalConfig, loadSugarcubeConfig, processAndConvertTokens, userConfigSchema, validateConfig, writeCSSUtilitiesToDisk, writeCSSVariablesToDisk };
|
|
868
|
+
export type { CSSFileOutput, ColorFallbackStrategy, FluidConfig, InternalConfig, ModifierMeta, NormalizedConvertedTokens, ResolvedTokens, ResolverDiscoveryResult, SugarcubeConfig, TokenPipelineSource, TokenTree };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sugarcube-sh/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"LICENSE.md"
|
|
42
42
|
],
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"pkgroll": "2.
|
|
45
|
-
"vitest": "
|
|
44
|
+
"pkgroll": "^2.26.0",
|
|
45
|
+
"vitest": "^4.0.18"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"jiti": "2.4.2",
|