From 76a16f062adbe0635cb5db9acab669d9c3fffb9d Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Wed, 18 Sep 2024 22:09:41 +0200 Subject: [PATCH] doc: fix some small issues --- source/components/form/api-button.mjs | 1 - source/components/form/context-error.mjs | 1 - source/components/form/context-help.mjs | 1 - source/components/form/message-state-button.mjs | 1 - source/components/form/popper-button.mjs | 1 - source/components/form/select.mjs | 4 ---- source/components/form/toggle-switch.mjs | 3 --- source/components/form/tree-select.mjs | 1 - 8 files changed, 13 deletions(-) diff --git a/source/components/form/api-button.mjs b/source/components/form/api-button.mjs index 683c6c82f..94f8f6bc3 100644 --- a/source/components/form/api-button.mjs +++ b/source/components/form/api-button.mjs @@ -204,7 +204,6 @@ class ApiButton extends ActionButton { /** * Import buttons from a map. * - * @since 0.16.0 * @param {array|object|Map|Set} data * @return {Monster.Components.Form.ApiButton} * @throws {Error} map is not iterable diff --git a/source/components/form/context-error.mjs b/source/components/form/context-error.mjs index 3a3030efd..adbb5a90a 100644 --- a/source/components/form/context-error.mjs +++ b/source/components/form/context-error.mjs @@ -81,7 +81,6 @@ class ContextError extends Popper { * This method is called by the `instanceof` operator. * * @returns {symbol} - * @since 2.1.0 */ static get [instanceSymbol]() { return Symbol.for( diff --git a/source/components/form/context-help.mjs b/source/components/form/context-help.mjs index c1fdcefeb..f8411cae8 100644 --- a/source/components/form/context-help.mjs +++ b/source/components/form/context-help.mjs @@ -71,7 +71,6 @@ class ContextHelp extends Popper { /** * This method is called by the `instanceof` operator. * @returns {symbol} - * @since 2.1.0 */ static get [instanceSymbol]() { return Symbol.for( diff --git a/source/components/form/message-state-button.mjs b/source/components/form/message-state-button.mjs index 2327c26c0..b349a569b 100644 --- a/source/components/form/message-state-button.mjs +++ b/source/components/form/message-state-button.mjs @@ -88,7 +88,6 @@ class MessageStateButton extends Popper { /** * This method is called by the `instanceof` operator. * @returns {symbol} - * @since 2.1.0 */ static get [instanceSymbol]() { return Symbol.for( diff --git a/source/components/form/popper-button.mjs b/source/components/form/popper-button.mjs index bb2d3f0d8..952a64e08 100644 --- a/source/components/form/popper-button.mjs +++ b/source/components/form/popper-button.mjs @@ -331,7 +331,6 @@ class PopperButton extends Popper { * ``` * * @property {string|array} value - * @since 1.2.0 * @throws {Error} unsupported type */ set value(value) { diff --git a/source/components/form/select.mjs b/source/components/form/select.mjs index b109d8da8..3f6d5ded7 100644 --- a/source/components/form/select.mjs +++ b/source/components/form/select.mjs @@ -277,7 +277,6 @@ const FILTER_POSITION_INLINE = "inline"; * @example /examples/components/form/select-simple * @example /examples/components/form/select-with-options * - * @since 1.0.0 * @copyright schukai GmbH * @summary A beautiful select control that can make your life easier and also looks good. * @fires monster-options-set @@ -297,7 +296,6 @@ class Select extends CustomControl { /** * This method is called by the `instanceof` operator. * @returns {Symbol} - * @since 2.1.0 */ static get [instanceSymbol]() { return Symbol.for("@schukai/monster/components/form/select@@instance"); @@ -336,7 +334,6 @@ class Select extends CustomControl { * ``` * * @property {string|array} value - * @since 1.2.0 * @throws {Error} unsupported type */ set value(value) { @@ -721,7 +718,6 @@ class Select extends CustomControl { * Import Select Options from dataset * Not to be confused with the control defaults/options * - * @since 0.16.0 * @param {array|object|Map|Set} data * @return {Select} * @throws {Error} map is not iterable diff --git a/source/components/form/toggle-switch.mjs b/source/components/form/toggle-switch.mjs index 7d90b0416..ad33780d5 100644 --- a/source/components/form/toggle-switch.mjs +++ b/source/components/form/toggle-switch.mjs @@ -105,8 +105,6 @@ class ToggleSwitch extends CustomControl { * @property {string} actions.off=specifies the action for the off state. * @property {Object} templates * @property {string} templates.main=specifies the main template used by the control. - * - * @since 3.57.0 */ get defaults() { return Object.assign({}, super.defaults, { @@ -317,7 +315,6 @@ class ToggleSwitch extends CustomControl { /** * This method is called by the `instanceof` operator. * @returns {symbol} - * @since 2.1.0 */ static get [instanceSymbol]() { return Symbol.for( diff --git a/source/components/form/tree-select.mjs b/source/components/form/tree-select.mjs index 290eee3b8..d3df828cd 100644 --- a/source/components/form/tree-select.mjs +++ b/source/components/form/tree-select.mjs @@ -133,7 +133,6 @@ class TreeSelect extends Select { * Import Select Options from dataset * Not to be confused with the control defaults/options * - * @since 0.16.0 * @param {array|object|Map|Set} data * @return {Select} * @throws {Error} map is not iterable -- GitLab