@progress/kendo-themes-html 6.7.0-dev.2 → 6.7.0-dev.3

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.
Files changed (80) hide show
  1. package/dist/cjs/grid/tests/grid-adaptive-pager.js +18 -6
  2. package/dist/cjs/grid/tests/grid-angular.js +160 -148
  3. package/dist/cjs/grid/tests/grid-column-reordering-actions.js +275 -263
  4. package/dist/cjs/grid/tests/grid-column-reordering.js +280 -268
  5. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +311 -299
  6. package/dist/cjs/grid/tests/grid-grouping-actions.js +241 -229
  7. package/dist/cjs/grid/tests/grid-pager.js +104 -92
  8. package/dist/cjs/grid/tests/grid-row-reordering.js +233 -221
  9. package/dist/cjs/grid/tests/grid-rtl-angular.js +106 -94
  10. package/dist/cjs/grid/tests/grid-rtl.js +99 -87
  11. package/dist/cjs/grid/tests/grid-selection-aggregates.js +108 -96
  12. package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +348 -336
  13. package/dist/cjs/grid/tests/grid-size-sm.js +348 -336
  14. package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +135 -123
  15. package/dist/cjs/grid/tests/grid.js +124 -112
  16. package/dist/cjs/index.js +1326 -1286
  17. package/dist/cjs/listview/listview.spec.js +22 -10
  18. package/dist/cjs/listview/tests/listview-layout.js +63 -51
  19. package/dist/cjs/listview/tests/listview-loading.js +34 -22
  20. package/dist/cjs/listview/tests/listview.js +49 -37
  21. package/dist/cjs/pager/index.js +41 -1
  22. package/dist/cjs/pager/templates/pager-adaptive-input.js +5806 -0
  23. package/dist/cjs/pager/templates/pager-adaptive.js +5805 -0
  24. package/dist/cjs/pager/templates/pager-input.js +5805 -0
  25. package/dist/cjs/pager/templates/pager-normal.js +5799 -0
  26. package/dist/cjs/pager/tests/pager-adaptive.js +49 -13
  27. package/dist/cjs/pager/tests/pager-sizes.js +34 -21
  28. package/dist/cjs/pager/tests/pager.js +27 -10
  29. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +25 -13
  30. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +31 -19
  31. package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +36 -24
  32. package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +25 -13
  33. package/dist/esm/grid/tests/grid-adaptive-pager.js +18 -6
  34. package/dist/esm/grid/tests/grid-angular.js +130 -118
  35. package/dist/esm/grid/tests/grid-column-reordering-actions.js +232 -220
  36. package/dist/esm/grid/tests/grid-column-reordering.js +235 -223
  37. package/dist/esm/grid/tests/grid-column-resizing-actions.js +268 -256
  38. package/dist/esm/grid/tests/grid-grouping-actions.js +210 -198
  39. package/dist/esm/grid/tests/grid-pager.js +82 -70
  40. package/dist/esm/grid/tests/grid-row-reordering.js +206 -194
  41. package/dist/esm/grid/tests/grid-rtl-angular.js +88 -76
  42. package/dist/esm/grid/tests/grid-rtl.js +84 -72
  43. package/dist/esm/grid/tests/grid-selection-aggregates.js +80 -68
  44. package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +289 -277
  45. package/dist/esm/grid/tests/grid-size-sm.js +289 -277
  46. package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +124 -112
  47. package/dist/esm/grid/tests/grid.js +104 -92
  48. package/dist/esm/index.js +1044 -1004
  49. package/dist/esm/listview/listview.spec.js +20 -8
  50. package/dist/esm/listview/tests/listview-layout.js +49 -37
  51. package/dist/esm/listview/tests/listview-loading.js +29 -17
  52. package/dist/esm/listview/tests/listview.js +39 -27
  53. package/dist/esm/pager/index.js +41 -1
  54. package/dist/esm/pager/templates/pager-adaptive-input.js +5790 -0
  55. package/dist/esm/pager/templates/pager-adaptive.js +5789 -0
  56. package/dist/esm/pager/templates/pager-input.js +5789 -0
  57. package/dist/esm/pager/templates/pager-normal.js +5783 -0
  58. package/dist/esm/pager/tests/pager-adaptive.js +47 -11
  59. package/dist/esm/pager/tests/pager-sizes.js +34 -21
  60. package/dist/esm/pager/tests/pager.js +27 -10
  61. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +23 -11
  62. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +27 -15
  63. package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +30 -18
  64. package/dist/esm/pdf-viewer/tests/pdf-viewer.js +23 -11
  65. package/dist/types/floating-label/floating-label.spec.d.ts +6 -2
  66. package/dist/types/pager/index.d.ts +4 -0
  67. package/dist/types/pager/templates/pager-adaptive-input.d.ts +1 -0
  68. package/dist/types/pager/templates/pager-adaptive.d.ts +1 -0
  69. package/dist/types/pager/templates/pager-input.d.ts +1 -0
  70. package/dist/types/pager/templates/pager-normal.d.ts +1 -0
  71. package/package.json +2 -2
  72. package/src/floating-label/floating-label.spec.tsx +7 -2
  73. package/src/pager/index.tsx +4 -0
  74. package/src/pager/templates/pager-adaptive-input.tsx +9 -0
  75. package/src/pager/templates/pager-adaptive.tsx +8 -0
  76. package/src/pager/templates/pager-input.tsx +8 -0
  77. package/src/pager/templates/pager-normal.tsx +3 -0
  78. package/src/pager/tests/pager-adaptive.tsx +7 -7
  79. package/src/pager/tests/pager-sizes.tsx +9 -22
  80. package/src/pager/tests/pager.tsx +21 -19
