smbls 2.7.5 → 2.7.6

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UI Library built on Scratch and DOMQL",
4
4
  "private": false,
5
5
  "author": "symbo.ls",
6
- "version": "2.7.5",
6
+ "version": "2.7.6",
7
7
  "repository": "https://github.com/symbo-ls/smbls",
8
8
  "main": "src/index.js",
9
9
  "files": [
package/src/Input.js CHANGED
@@ -23,7 +23,7 @@ export const Input = {
23
23
  maxlength: ({ props }) => props.maxlength,
24
24
  name: ({ props }) => props.name,
25
25
  placeholder: ({ props }) => props.placeholder,
26
- value: ({ props }) => props.value,
26
+ value: ({ props, state }) => props.value || state.value,
27
27
  disabled: ({ props }) => props.disabled || null,
28
28
  readonly: ({ props }) => props.readonly,
29
29
  required: ({ props }) => props.required,
@@ -130,7 +130,9 @@ export const Block = {
130
130
  },
131
131
 
132
132
  gridColumn: ({ props }) => props.gridColumn && ({ gridColumn: props.gridColumn }),
133
+ gridColumnStart: ({ props }) => props.columnStart ? ({ gridColumnStart: props.columnStart }) : null,
133
134
  gridRow: ({ props }) => props.gridRow && ({ gridRow: props.gridRow }),
135
+ gridRowStart: ({ props }) => props.rowStart ? ({ gridRowStart: props.rowStart }) : null,
134
136
 
135
137
  size: ({ props }) => {
136
138
  if (typeof props.heightRange !== 'string') return