@progress/kendo-react-inputs 9.4.0-develop.1 → 9.4.0-develop.10

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 (104) hide show
  1. package/checkbox/Checkbox.js +1 -1
  2. package/checkbox/Checkbox.mjs +0 -1
  3. package/colors/ColorContrastLabels.js +1 -1
  4. package/colors/ColorContrastLabels.mjs +2 -3
  5. package/colors/ColorContrastSvg.js +1 -1
  6. package/colors/ColorContrastSvg.mjs +11 -12
  7. package/colors/ColorGradient.js +1 -1
  8. package/colors/ColorGradient.mjs +85 -75
  9. package/colors/ColorInput.js +1 -1
  10. package/colors/ColorInput.mjs +55 -45
  11. package/colors/ColorPalette.js +1 -1
  12. package/colors/ColorPalette.mjs +55 -47
  13. package/colors/ColorPicker.js +1 -1
  14. package/colors/ColorPicker.mjs +312 -183
  15. package/colors/FlatColorPicker.js +1 -1
  16. package/colors/FlatColorPicker.mjs +224 -139
  17. package/colors/HexInput.js +1 -1
  18. package/colors/HexInput.mjs +10 -9
  19. package/colors/Picker.js +1 -1
  20. package/colors/Picker.mjs +22 -23
  21. package/colors/models/palette-presets.js +1 -1
  22. package/colors/models/palette-presets.mjs +1 -2
  23. package/colors/utils/color-cache.js +1 -1
  24. package/colors/utils/color-cache.mjs +12 -13
  25. package/colors/utils/color-palette.service.js +1 -1
  26. package/colors/utils/color-palette.service.mjs +0 -1
  27. package/colors/utils/color-parser.js +1 -1
  28. package/colors/utils/color-parser.mjs +5 -6
  29. package/colors/utils/misc.js +1 -1
  30. package/colors/utils/misc.mjs +0 -1
  31. package/colors/utils/svg-calc.js +1 -1
  32. package/colors/utils/svg-calc.mjs +9 -10
  33. package/common/AdaptiveMode.js +8 -0
  34. package/common/AdaptiveMode.mjs +73 -0
  35. package/dist/cdn/js/kendo-react-inputs.js +8 -1
  36. package/index.d.mts +118 -10
  37. package/index.d.ts +118 -10
  38. package/index.js +2 -1
  39. package/index.mjs +4 -4
  40. package/input/Input.js +1 -1
  41. package/input/Input.mjs +8 -9
  42. package/input/InputClearValue.js +1 -1
  43. package/input/InputClearValue.mjs +3 -4
  44. package/input/InputPrefix.js +1 -1
  45. package/input/InputPrefix.mjs +4 -5
  46. package/input/InputSeparator.js +1 -1
  47. package/input/InputSeparator.mjs +8 -9
  48. package/input/InputSuffix.js +1 -1
  49. package/input/InputSuffix.mjs +4 -5
  50. package/input/InputValidationIcon.js +1 -1
  51. package/input/InputValidationIcon.mjs +3 -4
  52. package/maskedtextbox/MaskedTextBox.js +1 -1
  53. package/maskedtextbox/MaskedTextBox.mjs +0 -1
  54. package/maskedtextbox/masking.service.js +1 -1
  55. package/maskedtextbox/masking.service.mjs +0 -1
  56. package/maskedtextbox/parsing/combinators.js +1 -1
  57. package/maskedtextbox/parsing/combinators.mjs +8 -9
  58. package/maskedtextbox/parsing/parsers.js +1 -1
  59. package/maskedtextbox/parsing/parsers.mjs +0 -1
  60. package/maskedtextbox/parsing/result.js +1 -1
  61. package/maskedtextbox/parsing/result.mjs +7 -8
  62. package/maskedtextbox/parsing/stream.js +1 -1
  63. package/maskedtextbox/parsing/stream.mjs +0 -1
  64. package/maskedtextbox/utils.js +1 -1
  65. package/maskedtextbox/utils.mjs +11 -12
  66. package/messages/index.js +1 -1
  67. package/messages/index.mjs +39 -38
  68. package/numerictextbox/NumericTextBox.js +1 -1
  69. package/numerictextbox/NumericTextBox.mjs +0 -1
  70. package/numerictextbox/utils/index.js +1 -1
  71. package/numerictextbox/utils/index.mjs +0 -1
  72. package/package-metadata.js +1 -1
  73. package/package-metadata.mjs +2 -3
  74. package/package.json +9 -9
  75. package/radiobutton/RadioButton.js +1 -1
  76. package/radiobutton/RadioButton.mjs +0 -1
  77. package/radiobutton/RadioGroup.js +1 -1
  78. package/radiobutton/RadioGroup.mjs +0 -1
  79. package/range-slider/RangeSlider.js +1 -1
  80. package/range-slider/RangeSlider.mjs +0 -1
  81. package/range-slider/range-raducer.js +1 -1
  82. package/range-slider/range-raducer.mjs +2 -3
  83. package/rating/Rating.js +1 -1
  84. package/rating/Rating.mjs +0 -1
  85. package/rating/RatingItem.js +1 -1
  86. package/rating/RatingItem.mjs +0 -1
  87. package/rating/rating-reducer.js +1 -1
  88. package/rating/rating-reducer.mjs +0 -1
  89. package/rating/utils/index.js +1 -1
  90. package/rating/utils/index.mjs +0 -1
  91. package/signature/Signature.js +1 -1
  92. package/signature/Signature.mjs +0 -1
  93. package/signature/utils/index.js +1 -1
  94. package/signature/utils/index.mjs +3 -4
  95. package/slider/Slider.js +1 -1
  96. package/slider/Slider.mjs +0 -1
  97. package/slider/SliderLabel.js +1 -1
  98. package/slider/SliderLabel.mjs +3 -4
  99. package/switch/Switch.js +1 -1
  100. package/switch/Switch.mjs +0 -1
  101. package/textarea/TextArea.js +1 -1
  102. package/textarea/TextArea.mjs +0 -1
  103. package/textbox/Textbox.js +1 -1
  104. package/textbox/Textbox.mjs +7 -8
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4"," ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};exports.PALETTEPRESETS=f;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};exports.PALETTEPRESETS=f;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  const f = {
10
9
  basic: {
11
10
  colors: [
@@ -19,7 +18,7 @@ const f = {
19
18
  "#00a2e8",
20
19
  "#3f48cc",
21
20
  "#a349a4",
22
- " ffffff",
21
+ "#ffffff",
23
22
  "#c3c3c3",
24
23
  "#b97a57",
25
24
  "#ffaec9",
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={};function o(c,a,e){t[c]={value:a,hsva:e}}function r(c,a,e){t[c]={value:a,rgba:e}}function n(c,a,e){t[c]={value:a,hex:e}}function h(c){delete t[c]}function d(c,a){if(c){const e=t[c];return e&&e.value===a?e.hex:void 0}}function i(c,a){if(c){const e=t[c];return e&&e.value===a?e.hsva:void 0}}function u(c,a){if(c){const e=t[c];return e&&e.value===a?e.rgba:void 0}}exports.cacheHex=n;exports.cacheHsva=o;exports.cacheRgba=r;exports.getCachedHex=d;exports.getCachedHsva=i;exports.getCachedRgba=u;exports.removeCachedColor=h;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={};function t(c,a,e){o[c]={value:a,hsva:e}}function r(c,a,e){o[c]={value:a,rgba:e}}function h(c,a,e){o[c]={value:a,hex:e}}function n(c){delete o[c]}function d(c,a){if(c){const e=o[c];return e&&e.value===a?e.hex:void 0}}function v(c,a){if(c){const e=o[c];return e&&e.value===a?e.hsva:void 0}}function i(c,a){if(c){const e=o[c];return e&&e.value===a?e.rgba:void 0}}exports.cacheHex=h;exports.cacheHsva=t;exports.cacheRgba=r;exports.getCachedHex=d;exports.getCachedHsva=v;exports.getCachedRgba=i;exports.removeCachedColor=n;
@@ -5,27 +5,26 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  const a = {};
10
- function t(c, o, e) {
9
+ function r(c, o, e) {
11
10
  a[c] = { value: o, hsva: e };
12
11
  }
13
- function n(c, o, e) {
12
+ function t(c, o, e) {
14
13
  a[c] = { value: o, rgba: e };
15
14
  }
16
- function r(c, o, e) {
15
+ function n(c, o, e) {
17
16
  a[c] = { value: o, hex: e };
18
17
  }
19
- function i(c) {
18
+ function h(c) {
20
19
  delete a[c];
21
20
  }
22
- function u(c, o) {
21
+ function i(c, o) {
23
22
  if (c) {
24
23
  const e = a[c];
25
24
  return e && e.value === o ? e.hex : void 0;
26
25
  }
27
26
  }
28
- function h(c, o) {
27
+ function u(c, o) {
29
28
  if (c) {
30
29
  const e = a[c];
31
30
  return e && e.value === o ? e.hsva : void 0;
@@ -38,11 +37,11 @@ function v(c, o) {
38
37
  }
39
38
  }
40
39
  export {
41
- r as cacheHex,
42
- t as cacheHsva,
43
- n as cacheRgba,
44
- u as getCachedHex,
45
- h as getCachedHsva,
40
+ n as cacheHex,
41
+ r as cacheHsva,
42
+ t as cacheRgba,
43
+ i as getCachedHex,
44
+ u as getCachedHsva,
46
45
  v as getCachedRgba,
47
- i as removeCachedColor
46
+ h as removeCachedColor
48
47
  };
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./misc.js"),l=require("@progress/kendo-drawing");class c{constructor(){this.colorRows=[]}setColorMatrix(r,o){if(this.colorRows=[],!!(e.isPresent(r)&&r.length)){o=o||r.length;for(let s=0;s<r.length;s+=o){const t=r.slice(s,o+s);this.colorRows.push(t)}}}getCellCoordsFor(r){if(!e.isPresent(r))return;const o=r&&l.parseColor(r,!0),s=[r];e.isPresent(o)&&s.push(o.toCss(),o.toCssRgba());for(let t=0;t<this.colorRows.length;t++)for(let i=0;i<this.colorRows[t].length;i++)if(s.some(n=>n===this.colorRows[t][i]))return{row:t,col:i}}getColorAt(r){if(e.isPresent(r)&&e.isPresent(this.colorRows[r.row]))return this.colorRows[r.row][r.col]}getNextCell(r,o,s){if(!(e.isPresent(r)&&e.isPresent(r.row)&&e.isPresent(r.col)))return{row:0,col:0};const t=this.clampIndex(r.row+s,this.colorRows.length-1),i=this.clampIndex(r.col+o,this.colorRows[t].length-1);return{row:t,col:i}}clampIndex(r,o){return r<0?0:r>o?o:r}}exports.ColorPaletteService=c;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./misc.js"),l=require("@progress/kendo-drawing");class c{constructor(){this.colorRows=[]}setColorMatrix(r,o){if(this.colorRows=[],!!(e.isPresent(r)&&r.length)){o=o||r.length;for(let s=0;s<r.length;s+=o){const t=r.slice(s,o+s);this.colorRows.push(t)}}}getCellCoordsFor(r){if(!e.isPresent(r))return;const o=r&&l.parseColor(r,!0),s=[r];e.isPresent(o)&&s.push(o.toCss(),o.toCssRgba());for(let t=0;t<this.colorRows.length;t++)for(let i=0;i<this.colorRows[t].length;i++)if(s.some(n=>n===this.colorRows[t][i]))return{row:t,col:i}}getColorAt(r){if(e.isPresent(r)&&e.isPresent(this.colorRows[r.row]))return this.colorRows[r.row][r.col]}getNextCell(r,o,s){if(!(e.isPresent(r)&&e.isPresent(r.row)&&e.isPresent(r.col)))return{row:0,col:0};const t=this.clampIndex(r.row+s,this.colorRows.length-1),i=this.clampIndex(r.col+o,this.colorRows[t].length-1);return{row:t,col:i}}clampIndex(r,o){return r<0?0:r>o?o:r}}exports.ColorPaletteService=c;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import { isPresent as e } from "./misc.mjs";
10
9
  import { parseColor as n } from "@progress/kendo-drawing";
11
10
  class f {
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@progress/kendo-drawing"),r=require("./misc.js"),m=(t,o,n=!0)=>{if(["hex","rgba"].indexOf(o)===-1)throw new Error(`Unsupported color output format '${o}'. The available options are 'hex' or 'rgba'.`);if(!r.isPresent(t))return;const s=a.parseColor(t.trim(),n);if(r.isPresent(s))return o==="hex"?s.toCss():s.toCssRgba()},p=(t,o=!0)=>{const n=a.parseColor(t,o);return r.isPresent(n)?n.toHSV():{}},C=(t,o=!0)=>{const n=a.parseColor(t,o);return r.isPresent(n)?n.toBytes():{}},B=t=>{const o=r.fitIntoBounds(t.h,0,359.9),n=r.fitIntoBounds(t.s,0,1),e=r.fitIntoBounds(t.v,0,1),s=r.fitIntoBounds(t.a,0,1);return a.Color.fromHSV(o,n,e,s).toCssRgba()},I=t=>B({h:t,s:1,v:1,a:1}),h=t=>{const o=r.fitIntoBounds(t.r,0,255),n=r.fitIntoBounds(t.g,0,255),e=r.fitIntoBounds(t.b,0,255),s=r.fitIntoBounds(t.a,0,1);return a.Color.fromBytes(o,n,e,s).toCssRgba()},i=(t,o)=>{const n=r.fitIntoBounds(t.r,0,255),e=r.fitIntoBounds(t.g,0,255),s=r.fitIntoBounds(t.b,0,255),u=r.fitIntoBounds(t.a,0,1),d=r.fitIntoBounds(o.r,0,255),f=r.fitIntoBounds(o.g,0,255),l=r.fitIntoBounds(o.b,0,255);return{r:Math.round((1-u)*d+u*n),g:Math.round((1-u)*f+u*e),b:Math.round((1-u)*l+u*s)}},c=t=>{const o=[t.r||0,t.g||0,t.b||0].map(function(n){return n/=255,n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)});return o[0]*.2126+o[1]*.7152+o[2]*.0722},g=(t,o)=>{const n=Math.max(t,o),e=Math.min(t,o);return(n+.05)/(e+.05)},R=(t,o)=>g(c(i(t,o)),c(i(o,{r:0,g:0,b:0,a:1})));exports.getColorFromHSV=B;exports.getColorFromHue=I;exports.getColorFromRGBA=h;exports.getContrast=g;exports.getContrastFromTwoRGBAs=R;exports.getHSV=p;exports.getLuminance=c;exports.getRGBA=C;exports.getRGBFromRGBA=i;exports.parseColor=m;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@progress/kendo-drawing"),r=require("./misc.js"),m=(t,o,n=!0)=>{if(["hex","rgba"].indexOf(o)===-1)throw new Error(`Unsupported color output format '${o}'. The available options are 'hex' or 'rgba'.`);if(!r.isPresent(t))return;const s=a.parseColor(t.trim(),n);if(r.isPresent(s))return o==="hex"?s.toCss():s.toCssRgba()},p=(t,o=!0)=>{const n=a.parseColor(t,o);return r.isPresent(n)?n.toHSV():{}},C=(t,o=!0)=>{const n=a.parseColor(t,o);return r.isPresent(n)?n.toBytes():{}},B=t=>{const o=r.fitIntoBounds(t.h,0,359.9),n=r.fitIntoBounds(t.s,0,1),e=r.fitIntoBounds(t.v,0,1),s=r.fitIntoBounds(t.a,0,1);return a.Color.fromHSV(o,n,e,s).toCssRgba()},I=t=>B({h:t,s:1,v:1,a:1}),h=t=>{const o=r.fitIntoBounds(t.r,0,255),n=r.fitIntoBounds(t.g,0,255),e=r.fitIntoBounds(t.b,0,255),s=r.fitIntoBounds(t.a,0,1);return a.Color.fromBytes(o,n,e,s).toCssRgba()},i=(t,o)=>{const n=r.fitIntoBounds(t.r,0,255),e=r.fitIntoBounds(t.g,0,255),s=r.fitIntoBounds(t.b,0,255),u=r.fitIntoBounds(t.a,0,1),d=r.fitIntoBounds(o.r,0,255),f=r.fitIntoBounds(o.g,0,255),l=r.fitIntoBounds(o.b,0,255);return{r:Math.round((1-u)*d+u*n),g:Math.round((1-u)*f+u*e),b:Math.round((1-u)*l+u*s)}},c=t=>{const o=[t.r||0,t.g||0,t.b||0].map(function(n){return n/=255,n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)});return o[0]*.2126+o[1]*.7152+o[2]*.0722},g=(t,o)=>{const n=Math.max(t,o),e=Math.min(t,o);return(n+.05)/(e+.05)},R=(t,o)=>g(c(i(t,o)),c(i(o,{r:0,g:0,b:0,a:1})));exports.getColorFromHSV=B;exports.getColorFromHue=I;exports.getColorFromRGBA=h;exports.getContrast=g;exports.getContrastFromTwoRGBAs=R;exports.getHSV=p;exports.getLuminance=c;exports.getRGBA=C;exports.getRGBFromRGBA=i;exports.parseColor=m;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import { parseColor as u, Color as m } from "@progress/kendo-drawing";
10
9
  import { isPresent as c, fitIntoBounds as s } from "./misc.mjs";
11
10
  const B = (t, r, o = !0) => {
@@ -28,14 +27,14 @@ const B = (t, r, o = !0) => {
28
27
  }, w = (t) => C({ h: t, s: 1, v: 1, a: 1 }), x = (t) => {
29
28
  const r = s(t.r, 0, 255), o = s(t.g, 0, 255), e = s(t.b, 0, 255), n = s(t.a, 0, 1);
30
29
  return m.fromBytes(r, o, e, n).toCssRgba();
31
- }, i = (t, r) => {
30
+ }, p = (t, r) => {
32
31
  const o = s(t.r, 0, 255), e = s(t.g, 0, 255), n = s(t.b, 0, 255), a = s(t.a, 0, 1), g = s(r.r, 0, 255), h = s(r.g, 0, 255), l = s(r.b, 0, 255);
33
32
  return {
34
33
  r: Math.round((1 - a) * g + a * o),
35
34
  g: Math.round((1 - a) * h + a * e),
36
35
  b: Math.round((1 - a) * l + a * n)
37
36
  };
38
- }, p = (t) => {
37
+ }, i = (t) => {
39
38
  const r = [t.r || 0, t.g || 0, t.b || 0].map(function(o) {
40
39
  return o /= 255, o <= 0.03928 ? o / 12.92 : Math.pow((o + 0.055) / 1.055, 2.4);
41
40
  });
@@ -43,7 +42,7 @@ const B = (t, r, o = !0) => {
43
42
  }, b = (t, r) => {
44
43
  const o = Math.max(t, r), e = Math.min(t, r);
45
44
  return (o + 0.05) / (e + 0.05);
46
- }, M = (t, r) => b(p(i(t, r)), p(i(r, { r: 0, g: 0, b: 0, a: 1 })));
45
+ }, M = (t, r) => b(i(p(t, r)), i(p(r, { r: 0, g: 0, b: 0, a: 1 })));
47
46
  export {
48
47
  C as getColorFromHSV,
49
48
  w as getColorFromHue,
@@ -51,8 +50,8 @@ export {
51
50
  b as getContrast,
52
51
  M as getContrastFromTwoRGBAs,
53
52
  R as getHSV,
54
- p as getLuminance,
53
+ i as getLuminance,
55
54
  F as getRGBA,
56
- i as getRGBFromRGBA,
55
+ p as getRGBFromRGBA,
57
56
  B as parseColor
58
57
  };
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=t=>t!=null,o=(t,s,i)=>!u(t)||isNaN(t)||t<=s?s:t>=i?i:t;exports.fitIntoBounds=o;exports.isPresent=u;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=t=>t!=null,u=(t,s,i)=>!o(t)||isNaN(t)||t<=s?s:t>=i?i:t;exports.fitIntoBounds=u;exports.isPresent=o;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  const u = (s) => s != null, f = (s, t, i) => !u(s) || isNaN(s) || s <= t ? t : s >= i ? i : s;
10
9
  export {
11
10
  f as fitIntoBounds,
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=(n,t)=>n.length===0?"":`<path d="${n.reduce((e,o,c,h)=>c===0?`M ${o[0]},${o[1]}`:`${e} ${t(o,c,h)}`,"")}" fill="none" stroke="white" stroke-width="1"/>`,u=(n,t)=>{const s=t[0]-n[0],e=t[1]-n[1];return{length:Math.sqrt(Math.pow(s,2)+Math.pow(e,2)),angle:Math.atan2(e,s)}},m=n=>(t,s,e,o)=>{const c=s||t,h=e||t,l=.1,r=n(c,h),a=r.angle+(o?Math.PI:0),g=r.length*l,$=t[0]+Math.cos(a)*g,d=t[1]+Math.sin(a)*g;return[$,d]},P=n=>(t,s,e)=>{const[o,c]=n(e[s-1],e[s-2],t),[h,l]=n(t,e[s-1],e[s+1],!0);return`C ${o},${c} ${h},${l} ${t[0]},${t[1]}`};exports.bezierCommand=P;exports.controlPoint=m;exports.line=u;exports.svgPath=M;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=(n,t)=>n.length===0?"":`<path d="${n.reduce((e,o,c,h)=>c===0?`M ${o[0]},${o[1]}`:`${e} ${t(o,c,h)}`,"")}" fill="none" stroke="white" stroke-width="1"/>`,u=(n,t)=>{const s=t[0]-n[0],e=t[1]-n[1];return{length:Math.sqrt(Math.pow(s,2)+Math.pow(e,2)),angle:Math.atan2(e,s)}},m=n=>(t,s,e,o)=>{const c=s||t,h=e||t,l=.1,r=n(c,h),a=r.angle+(o?Math.PI:0),g=r.length*l,$=t[0]+Math.cos(a)*g,d=t[1]+Math.sin(a)*g;return[$,d]},P=n=>(t,s,e)=>{const[o,c]=n(e[s-1],e[s-2],t),[h,l]=n(t,e[s-1],e[s+1],!0);return`C ${o},${c} ${h},${l} ${t[0]},${t[1]}`};exports.bezierCommand=P;exports.controlPoint=m;exports.line=u;exports.svgPath=M;
@@ -5,8 +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";
9
- const d = (e, t) => e.length === 0 ? "" : `<path d="${e.reduce(
8
+ const d = (s, t) => s.length === 0 ? "" : `<path d="${s.reduce(
10
9
  (n, c, o, h) => o === 0 ? (
11
10
  // if first point
12
11
  `M ${c[0]},${c[1]}`
@@ -15,17 +14,17 @@ const d = (e, t) => e.length === 0 ? "" : `<path d="${e.reduce(
15
14
  `${n} ${t(c, o, h)}`
16
15
  ),
17
16
  ""
18
- )}" fill="none" stroke="white" stroke-width="1"/>`, u = (e, t) => {
19
- const s = t[0] - e[0], n = t[1] - e[1];
17
+ )}" fill="none" stroke="white" stroke-width="1"/>`, u = (s, t) => {
18
+ const e = t[0] - s[0], n = t[1] - s[1];
20
19
  return {
21
- length: Math.sqrt(Math.pow(s, 2) + Math.pow(n, 2)),
22
- angle: Math.atan2(n, s)
20
+ length: Math.sqrt(Math.pow(e, 2) + Math.pow(n, 2)),
21
+ angle: Math.atan2(n, e)
23
22
  };
24
- }, w = (e) => (t, s, n, c) => {
25
- const o = s || t, h = n || t, l = 0.1, a = e(o, h), r = a.angle + (c ? Math.PI : 0), $ = a.length * l, g = t[0] + Math.cos(r) * $, M = t[1] + Math.sin(r) * $;
23
+ }, w = (s) => (t, e, n, c) => {
24
+ const o = e || t, h = n || t, l = 0.1, a = s(o, h), r = a.angle + (c ? Math.PI : 0), $ = a.length * l, g = t[0] + Math.cos(r) * $, M = t[1] + Math.sin(r) * $;
26
25
  return [g, M];
27
- }, m = (e) => (t, s, n) => {
28
- const [c, o] = e(n[s - 1], n[s - 2], t), [h, l] = e(t, n[s - 1], n[s + 1], !0);
26
+ }, m = (s) => (t, e, n) => {
27
+ const [c, o] = s(n[e - 1], n[e - 2], t), [h, l] = s(t, n[e - 1], n[e + 1], !0);
29
28
  return `C ${c},${o} ${h},${l} ${t[0]},${t[1]}`;
30
29
  };
31
30
  export {
@@ -0,0 +1,8 @@
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 v=require("react"),s=require("@progress/kendo-react-layout"),k=require("@progress/kendo-svg-icons"),i=require("@progress/kendo-react-buttons"),y=require("@progress/kendo-react-common");function h(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const c=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,c.get?c:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const o=h(v),x=e=>{const{windowWidth:t=0,children:a,navigatable:c,navigatableElements:d,expand:u,animation:p,title:m,subTitle:b,footer:n,onClose:r}=e,f=()=>o.createElement(i.Button,{tabIndex:0,"aria-label":"Cancel","aria-disabled":"false",type:"button",fillMode:"flat",icon:"x",svgIcon:k.xIcon,onClick:r}),l=y.useAdaptiveModeContext(),g={navigatable:c||!1,navigatableElements:d||[],expand:u,animation:p,actions:f(),onClose:r,animationStyles:l&&t<=l.small?{top:0,width:"100%",height:"100%"}:void 0,title:m,subTitle:b,className:"k-adaptive-actionsheet",position:l&&t<=l.small?"fullscreen":void 0};return o.createElement(s.ActionSheet,{...g},a,o.createElement(s.ActionSheetFooter,{className:"k-actions k-actions-stretched"},o.createElement(i.Button,{size:"large",className:"k-coloreditor-cancel","aria-label":n.cancelText,onClick:n.onCancel},n.cancelText),o.createElement(i.Button,{themeColor:"primary",size:"large",className:"k-coloreditor-apply","aria-label":n.applyText,onClick:n.onApply},n.applyText)))};exports.AdaptiveMode=x;
@@ -0,0 +1,73 @@
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 { ActionSheet as x, ActionSheetFooter as v } from "@progress/kendo-react-layout";
10
+ import { xIcon as C } from "@progress/kendo-svg-icons";
11
+ import { Button as o } from "@progress/kendo-react-buttons";
12
+ import { useAdaptiveModeContext as g } from "@progress/kendo-react-common";
13
+ const A = (i) => {
14
+ const {
15
+ windowWidth: l = 0,
16
+ children: c,
17
+ navigatable: r,
18
+ navigatableElements: s,
19
+ expand: m,
20
+ animation: p,
21
+ title: d,
22
+ subTitle: b,
23
+ footer: e,
24
+ onClose: n
25
+ } = i, f = () => /* @__PURE__ */ t.createElement(
26
+ o,
27
+ {
28
+ tabIndex: 0,
29
+ "aria-label": "Cancel",
30
+ "aria-disabled": "false",
31
+ type: "button",
32
+ fillMode: "flat",
33
+ icon: "x",
34
+ svgIcon: C,
35
+ onClick: n
36
+ }
37
+ ), a = g(), h = {
38
+ navigatable: r || !1,
39
+ navigatableElements: s || [],
40
+ expand: m,
41
+ animation: p,
42
+ actions: f(),
43
+ onClose: n,
44
+ animationStyles: a && l <= a.small ? { top: 0, width: "100%", height: "100%" } : void 0,
45
+ title: d,
46
+ subTitle: b,
47
+ className: "k-adaptive-actionsheet",
48
+ position: a && l <= a.small ? "fullscreen" : void 0
49
+ };
50
+ return /* @__PURE__ */ t.createElement(x, { ...h }, c, /* @__PURE__ */ t.createElement(v, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ t.createElement(
51
+ o,
52
+ {
53
+ size: "large",
54
+ className: "k-coloreditor-cancel",
55
+ "aria-label": e.cancelText,
56
+ onClick: e.onCancel
57
+ },
58
+ e.cancelText
59
+ ), /* @__PURE__ */ t.createElement(
60
+ o,
61
+ {
62
+ themeColor: "primary",
63
+ size: "large",
64
+ className: "k-coloreditor-apply",
65
+ "aria-label": e.applyText,
66
+ onClick: e.onApply
67
+ },
68
+ e.applyText
69
+ )));
70
+ };
71
+ export {
72
+ A as AdaptiveMode
73
+ };