Fabian Iwand

Results 95 issues of Fabian Iwand

Fixes non-wrapping widget labels bleeding into other elements. **Before / after:** **Before / after:** Test snippet: ```js (label => Inputs.form([ Inputs.text({label}), Inputs.toggle({label}), Inputs.select([], {label}), Inputs.range([], {label}), Inputs.number([], {label}), Inputs.button('OK', {label}),...

In Inputs.table the row height that is used as basis for height calculations is [hardcoded to 22px](https://github.com/observablehq/inputs/blob/86fa5c0b529c32cd83fccdf9b6b80ffe3bf015c0/src/table.js#L9). If the actual rows deviate from this height, the overall height estimate won't...

enhancement

The Table input presently supports four column related options: 1. `columns`, indicating which columns should be displayed, and in which order 2. `width`, defining either a global width or per-column...

question

A Table input's current sort order is only tracked internally. This poses a problem if a notebook author wants to persist the current sort state, e.g. via a permalink. **Suggested...

enhancement

In Inputs.button(), `` elements are currently siblings of the `` element: ![image](https://user-images.githubusercontent.com/322014/163577431-3f9db147-3c56-4785-976a-84e1cff35591.png) This makes it close to impossible to wrap multiple buttons without having them flow below the label: ![image](https://user-images.githubusercontent.com/322014/163576550-7773c515-2555-47c1-8f06-88dd7dd0ebc1.png)...

enhancement

Checkbox and Radio are currently the only widgets without support for a custom width. In the context of these widgets, `width` would define the max width at which input/label pairs...

enhancement

Create the following cells: ```js data = [{name: "foo"}, {name: "bar"}] ``` ```js viewof table = Inputs.table(data, {multiple: false}) ``` ```js { viewof table.value = data[0]; viewof table.dispatchEvent(new Event('input')); }...

bug

The CSS namespace placeholder `__ns__` is currently replaced [via rollup](https://github.com/observablehq/inputs/blob/fac7439b463e0d3fdba9f633f6ec2d6259a99d41/rollup.config.js#L67), but the replacement value is not exposed anywhere. In order to write custom CSS that targets the library's widgets, one...

enhancement

It is often desirable to sort numeric or date columns in descending order, viewing the highest or latest items first. In the Table input, this can only be achieved by...

enhancement

This repo hasn't been updated in a while. I'd recommend to archive it and point users to https://github.com/vega/vega-embed in the readme.