@roblawn/devtool-runtime 0.1.0-alpha.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.
- package/LICENSE.md +11 -0
- package/README.md +7 -0
- package/dist/ak/ak.cssState.transform.d.ts +2 -0
- package/dist/ak/ak.cssState.transform.js +60 -0
- package/dist/ak/ak.cssState.types.d.ts +2 -0
- package/dist/ak/ak.cssState.types.js +1 -0
- package/dist/ak/ak.responsive.types.d.ts +18 -0
- package/dist/ak/ak.responsive.types.js +1 -0
- package/dist/ak/ak.tokens.d.ts +10 -0
- package/dist/ak/ak.tokens.js +10 -0
- package/dist/ak/ak.tokens.registry.d.ts +10 -0
- package/dist/ak/ak.tokens.registry.js +45 -0
- package/dist/ak/authoring-surface.shared.d.ts +31 -0
- package/dist/ak/authoring-surface.shared.js +185 -0
- package/dist/ak/configured-core.shared.d.ts +7 -0
- package/dist/ak/configured-core.shared.js +16 -0
- package/dist/ak/configured-surfaces.shared.d.ts +67 -0
- package/dist/ak/configured-surfaces.shared.js +144 -0
- package/dist/ak/index.d.ts +16 -0
- package/dist/ak/index.js +16 -0
- package/dist/ak/project-entry.d.ts +57 -0
- package/dist/ak/project-entry.js +260 -0
- package/dist/ak/project-surface-adapters.shared.d.ts +33 -0
- package/dist/ak/project-surface-adapters.shared.js +83 -0
- package/dist/ak/public-entry.shared.d.ts +16 -0
- package/dist/ak/public-entry.shared.js +18 -0
- package/dist/ak/resolved-layout-marker.shared.d.ts +3 -0
- package/dist/ak/resolved-layout-marker.shared.js +19 -0
- package/dist/ak/runtime-surface.shared.d.ts +31 -0
- package/dist/ak/runtime-surface.shared.js +221 -0
- package/dist/ak/style-execution.d.ts +13 -0
- package/dist/ak/style-execution.js +91 -0
- package/dist/ak/style-schema.d.ts +16 -0
- package/dist/ak/style-schema.js +6 -0
- package/dist/ak/useAk.shared.d.ts +3 -0
- package/dist/ak/useAk.shared.js +36 -0
- package/dist/authoring/authoringEffectKinds.d.ts +2 -0
- package/dist/authoring/authoringEffectKinds.js +48 -0
- package/dist/authoring/index.d.ts +1 -0
- package/dist/authoring/index.js +1 -0
- package/dist/cms/CMSPresenterSchemaTypes.d.ts +108 -0
- package/dist/cms/CMSPresenterSchemaTypes.js +6 -0
- package/dist/cms/CMSSchema.d.ts +27 -0
- package/dist/cms/CMSSchema.js +89 -0
- package/dist/cms/CMSSchemaTypes.d.ts +141 -0
- package/dist/cms/CMSSchemaTypes.js +1 -0
- package/dist/cms/index.d.ts +3 -0
- package/dist/cms/index.js +1 -0
- package/dist/design-system/DesignSystemSnapshotFactory.d.ts +34 -0
- package/dist/design-system/DesignSystemSnapshotFactory.js +38 -0
- package/dist/design-system/ProjectDesignSystemFactory.d.ts +39 -0
- package/dist/design-system/ProjectDesignSystemFactory.js +32 -0
- package/dist/design-system/index.d.ts +8 -0
- package/dist/design-system/index.js +7 -0
- package/dist/design-system/ops/ops.types.d.ts +22 -0
- package/dist/design-system/ops/ops.types.js +1 -0
- package/dist/design-system/resolvers/ds.resolvers.d.ts +3 -0
- package/dist/design-system/resolvers/ds.resolvers.js +24 -0
- package/dist/design-system/resolvers/ds.responsive.d.ts +12 -0
- package/dist/design-system/resolvers/ds.responsive.js +28 -0
- package/dist/design-system/tokens/TokenSchemas.types.d.ts +48 -0
- package/dist/design-system/tokens/TokenSchemas.types.js +3 -0
- package/dist/design-system/tokens/coreTokenFamilies.types.d.ts +2 -0
- package/dist/design-system/tokens/coreTokenFamilies.types.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/layout/index.d.ts +1 -0
- package/dist/layout/index.js +1 -0
- package/dist/layout/layoutRuntime.d.ts +12 -0
- package/dist/layout/layoutRuntime.js +88 -0
- package/dist/schema/LayoutBindingEditorPolicyMetadata.d.ts +7 -0
- package/dist/schema/LayoutBindingEditorPolicyMetadata.js +19 -0
- package/dist/schema/LayoutBindingEditorSectionMetadata.d.ts +7 -0
- package/dist/schema/LayoutBindingEditorSectionMetadata.js +19 -0
- package/dist/schema/LayoutDefinitionMeta.d.ts +54 -0
- package/dist/schema/LayoutDefinitionMeta.js +1 -0
- package/dist/schema/LayoutFieldIntentMetadata.d.ts +22 -0
- package/dist/schema/LayoutFieldIntentMetadata.js +38 -0
- package/dist/schema/LayoutFieldUiMetadata.d.ts +30 -0
- package/dist/schema/LayoutFieldUiMetadata.js +19 -0
- package/dist/schema/LayoutSchema.d.ts +39 -0
- package/dist/schema/LayoutSchema.js +53 -0
- package/dist/schema/LayoutVariantBindings.d.ts +55 -0
- package/dist/schema/LayoutVariantBindings.js +107 -0
- package/dist/schema/SlotSchema.d.ts +10 -0
- package/dist/schema/SlotSchema.js +3 -0
- package/dist/schema/StyleSchema.d.ts +16 -0
- package/dist/schema/StyleSchema.js +6 -0
- package/dist/schema/index.d.ts +9 -0
- package/dist/schema/index.js +9 -0
- package/dist/theme-contract/CompositeFieldOpByFamily.d.ts +126 -0
- package/dist/theme-contract/CompositeFieldOpByFamily.js +126 -0
- package/dist/theme-contract/index.d.ts +7 -0
- package/dist/theme-contract/index.js +7 -0
- package/dist/theme-contract/ops/coreOps.d.ts +697 -0
- package/dist/theme-contract/ops/coreOps.js +748 -0
- package/dist/theme-contract/ops/delegateValidation.types.d.ts +46 -0
- package/dist/theme-contract/ops/delegateValidation.types.js +4 -0
- package/dist/theme-contract/ops/emitters.d.ts +24 -0
- package/dist/theme-contract/ops/emitters.js +151 -0
- package/dist/theme-contract/ops/op.config.d.ts +711 -0
- package/dist/theme-contract/ops/op.config.js +15 -0
- package/dist/theme-contract/tokens/coreTokenFamilies.d.ts +9 -0
- package/dist/theme-contract/tokens/coreTokenFamilies.js +6 -0
- package/dist/theme-contract/tokens/cssLengthConversion.d.ts +2 -0
- package/dist/theme-contract/tokens/cssLengthConversion.js +39 -0
- package/dist/theme-contract/tokens/defineProjectTokenFamilySchema.d.ts +1 -0
- package/dist/theme-contract/tokens/defineProjectTokenFamilySchema.js +1 -0
- package/dist/theme-contract/tokens/defineTokenFamilySchema.d.ts +3 -0
- package/dist/theme-contract/tokens/defineTokenFamilySchema.js +5 -0
- package/dist/theme-contract/tokens/runtimeTokenFamilies.types.d.ts +5 -0
- package/dist/theme-contract/tokens/runtimeTokenFamilies.types.js +1 -0
- package/dist/theme-contract/tokens/schemas/aspect.token.schema.d.ts +20 -0
- package/dist/theme-contract/tokens/schemas/aspect.token.schema.js +19 -0
- package/dist/theme-contract/tokens/schemas/blur.token.schema.d.ts +21 -0
- package/dist/theme-contract/tokens/schemas/blur.token.schema.js +19 -0
- package/dist/theme-contract/tokens/schemas/border.token.schema.d.ts +54 -0
- package/dist/theme-contract/tokens/schemas/border.token.schema.js +43 -0
- package/dist/theme-contract/tokens/schemas/breakpoint.token.schema.d.ts +19 -0
- package/dist/theme-contract/tokens/schemas/breakpoint.token.schema.js +18 -0
- package/dist/theme-contract/tokens/schemas/color.token.schema.d.ts +24 -0
- package/dist/theme-contract/tokens/schemas/color.token.schema.js +23 -0
- package/dist/theme-contract/tokens/schemas/container.token.schema.d.ts +26 -0
- package/dist/theme-contract/tokens/schemas/container.token.schema.js +30 -0
- package/dist/theme-contract/tokens/schemas/font.token.schema.d.ts +17 -0
- package/dist/theme-contract/tokens/schemas/font.token.schema.js +15 -0
- package/dist/theme-contract/tokens/schemas/fontWeight.token.schema.d.ts +24 -0
- package/dist/theme-contract/tokens/schemas/fontWeight.token.schema.js +22 -0
- package/dist/theme-contract/tokens/schemas/leading.token.schema.d.ts +20 -0
- package/dist/theme-contract/tokens/schemas/leading.token.schema.js +18 -0
- package/dist/theme-contract/tokens/schemas/radius.token.schema.d.ts +23 -0
- package/dist/theme-contract/tokens/schemas/radius.token.schema.js +22 -0
- package/dist/theme-contract/tokens/schemas/shadow.token.schema.d.ts +108 -0
- package/dist/theme-contract/tokens/schemas/shadow.token.schema.js +73 -0
- package/dist/theme-contract/tokens/schemas/size.token.schema.d.ts +20 -0
- package/dist/theme-contract/tokens/schemas/size.token.schema.js +19 -0
- package/dist/theme-contract/tokens/schemas/spacing.token.schema.d.ts +21 -0
- package/dist/theme-contract/tokens/schemas/spacing.token.schema.js +20 -0
- package/dist/theme-contract/tokens/schemas/text.token.schema.d.ts +87 -0
- package/dist/theme-contract/tokens/schemas/text.token.schema.js +30 -0
- package/dist/theme-contract/tokens/schemas/textSize.token.schema.d.ts +28 -0
- package/dist/theme-contract/tokens/schemas/textSize.token.schema.js +27 -0
- package/dist/theme-contract/tokens/schemas/title.token.schema.d.ts +85 -0
- package/dist/theme-contract/tokens/schemas/title.token.schema.js +30 -0
- package/dist/theme-contract/tokens/schemas/tracking.token.schema.d.ts +20 -0
- package/dist/theme-contract/tokens/schemas/tracking.token.schema.js +18 -0
- package/dist/theme-contract/tokens/schemas/zIndex.token.schema.d.ts +18 -0
- package/dist/theme-contract/tokens/schemas/zIndex.token.schema.js +17 -0
- package/dist/theme-contract/tokens/tokens.schema.d.ts +531 -0
- package/dist/theme-contract/tokens/tokens.schema.js +32 -0
- package/dist/types/LayoutResolvedTs.types.d.ts +18 -0
- package/dist/types/LayoutResolvedTs.types.js +1 -0
- package/dist/types/authoredTree.types.d.ts +112 -0
- package/dist/types/authoredTree.types.js +1 -0
- package/dist/types/blockRegistry.types.d.ts +37 -0
- package/dist/types/blockRegistry.types.js +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.js +1 -0
- package/dist/types/layout.types.d.ts +30 -0
- package/dist/types/layout.types.js +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
export const COMPOSITE_FIELD_SPEC_BY_FAMILY = {
|
|
2
|
+
border: {
|
|
3
|
+
color: {
|
|
4
|
+
defaultOp: 'borderColor',
|
|
5
|
+
targetFamily: 'color',
|
|
6
|
+
},
|
|
7
|
+
width: {
|
|
8
|
+
defaultOp: 'borderWidth',
|
|
9
|
+
targetFamily: 'borderWidth',
|
|
10
|
+
},
|
|
11
|
+
style: {
|
|
12
|
+
defaultOp: 'borderStyle',
|
|
13
|
+
targetFamily: 'borderStyle',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
shadow: {
|
|
17
|
+
compose: {
|
|
18
|
+
defaultOp: 'shadowCompose',
|
|
19
|
+
targetFamily: 'shadowCompose',
|
|
20
|
+
},
|
|
21
|
+
offsetX1: {
|
|
22
|
+
defaultOp: 'shadowX1',
|
|
23
|
+
targetFamily: 'shadowOffset',
|
|
24
|
+
},
|
|
25
|
+
offsetY1: {
|
|
26
|
+
defaultOp: 'shadowY1',
|
|
27
|
+
targetFamily: 'shadowOffset',
|
|
28
|
+
},
|
|
29
|
+
blur1: {
|
|
30
|
+
defaultOp: 'shadowBlur1',
|
|
31
|
+
targetFamily: 'shadowBlur',
|
|
32
|
+
},
|
|
33
|
+
spread1: {
|
|
34
|
+
defaultOp: 'shadowSpread1',
|
|
35
|
+
targetFamily: 'shadowSpread',
|
|
36
|
+
},
|
|
37
|
+
opacity1: {
|
|
38
|
+
defaultOp: 'shadowOpacity1',
|
|
39
|
+
targetFamily: 'shadowOpacity',
|
|
40
|
+
},
|
|
41
|
+
offsetX2: {
|
|
42
|
+
defaultOp: 'shadowX2',
|
|
43
|
+
targetFamily: 'shadowOffset',
|
|
44
|
+
},
|
|
45
|
+
offsetY2: {
|
|
46
|
+
defaultOp: 'shadowY2',
|
|
47
|
+
targetFamily: 'shadowOffset',
|
|
48
|
+
},
|
|
49
|
+
blur2: {
|
|
50
|
+
defaultOp: 'shadowBlur2',
|
|
51
|
+
targetFamily: 'shadowBlur',
|
|
52
|
+
},
|
|
53
|
+
spread2: {
|
|
54
|
+
defaultOp: 'shadowSpread2',
|
|
55
|
+
targetFamily: 'shadowSpread',
|
|
56
|
+
},
|
|
57
|
+
opacity2: {
|
|
58
|
+
defaultOp: 'shadowOpacity2',
|
|
59
|
+
targetFamily: 'shadowOpacity',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
text: {
|
|
63
|
+
family: {
|
|
64
|
+
defaultOp: 'fontFamily',
|
|
65
|
+
targetFamily: 'font',
|
|
66
|
+
},
|
|
67
|
+
size: {
|
|
68
|
+
defaultOp: 'textSize',
|
|
69
|
+
targetFamily: 'textSize',
|
|
70
|
+
},
|
|
71
|
+
weight: {
|
|
72
|
+
defaultOp: 'fontWeight',
|
|
73
|
+
targetFamily: 'fontWeight',
|
|
74
|
+
},
|
|
75
|
+
leading: {
|
|
76
|
+
defaultOp: 'leading',
|
|
77
|
+
targetFamily: 'leading',
|
|
78
|
+
},
|
|
79
|
+
tracking: {
|
|
80
|
+
defaultOp: 'tracking',
|
|
81
|
+
targetFamily: 'tracking',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
title: {
|
|
85
|
+
family: {
|
|
86
|
+
defaultOp: 'fontFamily',
|
|
87
|
+
targetFamily: 'font',
|
|
88
|
+
},
|
|
89
|
+
size: {
|
|
90
|
+
defaultOp: 'textSize',
|
|
91
|
+
targetFamily: 'textSize',
|
|
92
|
+
},
|
|
93
|
+
weight: {
|
|
94
|
+
defaultOp: 'fontWeight',
|
|
95
|
+
targetFamily: 'fontWeight',
|
|
96
|
+
},
|
|
97
|
+
leading: {
|
|
98
|
+
defaultOp: 'leading',
|
|
99
|
+
targetFamily: 'leading',
|
|
100
|
+
},
|
|
101
|
+
tracking: {
|
|
102
|
+
defaultOp: 'tracking',
|
|
103
|
+
targetFamily: 'tracking',
|
|
104
|
+
},
|
|
105
|
+
transform: {
|
|
106
|
+
defaultOp: 'textTransform',
|
|
107
|
+
targetFamily: 'textTransform',
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
export const OPS_BY_TOKEN_FAMILY = {
|
|
112
|
+
color: ['borderColor', 'divideColor', 'bg', 'textColor', 'shadowColor', 'ringColor'],
|
|
113
|
+
borderWidth: ['borderWidth', 'borderWidthT', 'borderWidthR', 'borderWidthB', 'borderWidthL', 'divideWidth'],
|
|
114
|
+
borderStyle: ['borderStyle', 'divideStyle'],
|
|
115
|
+
shadowCompose: ['shadowCompose'],
|
|
116
|
+
shadowOffset: ['shadowX1', 'shadowY1', 'shadowX2', 'shadowY2'],
|
|
117
|
+
shadowBlur: ['shadowBlur1', 'shadowBlur2'],
|
|
118
|
+
shadowSpread: ['shadowSpread1', 'shadowSpread2'],
|
|
119
|
+
shadowOpacity: ['shadowOpacity1', 'shadowOpacity2'],
|
|
120
|
+
font: ['fontFamily'],
|
|
121
|
+
textSize: ['textSize'],
|
|
122
|
+
fontWeight: ['fontWeight'],
|
|
123
|
+
leading: ['leading'],
|
|
124
|
+
tracking: ['tracking'],
|
|
125
|
+
textTransform: ['textTransform'],
|
|
126
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './CompositeFieldOpByFamily.js';
|
|
2
|
+
export * from './ops/coreOps.js';
|
|
3
|
+
export * from './ops/op.config.js';
|
|
4
|
+
export * from './tokens/coreTokenFamilies.js';
|
|
5
|
+
export * from './tokens/defineTokenFamilySchema.js';
|
|
6
|
+
export * from './tokens/runtimeTokenFamilies.types.js';
|
|
7
|
+
export * from './tokens/tokens.schema.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './CompositeFieldOpByFamily.js';
|
|
2
|
+
export * from './ops/coreOps.js';
|
|
3
|
+
export * from './ops/op.config.js';
|
|
4
|
+
export * from './tokens/coreTokenFamilies.js';
|
|
5
|
+
export * from './tokens/defineTokenFamilySchema.js';
|
|
6
|
+
export * from './tokens/runtimeTokenFamilies.types.js';
|
|
7
|
+
export * from './tokens/tokens.schema.js';
|