@flourish/controls
Advanced tools
Comparing version 5.0.1 to 5.0.2
{ | ||
"name": "@flourish/controls", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Switchable dropdown/buttons/slider control", | ||
@@ -5,0 +5,0 @@ "main": "controls.js", |
@@ -0,1 +1,4 @@ | ||
# 5.0.2 | ||
* Adjust dropdown for RTL mode | ||
# 5.0.1 | ||
@@ -2,0 +5,0 @@ * Don't show dropdowns on init |
@@ -49,2 +49,3 @@ import { select } from "d3-selection"; | ||
select(this._container) | ||
.classed("is-rtl", read_direction == "rtl") | ||
.style("display", "flex") | ||
@@ -51,0 +52,0 @@ .style("flex-wrap", "wrap") |
@@ -82,2 +82,3 @@ import createStylesheet from "@flourish/js2css"; | ||
.style("right", "5px") | ||
.style("left", "auto") | ||
.style("top", "50%") | ||
@@ -91,2 +92,6 @@ .style("pointer-events", "none") | ||
s.select(".is-rtl .fl-control-dropdown::after") | ||
.style("left", "5px") | ||
.style("right", "auto"); | ||
s.select(".fl-control-dropdown select") | ||
@@ -93,0 +98,0 @@ .style("-webkit-appearance", "none") |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
322911
5351