@progress/kendo-react-buttons 9.4.0-develop.24 → 9.4.0-develop.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/Button.js +1 -1
- package/Button.mjs +18 -17
- package/ButtonGroup.js +1 -1
- package/ButtonGroup.mjs +10 -9
- package/Chip/Chip.js +1 -1
- package/Chip/Chip.mjs +1 -0
- package/Chip/ChipList.js +1 -1
- package/Chip/ChipList.mjs +1 -0
- package/Chip/chip-list-contexts.js +1 -1
- package/Chip/chip-list-contexts.mjs +7 -6
- package/Chip/data-reducer.js +1 -1
- package/Chip/data-reducer.mjs +1 -0
- package/Chip/focus-reducer.js +1 -1
- package/Chip/focus-reducer.mjs +1 -0
- package/Chip/selection-reducer.js +1 -1
- package/Chip/selection-reducer.mjs +3 -2
- package/FloatingActionButton/FloatingActionButton.js +1 -1
- package/FloatingActionButton/FloatingActionButton.mjs +1 -0
- package/FloatingActionButton/FloatingActionButtonItem.js +1 -1
- package/FloatingActionButton/FloatingActionButtonItem.mjs +7 -6
- package/FloatingActionButton/utils.js +1 -1
- package/FloatingActionButton/utils.mjs +1 -0
- package/ListButton/ButtonItem.js +1 -1
- package/ListButton/ButtonItem.mjs +4 -3
- package/ListButton/DropDownButton.js +1 -1
- package/ListButton/DropDownButton.mjs +1 -0
- package/ListButton/DropDownButtonItem.js +1 -1
- package/ListButton/DropDownButtonItem.mjs +5 -4
- package/ListButton/SplitButton.js +1 -1
- package/ListButton/SplitButton.mjs +1 -0
- package/ListButton/SplitButtonItem.js +1 -1
- package/ListButton/SplitButtonItem.mjs +1 -0
- package/ListButton/utils/navigation.js +1 -1
- package/ListButton/utils/navigation.mjs +9 -8
- package/ListButton/utils/popup.js +1 -1
- package/ListButton/utils/popup.mjs +6 -5
- package/NOTICE.txt +51 -40
- package/dist/cdn/js/kendo-react-buttons.js +1 -8
- package/index.d.mts +1 -49
- package/index.d.ts +1 -49
- package/index.js +1 -2
- package/index.mjs +2 -2
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +3 -2
- package/package.json +5 -5
- package/toolbar/Toolbar.js +1 -1
- package/toolbar/Toolbar.mjs +93 -146
- package/toolbar/tools/ToolbarItem.js +1 -1
- package/toolbar/tools/ToolbarItem.mjs +6 -5
- package/toolbar/tools/ToolbarSeparator.js +1 -1
- package/toolbar/tools/ToolbarSeparator.mjs +4 -3
- package/toolbar/tools/ToolbarSpacer.js +1 -1
- package/toolbar/tools/ToolbarSpacer.mjs +13 -12
- package/util.js +1 -1
- package/util.mjs +1 -0
- package/toolbar/messages/index.js +0 -8
- package/toolbar/messages/index.mjs +0 -18
- package/toolbar/tools/ToolbarOverflowSection.js +0 -8
- package/toolbar/tools/ToolbarOverflowSection.mjs +0 -67
- package/toolbar/tools/ToolbarScrollButton.js +0 -8
- package/toolbar/tools/ToolbarScrollButton.mjs +0 -49
- package/toolbar/tools/ToolbarScrollable.js +0 -8
- package/toolbar/tools/ToolbarScrollable.mjs +0 -39
package/util.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",o=["button"+t,".k-button-group > button"+t,".k-colorpicker",".k-dropdownlist"];exports.toolbarButtons=o;
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",o=["button"+t,".k-button-group > button"+t,".k-colorpicker",".k-dropdownlist"];exports.toolbarButtons=o;
|
package/util.mjs
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
+
"use client";
|
|
8
9
|
const t = ":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)", o = [
|
|
9
10
|
"button" + t,
|
|
10
11
|
".k-button-group > button" + t,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t="prevArrow.title",e="nextArrow.title",o="moreButtonTitle.title",r={[t]:"Previous scroll button",[e]:"Next scroll button",[o]:"More button"};exports.messages=r;exports.moreButtonTitle=o;exports.nextArrowTitle=e;exports.prevArrowTitle=t;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
const t = "prevArrow.title", o = "nextArrow.title", e = "moreButtonTitle.title", r = {
|
|
9
|
-
[t]: "Previous scroll button",
|
|
10
|
-
[o]: "Next scroll button",
|
|
11
|
-
[e]: "More button"
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
r as messages,
|
|
15
|
-
e as moreButtonTitle,
|
|
16
|
-
o as nextArrowTitle,
|
|
17
|
-
t as prevArrowTitle
|
|
18
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("@progress/kendo-react-popup"),O=require("react"),q=require("./ToolbarSeparator.js"),M=require("../../Button.js"),P=require("@progress/kendo-svg-icons"),W=require("@progress/kendo-react-intl"),m=require("../messages/index.js"),I=require("@progress/kendo-react-common");function j(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const u=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(t,s,u.get?u:{enumerable:!0,get:()=>n[s]})}}return t.default=n,Object.freeze(t)}const e=j(O),_=n=>{var h;const{toolbarRef:t,children:s,fillMode:u,size:R}=n,[b,k]=e.useState(!1),a=e.useRef(e.Children.toArray(s).filter(r=>e.isValidElement(r)).map((r,i)=>e.cloneElement(r,{key:r.key||i}))),c=e.useRef([]),f=e.useRef(0),w=e.useRef(null),T=e.useRef(null),S=W.useLocalization(),[B,v]=e.useReducer(r=>r+1,0),d=()=>{if(!t.current)return;let r=0;const i=t.current.clientWidth,p=parseInt(window.getComputedStyle(t.current).gap||"0",10),E=Array.from(t.current.children).reduce((o,l,L)=>(o+=Math.ceil(l.clientWidth),o),0),g=Array.from(t.current.children).length,z=p*2;if(r=E+g*p+z,r>i){const o=[...a.current],l=o.pop();f.current=i,a.current=o,l&&(c.current=[l,...c.current])}else if(i>f.current+p*g){const o=[...c.current],l=o.shift();c.current=o,l&&(a.current=[...a.current,l]),f.current=i}v()};e.useEffect(()=>(d(),window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)),[]);const y=()=>{k(!b)};return e.createElement(e.Fragment,null,a.current.length>0&&a.current,c.current.length>0&&e.createElement(e.Fragment,null,e.createElement(q.ToolbarSeparator,{_ref:T,className:"k-toolbar-button-separator"}),e.createElement(M.Button,{ref:w,className:"k-toolbar-overflow-button",fillMode:"flat",svgIcon:P.moreHorizontalIcon,title:S.toLanguageString(m.moreButtonTitle,m.messages[m.moreButtonTitle]),onClick:y}),e.createElement(C.Popup,{anchor:t.current,show:b,popupClass:"k-toolbar-popup",style:{width:(h=t.current)==null?void 0:h.offsetWidth}},e.createElement("span",{className:`k-toolbar-items-list k-toolbar-items-list-${I.kendoThemeMaps.sizeMap[R]} k-toolbar-items-list-${u}`},c.current.length>0&&c.current))))};exports.ToolbarOverflowSection=_;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
import { Popup as W } from "@progress/kendo-react-popup";
|
|
9
|
-
import * as e from "react";
|
|
10
|
-
import { ToolbarSeparator as S } from "./ToolbarSeparator.mjs";
|
|
11
|
-
import { Button as M } from "../../Button.mjs";
|
|
12
|
-
import { moreHorizontalIcon as I } from "@progress/kendo-svg-icons";
|
|
13
|
-
import { useLocalization as L } from "@progress/kendo-react-intl";
|
|
14
|
-
import { moreButtonTitle as d, messages as A } from "../messages/index.mjs";
|
|
15
|
-
import { kendoThemeMaps as F } from "@progress/kendo-react-common";
|
|
16
|
-
const U = (h) => {
|
|
17
|
-
var m;
|
|
18
|
-
const { toolbarRef: o, children: b, fillMode: g, size: R } = h, [f, w] = e.useState(!1), s = e.useRef(
|
|
19
|
-
e.Children.toArray(b).filter((t) => e.isValidElement(t)).map((t, c) => e.cloneElement(t, { key: t.key || c }))
|
|
20
|
-
), n = e.useRef([]), i = e.useRef(0), k = e.useRef(null), E = e.useRef(null), T = L(), [N, v] = e.useReducer((t) => t + 1, 0), a = () => {
|
|
21
|
-
if (!o.current)
|
|
22
|
-
return;
|
|
23
|
-
let t = 0;
|
|
24
|
-
const c = o.current.clientWidth, u = parseInt(window.getComputedStyle(o.current).gap || "0", 10), C = Array.from(o.current.children).reduce((r, l, P) => (r += Math.ceil(l.clientWidth), r), 0), p = Array.from(o.current.children).length, y = u * 2;
|
|
25
|
-
if (t = C + p * u + y, t > c) {
|
|
26
|
-
const r = [...s.current], l = r.pop();
|
|
27
|
-
i.current = c, s.current = r, l && (n.current = [l, ...n.current]);
|
|
28
|
-
} else if (c > i.current + u * p) {
|
|
29
|
-
const r = [...n.current], l = r.shift();
|
|
30
|
-
n.current = r, l && (s.current = [...s.current, l]), i.current = c;
|
|
31
|
-
}
|
|
32
|
-
v();
|
|
33
|
-
};
|
|
34
|
-
e.useEffect(() => (a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a)), []);
|
|
35
|
-
const z = () => {
|
|
36
|
-
w(!f);
|
|
37
|
-
};
|
|
38
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, s.current.length > 0 && s.current, n.current.length > 0 && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(S, { _ref: E, className: "k-toolbar-button-separator" }), /* @__PURE__ */ e.createElement(
|
|
39
|
-
M,
|
|
40
|
-
{
|
|
41
|
-
ref: k,
|
|
42
|
-
className: "k-toolbar-overflow-button",
|
|
43
|
-
fillMode: "flat",
|
|
44
|
-
svgIcon: I,
|
|
45
|
-
title: T.toLanguageString(d, A[d]),
|
|
46
|
-
onClick: z
|
|
47
|
-
}
|
|
48
|
-
), /* @__PURE__ */ e.createElement(
|
|
49
|
-
W,
|
|
50
|
-
{
|
|
51
|
-
anchor: o.current,
|
|
52
|
-
show: f,
|
|
53
|
-
popupClass: "k-toolbar-popup",
|
|
54
|
-
style: { width: (m = o.current) == null ? void 0 : m.offsetWidth }
|
|
55
|
-
},
|
|
56
|
-
/* @__PURE__ */ e.createElement(
|
|
57
|
-
"span",
|
|
58
|
-
{
|
|
59
|
-
className: `k-toolbar-items-list k-toolbar-items-list-${F.sizeMap[R]} k-toolbar-items-list-${g}`
|
|
60
|
-
},
|
|
61
|
-
n.current.length > 0 && n.current
|
|
62
|
-
)
|
|
63
|
-
)));
|
|
64
|
-
};
|
|
65
|
-
export {
|
|
66
|
-
U as ToolbarOverflowSection
|
|
67
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),l=require("@progress/kendo-react-common"),p=require("@progress/kendo-react-intl"),r=require("../messages/index.js"),s=require("@progress/kendo-svg-icons");function f(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const e=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,e.get?e:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const i=f(m),k=t=>{const n=p.useLocalization(),{disabled:o,type:e,scrollContentRef:c,buttonScrollSpeed:a,prevButton:u,nextButton:d}=t,b=S=>{c&&c.current&&a&&c.current.scrollBy({left:e==="next"?a:-a,behavior:"smooth"})},g=e==="prev"?u||"span":d||"span";return i.createElement(g,{className:l.classNames("k-button","k-button-md","k-button-solid","k-button-solid-base","k-rounded-md","k-icon-button",`k-toolbar-${e}`,{"k-disabled":o}),title:`${e==="prev"?n.toLanguageString(r.prevArrowTitle,r.messages[r.prevArrowTitle]):n.toLanguageString(r.nextArrowTitle,r.messages[r.nextArrowTitle])}`,"aria-hidden":!0,tabIndex:o?-1:void 0,onClick:b},i.createElement(l.SvgIcon,{icon:e==="prev"?s.caretAltLeftIcon:s.caretAltRightIcon,className:"k-button-icon"}))};exports.ToolbarScrollButton=k;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
import * as a from "react";
|
|
9
|
-
import { classNames as b, SvgIcon as k } from "@progress/kendo-react-common";
|
|
10
|
-
import { useLocalization as f } from "@progress/kendo-react-intl";
|
|
11
|
-
import { prevArrowTitle as l, messages as c, nextArrowTitle as i } from "../messages/index.mjs";
|
|
12
|
-
import { caretAltLeftIcon as g, caretAltRightIcon as v } from "@progress/kendo-svg-icons";
|
|
13
|
-
const I = (s) => {
|
|
14
|
-
const n = f(), { disabled: r, type: t, scrollContentRef: o, buttonScrollSpeed: e, prevButton: m, nextButton: u } = s, d = (S) => {
|
|
15
|
-
o && o.current && e && o.current.scrollBy({
|
|
16
|
-
left: t === "next" ? e : -e,
|
|
17
|
-
behavior: "smooth"
|
|
18
|
-
});
|
|
19
|
-
}, p = t === "prev" ? m || "span" : u || "span";
|
|
20
|
-
return (
|
|
21
|
-
// Using span instead of real Button component is intentional.
|
|
22
|
-
// Ref: https://progresssoftware.atlassian.net/wiki/spaces/DE/pages/edit-v2/544997922#Hidden-interactive-elements
|
|
23
|
-
/* @__PURE__ */ a.createElement(
|
|
24
|
-
p,
|
|
25
|
-
{
|
|
26
|
-
className: b(
|
|
27
|
-
"k-button",
|
|
28
|
-
"k-button-md",
|
|
29
|
-
"k-button-solid",
|
|
30
|
-
"k-button-solid-base",
|
|
31
|
-
"k-rounded-md",
|
|
32
|
-
"k-icon-button",
|
|
33
|
-
`k-toolbar-${t}`,
|
|
34
|
-
{
|
|
35
|
-
"k-disabled": r
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
title: `${t === "prev" ? n.toLanguageString(l, c[l]) : n.toLanguageString(i, c[i])}`,
|
|
39
|
-
"aria-hidden": !0,
|
|
40
|
-
tabIndex: r ? -1 : void 0,
|
|
41
|
-
onClick: d
|
|
42
|
-
},
|
|
43
|
-
/* @__PURE__ */ a.createElement(k, { icon: t === "prev" ? g : v, className: "k-button-icon" })
|
|
44
|
-
)
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
I as ToolbarScrollButton
|
|
49
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react"),s=require("./ToolbarSeparator.js"),v=require("./ToolbarScrollButton.js");function T(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return o.default=r,Object.freeze(o)}const e=T(E),B=r=>{const{scrollButtons:o,scrollButtonsPosition:t,isOverflowing:n,scrollContentRef:b,buttonScrollSpeed:m,dir:l,isScrollStartPosition:u,isScrollEndPosition:i,prevButton:p,nextButton:S,children:d}=r,a=(f,g)=>e.createElement(v.ToolbarScrollButton,{type:f,disabled:g,scrollContentRef:b,buttonScrollSpeed:m,prevButton:p,nextButton:S}),c=o==="visible"||o==="auto"&&n;return e.createElement(e.Fragment,null,c&&t==="split"&&e.createElement(e.Fragment,null,a(l!=="rtl"?"prev":"next",u),e.createElement(s.ToolbarSeparator,{className:"k-toolbar-button-separator"})),c&&t==="start"&&e.createElement(e.Fragment,null,a(l!=="rtl"?"prev":"next",u),a(l!=="rtl"?"next":"prev",i),e.createElement(s.ToolbarSeparator,{className:"k-toolbar-button-separator"})),e.createElement("span",{className:"k-toolbar-items k-toolbar-items-scroll",ref:b},d),c&&t==="split"&&e.createElement(e.Fragment,null,e.createElement(s.ToolbarSeparator,{className:"k-toolbar-button-separator"}),a(l!=="rtl"?"next":"prev",i)),c&&t==="end"&&e.createElement(e.Fragment,null,e.createElement(s.ToolbarSeparator,{className:"k-toolbar-button-separator"}),a(l!=="rtl"?"prev":"next",u),a(l!=="rtl"?"next":"prev",i)))};exports.ToolbarScrollable=B;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
import * as t from "react";
|
|
9
|
-
import { ToolbarSeparator as n } from "./ToolbarSeparator.mjs";
|
|
10
|
-
import { ToolbarScrollButton as B } from "./ToolbarScrollButton.mjs";
|
|
11
|
-
const g = (i) => {
|
|
12
|
-
const {
|
|
13
|
-
scrollButtons: c,
|
|
14
|
-
scrollButtonsPosition: l,
|
|
15
|
-
isOverflowing: p,
|
|
16
|
-
scrollContentRef: m,
|
|
17
|
-
buttonScrollSpeed: u,
|
|
18
|
-
dir: e,
|
|
19
|
-
isScrollStartPosition: a,
|
|
20
|
-
isScrollEndPosition: s,
|
|
21
|
-
prevButton: b,
|
|
22
|
-
nextButton: E,
|
|
23
|
-
children: S
|
|
24
|
-
} = i, r = (v, x) => /* @__PURE__ */ t.createElement(
|
|
25
|
-
B,
|
|
26
|
-
{
|
|
27
|
-
type: v,
|
|
28
|
-
disabled: x,
|
|
29
|
-
scrollContentRef: m,
|
|
30
|
-
buttonScrollSpeed: u,
|
|
31
|
-
prevButton: b,
|
|
32
|
-
nextButton: E
|
|
33
|
-
}
|
|
34
|
-
), o = c === "visible" || c === "auto" && p;
|
|
35
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, o && l === "split" && /* @__PURE__ */ t.createElement(t.Fragment, null, r(e !== "rtl" ? "prev" : "next", a), /* @__PURE__ */ t.createElement(n, { className: "k-toolbar-button-separator" })), o && l === "start" && /* @__PURE__ */ t.createElement(t.Fragment, null, r(e !== "rtl" ? "prev" : "next", a), r(e !== "rtl" ? "next" : "prev", s), /* @__PURE__ */ t.createElement(n, { className: "k-toolbar-button-separator" })), /* @__PURE__ */ t.createElement("span", { className: "k-toolbar-items k-toolbar-items-scroll", ref: m }, S), o && l === "split" && /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(n, { className: "k-toolbar-button-separator" }), r(e !== "rtl" ? "next" : "prev", s)), o && l === "end" && /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(n, { className: "k-toolbar-button-separator" }), r(e !== "rtl" ? "prev" : "next", a), r(e !== "rtl" ? "next" : "prev", s)));
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
g as ToolbarScrollable
|
|
39
|
-
};
|