@liquidcars/atlas-layout 0.1.15 → 0.1.16
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/package.json +1 -1
- package/src/spec.js +8 -1
package/package.json
CHANGED
package/src/spec.js
CHANGED
|
@@ -184,7 +184,14 @@ export const ATLAS_LAYOUT_SPEC_V1 = freeze({
|
|
|
184
184
|
offset: field("Masonry row offset; defaults to half-cell.", ["half-cell"], { type: "string" })
|
|
185
185
|
})
|
|
186
186
|
}),
|
|
187
|
-
label: freeze({
|
|
187
|
+
label: freeze({
|
|
188
|
+
label: "Label appearance",
|
|
189
|
+
properties: freeze({
|
|
190
|
+
color: field("Label colour.", null, { valueSource: "palette" }),
|
|
191
|
+
opacity: field("Label opacity.", null, { type: "number" }),
|
|
192
|
+
anchor: field("Label placement relative to the geometry.", ["auto", "top", "bottom", "left", "right"])
|
|
193
|
+
})
|
|
194
|
+
}),
|
|
188
195
|
edges: freeze({ label: "Edge appearance", properties: freeze({ color: field("Edge colour.", null, { valueSource: "palette" }), opacity: field("Edge opacity.", null, { type: "number" }) }) }),
|
|
189
196
|
background: freeze({ label: "Background", properties: freeze({ color: field("Background colour.", null, { type: "color" }), glow: field("Background glow colour.", null, { type: "color" }) }) }),
|
|
190
197
|
lighting: freeze({ label: "Lighting", properties: freeze({ ambient: field("Ambient intensity.", null, { type: "number" }), directional: field("Directional intensity.", null, { type: "number" }) }) }),
|