rangeflow 1.0.3 → 1.0.4
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/dist/index.js +4 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -327,6 +327,7 @@ function X() {
|
|
|
327
327
|
function ve() {
|
|
328
328
|
let e = K((e) => e.slider.left), [t] = l(() => e);
|
|
329
329
|
return /* @__PURE__ */ p(S, {
|
|
330
|
+
className: "focus:outline-none",
|
|
330
331
|
defaultSize: `${t}%`,
|
|
331
332
|
id: k,
|
|
332
333
|
minSize: 0,
|
|
@@ -338,6 +339,7 @@ function ve() {
|
|
|
338
339
|
function ye() {
|
|
339
340
|
let e = K((e) => e.slider.right), [t] = l(() => e);
|
|
340
341
|
return /* @__PURE__ */ p(S, {
|
|
342
|
+
className: "focus:outline-none",
|
|
341
343
|
defaultSize: `${t}%`,
|
|
342
344
|
id: A,
|
|
343
345
|
minSize: 0,
|
|
@@ -534,8 +536,8 @@ function Oe() {
|
|
|
534
536
|
children: /* @__PURE__ */ p("div", {
|
|
535
537
|
className: "relative flex items-center overflow-hidden",
|
|
536
538
|
children: o.map((e, n) => /* @__PURE__ */ m("button", {
|
|
537
|
-
className: y("rangeflow-tab relative z-1 flex items-center px-1.5 py-1"),
|
|
538
539
|
"data-active": c === n || void 0,
|
|
540
|
+
className: y("rangeflow-tab relative z-1 flex items-center px-1.5 py-1 focus:outline-none"),
|
|
539
541
|
onClick: () => {
|
|
540
542
|
t((t) => {
|
|
541
543
|
t.range.from = e.from, t.range.to = e.to;
|
|
@@ -546,11 +548,8 @@ function Oe() {
|
|
|
546
548
|
children: e.label
|
|
547
549
|
}), c === n && /* @__PURE__ */ p(x.div, {
|
|
548
550
|
className: "rangeflow-tab-indicator absolute inset-0 rounded-sm bg-(--rangeflow-active-bg)",
|
|
551
|
+
initial: !1,
|
|
549
552
|
layoutId: "tab-indicator",
|
|
550
|
-
initial: {
|
|
551
|
-
x: 0,
|
|
552
|
-
y: 0
|
|
553
|
-
},
|
|
554
553
|
transition: {
|
|
555
554
|
type: "spring",
|
|
556
555
|
stiffness: 200,
|