diff --git a/docs/reference-guides/theme-json-reference/theme-json-living.md b/docs/reference-guides/theme-json-reference/theme-json-living.md index c8a59c5e10f0c0..c7bb892103e004 100644 --- a/docs/reference-guides/theme-json-reference/theme-json-living.md +++ b/docs/reference-guides/theme-json-reference/theme-json-living.md @@ -106,6 +106,16 @@ Settings related to layout. --- +### position + +Settings related to position. + +| Property | Type | Default | Props | +| --- | --- | --- |--- | +| sticky | boolean | false | | + +--- + ### spacing Settings related to spacing. @@ -181,6 +191,16 @@ Color styles. --- +### dimensions + +Dimensions styles + +| Property | Type | Props | +| --- | --- |--- | +| minHeight | string, object | | + +--- + ### spacing Spacing styles. diff --git a/schemas/json/theme.json b/schemas/json/theme.json index 39c4b3ac902000..0458e587a909f2 100644 --- a/schemas/json/theme.json +++ b/schemas/json/theme.json @@ -232,6 +232,7 @@ } }, "settingsPropertiesDimensions": { + "type": "object", "properties": { "dimensions": { "description": "Settings related to dimensions.", @@ -267,6 +268,23 @@ } } }, + "settingsPropertiesPosition": { + "type": "object", + "properties": { + "position": { + "description": "Settings related to position.", + "type": "object", + "properties": { + "sticky": { + "description": "Allow users to set sticky position.", + "type": "boolean", + "default": false + } + }, + "additionalProperties": false + } + } + }, "settingsPropertiesSpacing": { "type": "object", "properties": { @@ -625,8 +643,10 @@ { "$ref": "#/definitions/settingsPropertiesAppearanceTools" }, { "$ref": "#/definitions/settingsPropertiesBorder" }, { "$ref": "#/definitions/settingsPropertiesColor" }, + { "$ref": "#/definitions/settingsPropertiesDimensions" }, { "$ref": "#/definitions/settingsPropertiesShadow" }, { "$ref": "#/definitions/settingsPropertiesLayout" }, + { "$ref": "#/definitions/settingsPropertiesPosition" }, { "$ref": "#/definitions/settingsPropertiesSpacing" }, { "$ref": "#/definitions/settingsPropertiesTypography" }, { "$ref": "#/definitions/settingsPropertiesCustom" } @@ -642,9 +662,11 @@ "properties": { "appearanceTools": {}, "border": {}, - "shadow": {}, "color": {}, + "dimensions": {}, "layout": {}, + "position": {}, + "shadow": {}, "spacing": {}, "typography": {}, "custom": {} @@ -1258,6 +1280,23 @@ }, "additionalProperties": false }, + "dimensions": { + "description": "Dimensions styles", + "type": "object", + "properties": { + "minHeight": { + "description": "Sets the `min-height` CSS property.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/refComplete" + } + ] + } + } + }, "spacing": { "description": "Spacing styles.", "type": "object", @@ -1573,6 +1612,7 @@ "properties": { "border": {}, "color": {}, + "dimensions": {}, "spacing": {}, "typography": {}, "filter": {}, @@ -1949,6 +1989,7 @@ "properties": { "border": {}, "color": {}, + "dimensions": {}, "spacing": {}, "typography": {}, "filter": {},