@@ -5773,26 +5773,62 @@ Pager.states = states23;
5773
5773
  Pager.options = options22;
5774
5774
  Pager.className = PAGER_CLASSNAME;
5775
5775
  Pager.defaultProps = defaultProps20;
5776
+ var pager_spec_default = Pager;
5777
+
5778
+ // src/pager/templates/pager-normal.tsx
5779
+ import { jsx as jsx52 } from "react/jsx-runtime";
5780
+ var PagerNormal = (props) => /* @__PURE__ */ jsx52(pager_spec_default, { ...props });
5781
+
5782
+ // src/pager/templates/pager-input.tsx
5783
+ import { jsx as jsx53 } from "react/jsx-runtime";
5784
+ var PagerInput = (props) => /* @__PURE__ */ jsx53(
5785
+ pager_spec_default,
5786
+ {
5787
+ type: "input",
5788
+ ...props
5789
+ }
5790
+ );
5791
+
5792
+ // src/pager/templates/pager-adaptive.tsx
5793
+ import { jsx as jsx54 } from "react/jsx-runtime";
5794
+ var PagerAdaptive = (props) => /* @__PURE__ */ jsx54(
5795
+ pager_spec_default,
5796
+ {
5797
+ adaptive: true,
5798
+ ...props
5799
+ }
5800
+ );
5801
+
5802
+ // src/pager/templates/pager-adaptive-input.tsx
5803
+ import { jsx as jsx55 } from "react/jsx-runtime";
5804
+ var PagerAdaptiveInput = (props) => /* @__PURE__ */ jsx55(
5805
+ pager_spec_default,
5806
+ {
5807
+ type: "input",
5808
+ adaptive: true,
5809
+ ...props
5810
+ }
5811
+ );
5776
5812
 
5777
5813
  // src/pager/tests/pager-adaptive.tsx
