smoothly 1.2.1-alpha.28 → 1.2.1-alpha.29

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 (159) hide show
  1. package/dist/cjs/smoothly-app_107.cjs.entry.js +12 -7
  2. package/dist/cjs/smoothly-app_107.cjs.entry.js.map +1 -1
  3. package/dist/collection/components/input/Input.js +1 -1
  4. package/dist/collection/components/input/Input.js.map +1 -1
  5. package/dist/collection/components/input/demo/standard/index.js +1 -1
  6. package/dist/collection/components/input/demo/standard/index.js.map +1 -1
  7. package/dist/collection/components/input/range/index.js +10 -5
  8. package/dist/collection/components/input/range/index.js.map +1 -1
  9. package/dist/components/{p-754524ec.js → p-05ea77df.js} +4 -4
  10. package/dist/components/{p-754524ec.js.map → p-05ea77df.js.map} +1 -1
  11. package/dist/components/{p-cc6dbcc5.js → p-0a1c9451.js} +2 -2
  12. package/dist/components/{p-cc6dbcc5.js.map → p-0a1c9451.js.map} +1 -1
  13. package/dist/components/{p-173ed0f2.js → p-0f488b1b.js} +11 -11
  14. package/dist/components/{p-173ed0f2.js.map → p-0f488b1b.js.map} +1 -1
  15. package/dist/components/{p-53485067.js → p-101f8825.js} +2 -2
  16. package/dist/components/p-101f8825.js.map +1 -0
  17. package/dist/components/{p-ba1a58a9.js → p-144f8ff9.js} +3 -3
  18. package/dist/components/{p-ba1a58a9.js.map → p-144f8ff9.js.map} +1 -1
  19. package/dist/components/{p-7a466b1b.js → p-1737d90c.js} +8 -8
  20. package/dist/components/{p-7a466b1b.js.map → p-1737d90c.js.map} +1 -1
  21. package/dist/components/{p-6a8c2e21.js → p-187dc653.js} +13 -8
  22. package/dist/components/p-187dc653.js.map +1 -0
  23. package/dist/components/{p-19474ccf.js → p-231b3b8c.js} +6 -6
  24. package/dist/components/{p-19474ccf.js.map → p-231b3b8c.js.map} +1 -1
  25. package/dist/components/{p-6f09729b.js → p-2a749ba0.js} +2 -2
  26. package/dist/components/{p-6f09729b.js.map → p-2a749ba0.js.map} +1 -1
  27. package/dist/components/{p-9f17ab7e.js → p-2b2ea90d.js} +4 -4
  28. package/dist/components/{p-9f17ab7e.js.map → p-2b2ea90d.js.map} +1 -1
  29. package/dist/components/{p-843907a7.js → p-2ce42c17.js} +2 -2
  30. package/dist/components/{p-843907a7.js.map → p-2ce42c17.js.map} +1 -1
  31. package/dist/components/{p-b31a95d6.js → p-2de04eca.js} +3 -3
  32. package/dist/components/{p-b31a95d6.js.map → p-2de04eca.js.map} +1 -1
  33. package/dist/components/{p-2258394b.js → p-35e573d5.js} +3 -3
  34. package/dist/components/{p-2258394b.js.map → p-35e573d5.js.map} +1 -1
  35. package/dist/components/{p-5abacba1.js → p-4057e215.js} +4 -4
  36. package/dist/components/{p-5abacba1.js.map → p-4057e215.js.map} +1 -1
  37. package/dist/components/{p-93db5b41.js → p-41fa6e56.js} +3 -3
  38. package/dist/components/{p-93db5b41.js.map → p-41fa6e56.js.map} +1 -1
  39. package/dist/components/{p-9c7c099b.js → p-421a7d61.js} +3 -3
  40. package/dist/components/{p-9c7c099b.js.map → p-421a7d61.js.map} +1 -1
  41. package/dist/components/{p-98ce3616.js → p-466281a7.js} +15 -15
  42. package/dist/components/p-466281a7.js.map +1 -0
  43. package/dist/components/{p-ab4cf974.js → p-4db45807.js} +2 -2
  44. package/dist/components/{p-ab4cf974.js.map → p-4db45807.js.map} +1 -1
  45. package/dist/components/{p-85c71c24.js → p-50a07c7f.js} +2 -2
  46. package/dist/components/{p-85c71c24.js.map → p-50a07c7f.js.map} +1 -1
  47. package/dist/components/{p-a47c5614.js → p-50e5742e.js} +2 -2
  48. package/dist/components/{p-a47c5614.js.map → p-50e5742e.js.map} +1 -1
  49. package/dist/components/{p-53176130.js → p-583273d5.js} +2 -2
  50. package/dist/components/{p-53176130.js.map → p-583273d5.js.map} +1 -1
  51. package/dist/components/{p-292137a5.js → p-63b1401f.js} +27 -27
  52. package/dist/components/{p-292137a5.js.map → p-63b1401f.js.map} +1 -1
  53. package/dist/components/{p-81187e74.js → p-65c1798c.js} +7 -7
  54. package/dist/components/{p-81187e74.js.map → p-65c1798c.js.map} +1 -1
  55. package/dist/components/{p-24affc7c.js → p-6772d980.js} +2 -2
  56. package/dist/components/{p-24affc7c.js.map → p-6772d980.js.map} +1 -1
  57. package/dist/components/{p-b7203f97.js → p-6badd4ca.js} +2 -2
  58. package/dist/components/{p-b7203f97.js.map → p-6badd4ca.js.map} +1 -1
  59. package/dist/components/{p-2b87ac25.js → p-6d0ec3eb.js} +4 -4
  60. package/dist/components/{p-2b87ac25.js.map → p-6d0ec3eb.js.map} +1 -1
  61. package/dist/components/{p-97a3af81.js → p-7110e883.js} +9 -9
  62. package/dist/components/{p-97a3af81.js.map → p-7110e883.js.map} +1 -1
  63. package/dist/components/{p-639c8ca4.js → p-79051487.js} +15 -15
  64. package/dist/components/{p-639c8ca4.js.map → p-79051487.js.map} +1 -1
  65. package/dist/components/{p-aa482e3c.js → p-7b38c226.js} +8 -8
  66. package/dist/components/{p-aa482e3c.js.map → p-7b38c226.js.map} +1 -1
  67. package/dist/components/{p-d1bd31c8.js → p-86edb45f.js} +3 -3
  68. package/dist/components/{p-d1bd31c8.js.map → p-86edb45f.js.map} +1 -1
  69. package/dist/components/{p-9e3ebfa0.js → p-a39377d0.js} +6 -6
  70. package/dist/components/{p-9e3ebfa0.js.map → p-a39377d0.js.map} +1 -1
  71. package/dist/components/{p-47d97493.js → p-a6256f42.js} +6 -6
  72. package/dist/components/{p-47d97493.js.map → p-a6256f42.js.map} +1 -1
  73. package/dist/components/{p-31dc7ab4.js → p-ad7c5bef.js} +2 -2
  74. package/dist/components/{p-31dc7ab4.js.map → p-ad7c5bef.js.map} +1 -1
  75. package/dist/components/{p-3b3609f9.js → p-b0030875.js} +2 -2
  76. package/dist/components/{p-3b3609f9.js.map → p-b0030875.js.map} +1 -1
  77. package/dist/components/{p-757c18d5.js → p-bb134c1b.js} +8 -8
  78. package/dist/components/{p-757c18d5.js.map → p-bb134c1b.js.map} +1 -1
  79. package/dist/components/{p-c5299606.js → p-c272e96f.js} +19 -19
  80. package/dist/components/{p-c5299606.js.map → p-c272e96f.js.map} +1 -1
  81. package/dist/components/{p-eb52c3de.js → p-c378fc7f.js} +2 -2
  82. package/dist/components/{p-eb52c3de.js.map → p-c378fc7f.js.map} +1 -1
  83. package/dist/components/{p-4351b577.js → p-c54db575.js} +6 -6
  84. package/dist/components/{p-4351b577.js.map → p-c54db575.js.map} +1 -1
  85. package/dist/components/{p-182db315.js → p-cabdfcbc.js} +9 -9
  86. package/dist/components/{p-182db315.js.map → p-cabdfcbc.js.map} +1 -1
  87. package/dist/components/{p-d185b2d4.js → p-cc1d5ee4.js} +7 -7
  88. package/dist/components/{p-d185b2d4.js.map → p-cc1d5ee4.js.map} +1 -1
  89. package/dist/components/{p-49e20d23.js → p-d043ad09.js} +2 -2
  90. package/dist/components/{p-49e20d23.js.map → p-d043ad09.js.map} +1 -1
  91. package/dist/components/{p-f04c49e5.js → p-d055e0ef.js} +2 -2
  92. package/dist/components/{p-f04c49e5.js.map → p-d055e0ef.js.map} +1 -1
  93. package/dist/components/{p-49a0c685.js → p-d308d795.js} +3 -3
  94. package/dist/components/{p-49a0c685.js.map → p-d308d795.js.map} +1 -1
  95. package/dist/components/{p-b3d6b430.js → p-d63370e6.js} +4 -4
  96. package/dist/components/{p-b3d6b430.js.map → p-d63370e6.js.map} +1 -1
  97. package/dist/components/{p-63976816.js → p-e9ab5fdd.js} +11 -11
  98. package/dist/components/{p-63976816.js.map → p-e9ab5fdd.js.map} +1 -1
  99. package/dist/components/{p-b100ec55.js → p-fdbc2084.js} +2 -2
  100. package/dist/components/{p-b100ec55.js.map → p-fdbc2084.js.map} +1 -1
  101. package/dist/components/smoothly-app-demo.js +46 -46
  102. package/dist/components/smoothly-calendar.js +1 -1
  103. package/dist/components/smoothly-display-demo.js +1 -1
  104. package/dist/components/smoothly-filter-field.js +1 -1
  105. package/dist/components/smoothly-filter-input.js +1 -1
  106. package/dist/components/smoothly-filter-select.js +1 -1
  107. package/dist/components/smoothly-filter.js +1 -1
  108. package/dist/components/smoothly-form-demo-all.js +1 -1
  109. package/dist/components/smoothly-form-demo-card.js +1 -1
  110. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  111. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  112. package/dist/components/smoothly-form-demo-date.js +1 -1
  113. package/dist/components/smoothly-form-demo-login.js +1 -1
  114. package/dist/components/smoothly-form-demo-pet.js +1 -1
  115. package/dist/components/smoothly-form-demo-prices.js +1 -1
  116. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  117. package/dist/components/smoothly-form-demo-typed.js +1 -1
  118. package/dist/components/smoothly-form-demo.js +1 -1
  119. package/dist/components/smoothly-form.js +1 -1
  120. package/dist/components/smoothly-icon-demo.js +1 -1
  121. package/dist/components/smoothly-input-checkbox-demo.js +14 -14
  122. package/dist/components/smoothly-input-checkbox.js +1 -1
  123. package/dist/components/smoothly-input-clear.js +1 -1
  124. package/dist/components/smoothly-input-color-demo.js +1 -1
  125. package/dist/components/smoothly-input-color.js +1 -1
  126. package/dist/components/smoothly-input-date-range.js +1 -1
  127. package/dist/components/smoothly-input-date.js +1 -1
  128. package/dist/components/smoothly-input-demo-standard.js +1 -1
  129. package/dist/components/smoothly-input-demo.js +1 -1
  130. package/dist/components/smoothly-input-file.js +1 -1
  131. package/dist/components/smoothly-input-month.js +1 -1
  132. package/dist/components/smoothly-input-price-demo.js +1 -1
  133. package/dist/components/smoothly-input-radio.js +1 -1
  134. package/dist/components/smoothly-input-range-demo.js +1 -1
  135. package/dist/components/smoothly-input-range.js +1 -1
  136. package/dist/components/smoothly-input-reset.js +1 -1
  137. package/dist/components/smoothly-input-select.js +1 -1
  138. package/dist/components/smoothly-input.js +1 -1
  139. package/dist/components/smoothly-next-demo.js +1 -1
  140. package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
  141. package/dist/components/smoothly-summary.js +1 -1
  142. package/dist/components/smoothly-tab.js +1 -1
  143. package/dist/components/smoothly-table-demo-filtered.js +1 -1
  144. package/dist/components/smoothly-table-demo.js +1 -1
  145. package/dist/components/smoothly-table-testing.js +1 -1
  146. package/dist/components/smoothly-tabs-demo.js +1 -1
  147. package/dist/components/smoothly-theme-demo.js +1 -1
  148. package/dist/components/smoothly-theme-picker.js +1 -1
  149. package/dist/esm/smoothly-app_107.entry.js +12 -7
  150. package/dist/esm/smoothly-app_107.entry.js.map +1 -1
  151. package/dist/smoothly/{p-3901cfc7.entry.js → p-81d67b83.entry.js} +2 -2
  152. package/dist/smoothly/p-81d67b83.entry.js.map +1 -0
  153. package/dist/smoothly/smoothly.esm.js +1 -1
  154. package/dist/types/components/input/range/index.d.ts +1 -1
  155. package/package.json +1 -1
  156. package/dist/components/p-53485067.js.map +0 -1
  157. package/dist/components/p-6a8c2e21.js.map +0 -1
  158. package/dist/components/p-98ce3616.js.map +0 -1
  159. package/dist/smoothly/p-3901cfc7.entry.js.map +0 -1
