@arbor-css/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/config.d.ts +3 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/index.d.ts +2 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/dist/runtime/components/SystemDemo.js +1 -1
- package/dist/runtime/components/SystemDemo.js.map +1 -1
- package/dist/runtime/readProperties.js +1 -1
- package/dist/runtime/readProperties.js.map +1 -1
- package/dist/stylesheet/generateStylesheet.d.ts +2 -1
- package/dist/stylesheet/generateStylesheet.d.ts.map +1 -1
- package/dist/stylesheet/generateStylesheet.js +3 -15
- package/dist/stylesheet/generateStylesheet.js.map +1 -1
- package/package.json +14 -8
- package/dist/arborPreset.d.ts +0 -344
- package/dist/arborPreset.d.ts.map +0 -1
- package/dist/arborPreset.js +0 -198
- package/dist/arborPreset.js.map +0 -1
- package/dist/primitives/labelProps.d.ts +0 -1
- package/dist/primitives/labelProps.d.ts.map +0 -1
- package/dist/primitives/labelProps.js +0 -2
- package/dist/primitives/labelProps.js.map +0 -1
- package/dist/primitives/localProps.d.ts +0 -1
- package/dist/primitives/localProps.d.ts.map +0 -1
- package/dist/primitives/localProps.js +0 -2
- package/dist/primitives/localProps.js.map +0 -1
- package/dist/primitives/primitives.d.ts +0 -46
- package/dist/primitives/primitives.d.ts.map +0 -1
- package/dist/primitives/primitives.js +0 -75
- package/dist/primitives/primitives.js.map +0 -1
- package/dist/primitives/systemProps.d.ts +0 -329
- package/dist/primitives/systemProps.d.ts.map +0 -1
- package/dist/primitives/systemProps.js +0 -45
- package/dist/primitives/systemProps.js.map +0 -1
- package/dist/runtime/components/ColorRange.d.ts +0 -2
- package/dist/runtime/components/ColorRange.d.ts.map +0 -1
- package/dist/runtime/components/ColorRange.js +0 -52
- package/dist/runtime/components/ColorRange.js.map +0 -1
- package/dist/runtime/components/ModeTokenValues.d.ts +0 -2
- package/dist/runtime/components/ModeTokenValues.d.ts.map +0 -1
- package/dist/runtime/components/ModeTokenValues.js +0 -2
- package/dist/runtime/components/ModeTokenValues.js.map +0 -1
- package/dist/runtime/components/PrimitiveTokenValues.d.ts +0 -2
- package/dist/runtime/components/PrimitiveTokenValues.d.ts.map +0 -1
- package/dist/runtime/components/PrimitiveTokenValues.js +0 -82
- package/dist/runtime/components/PrimitiveTokenValues.js.map +0 -1
- package/dist/runtime/components/Shadows.d.ts +0 -2
- package/dist/runtime/components/Shadows.d.ts.map +0 -1
- package/dist/runtime/components/Shadows.js +0 -27
- package/dist/runtime/components/Shadows.js.map +0 -1
- package/dist/runtime/components/Spacing.d.ts +0 -2
- package/dist/runtime/components/Spacing.d.ts.map +0 -1
- package/dist/runtime/components/Spacing.js +0 -27
- package/dist/runtime/components/Spacing.js.map +0 -1
- package/dist/runtime/components/Typography.d.ts +0 -2
- package/dist/runtime/components/Typography.d.ts.map +0 -1
- package/dist/runtime/components/Typography.js +0 -30
- package/dist/runtime/components/Typography.js.map +0 -1
- package/dist/util/convertStructure.d.ts +0 -8
- package/dist/util/convertStructure.d.ts.map +0 -1
- package/dist/util/convertStructure.js +0 -30
- package/dist/util/convertStructure.js.map +0 -1
- package/dist/util/tokenifyColors.d.ts +0 -6
- package/dist/util/tokenifyColors.d.ts.map +0 -1
- package/dist/util/tokenifyColors.js +0 -10
- package/dist/util/tokenifyColors.js.map +0 -1
- package/dist/util/tokenifyColors.test.d.ts +0 -2
- package/dist/util/tokenifyColors.test.d.ts.map +0 -1
- package/dist/util/tokenifyColors.test.js +0 -25
- package/dist/util/tokenifyColors.test.js.map +0 -1
package/dist/config.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CompiledColors } from '@arbor-css/colors';
|
|
2
2
|
import { ModeInstance, ModeSchemaLevel, PartialModeInstance } from '@arbor-css/modes';
|
|
3
|
+
import { Primitives } from '@arbor-css/primitives';
|
|
4
|
+
import { CompiledShadows } from '@arbor-css/shadows';
|
|
5
|
+
import { CompiledSpacing } from '@arbor-css/spacing';
|
|
3
6
|
import { TokenSchema } from '@arbor-css/tokens';
|
|
4
7
|
import { CompiledTypography } from '@arbor-css/typography';
|
|
5
|
-
import { CompiledShadows, CompiledSpacing } from './index.js';
|
|
6
|
-
import { Primitives } from './primitives/primitives.js';
|
|
7
8
|
export interface ArborConfig<TModeShape extends ModeSchemaLevel, TCompiledColors extends CompiledColors<any, any> = CompiledColors<any, any>, TTypography extends CompiledTypography<any> = CompiledTypography<any>, TSpacing extends CompiledSpacing<any> = CompiledSpacing<any>, TShadows extends CompiledShadows<any> = CompiledShadows<any>, TOtherTokens extends TokenSchema = TokenSchema> {
|
|
8
9
|
primitives: Primitives<TCompiledColors, TTypography, TSpacing, TShadows, TOtherTokens>;
|
|
9
10
|
modes: {
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACN,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACN,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EA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ot":"","sources":["../src/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAiCA,MAAM,UAAU,YAAY,CAQ3B,MAOC;IASD,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
export * from '@arbor-css/colors';
|
|
2
1
|
export { $systemProps, createGlobals, defaultGlobals, type GlobalConfigProps, type GlobalConfig as PrimitiveGlobals, } from '@arbor-css/globals';
|
|
3
2
|
export * from '@arbor-css/modes';
|
|
4
|
-
export
|
|
5
|
-
export * from '@arbor-css/
|
|
3
|
+
export { createArborPreset, type CreateArborPresetConfig, } from '@arbor-css/preset';
|
|
4
|
+
export * from '@arbor-css/preset/config';
|
|
6
5
|
export * from '@arbor-css/tokens';
|
|
7
|
-
export * from '@arbor-css/typography';
|
|
8
|
-
export * from './arborPreset.js';
|
|
9
|
-
export * from './config.js';
|
|
10
|
-
export * from './primitives/primitives.js';
|
|
11
6
|
export { generateStylesheet } from './stylesheet/generateStylesheet.js';
|
|
12
|
-
export { convertStructure } from './util/convertStructure.js';
|
|
13
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,YAAY,EACZ,aAAa,EACb,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,YAAY,IAAI,gBAAgB,GACrC,MAAM,oBAAoB,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACN,iBAAiB,EACjB,KAAK,uBAAuB,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
export * from '@arbor-css/colors';
|
|
2
1
|
export { $systemProps, createGlobals, defaultGlobals, } from '@arbor-css/globals';
|
|
3
2
|
export * from '@arbor-css/modes';
|
|
4
|
-
export
|
|
5
|
-
export * from '@arbor-css/
|
|
3
|
+
export { createArborPreset, } from '@arbor-css/preset';
|
|
4
|
+
export * from '@arbor-css/preset/config';
|
|
6
5
|
export * from '@arbor-css/tokens';
|
|
7
|
-
export * from '@arbor-css/typography';
|
|
8
|
-
export * from './arborPreset.js';
|
|
9
|
-
export * from './config.js';
|
|
10
|
-
export * from './primitives/primitives.js';
|
|
11
6
|
export { generateStylesheet } from './stylesheet/generateStylesheet.js';
|
|
12
|
-
export { convertStructure } from './util/convertStructure.js';
|
|
13
7
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,YAAY,EACZ,aAAa,EACb,cAAc,GAGd,MAAM,oBAAoB,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACN,iBAAiB,GAEjB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isToken } from '@arbor-css/tokens';
|
|
2
|
+
import { convertStructure } from '@arbor-css/util';
|
|
2
3
|
import { generateStylesheet } from '../../stylesheet/generateStylesheet.js';
|
|
3
|
-
import { convertStructure } from '../../util/convertStructure.js';
|
|
4
4
|
import { ArborElement } from './BaseElement.js';
|
|
5
5
|
class SystemDemo extends ArborElement {
|
|
6
6
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SystemDemo.js","sourceRoot":"","sources":["../../../src/runtime/components/SystemDemo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SystemDemo.js","sourceRoot":"","sources":["../../../src/runtime/components/SystemDemo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,UAAW,SAAQ,YAAY;IACpC;QACC,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG;;;;YAIlB,IAAI,CAAC,SAAS,CACpB,gBAAgB,CACf,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,EAC9B,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CACrB,EACD,IAAI,EACJ,CAAC,CACD;;;;YAIM,IAAI,CAAC,SAAS,CACpB,gBAAgB,CACf,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EACrC,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CACrB,EACD,IAAI,EACJ,CAAC,CACD;;;;YAIM,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;GAqBxC,CAAC;IACH,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isToken } from '@arbor-css/tokens';
|
|
2
|
-
import { convertStructure } from '
|
|
2
|
+
import { convertStructure } from '@arbor-css/util';
|
|
3
3
|
export function readProperties(tokens, target = document.documentElement) {
|
|
4
4
|
return convertStructure(tokens, isToken, (token) => {
|
|
5
5
|
return getComputedStyle(target).getPropertyValue(token.name).trim();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readProperties.js","sourceRoot":"","sources":["../../src/runtime/readProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"readProperties.js","sourceRoot":"","sources":["../../src/runtime/readProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,UAAU,cAAc,CAC7B,MAAmB,EACnB,MAAM,GAAG,QAAQ,CAAC,eAAe;IAEjC,OAAO,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;QAClD,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;IACrE,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CompiledColors } from '@arbor-css/colors';
|
|
2
2
|
import { ModeSchemaLevel } from '@arbor-css/modes';
|
|
3
|
+
import { CompiledShadows } from '@arbor-css/shadows';
|
|
4
|
+
import { CompiledSpacing } from '@arbor-css/spacing';
|
|
3
5
|
import { TokenSchema } from '@arbor-css/tokens';
|
|
4
6
|
import { CompiledTypography } from '@arbor-css/typography';
|
|
5
7
|
import { ArborConfig } from '../config.js';
|
|
6
|
-
import { CompiledShadows, CompiledSpacing } from '../index.js';
|
|
7
8
|
export declare function generateStylesheet<TModeShape extends ModeSchemaLevel, TCompiledColors extends CompiledColors<any, any>, TTypography extends CompiledTypography<any>, TSpacing extends CompiledSpacing<any>, TShadows extends CompiledShadows<any>, TOtherTokens extends TokenSchema>(config: ArborConfig<TModeShape, TCompiledColors, TTypography, TSpacing, TShadows, TOtherTokens>, { layer: cascadeLayerName, }?: {
|
|
8
9
|
layer?: string | false;
|
|
9
10
|
}): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateStylesheet.d.ts","sourceRoot":"","sources":["../../src/stylesheet/generateStylesheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAEN,eAAe,EAEf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"generateStylesheet.d.ts","sourceRoot":"","sources":["../../src/stylesheet/generateStylesheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAEN,eAAe,EAEf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAIN,WAAW,EAEX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAO3C,wBAAgB,kBAAkB,CACjC,UAAU,SAAS,eAAe,EAClC,eAAe,SAAS,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,EAChD,WAAW,SAAS,kBAAkB,CAAC,GAAG,CAAC,EAC3C,QAAQ,SAAS,eAAe,CAAC,GAAG,CAAC,EACrC,QAAQ,SAAS,eAAe,CAAC,GAAG,CAAC,EACrC,YAAY,SAAS,WAAW,EAEhC,MAAM,EAAE,WAAW,CAClB,UAAU,EACV,eAAe,EACf,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,YAAY,CACZ,EACD,EACC,KAAK,EAAE,gBAA0B,GACjC,GAAE;IACF,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAClB,GACJ,MAAM,CAoHR"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { $globalProps } from '@arbor-css/globals';
|
|
1
|
+
import { $globalProps, $systemProps } from '@arbor-css/globals';
|
|
2
2
|
import { flattenToPropsList, modeToCss, } from '@arbor-css/modes';
|
|
3
3
|
import { createToken, isToken, selfReferencedProps, tokenSchemaToList, } from '@arbor-css/tokens';
|
|
4
|
-
import {
|
|
5
|
-
import { convertStructure } from '../util/convertStructure.js';
|
|
4
|
+
import { convertStructure } from '@arbor-css/util';
|
|
6
5
|
import { flattenAndApplyTokenValues } from '../util/flattenAndApplyTokenValues.js';
|
|
7
6
|
import { formatObjectToCss } from '../util/formatObjectToCss.js';
|
|
8
7
|
import { printTokens } from '../util/printTokens.js';
|
|
@@ -81,18 +80,7 @@ ${Object.keys(config.primitives.colors)
|
|
|
81
80
|
${Object.entries(config.modes)
|
|
82
81
|
.map(([modeName, modeValue]) => {
|
|
83
82
|
return `/* Mode: ${modeName} */
|
|
84
|
-
${modeName === 'base' ? ':root,
|
|
85
|
-
.map((schemeName) => [
|
|
86
|
-
`:where(.\\@mode-${modeName}) .\\@scheme-${schemeName}`,
|
|
87
|
-
`:where([data-mode-${modeName}=""]) .\\@scheme-${schemeName}`,
|
|
88
|
-
modeName === 'base' ? `:root .\\@scheme-${schemeName}` : null,
|
|
89
|
-
]
|
|
90
|
-
.filter((s) => !!s)
|
|
91
|
-
.join(', '))
|
|
92
|
-
.join(', ')} {
|
|
93
|
-
${$systemProps.labels.mode.assign(modeName)}
|
|
94
|
-
${modeToCss(modeValue, baseMode)}
|
|
95
|
-
}
|
|
83
|
+
${modeName === 'base' ? ':root, :root [class^="\\@scheme-"], ' : ''}${modeToCss(modeValue, baseMode)}
|
|
96
84
|
`;
|
|
97
85
|
})
|
|
98
86
|
.join('\n\n')}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateStylesheet.js","sourceRoot":"","sources":["../../src/stylesheet/generateStylesheet.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"generateStylesheet.js","sourceRoot":"","sources":["../../src/stylesheet/generateStylesheet.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACN,kBAAkB,EAElB,SAAS,GACT,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACN,WAAW,EACX,OAAO,EACP,mBAAmB,EAEnB,iBAAiB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,YAAY,GAAG,yCAAyC,CAAC;AAE/D,MAAM,UAAU,kBAAkB,CAQjC,MAOC,EACD,EACC,KAAK,EAAE,gBAAgB,GAAG,OAAO,MAG9B,EAAE;IAEN,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,aAAa,IAAI,OAAO,CAAC;IACjE,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC;IAEnC;;;;;OAKG;IACH,SAAS,0BAA0B,CAAC,UAAkB;QACrD,MAAM,MAAM,GAAG,0BAA0B,CACxC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,EAChC,MAAM,CA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AAC,GAAG,CAAC,CAAC,CAAC,EAAE;CAC5B,CAAC,IAAI,EAAE,CAAC;AACT,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbor-css/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"url": "https://github.com/a-type/arbor"
|
|
10
|
+
},
|
|
8
11
|
"files": [
|
|
9
12
|
"dist"
|
|
10
13
|
],
|
|
@@ -40,13 +43,16 @@
|
|
|
40
43
|
"jiti": "^2.6.1",
|
|
41
44
|
"lil-gui": "^0.21.0",
|
|
42
45
|
"yargs": "^18.0.0",
|
|
43
|
-
"@arbor-css/
|
|
44
|
-
"@arbor-css/
|
|
45
|
-
"@arbor-css/
|
|
46
|
-
"@arbor-css/
|
|
47
|
-
"@arbor-css/
|
|
48
|
-
"@arbor-css/
|
|
49
|
-
"@arbor-css/
|
|
46
|
+
"@arbor-css/preset": "0.0.2",
|
|
47
|
+
"@arbor-css/tokens": "0.0.2",
|
|
48
|
+
"@arbor-css/globals": "0.0.2",
|
|
49
|
+
"@arbor-css/colors": "0.0.2",
|
|
50
|
+
"@arbor-css/modes": "0.0.2",
|
|
51
|
+
"@arbor-css/typography": "0.0.2",
|
|
52
|
+
"@arbor-css/primitives": "0.0.2",
|
|
53
|
+
"@arbor-css/spacing": "0.0.2",
|
|
54
|
+
"@arbor-css/shadows": "0.0.2",
|
|
55
|
+
"@arbor-css/util": "0.0.2"
|
|
50
56
|
},
|
|
51
57
|
"scripts": {
|
|
52
58
|
"build": "tsc",
|
package/dist/arborPreset.d.ts
DELETED
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
import { CompiledColors } from '@arbor-css/colors';
|
|
2
|
-
import { Primitives } from './primitives/primitives.js';
|
|
3
|
-
export declare const arborModeSchema: import("@arbor-css/modes").ModeSchema<{
|
|
4
|
-
colors: {
|
|
5
|
-
main: {
|
|
6
|
-
paper: "color";
|
|
7
|
-
wash: "color";
|
|
8
|
-
lighter: "color";
|
|
9
|
-
light: "color";
|
|
10
|
-
mid: "color";
|
|
11
|
-
heavy: "color";
|
|
12
|
-
heavier: "color";
|
|
13
|
-
ink: "color";
|
|
14
|
-
};
|
|
15
|
-
neutral: {
|
|
16
|
-
paper: "color";
|
|
17
|
-
wash: "color";
|
|
18
|
-
lighter: "color";
|
|
19
|
-
light: "color";
|
|
20
|
-
mid: "color";
|
|
21
|
-
heavy: "color";
|
|
22
|
-
heavier: "color";
|
|
23
|
-
ink: "color";
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
action: {
|
|
27
|
-
primary: {
|
|
28
|
-
fg: "color";
|
|
29
|
-
bg: "color";
|
|
30
|
-
border: "color";
|
|
31
|
-
};
|
|
32
|
-
secondary: {
|
|
33
|
-
fg: "color";
|
|
34
|
-
bg: "color";
|
|
35
|
-
border: "color";
|
|
36
|
-
};
|
|
37
|
-
ambient: {
|
|
38
|
-
fg: "color";
|
|
39
|
-
bg: "color";
|
|
40
|
-
border: "color";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
control: {
|
|
44
|
-
fg: "color";
|
|
45
|
-
bg: "color";
|
|
46
|
-
border: "color";
|
|
47
|
-
};
|
|
48
|
-
surface: {
|
|
49
|
-
primary: {
|
|
50
|
-
fg: "color";
|
|
51
|
-
bg: "color";
|
|
52
|
-
border: "color";
|
|
53
|
-
};
|
|
54
|
-
secondary: {
|
|
55
|
-
fg: "color";
|
|
56
|
-
bg: "color";
|
|
57
|
-
border: "color";
|
|
58
|
-
};
|
|
59
|
-
ambient: {
|
|
60
|
-
fg: "color";
|
|
61
|
-
bg: "color";
|
|
62
|
-
border: "color";
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
text: {
|
|
66
|
-
primary: {
|
|
67
|
-
size: "font-size";
|
|
68
|
-
weight: "font-weight";
|
|
69
|
-
lineHeight: "line-height";
|
|
70
|
-
font: "other";
|
|
71
|
-
};
|
|
72
|
-
secondary: {
|
|
73
|
-
size: "font-size";
|
|
74
|
-
weight: "font-weight";
|
|
75
|
-
lineHeight: "line-height";
|
|
76
|
-
font: "other";
|
|
77
|
-
};
|
|
78
|
-
ambient: {
|
|
79
|
-
size: "font-size";
|
|
80
|
-
weight: "font-weight";
|
|
81
|
-
lineHeight: "line-height";
|
|
82
|
-
font: "other";
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
density: "other";
|
|
86
|
-
spacing: {
|
|
87
|
-
xs: "spacing";
|
|
88
|
-
sm: "spacing";
|
|
89
|
-
md: "spacing";
|
|
90
|
-
lg: "spacing";
|
|
91
|
-
xl: "spacing";
|
|
92
|
-
};
|
|
93
|
-
borderWidth: {
|
|
94
|
-
sm: "border-width";
|
|
95
|
-
md: "border-width";
|
|
96
|
-
lg: "border-width";
|
|
97
|
-
};
|
|
98
|
-
borderRadius: {
|
|
99
|
-
sm: "border-radius";
|
|
100
|
-
md: "border-radius";
|
|
101
|
-
lg: "border-radius";
|
|
102
|
-
};
|
|
103
|
-
shadow: {
|
|
104
|
-
color: "color";
|
|
105
|
-
sm: {
|
|
106
|
-
x: "shadow-x";
|
|
107
|
-
y: "shadow-y";
|
|
108
|
-
blur: "shadow-blur";
|
|
109
|
-
spread: "shadow-spread";
|
|
110
|
-
color: "shadow-color";
|
|
111
|
-
compiled: "shadow";
|
|
112
|
-
};
|
|
113
|
-
md: {
|
|
114
|
-
x: "shadow-x";
|
|
115
|
-
y: "shadow-y";
|
|
116
|
-
blur: "shadow-blur";
|
|
117
|
-
spread: "shadow-spread";
|
|
118
|
-
color: "shadow-color";
|
|
119
|
-
compiled: "shadow";
|
|
120
|
-
};
|
|
121
|
-
lg: {
|
|
122
|
-
x: "shadow-x";
|
|
123
|
-
y: "shadow-y";
|
|
124
|
-
blur: "shadow-blur";
|
|
125
|
-
spread: "shadow-spread";
|
|
126
|
-
color: "shadow-color";
|
|
127
|
-
compiled: "shadow";
|
|
128
|
-
};
|
|
129
|
-
xl: {
|
|
130
|
-
x: "shadow-x";
|
|
131
|
-
y: "shadow-y";
|
|
132
|
-
blur: "shadow-blur";
|
|
133
|
-
spread: "shadow-spread";
|
|
134
|
-
color: "shadow-color";
|
|
135
|
-
compiled: "shadow";
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
}>;
|
|
139
|
-
export declare function createArborModeValues<TCompiledColors extends CompiledColors>(config: {
|
|
140
|
-
mainColor: keyof TCompiledColors[keyof TCompiledColors]['colors'];
|
|
141
|
-
primitives: Primitives<TCompiledColors>;
|
|
142
|
-
}): {
|
|
143
|
-
colors: {
|
|
144
|
-
main: any;
|
|
145
|
-
neutral: any;
|
|
146
|
-
};
|
|
147
|
-
surface: {
|
|
148
|
-
primary: {
|
|
149
|
-
bg: import("@arbor-css/modes").TrackedValue;
|
|
150
|
-
fg: import("@arbor-css/modes").TrackedValue;
|
|
151
|
-
border: import("@arbor-css/modes").TrackedValue;
|
|
152
|
-
};
|
|
153
|
-
secondary: {
|
|
154
|
-
bg: import("@arbor-css/modes").TrackedValue;
|
|
155
|
-
fg: import("@arbor-css/modes").TrackedValue;
|
|
156
|
-
border: import("@arbor-css/modes").TrackedValue;
|
|
157
|
-
};
|
|
158
|
-
ambient: {
|
|
159
|
-
bg: import("@arbor-css/modes").TrackedValue;
|
|
160
|
-
fg: import("@arbor-css/modes").TrackedValue;
|
|
161
|
-
border: import("@arbor-css/modes").TrackedValue;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
action: {
|
|
165
|
-
primary: {
|
|
166
|
-
bg: import("@arbor-css/modes").TrackedValue;
|
|
167
|
-
fg: import("@arbor-css/modes").TrackedValue;
|
|
168
|
-
border: import("@arbor-css/modes").TrackedValue;
|
|
169
|
-
};
|
|
170
|
-
secondary: {
|
|
171
|
-
bg: import("@arbor-css/modes").TrackedValue;
|
|
172
|
-
fg: import("@arbor-css/modes").TrackedValue;
|
|
173
|
-
border: import("@arbor-css/modes").TrackedValue;
|
|
174
|
-
};
|
|
175
|
-
ambient: {
|
|
176
|
-
bg: import("@arbor-css/modes").TrackedValue;
|
|
177
|
-
fg: import("@arbor-css/modes").TrackedValue;
|
|
178
|
-
border: string;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
control: {
|
|
182
|
-
bg: import("@arbor-css/modes").TrackedValue;
|
|
183
|
-
fg: import("@arbor-css/modes").TrackedValue;
|
|
184
|
-
border: import("@arbor-css/modes").TrackedValue;
|
|
185
|
-
};
|
|
186
|
-
density: number;
|
|
187
|
-
spacing: {
|
|
188
|
-
xs: import("@arbor-css/modes").TrackedValue;
|
|
189
|
-
sm: import("@arbor-css/modes").TrackedValue;
|
|
190
|
-
md: import("@arbor-css/modes").TrackedValue;
|
|
191
|
-
lg: import("@arbor-css/modes").TrackedValue;
|
|
192
|
-
xl: import("@arbor-css/modes").TrackedValue;
|
|
193
|
-
};
|
|
194
|
-
text: {
|
|
195
|
-
primary: {
|
|
196
|
-
size: import("@arbor-css/modes").TrackedValue;
|
|
197
|
-
weight: {
|
|
198
|
-
"@@TOKEN@@": true;
|
|
199
|
-
name: string;
|
|
200
|
-
type: import("@arbor-css/tokens").PropertyType;
|
|
201
|
-
tag: string | undefined;
|
|
202
|
-
purpose: import("@arbor-css/tokens").TokenPurpose;
|
|
203
|
-
group: string | undefined;
|
|
204
|
-
fallback: string | number | undefined;
|
|
205
|
-
var: string;
|
|
206
|
-
varFallback: (fallbackOverride?: string | number) => string;
|
|
207
|
-
assign: (value?: string | number) => string;
|
|
208
|
-
readonly definition: string;
|
|
209
|
-
suffixed: (suffix: string) => /*elided*/ any;
|
|
210
|
-
prefixed: (prefix: string) => /*elided*/ any;
|
|
211
|
-
};
|
|
212
|
-
lineHeight: {
|
|
213
|
-
"@@TOKEN@@": true;
|
|
214
|
-
name: string;
|
|
215
|
-
type: import("@arbor-css/tokens").PropertyType;
|
|
216
|
-
tag: string | undefined;
|
|
217
|
-
purpose: import("@arbor-css/tokens").TokenPurpose;
|
|
218
|
-
group: string | undefined;
|
|
219
|
-
fallback: string | number | undefined;
|
|
220
|
-
var: string;
|
|
221
|
-
varFallback: (fallbackOverride?: string | number) => string;
|
|
222
|
-
assign: (value?: string | number) => string;
|
|
223
|
-
readonly definition: string;
|
|
224
|
-
suffixed: (suffix: string) => /*elided*/ any;
|
|
225
|
-
prefixed: (prefix: string) => /*elided*/ any;
|
|
226
|
-
};
|
|
227
|
-
font: string;
|
|
228
|
-
};
|
|
229
|
-
secondary: {
|
|
230
|
-
size: import("@arbor-css/modes").TrackedValue;
|
|
231
|
-
weight: {
|
|
232
|
-
"@@TOKEN@@": true;
|
|
233
|
-
name: string;
|
|
234
|
-
type: import("@arbor-css/tokens").PropertyType;
|
|
235
|
-
tag: string | undefined;
|
|
236
|
-
purpose: import("@arbor-css/tokens").TokenPurpose;
|
|
237
|
-
group: string | undefined;
|
|
238
|
-
fallback: string | number | undefined;
|
|
239
|
-
var: string;
|
|
240
|
-
varFallback: (fallbackOverride?: string | number) => string;
|
|
241
|
-
assign: (value?: string | number) => string;
|
|
242
|
-
readonly definition: string;
|
|
243
|
-
suffixed: (suffix: string) => /*elided*/ any;
|
|
244
|
-
prefixed: (prefix: string) => /*elided*/ any;
|
|
245
|
-
};
|
|
246
|
-
lineHeight: {
|
|
247
|
-
"@@TOKEN@@": true;
|
|
248
|
-
name: string;
|
|
249
|
-
type: import("@arbor-css/tokens").PropertyType;
|
|
250
|
-
tag: string | undefined;
|
|
251
|
-
purpose: import("@arbor-css/tokens").TokenPurpose;
|
|
252
|
-
group: string | undefined;
|
|
253
|
-
fallback: string | number | undefined;
|
|
254
|
-
var: string;
|
|
255
|
-
varFallback: (fallbackOverride?: string | number) => string;
|
|
256
|
-
assign: (value?: string | number) => string;
|
|
257
|
-
readonly definition: string;
|
|
258
|
-
suffixed: (suffix: string) => /*elided*/ any;
|
|
259
|
-
prefixed: (prefix: string) => /*elided*/ any;
|
|
260
|
-
};
|
|
261
|
-
font: string;
|
|
262
|
-
};
|
|
263
|
-
ambient: {
|
|
264
|
-
size: import("@arbor-css/modes").TrackedValue;
|
|
265
|
-
weight: {
|
|
266
|
-
"@@TOKEN@@": true;
|
|
267
|
-
name: string;
|
|
268
|
-
type: import("@arbor-css/tokens").PropertyType;
|
|
269
|
-
tag: string | undefined;
|
|
270
|
-
purpose: import("@arbor-css/tokens").TokenPurpose;
|
|
271
|
-
group: string | undefined;
|
|
272
|
-
fallback: string | number | undefined;
|
|
273
|
-
var: string;
|
|
274
|
-
varFallback: (fallbackOverride?: string | number) => string;
|
|
275
|
-
assign: (value?: string | number) => string;
|
|
276
|
-
readonly definition: string;
|
|
277
|
-
suffixed: (suffix: string) => /*elided*/ any;
|
|
278
|
-
prefixed: (prefix: string) => /*elided*/ any;
|
|
279
|
-
};
|
|
280
|
-
lineHeight: {
|
|
281
|
-
"@@TOKEN@@": true;
|
|
282
|
-
name: string;
|
|
283
|
-
type: import("@arbor-css/tokens").PropertyType;
|
|
284
|
-
tag: string | undefined;
|
|
285
|
-
purpose: import("@arbor-css/tokens").TokenPurpose;
|
|
286
|
-
group: string | undefined;
|
|
287
|
-
fallback: string | number | undefined;
|
|
288
|
-
var: string;
|
|
289
|
-
varFallback: (fallbackOverride?: string | number) => string;
|
|
290
|
-
assign: (value?: string | number) => string;
|
|
291
|
-
readonly definition: string;
|
|
292
|
-
suffixed: (suffix: string) => /*elided*/ any;
|
|
293
|
-
prefixed: (prefix: string) => /*elided*/ any;
|
|
294
|
-
};
|
|
295
|
-
font: string;
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
borderRadius: {
|
|
299
|
-
sm: import("@arbor-css/modes").TrackedValue;
|
|
300
|
-
md: import("@arbor-css/modes").TrackedValue;
|
|
301
|
-
lg: import("@arbor-css/modes").TrackedValue;
|
|
302
|
-
};
|
|
303
|
-
borderWidth: {
|
|
304
|
-
sm: string;
|
|
305
|
-
md: string;
|
|
306
|
-
lg: string;
|
|
307
|
-
};
|
|
308
|
-
shadow: {
|
|
309
|
-
color: import("@arbor-css/modes").TrackedValue;
|
|
310
|
-
sm: {
|
|
311
|
-
x: import("@arbor-css/modes").TrackedValue;
|
|
312
|
-
y: import("@arbor-css/modes").TrackedValue;
|
|
313
|
-
blur: import("@arbor-css/modes").TrackedValue;
|
|
314
|
-
spread: import("@arbor-css/modes").TrackedValue;
|
|
315
|
-
color: import("@arbor-css/modes").TrackedValue;
|
|
316
|
-
compiled: import("@arbor-css/modes").TrackedValue;
|
|
317
|
-
};
|
|
318
|
-
md: {
|
|
319
|
-
x: import("@arbor-css/modes").TrackedValue;
|
|
320
|
-
y: import("@arbor-css/modes").TrackedValue;
|
|
321
|
-
blur: import("@arbor-css/modes").TrackedValue;
|
|
322
|
-
spread: import("@arbor-css/modes").TrackedValue;
|
|
323
|
-
color: import("@arbor-css/modes").TrackedValue;
|
|
324
|
-
compiled: import("@arbor-css/modes").TrackedValue;
|
|
325
|
-
};
|
|
326
|
-
lg: {
|
|
327
|
-
x: import("@arbor-css/modes").TrackedValue;
|
|
328
|
-
y: import("@arbor-css/modes").TrackedValue;
|
|
329
|
-
blur: import("@arbor-css/modes").TrackedValue;
|
|
330
|
-
spread: import("@arbor-css/modes").TrackedValue;
|
|
331
|
-
color: import("@arbor-css/modes").TrackedValue;
|
|
332
|
-
compiled: import("@arbor-css/modes").TrackedValue;
|
|
333
|
-
};
|
|
334
|
-
xl: {
|
|
335
|
-
x: import("@arbor-css/modes").TrackedValue;
|
|
336
|
-
y: import("@arbor-css/modes").TrackedValue;
|
|
337
|
-
blur: import("@arbor-css/modes").TrackedValue;
|
|
338
|
-
spread: import("@arbor-css/modes").TrackedValue;
|
|
339
|
-
color: import("@arbor-css/modes").TrackedValue;
|
|
340
|
-
compiled: import("@arbor-css/modes").TrackedValue;
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
};
|
|
344
|
-
//# sourceMappingURL=arborPreset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arborPreset.d.ts","sourceRoot":"","sources":["../src/arborPreset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAwBxD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsE1B,CAAC;AAmBH,wBAAgB,qBAAqB,CACpC,eAAe,SAAS,cAAc,EACrC,MAAM,EAAE;IACT,SAAS,EAAE,MAAM,eAAe,CAAC,MAAM,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC;IAClE,UAAU,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC;CACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+FA"}
|