5778
- import { Fragment as Fragment15, jsx as jsx52, jsxs as jsxs22 } from "react/jsx-runtime";
5814
+ import { Fragment as Fragment15, jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
5779
5815
  var styles = `
5780
5816
  #test-area {
5781
5817
  gap: 20px;
5782
5818
  }
5783
5819
  `;
5784
5820
  var pager_adaptive_default = () => /* @__PURE__ */ jsxs22(Fragment15, { children: [
5785
- /* @__PURE__ */ jsx52("style", { children: styles }),
5821
+ /* @__PURE__ */ jsx56("style", { children: styles }),
5786
5822
  /* @__PURE__ */ jsxs22("div", { id: "test-area", className: "k-d-grid", children: [
5787
- /* @__PURE__ */ jsx52("span", { children: ">= 640 px" }),
5788
- /* @__PURE__ */ jsx52(Pager, { size: "large" }),
5789
- /* @__PURE__ */ jsx52(Pager, { size: "large", type: "input" }),
5790
- /* @__PURE__ */ jsx52("span", { children: "500 px" }),
5791
- /* @__PURE__ */ jsx52(Pager, { size: "large", adaptive: true, info: false, refresh: false, itemsPerPage: false, style: { width: "500px" } }),
5792
- /* @__PURE__ */ jsx52(Pager, { size: "large", type: "input", adaptive: true, info: false, refresh: false, itemsPerPage: false, style: { width: "500px" } }),
5793
- /* @__PURE__ */ jsx52("span", { children: "360 px" }),
5794
- /* @__PURE__ */ jsx52(Pager, { size: "large", adaptive: true, info: false, refresh: false, itemsPerPage: false, pageSizes: false, style: { width: "360px" } }),
5795
- /* @__PURE__ */ jsx52(Pager, { size: "large", type: "input", adaptive: true, info: false, refresh: false, itemsPerPage: false, pageSizes: false, style: { width: "360px" } })
5823
+ /* @__PURE__ */ jsx56("span", { children: ">= 640 px" }),
5824
+ /* @__PURE__ */ jsx56(PagerNormal, { size: "large" }),
5825
+ /* @__PURE__ */ jsx56(PagerInput, { size: "large" }),
5826
+ /* @__PURE__ */ jsx56("span", { children: "500 px" }),
5827
+ /* @__PURE__ */ jsx56(PagerAdaptive, { size: "large", info: false, refresh: false, itemsPerPage: false, style: { width: "500px" } }),
5828
+ /* @__PURE__ */ jsx56(PagerAdaptiveInput, { size: "large", info: false, refresh: false, itemsPerPage: false, style: { width: "500px" } }),
5829
+ /* @__PURE__ */ jsx56("span", { children: "360 px" }),
5830
+ /* @__PURE__ */ jsx56(PagerAdaptive, { size: "large", pageSizes: false, info: false, refresh: false, itemsPerPage: false, style: { width: "360px" } }),
5831
+ /* @__PURE__ */ jsx56(PagerAdaptiveInput, { size: "large", pageSizes: false, info: false, refresh: false, itemsPerPage: false, style: { width: "360px" } })
5796
5832
  ] })
5797
5833
  ] });
5798
5834
  export {
@@ -5773,29 +5773,42 @@ Pager.states = states23;
5773
5773
  Pager.options = options22;
5774
5774
  Pager.className = PAGER_CLASSNAME;
5775
5775
  Pager.defaultProps = defaultProps20;
5776
+ var pager_spec_default = Pager;
5777
+
5778
+ // src/pager/templates/pager-normal.tsx
5779
+ import { jsx as jsx52 } from "react/jsx-runtime";
5780
+ var PagerNormal = (props) => /* @__PURE__ */ jsx52(pager_spec_default, { ...props });
5781
+
5782
+ // src/pager/templates/pager-input.tsx
5783
+ import { jsx as jsx53 } from "react/jsx-runtime";
5784
+ var PagerInput = (props) => /* @__PURE__ */ jsx53(
5785
+ pager_spec_default,
5786
+ {
5787
+ type: "input",
5788
+ ...props
5789
+ }
5790
+ );
5791
+
5792
+ // src/pager/templates/pager-adaptive.tsx
5793
+ import { jsx as jsx54 } from "react/jsx-runtime";
5794
+
5795
+ // src/pager/templates/pager-adaptive-input.tsx
5796
+ import { jsx as jsx55 } from "react/jsx-runtime";
5776
5797
 
5777
5798
  // src/pager/tests/pager-sizes.tsx
5778
- import { Fragment as Fragment15, jsx as jsx52, jsxs as jsxs22 } from "react/jsx-runtime";
5779
- var pager_sizes_default = () => /* @__PURE__ */ jsx52(Fragment15, { children: /* @__PURE__ */ jsxs22("div", { id: "test-area", className: "k-d-grid", children: [
5780
- /* @__PURE__ */ jsx52("span", {}),
5781
- /* @__PURE__ */ jsx52("span", { children: "Large Numeric" }),
5782
- /* @__PURE__ */ jsx52(Pager, { size: "large" }),
5783
- /* @__PURE__ */ jsx52("span", {}),
5784
- /* @__PURE__ */ jsx52("span", { children: "Large Input" }),
5785
- /* @__PURE__ */ jsx52(Pager, { size: "large", type: "input" }),
5786
- /* @__PURE__ */ jsx52("span", {}),
5787
- /* @__PURE__ */ jsx52("span", { children: "Medium Numeric" }),
5788
- /* @__PURE__ */ jsx52(Pager, {}),
5789
- /* @__PURE__ */ jsx52("span", {}),
5790
- /* @__PURE__ */ jsx52("span", { children: "Medium Input" }),
5791
- /* @__PURE__ */ jsx52(Pager, { type: "input" }),
5792
- /* @__PURE__ */ jsx52("span", {}),
5793
- /* @__PURE__ */ jsx52("span", { children: "Small Numeric" }),
5794
- /* @__PURE__ */ jsx52(Pager, { size: "small" }),
5795
- /* @__PURE__ */ jsx52("span", {}),
5796
- /* @__PURE__ */ jsx52("span", { children: "Small Input" }),
5797
- /* @__PURE__ */ jsx52(Pager, { size: "small", type: "input" })
5798
- ] }) });
5799
+ import { Fragment as Fragment15, jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
5800
+ var pager_sizes_default = () => /* @__PURE__ */ jsx56(Fragment15, { children: /* @__PURE__ */ jsx56("div", { id: "test-area", className: "k-d-grid", children: Pager.options.size.map((size) => /* @__PURE__ */ jsxs22(Fragment15, { children: [
5801
+ /* @__PURE__ */ jsxs22("span", { children: [
5802
+ size,
5803
+ " numeric"
5804
+ ] }),
5805
+ /* @__PURE__ */ jsx56(PagerNormal, { size }),
5806
+ /* @__PURE__ */ jsxs22("span", { children: [
5807
+ size,
5808
+ " input"
5809
+ ] }),
5810
+ /* @__PURE__ */ jsx56(PagerInput, { size })
5811
+ ] })) }) });
5799
5812
  export {
5800
5813
  pager_sizes_default as default
5801
5814
  };
@@ -5773,18 +5773,35 @@ Pager.states = states23;
5773
5773
  Pager.options = options22;
5774
5774
  Pager.className = PAGER_CLASSNAME;
5775
5775
  Pager.defaultProps = defaultProps20;
5776
+ var pager_spec_default = Pager;
5777
+
5778
+ // src/pager/templates/pager-normal.tsx
5779
+ import { jsx as jsx52 } from "react/jsx-runtime";
5780
+ var PagerNormal = (props) => /* @__PURE__ */ jsx52(pager_spec_default, { ...props });
5781
+
5782
+ // src/pager/templates/pager-input.tsx
5783
+ import { jsx as jsx53 } from "react/jsx-runtime";
5784
+ var PagerInput = (props) => /* @__PURE__ */ jsx53(
5785
+ pager_spec_default,
5786
+ {
5787
+ type: "input",
5788
+ ...props
5789
+ }
5790
+ );
5791
+
5792
+ // src/pager/templates/pager-adaptive.tsx
5793
+ import { jsx as jsx54 } from "react/jsx-runtime";
5794
+
5795
+ // src/pager/templates/pager-adaptive-input.tsx
5796
+ import { jsx as jsx55 } from "react/jsx-runtime";
5776
5797
 
5777
5798
  // src/pager/tests/pager.tsx
5778
- import { Fragment as Fragment15, jsx as jsx52, jsxs as jsxs22 } from "react/jsx-runtime";
5779
- var pager_default = () => /* @__PURE__ */ jsx52(Fragment15, { children: /* @__PURE__ */ jsxs22("div", { id: "test-area", className: "k-d-grid", children: [
5780
- /* @__PURE__ */ jsx52("span", { children: "LTR" }),
5781
- /* @__PURE__ */ jsx52("section", { children: /* @__PURE__ */ jsx52(Pager, {}) }),
5782
- /* @__PURE__ */ jsx52("section", { children: /* @__PURE__ */ jsx52(Pager, { type: "input", focus: true }) }),
5783
- /* @__PURE__ */ jsx52("section", { children: /* @__PURE__ */ jsx52(Pager, { disabled: true }) }),
5784
- /* @__PURE__ */ jsx52("span", { children: "RTL" }),
5785
- /* @__PURE__ */ jsx52("section", { children: /* @__PURE__ */ jsx52(Pager, { dir: "rtl" }) }),
5786
- /* @__PURE__ */ jsx52("section", { children: /* @__PURE__ */ jsx52(Pager, { type: "input", focus: true, dir: "rtl" }) }),
5787
- /* @__PURE__ */ jsx52("section", { children: /* @__PURE__ */ jsx52(Pager, { disabled: true, dir: "rtl" }) })
5799
+ import { Fragment as Fragment15, jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
5800
+ var pager_default = () => /* @__PURE__ */ jsx56(Fragment15, { children: /* @__PURE__ */ jsxs22("div", { id: "test-area", className: "k-d-grid", children: [
5801
+ /* @__PURE__ */ jsx56("span", { children: "LTR" }),
5802
+ ["normal", ...Pager.states].map((state, index) => index % 2 === 0 ? /* @__PURE__ */ jsx56("section", { children: /* @__PURE__ */ jsx56(PagerNormal, { ...{ [state]: true } }) }) : /* @__PURE__ */ jsx56("section", { children: /* @__PURE__ */ jsx56(PagerInput, { ...{ [state]: true } }) })),
5803
+ /* @__PURE__ */ jsx56("span", { children: "RTL" }),
5804
+ ["normal", ...Pager.states].map((state, index) => index % 2 === 0 ? /* @__PURE__ */ jsx56("section", { children: /* @__PURE__ */ jsx56(PagerNormal, { dir: "rtl", ...{ [state]: true } }) }) : /* @__PURE__ */ jsx56("section", { children: /* @__PURE__ */ jsx56(PagerInput, { dir: "rtl", ...{ [state]: true } }) }))
5788
5805
  ] }) });
5789
5806
  export {
5790
5807
  pager_default as default
@@ -7351,26 +7351,38 @@ Pager.options = options38;
7351
7351
  Pager.className = PAGER_CLASSNAME;
7352
7352
  Pager.defaultProps = defaultProps36;
7353
7353
 
7354
+ // src/pager/templates/pager-normal.tsx
7355
+ import { jsx as jsx91 } from "react/jsx-runtime";
7356
+
7357
+ // src/pager/templates/pager-input.tsx
7358
+ import { jsx as jsx92 } from "react/jsx-runtime";
7359
+
7360
+ // src/pager/templates/pager-adaptive.tsx
7361
+ import { jsx as jsx93 } from "react/jsx-runtime";
7362
+
7363
+ // src/pager/templates/pager-adaptive-input.tsx
7364
+ import { jsx as jsx94 } from "react/jsx-runtime";
7365
+
7354
7366
  // src/pdf-viewer/tests/pdf-viewer-blank-page-blazor.tsx
7355
- import { Fragment as Fragment27, jsx as jsx91, jsxs as jsxs45 } from "react/jsx-runtime";
7367
+ import { Fragment as Fragment27, jsx as jsx95, jsxs as jsxs45 } from "react/jsx-runtime";
7356
7368
  var styles = `
7357
7369
  #test-area .k-pdf-viewer {
7358
7370
  height: 600px;
7359
7371
  }
7360
7372
  `;
7361
7373
  var pdf_viewer_blank_page_blazor_default = () => /* @__PURE__ */ jsxs45(Fragment27, { children: [
7362
- /* @__PURE__ */ jsx91("style", { children: styles }),
7363
- /* @__PURE__ */ jsx91("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs45("div", { className: "k-widget k-pdf-viewer", children: [
7374
+ /* @__PURE__ */ jsx95("style", { children: styles }),
7375
+ /* @__PURE__ */ jsx95("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs45("div", { className: "k-widget k-pdf-viewer", children: [
7364
7376
  /* @__PURE__ */ jsxs45(Toolbar, { resizable: true, children: [
7365
- /* @__PURE__ */ jsx91(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7366
- /* @__PURE__ */ jsx91("span", { className: "k-spacer" }),
7367
- /* @__PURE__ */ jsx91(Button, { fillMode: "flat", icon: "file-pdf" }),
7368
- /* @__PURE__ */ jsx91(Button, { fillMode: "flat", icon: "print" }),
7369
- /* @__PURE__ */ jsx91(Button, { fillMode: "flat", icon: "fullscreen" })
7377
+ /* @__PURE__ */ jsx95(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7378
+ /* @__PURE__ */ jsx95("span", { className: "k-spacer" }),
7379
+ /* @__PURE__ */ jsx95(Button, { fillMode: "flat", icon: "file-pdf" }),
7380
+ /* @__PURE__ */ jsx95(Button, { fillMode: "flat", icon: "print" }),
7381
+ /* @__PURE__ */ jsx95(Button, { fillMode: "flat", icon: "fullscreen" })
7370
7382
  ] }),
7371
- /* @__PURE__ */ jsx91("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto", children: /* @__PURE__ */ jsx91("div", { className: "k-pdf-viewer-pages", children: /* @__PURE__ */ jsxs45("div", { className: "k-page k-blank-page", children: [
7372
- /* @__PURE__ */ jsx91(Icon, { icon: "folder-open", size: "xxxlarge" }),
7373
- /* @__PURE__ */ jsx91(Upload, { async: true, empty: true })
7383
+ /* @__PURE__ */ jsx95("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto", children: /* @__PURE__ */ jsx95("div", { className: "k-pdf-viewer-pages", children: /* @__PURE__ */ jsxs45("div", { className: "k-page k-blank-page", children: [
7384
+ /* @__PURE__ */ jsx95(Icon, { icon: "folder-open", size: "xxxlarge" }),
7385
+ /* @__PURE__ */ jsx95(Upload, { async: true, empty: true })
7374
7386
  ] }) }) })
7375
7387
  ] }) })
7376
7388
  ] });
@@ -7351,8 +7351,20 @@ Pager.options = options38;
7351
7351
  Pager.className = PAGER_CLASSNAME;
7352
7352
  Pager.defaultProps = defaultProps36;
7353
7353
 
7354
+ // src/pager/templates/pager-normal.tsx
7355
+ import { jsx as jsx91 } from "react/jsx-runtime";
7356
+
7357
+ // src/pager/templates/pager-input.tsx
7358
+ import { jsx as jsx92 } from "react/jsx-runtime";
7359
+
7360
+ // src/pager/templates/pager-adaptive.tsx
7361
+ import { jsx as jsx93 } from "react/jsx-runtime";
7362
+
7363
+ // src/pager/templates/pager-adaptive-input.tsx
7364
+ import { jsx as jsx94 } from "react/jsx-runtime";
7365
+
7354
7366
  // src/dropzone/dropzone.spec.tsx
7355
- import { jsx as jsx91, jsxs as jsxs45 } from "react/jsx-runtime";
7367
+ import { jsx as jsx95, jsxs as jsxs45 } from "react/jsx-runtime";
7356
7368
  var DROPZONE_CLASSNAME = `k-external-dropzone`;
7357
7369
  var states42 = [
7358
7370
  States.hover
@@ -7368,7 +7380,7 @@ var Dropzone = (props) => {
7368
7380
  note = defaultProps37.note,
7369
7381
  ...other
7370
7382
  } = props;
7371
- return /* @__PURE__ */ jsx91(
7383
+ return /* @__PURE__ */ jsx95(
7372
7384
  "div",
7373
7385
  {
7374
7386
  ...other,
@@ -7381,8 +7393,8 @@ var Dropzone = (props) => {
7381
7393
  }
7382
7394
  ),
7383
7395
  children: /* @__PURE__ */ jsxs45("div", { className: "k-dropzone-inner", children: [
7384
- icon && /* @__PURE__ */ jsx91(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
7385
- /* @__PURE__ */ jsx91("span", { className: "k-dropzone-hint", children: "Drag and drop files here to upload" }),
7396
+ icon && /* @__PURE__ */ jsx95(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
7397
+ /* @__PURE__ */ jsx95("span", { className: "k-dropzone-hint", children: "Drag and drop files here to upload" }),
7386
7398
  note && /* @__PURE__ */ jsxs45("span", { className: "k-dropzone-note", children: [
7387
7399
  " ",
7388
7400
  note,
@@ -7394,7 +7406,7 @@ var Dropzone = (props) => {
7394
7406
  };
7395
7407
 
7396
7408
  // src/pdf-viewer/tests/pdf-viewer-blank-page.tsx
7397
- import { Fragment as Fragment27, jsx as jsx92, jsxs as jsxs46 } from "react/jsx-runtime";
7409
+ import { Fragment as Fragment27, jsx as jsx96, jsxs as jsxs46 } from "react/jsx-runtime";
7398
7410
  var styles = `
7399
7411
  #test-area .k-pdf-viewer {
7400
7412
  height: 600px;
@@ -7404,18 +7416,18 @@ var styles = `
7404
7416
  }
7405
7417
  `;
7406
7418
  var pdf_viewer_blank_page_default = () => /* @__PURE__ */ jsxs46(Fragment27, { children: [
7407
- /* @__PURE__ */ jsx92("style", { children: styles }),
7408
- /* @__PURE__ */ jsx92("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs46("div", { className: "k-widget k-pdf-viewer", children: [
7419
+ /* @__PURE__ */ jsx96("style", { children: styles }),
7420
+ /* @__PURE__ */ jsx96("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs46("div", { className: "k-widget k-pdf-viewer", children: [
7409
7421
  /* @__PURE__ */ jsxs46(Toolbar, { resizable: true, children: [
7410
- /* @__PURE__ */ jsx92(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7411
- /* @__PURE__ */ jsx92("span", { className: "k-spacer" }),
7412
- /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "file-pdf" }),
7413
- /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "print" }),
7414
- /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "fullscreen" })
7422
+ /* @__PURE__ */ jsx96(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7423
+ /* @__PURE__ */ jsx96("span", { className: "k-spacer" }),
7424
+ /* @__PURE__ */ jsx96(Button, { fillMode: "flat", icon: "file-pdf" }),
7425
+ /* @__PURE__ */ jsx96(Button, { fillMode: "flat", icon: "print" }),
7426
+ /* @__PURE__ */ jsx96(Button, { fillMode: "flat", icon: "fullscreen" })
7415
7427
  ] }),
7416
- /* @__PURE__ */ jsx92("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto", children: /* @__PURE__ */ jsx92("div", { className: "k-pdf-viewer-pages", children: /* @__PURE__ */ jsxs46("div", { className: "k-page k-blank-page", children: [
7417
- /* @__PURE__ */ jsx92(Dropzone, { note: false }),
7418
- /* @__PURE__ */ jsx92(Upload, { async: true, empty: true, status: "upload" })
7428
+ /* @__PURE__ */ jsx96("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto", children: /* @__PURE__ */ jsx96("div", { className: "k-pdf-viewer-pages", children: /* @__PURE__ */ jsxs46("div", { className: "k-page k-blank-page", children: [
7429
+ /* @__PURE__ */ jsx96(Dropzone, { note: false }),
7430
+ /* @__PURE__ */ jsx96(Upload, { async: true, empty: true, status: "upload" })
7419
7431
  ] }) }) })
7420
7432
  ] }) })
7421
7433
  ] });
@@ -7200,44 +7200,56 @@ Pager.options = options36;
7200
7200
  Pager.className = PAGER_CLASSNAME;
7201
7201
  Pager.defaultProps = defaultProps34;
7202
7202
 
7203
+ // src/pager/templates/pager-normal.tsx
7204
+ import { jsx as jsx88 } from "react/jsx-runtime";
7205
+
7206
+ // src/pager/templates/pager-input.tsx
7207
+ import { jsx as jsx89 } from "react/jsx-runtime";
7208
+
7209
+ // src/pager/templates/pager-adaptive.tsx
7210
+ import { jsx as jsx90 } from "react/jsx-runtime";
7211
+
7212
+ // src/pager/templates/pager-adaptive-input.tsx
7213
+ import { jsx as jsx91 } from "react/jsx-runtime";
7214
+
7203
7215
  // src/pdf-viewer/tests/pdf-viewer-search-panel.tsx
7204
- import { Fragment as Fragment24, jsx as jsx88, jsxs as jsxs42 } from "react/jsx-runtime";
7216
+ import { Fragment as Fragment24, jsx as jsx92, jsxs as jsxs42 } from "react/jsx-runtime";
7205
7217
  var styles = `
7206
7218
  #test-area .k-pdf-viewer {
7207
7219
  height: 600px;
7208
7220
  }
7209
7221
  `;
7210
7222
  var pdf_viewer_search_panel_default = () => /* @__PURE__ */ jsxs42(Fragment24, { children: [
7211
- /* @__PURE__ */ jsx88("style", { children: styles }),
7212
- /* @__PURE__ */ jsx88("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs42("div", { className: "k-widget k-pdf-viewer", children: [
7223
+ /* @__PURE__ */ jsx92("style", { children: styles }),
7224
+ /* @__PURE__ */ jsx92("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs42("div", { className: "k-widget k-pdf-viewer", children: [
7213
7225
  /* @__PURE__ */ jsxs42(Toolbar, { resizable: true, children: [
7214
- /* @__PURE__ */ jsx88(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7215
- /* @__PURE__ */ jsx88("span", { className: "k-spacer" }),
7216
- /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "file-pdf" }),
7217
- /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "print" }),
7218
- /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "fullscreen" })
7226
+ /* @__PURE__ */ jsx92(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7227
+ /* @__PURE__ */ jsx92("span", { className: "k-spacer" }),
7228
+ /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "file-pdf" }),
7229
+ /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "print" }),
7230
+ /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "fullscreen" })
7219
7231
  ] }),
7220
7232
  /* @__PURE__ */ jsxs42("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto", children: [
7221
7233
  /* @__PURE__ */ jsxs42("div", { className: "k-search-panel k-pos-sticky k-top-center", children: [
7222
- /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "handle-drag", className: "k-search-dialog-draghandle" }),
7223
- /* @__PURE__ */ jsx88(
7234
+ /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "handle-drag", className: "k-search-dialog-draghandle" }),
7235
+ /* @__PURE__ */ jsx92(
7224
7236
  Textbox,
7225
7237
  {
7226
- suffix: /* @__PURE__ */ jsx88(Button, { fillMode: "flat", className: "k-match-case-button", icon: "convert-lowercase" })
7238
+ suffix: /* @__PURE__ */ jsx92(Button, { fillMode: "flat", className: "k-match-case-button", icon: "convert-lowercase" })
7227
7239
  }
7228
7240
  ),
7229
7241
  /* @__PURE__ */ jsxs42("span", { className: "k-search-matches", children: [
7230
- /* @__PURE__ */ jsx88("span", { children: "0" }),
7242
+ /* @__PURE__ */ jsx92("span", { children: "0" }),
7231
7243
  " of ",
7232
- /* @__PURE__ */ jsx88("span", { children: "1" })
7244
+ /* @__PURE__ */ jsx92("span", { children: "1" })
7233
7245
  ] }),
7234
- /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "arrow-up" }),
7235
- /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "arrow-down" }),
7236
- /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "x" })
7246
+ /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "arrow-up" }),
7247
+ /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "arrow-down" }),
7248
+ /* @__PURE__ */ jsx92(Button, { fillMode: "flat", icon: "x" })
7237
7249
  ] }),
7238
7250
  /* @__PURE__ */ jsxs42("div", { className: "k-pdf-viewer-pages", children: [
7239
- /* @__PURE__ */ jsx88("div", { className: "k-page", style: { width: "720px", height: "360px" } }),
7240
- /* @__PURE__ */ jsx88("div", { className: "k-page", style: { width: "720px", height: "360px" } })
7251
+ /* @__PURE__ */ jsx92("div", { className: "k-page", style: { width: "720px", height: "360px" } }),
7252
+ /* @__PURE__ */ jsx92("div", { className: "k-page", style: { width: "720px", height: "360px" } })
7241
7253
  ] })
7242
7254
  ] })
7243
7255
  ] }) })
@@ -7093,26 +7093,38 @@ Pager.options = options35;
7093
7093
  Pager.className = PAGER_CLASSNAME;
7094
7094
  Pager.defaultProps = defaultProps33;
7095
7095
 
7096
+ // src/pager/templates/pager-normal.tsx
7097
+ import { jsx as jsx84 } from "react/jsx-runtime";
7098
+
7099
+ // src/pager/templates/pager-input.tsx
7100
+ import { jsx as jsx85 } from "react/jsx-runtime";
7101
+
7102
+ // src/pager/templates/pager-adaptive.tsx
7103
+ import { jsx as jsx86 } from "react/jsx-runtime";
7104
+
7105
+ // src/pager/templates/pager-adaptive-input.tsx
7106
+ import { jsx as jsx87 } from "react/jsx-runtime";
7107
+
7096
7108
  // src/pdf-viewer/tests/pdf-viewer.tsx
7097
- import { Fragment as Fragment24, jsx as jsx84, jsxs as jsxs39 } from "react/jsx-runtime";
7109
+ import { Fragment as Fragment24, jsx as jsx88, jsxs as jsxs39 } from "react/jsx-runtime";
7098
7110
  var styles = `
7099
7111
  #test-area .k-pdf-viewer {
7100
7112
  height: 600px;
7101
7113
  }
7102
7114
  `;
7103
7115
  var pdf_viewer_default = () => /* @__PURE__ */ jsxs39(Fragment24, { children: [
7104
- /* @__PURE__ */ jsx84("style", { children: styles }),
7105
- /* @__PURE__ */ jsx84("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs39("div", { className: "k-widget k-pdf-viewer", children: [
7116
+ /* @__PURE__ */ jsx88("style", { children: styles }),
7117
+ /* @__PURE__ */ jsx88("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs39("div", { className: "k-widget k-pdf-viewer", children: [
7106
7118
  /* @__PURE__ */ jsxs39(Toolbar, { resizable: true, children: [
7107
- /* @__PURE__ */ jsx84(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7108
- /* @__PURE__ */ jsx84("span", { className: "k-spacer" }),
7109
- /* @__PURE__ */ jsx84(Button, { fillMode: "flat", icon: "file-pdf" }),
7110
- /* @__PURE__ */ jsx84(Button, { fillMode: "flat", icon: "print" }),
7111
- /* @__PURE__ */ jsx84(Button, { fillMode: "flat", icon: "fullscreen" })
7119
+ /* @__PURE__ */ jsx88(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
7120
+ /* @__PURE__ */ jsx88("span", { className: "k-spacer" }),
7121
+ /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "file-pdf" }),
7122
+ /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "print" }),
7123
+ /* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "fullscreen" })
7112
7124
  ] }),
7113
- /* @__PURE__ */ jsx84("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto", children: /* @__PURE__ */ jsxs39("div", { className: "k-pdf-viewer-pages", children: [
7114
- /* @__PURE__ */ jsx84("div", { className: "k-page", style: { width: "720px", height: "360px" } }),
7115
- /* @__PURE__ */ jsx84("div", { className: "k-page", style: { width: "720px", height: "360px" } })
7125
+ /* @__PURE__ */ jsx88("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto", children: /* @__PURE__ */ jsxs39("div", { className: "k-pdf-viewer-pages", children: [
7126
+ /* @__PURE__ */ jsx88("div", { className: "k-page", style: { width: "720px", height: "360px" } }),
7127
+ /* @__PURE__ */ jsx88("div", { className: "k-page", style: { width: "720px", height: "360px" } })
7116
7128
  ] }) })
7117
7129
  ] }) })
7118
7130
  ] });
@@ -3,11 +3,15 @@ declare const states: ("focus" | "invalid" | "disabled" | "empty" | "valid")[];
3
3
  export type FloatingLabelState = {
4
4
  [K in (typeof states)[number]]?: boolean;
5
5
  };
6
- export type KendoFloatingLabelrProps = {
6
+ export type KendoFloatingLabelProps = {
7
7
  label?: string;
8
8
  };
9
+ /**
10
+ * @deprecated
11
+ */
12
+ export type KendoFloatingLabelrProps = KendoFloatingLabelProps;
9
13
  export declare const FloatingLabel: {
10
- (props: FloatingLabelState & KendoFloatingLabelrProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
14
+ (props: FloatingLabelState & KendoFloatingLabelProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
11
15
  states: ("focus" | "invalid" | "disabled" | "empty" | "valid")[];
12
16
  options: {};
13
17
  className: string;
@@ -1 +1,5 @@
1
1
  export * from './pager.spec';
2
+ export * from './templates/pager-normal';
3
+ export * from './templates/pager-input';
4
+ export * from './templates/pager-adaptive';
5
+ export * from './templates/pager-adaptive-input';
@@ -0,0 +1 @@
1
+ export declare const PagerAdaptiveInput: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const PagerAdaptive: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const PagerInput: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const PagerNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-themes-html",
3
3
  "description": "A collection of HTML helpers used for developing Kendo UI themes",
4
- "version": "6.7.0-dev.2",
4
+ "version": "6.7.0-dev.3",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -51,5 +51,5 @@
51
51
  "devDependencies": {
52
52
  "@types/react": "^18.0.2"
53
53
  },
54
- "gitHead": "48b9852e24736586f7bb277b8db520075eadd6e4"
54
+ "gitHead": "13f0e9d31474eca02c4ee6a62a4f182bdf7633cb"
55
55
  }
@@ -16,12 +16,17 @@ const defaultProps = {};
16
16
 
17
17
  export type FloatingLabelState = { [K in (typeof states)[number]]?: boolean };
18
18
 
19
- export type KendoFloatingLabelrProps = {
19
+ export type KendoFloatingLabelProps = {
20
20
  label?: string;
21
21
  };
22
22
 
23
+ /**
24
+ * @deprecated
25
+ */
26
+ export type KendoFloatingLabelrProps = KendoFloatingLabelProps;
27
+
23
28
  export const FloatingLabel = (
24
- props: FloatingLabelState & KendoFloatingLabelrProps & React.HTMLAttributes<HTMLSpanElement>
29
+ props: FloatingLabelState & KendoFloatingLabelProps & React.HTMLAttributes<HTMLSpanElement>
25
30
  ) => {
26
31
  const {
27
32
  focus,
@@ -1 +1,5 @@
1
1
  export * from './pager.spec';
2
+ export * from './templates/pager-normal';
3
+ export * from './templates/pager-input';
4
+ export * from './templates/pager-adaptive';
5
+ export * from './templates/pager-adaptive-input';
@@ -0,0 +1,9 @@
1
+ import Pager from "../pager.spec";
2
+
3
+ export const PagerAdaptiveInput = (props) => (
4
+ <Pager
5
+ type="input"
6
+ adaptive={true}
7
+ {...props}
8
+ />
9
+ );
@@ -0,0 +1,8 @@
1
+ import Pager from "../pager.spec";
2
+
3
+ export const PagerAdaptive = (props) => (
4
+ <Pager
5
+ adaptive={true}
6
+ {...props}
7
+ />
8
+ );
@@ -0,0 +1,8 @@
1
+ import Pager from "../pager.spec";
2
+
3
+ export const PagerInput = (props) => (
4
+ <Pager
5
+ type="input"
6
+ {...props}
7
+ />
8
+ );
@@ -0,0 +1,3 @@
1
+ import Pager from "../pager.spec";
2
+
3
+ export const PagerNormal = (props) => <Pager {...props} />;
@@ -1,4 +1,4 @@
1
- import { Pager } from '..';
1
+ import { PagerNormal, PagerInput, PagerAdaptive, PagerAdaptiveInput } from "../../pager";
2
2
 
3
3
 
4
4
  const styles = `
@@ -12,14 +12,14 @@ export default () =>(
12
12
  <style>{styles}</style>
13
13
  <div id="test-area" className="k-d-grid">
14
14
  <span>&gt;= 640 px</span>
15
- <Pager size="large"/>
16
- <Pager size="large" type="input"/>
15
+ <PagerNormal size="large"/>
16
+ <PagerInput size="large"/>
17
17
  <span>500 px</span>
18
- <Pager size="large" adaptive info={false} refresh={false} itemsPerPage={false} style={{ width: "500px" }}/>
19
- <Pager size="large" type="input" adaptive info={false} refresh={false} itemsPerPage={false} style={{ width: "500px" }}/>
18
+ <PagerAdaptive size="large" info={false} refresh={false} itemsPerPage={false} style={{ width: "500px" }}/>
19
+ <PagerAdaptiveInput size="large" info={false} refresh={false} itemsPerPage={false} style={{ width: "500px" }}/>
20
20
  <span>360 px</span>
21
- <Pager size="large" adaptive info={false} refresh={false} itemsPerPage={false} pageSizes={false} style={{ width: "360px" }}/>
22
- <Pager size="large" type="input" adaptive info={false} refresh={false} itemsPerPage={false} pageSizes={false} style={{ width: "360px" }}/>
21
+ <PagerAdaptive size="large" pageSizes={false} info={false} refresh={false} itemsPerPage={false} style={{ width: "360px" }}/>
22
+ <PagerAdaptiveInput size="large" pageSizes={false} info={false} refresh={false} itemsPerPage={false} style={{ width: "360px" }}/>
23
23
  </div>
24
24
  </>
25
25
  );