@@ -8150,7 +8150,7 @@ var Input;
8150
8150
  color: Scrollable.Color.type.optional(),
8151
8151
  name: TimeZone.string(),
8152
8152
  invalid: TimeZone.boolean().optional(),
8153
- looks: Looks.type,
8153
+ looks: Looks.type.optional(),
8154
8154
  defined: TimeZone.boolean().optional(),
8155
8155
  binary: Scrollable.islyFunction().optional(),
8156
8156
  });
@@ -9638,7 +9638,7 @@ const SmoothlyInputDemoStandard = class {
9638
9638
  }
9639
9639
  render() {
9640
9640
  const placeholder = this.options.placeholder ? "placeholder" : undefined;
9641
- return (index.h(index.Host, { key: '4719fdbb2328badf8f020fb6b0efa634bb3852c1', class: { vertical: !!this.options.vertical } }, index.h("div", { key: 'dd3ea15780cbb44dd4230404b9d76ab76222bc4a', class: "description" }, index.h("h2", { key: '201180d47584d7a37d3a6e2637c51306c84f1f2a' }, "Input Standard"), index.h("p", { key: 'a63a5ee74970647f25a468b74660a582c3103dc4' }, "Height of input should be ", index.h("code", { key: '972fbd77c1efadbf176e69f1db14c5d9462394a5' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), index.h("smoothly-form", { key: '5c801aa407bc7a35ae23531603497e74edc356f8', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index.h("smoothly-input-select", { key: '1a48cc1afaefcac85d94004e7fe2155a34cfdee2', name: "looks" }, index.h("span", { key: '992d54cdac53aceaf9c2831cdfc5af70044af196', slot: "label" }, "Looks"), Looks.types.map(l => (index.h("smoothly-item", { value: l }, l)))), index.h("smoothly-input-checkbox", { key: '63b7d971224f64e0b1808866b516fd26448a1275', name: "readonly" }, "Readonly"), index.h("smoothly-input-select", { key: 'ddf2534c6ca5d761052ee42fe9214de7e702c0bf', name: "color" }, index.h("span", { key: '7fefb42a32f3440b5c36f897a8faa5ac8a6de602', slot: "label" }, "Color"), Scrollable.Color.types.map(c => (index.h("smoothly-item", { value: c }, index.h("span", { color: c }, c)))), index.h("smoothly-input-clear", { key: '7c05aa6b3d22cc5c58478281fa1d27312987dfc2', slot: "end" })), index.h("smoothly-input-checkbox", { key: '09fdf07734f0c1475c812242133bc20c12cff029', name: "vertical" }, "Vertical Layout"), index.h("smoothly-input-checkbox", { key: '0e7f5a06add851c0bdc35cf918020573bbf55cc2', name: "showLabel", checked: this.options.showLabel }, "Show Label"), index.h("smoothly-input-checkbox", { key: 'a90802f03b3fc0ad71506a8cf70b909061da7258', name: "placeholder", checked: this.options.placeholder }, "Placeholder"), index.h("smoothly-input-range", { key: '28b69b453b3759c81e96fc858535a83c1ec33047', label: "Border Radius (rem)", name: "borderRadius", value: this.options.borderRadius, min: 0, max: 2, step: 0.25 }))), index.h("div", { key: '39d3d462f1daa47ba8c401ca9d88fdde91223675', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index.h("div", { key: '87d5bca2ef878a79ddca03fada7969da305b55b2', class: "width" }, "100%"), index.h("div", { key: '6e357e9a3c0614d90169132187a71be5574705f9', class: "left-padding" }, "0.5rem - left padding"), index.h("smoothly-input", { key: '49739b4eac9e5915ca9df59949c70cbb5b4e6e6d', name: "text", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: 'aa1eef8fedf8ce4efd226d7de7ab72b4d4d46e37' }, "Text"), index.h("smoothly-input-clear", { key: '3f33759a6afd6a2d6d6d8c1da9c001332ae7137d', slot: "end" })), index.h("div", { key: '93e02b23909be172432f9942b03de09a578c30f0', class: "height" }), index.h("smoothly-input-select", { key: '999f786805780537e683ce89b1c674d596e69ebb', name: "month", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color }, this.options.showLabel && index.h("label", { key: '63d4a3e37ebb68442bcdaa40d66debab489ba3df', slot: "label" }, "Select"), index.h("smoothly-item", { key: '72d2eed6c3403910f8906924f0bd9f62da609b27', value: "1" }, "January"), index.h("smoothly-item", { key: '16834bfa537737854dc7ed042c188aec22c0d47d', value: "2" }, "February"), index.h("smoothly-item", { key: '5241bb5951cced61e5eec6e32e2de79fb08f0a4e', value: "3" }, "March"), index.h("smoothly-item", { key: 'bcf3b5d9c1595e76d10fc21204042602c61d9c3b', value: "4" }, "April"), index.h("smoothly-item", { key: 'ef13dcbbe10a90b86d9b90e5f47aefba0128577c', value: "5" }, "May"), index.h("smoothly-item", { key: 'af3da8c0909d13417835e6dafc302bef70821199', value: "6" }, "June"), index.h("smoothly-item", { key: '8974c5f449e9807d2ecd5699eeb4418ecb619a16', value: "7" }, "July"), index.h("smoothly-item", { key: '1fe441ffd10bbc20dbb86cd8e5ebf4b41e17a813', value: "8" }, "August"), index.h("smoothly-item", { key: '6b8f1f7d1d300b659ea33fcd93ff70048c51ca2a', value: "9" }, "September"), index.h("smoothly-item", { key: 'c9270e8a74d20e51e7752854d84591bc48ed3337', value: "10" }, "October"), index.h("smoothly-item", { key: 'd27392d73235db46f1dad164b1e7f105a30ad550', value: "11" }, "November"), index.h("smoothly-item", { key: 'c6384e32911143860f619f5c64169155782c5c09', value: "12" }, "December"), index.h("smoothly-input-clear", { key: 'ac566355d23456c3c2763256e32dad7e31d9fcc6', slot: "end" })), index.h("div", { key: '3dada69303d1e58aa79b986eeca821c02fcf09cd', class: "height" }), index.h("smoothly-input-checkbox", { key: 'f84c1253de429dcf4bae20f897b0f3345f312034', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, "Check"), index.h("div", { key: '3b5b54c42663986b9b776fd1a7eb8f345c87b17c', class: "height" }), index.h("smoothly-input-radio", { key: 'f91581d99517c537ad37742334e81fee60667b66', name: "radio", clearable: true, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("label", { key: '3b9cd65dc7898304a468f4d9868b51f6948be746', slot: "label" }, "Radio"), index.h("smoothly-input-radio-item", { key: '985cfe9ea20ba640110dea9fd489b045eb5518c4', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '8d1db72d9737c384fad3a9e234449cdf5919c1ee', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '0d062c78a15c2477892604a3df64eb1b63595b42', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: 'a4c2e8e84f7f582cf33b6330b322cee7d9ecf7c6', slot: "end" })), index.h("div", { key: '6240cbbc5f6219f6a2a04ac5f19236a02df6ce96', class: "height" }), index.h("smoothly-input-file", { key: '316475974c81711b670d3f25c224d350df502091', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '9bd629ef27e7dc2a797b313b62f2a69a5dd3d445', slot: "label" }, "File"), index.h("smoothly-input-clear", { key: '883607ff5f3be75e109c635e8620ebccbcbfff14', slot: "end" })), index.h("div", { key: '923a93813b3a28992c966bc1b75a4d8aea0a9390', class: "height" }), index.h("smoothly-input-range", { key: '7848094bc9e9f18a10199a890c4eb81ff5f2ece0', label: this.options.showLabel ? "Range" : undefined, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, index.h("smoothly-input-clear", { key: '09a5fcee0abf8f4c3fb3e298c3b7bc669aa2213f', slot: "end" })), index.h("div", { key: 'bcf0bdea85e48891d76163e2095cea1380eca0c2', class: "height" }), index.h("smoothly-input-color", { key: '88753464871d76ee53d5cb9bd7551bc79a6a8daf', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '3e6d5fc474652d05000353aba7eac67de9dae495' }, "Color"), index.h("smoothly-input-clear", { key: 'a20ee52948e70983c7e5ff9a312b1dcdcbd20a5f', slot: "end" })), index.h("div", { key: '1b858fedf1d7d17455248c6752dc5835c5015d47', class: "height" }), index.h("smoothly-input-date", { key: '69bd6abda9a5452fe585a9ff6bd3c3a4b2d240f3', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: 'cf6776345185d11d1b36fc7f1e3926ccf6610f78' }, "Date"), index.h("smoothly-input-clear", { key: '870cca26a43bfdc30a2d69669bfb4cd245dcec9f', slot: "end" })), index.h("div", { key: '871b1fc789dd2348df5cf7ec96449ea1cb37cfcd', class: "height" }), index.h("smoothly-input-date-range", { key: '26573c69d62f0035006002be2c97da8fab1c4763', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: 'c62cd91d6caacd7f7808e284a83d6de5ea68cec3' }, "Date Range"), index.h("smoothly-input-clear", { key: '1c48d9b517a6fde72b6852b17f60ad13fee8b72c', slot: "end" })), index.h("div", { key: '6b563e48b361cab8fb294ec9dadc285a89398bec', class: "height" }), index.h("div", { key: 'b1eb602fb2b71c054411bd0853ef4cf079fd28dc', class: { "guide-lines": true, "show-label": !!this.options.showLabel } }, this.options.showLabel ? "Aligned labels & values" : "Center values"))));
9641
+ return (index.h(index.Host, { key: '4719fdbb2328badf8f020fb6b0efa634bb3852c1', class: { vertical: !!this.options.vertical } }, index.h("div", { key: 'dd3ea15780cbb44dd4230404b9d76ab76222bc4a', class: "description" }, index.h("h2", { key: '201180d47584d7a37d3a6e2637c51306c84f1f2a' }, "Input Standard"), index.h("p", { key: 'a63a5ee74970647f25a468b74660a582c3103dc4' }, "Height of input should be ", index.h("code", { key: '972fbd77c1efadbf176e69f1db14c5d9462394a5' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), index.h("smoothly-form", { key: '5c801aa407bc7a35ae23531603497e74edc356f8', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index.h("smoothly-input-select", { key: '1a48cc1afaefcac85d94004e7fe2155a34cfdee2', name: "looks" }, index.h("span", { key: '992d54cdac53aceaf9c2831cdfc5af70044af196', slot: "label" }, "Looks"), Looks.types.map(l => (index.h("smoothly-item", { value: l }, l)))), index.h("smoothly-input-checkbox", { key: '63b7d971224f64e0b1808866b516fd26448a1275', name: "readonly" }, "Readonly"), index.h("smoothly-input-select", { key: 'ddf2534c6ca5d761052ee42fe9214de7e702c0bf', name: "color" }, index.h("span", { key: '7fefb42a32f3440b5c36f897a8faa5ac8a6de602', slot: "label" }, "Color"), Scrollable.Color.types.map(c => (index.h("smoothly-item", { value: c }, index.h("span", { color: c }, c)))), index.h("smoothly-input-clear", { key: '7c05aa6b3d22cc5c58478281fa1d27312987dfc2', slot: "end" })), index.h("smoothly-input-checkbox", { key: '09fdf07734f0c1475c812242133bc20c12cff029', name: "vertical" }, "Vertical Layout"), index.h("smoothly-input-checkbox", { key: '0e7f5a06add851c0bdc35cf918020573bbf55cc2', name: "showLabel", checked: this.options.showLabel }, "Show Label"), index.h("smoothly-input-checkbox", { key: 'a90802f03b3fc0ad71506a8cf70b909061da7258', name: "placeholder", checked: this.options.placeholder }, "Placeholder"), index.h("smoothly-input-range", { key: '28b69b453b3759c81e96fc858535a83c1ec33047', label: "Border Radius (rem)", name: "borderRadius", value: this.options.borderRadius, min: 0, max: 2, step: 0.25 }))), index.h("div", { key: '39d3d462f1daa47ba8c401ca9d88fdde91223675', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index.h("div", { key: '87d5bca2ef878a79ddca03fada7969da305b55b2', class: "width" }, "100%"), index.h("div", { key: '6e357e9a3c0614d90169132187a71be5574705f9', class: "left-padding" }, "0.5rem - left padding"), index.h("smoothly-input", { key: '49739b4eac9e5915ca9df59949c70cbb5b4e6e6d', name: "text", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: 'aa1eef8fedf8ce4efd226d7de7ab72b4d4d46e37' }, "Text"), index.h("smoothly-input-clear", { key: '3f33759a6afd6a2d6d6d8c1da9c001332ae7137d', slot: "end" })), index.h("div", { key: '93e02b23909be172432f9942b03de09a578c30f0', class: "height" }), index.h("smoothly-input-select", { key: '999f786805780537e683ce89b1c674d596e69ebb', name: "month", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color }, this.options.showLabel && index.h("label", { key: '63d4a3e37ebb68442bcdaa40d66debab489ba3df', slot: "label" }, "Select"), index.h("smoothly-item", { key: '72d2eed6c3403910f8906924f0bd9f62da609b27', value: "1" }, "January"), index.h("smoothly-item", { key: '16834bfa537737854dc7ed042c188aec22c0d47d', value: "2" }, "February"), index.h("smoothly-item", { key: '5241bb5951cced61e5eec6e32e2de79fb08f0a4e', value: "3" }, "March"), index.h("smoothly-item", { key: 'bcf3b5d9c1595e76d10fc21204042602c61d9c3b', value: "4" }, "April"), index.h("smoothly-item", { key: 'ef13dcbbe10a90b86d9b90e5f47aefba0128577c', value: "5" }, "May"), index.h("smoothly-item", { key: 'af3da8c0909d13417835e6dafc302bef70821199', value: "6" }, "June"), index.h("smoothly-item", { key: '8974c5f449e9807d2ecd5699eeb4418ecb619a16', value: "7" }, "July"), index.h("smoothly-item", { key: '1fe441ffd10bbc20dbb86cd8e5ebf4b41e17a813', value: "8" }, "August"), index.h("smoothly-item", { key: '6b8f1f7d1d300b659ea33fcd93ff70048c51ca2a', value: "9" }, "September"), index.h("smoothly-item", { key: 'c9270e8a74d20e51e7752854d84591bc48ed3337', value: "10" }, "October"), index.h("smoothly-item", { key: 'd27392d73235db46f1dad164b1e7f105a30ad550', value: "11" }, "November"), index.h("smoothly-item", { key: 'c6384e32911143860f619f5c64169155782c5c09', value: "12" }, "December"), index.h("smoothly-input-clear", { key: 'ac566355d23456c3c2763256e32dad7e31d9fcc6', slot: "end" })), index.h("div", { key: '3dada69303d1e58aa79b986eeca821c02fcf09cd', class: "height" }), index.h("smoothly-input-checkbox", { key: 'f84c1253de429dcf4bae20f897b0f3345f312034', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, "Check"), index.h("div", { key: '3b5b54c42663986b9b776fd1a7eb8f345c87b17c', class: "height" }), index.h("smoothly-input-radio", { key: 'f91581d99517c537ad37742334e81fee60667b66', name: "radio", clearable: true, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("label", { key: '3b9cd65dc7898304a468f4d9868b51f6948be746', slot: "label" }, "Radio"), index.h("smoothly-input-radio-item", { key: '985cfe9ea20ba640110dea9fd489b045eb5518c4', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '8d1db72d9737c384fad3a9e234449cdf5919c1ee', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '0d062c78a15c2477892604a3df64eb1b63595b42', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: 'a4c2e8e84f7f582cf33b6330b322cee7d9ecf7c6', slot: "end" })), index.h("div", { key: '6240cbbc5f6219f6a2a04ac5f19236a02df6ce96', class: "height" }), index.h("smoothly-input-file", { key: '316475974c81711b670d3f25c224d350df502091', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '9bd629ef27e7dc2a797b313b62f2a69a5dd3d445', slot: "label" }, "File"), index.h("smoothly-input-clear", { key: '883607ff5f3be75e109c635e8620ebccbcbfff14', slot: "end" })), index.h("div", { key: '923a93813b3a28992c966bc1b75a4d8aea0a9390', class: "height" }), index.h("smoothly-input-range", { key: '31e9715073909d1ca11f946970ec3d76545b70ff', name: "range", label: this.options.showLabel ? "Range" : undefined, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, index.h("smoothly-input-clear", { key: 'cbb6f780158aab6ba6bd7dce2f178f96ceeda322', slot: "end" })), index.h("div", { key: 'b14b43af7674d2bd13dd305f4226a68dd4198870', class: "height" }), index.h("smoothly-input-color", { key: '9a5cd02ba8dbc24129bbf5dffc328c9bbcd03cc5', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '618d1451e7e7fcd00583e8ceddc38dd6bc6b8d3e' }, "Color"), index.h("smoothly-input-clear", { key: '5238442e41846556334216472c680365779e57da', slot: "end" })), index.h("div", { key: '883c8d0ce9069cce8c22074cd78133f9fbd6dfcd', class: "height" }), index.h("smoothly-input-date", { key: '2f375e6e70d6bc9a3c66648eaaddf98d5748a531', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '0fad1deee27a6468badb75fc3e4e7b54a433796d' }, "Date"), index.h("smoothly-input-clear", { key: '94fa813d6e599ab0932e5f5e1f3fabdd46e10626', slot: "end" })), index.h("div", { key: 'fcd1dcd38e1237fd34189d55c27b7551e73675ad', class: "height" }), index.h("smoothly-input-date-range", { key: '63c4b2a8ec672210bccf9223db656eaa3dc909d5', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '8ec49c06f4a8e6b15e228c96e66ad2bf47b1464e' }, "Date Range"), index.h("smoothly-input-clear", { key: 'c7135c49de3110aced9a04bf08384a70bb333463', slot: "end" })), index.h("div", { key: 'ed090b049a9640dbb04ae25534a1e706d44a432c', class: "height" }), index.h("div", { key: '4d3f1e839b1018869e0917170f64e84528e6bc37', class: { "guide-lines": true, "show-label": !!this.options.showLabel } }, this.options.showLabel ? "Aligned labels & values" : "Center values"))));
9642
9642
  }
9643
9643
  get element() { return index.getElement(this); }
9644
9644
  };
@@ -10167,10 +10167,8 @@ const SmoothlyInputRange = class {
10167
10167
  (_d = (_c = this.listener).changed) === null || _d === void 0 ? void 0 : _d.call(_c, this);
10168
10168
  this.smoothlyInput.emit({ [this.name]: this.value });
10169
10169
  }
10170
- inputHandler(event) {
10170
+ setValue(value) {
10171
10171
  var _a;
10172
- event.stopPropagation();
10173
- const value = !event ? this.value : event.target && "value" in event.target ? Number(event.target.value) : undefined;
10174
10172
  if (value == undefined)
10175
10173
  this.value = undefined;
10176
10174
  else if (value < this.min)
@@ -10183,10 +10181,17 @@ const SmoothlyInputRange = class {
10183
10181
  }
10184
10182
  render() {
10185
10183
  var _a, _b, _c;
10186
- return (index.h(index.Host, { key: 'e201283fd4c8eb8ebb97a85e8d6ca1afa03c8a0e', class: {
10184
+ return (index.h(index.Host, { key: '1ce2c2104db6d9ede8b0d4ecdb8b55bdea8991b5', class: {
10187
10185
  "output-side-right": this.outputSide === "right",
10188
10186
  "show-label": this.outputSide === "left" && !!this.label,
10189
- } }, index.h("slot", { key: '0cf4878842ca0022b743cb99cb98c85dcb209dbc', name: "start" }), index.h("div", { key: '8afdf2be2d1c268eebd819bb45848401ddc3e6a4' }, index.h("label", { key: '37a18d8834ee6cd40316a777c2fbe549fa14e0d6', htmlFor: this.name }, this.label), index.h("smoothly-input", { key: '3d6989856fab7ca80a86cbf6127a15aab9fab414', ref: e => (this.input = e), looks: undefined, color: this.color, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: e => (e.stopPropagation(), this.inputHandler(e)), onSmoothlyBlur: e => this.inputHandler(e), onSmoothlyInput: e => e.stopPropagation(), value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly }, this.label), index.h("smoothly-display", { key: 'c96cad703ae7952134efb3e161c97daa77bfd1f2', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.h("input", { key: '73a4661a453b5e306303bf190da7e9c510eecd43', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly, onInput: event => this.inputHandler(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: 'c9c0e2a671e868b986b89bc69c17f90fb61b3e81', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: '4190db4628cb1ea3ea45464e922895ae2d3d4b65', name: "end" })));
10187
+ } }, index.h("slot", { key: 'd3bd884a5fff7b16d8ceade8a218797553f650dc', name: "start" }), index.h("div", { key: '69b6e1b02a7340aace4b877d69fab56d39dd8800' }, index.h("label", { key: '0c258913aef0492c4010872a4835657e49af34b5', htmlFor: this.name }, this.label), index.h("smoothly-input", { key: 'dd06f046bc9497c6b4b4686010ef24e4f30320f8', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
10188
+ this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
10189
+ e.stopPropagation();
10190
+ this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
10191
+ }, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly }, this.label), index.h("smoothly-display", { key: 'a92231dcb3c785b370001b12d83c62e606328ae5', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.h("input", { key: 'd2652c0063b3cf9c4eb851a7e3c078456a31fc0f', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly, onInput: event => {
10192
+ event.stopPropagation();
10193
+ this.setValue(event.target.valueAsNumber);
10194
+ }, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: 'ce71f3afa224e3377999bb746e48d3512f3c3d8a', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: 'fecefbabd8986602931012316fc79dfc7ffac47c', name: "end" })));
10190
10195
  }
10191
10196
  get element() { return index.getElement(this); }
10192
10197
  static get watchers() { return {