diff --git a/src/data/components.json b/src/data/components.json index 038958c0e..244f1ef27 100644 --- a/src/data/components.json +++ b/src/data/components.json @@ -549,7 +549,8 @@ "switchesBoolean", "switchesArray", "switchesStates", - "switchesColors" + "switchesColors", + "labelSlot" ], "spec": false }, @@ -669,6 +670,7 @@ "clearable", "iconEvents", "iconSlots", + "labelSlot", "characterCounter", "password", "validation", diff --git a/src/examples/selection-controls/labelSlot.vue b/src/examples/selection-controls/labelSlot.vue new file mode 100755 index 000000000..b3ab38832 --- /dev/null +++ b/src/examples/selection-controls/labelSlot.vue @@ -0,0 +1,42 @@ + + + diff --git a/src/examples/text-fields/labelSlot.vue b/src/examples/text-fields/labelSlot.vue new file mode 100755 index 000000000..23cbe4fac --- /dev/null +++ b/src/examples/text-fields/labelSlot.vue @@ -0,0 +1,11 @@ + diff --git a/src/lang/en/components/SelectionControls.json b/src/lang/en/components/SelectionControls.json index e8cd54513..14b9fdf83 100644 --- a/src/lang/en/components/SelectionControls.json +++ b/src/lang/en/components/SelectionControls.json @@ -53,6 +53,10 @@ "switchesColors": { "header": "Switches - Colors", "desc": "Switches can be colored by using any of the builtin colors and contextual names using the `color` prop." + }, + "labelSlot": { + "header": "Label slot", + "desc": "Selection controls' labels can be defined in `label` slot - that will allow to use HTML content" } }, "props": { diff --git a/src/lang/en/components/TextFields.json b/src/lang/en/components/TextFields.json index f4bf6badd..8fa7b796b 100644 --- a/src/lang/en/components/TextFields.json +++ b/src/lang/en/components/TextFields.json @@ -31,6 +31,10 @@ "header": "Icon slots", "desc": "Instead of using prepend / append / append-outer icons you can use slots to extend input's functionality." }, + "labelSlot": { + "header": "Label slot", + "desc": "Text field label can be defined in `label` slot - that will allow to use HTML content" + }, "characterCounter": { "header": "Character counter", "desc": "Use a `counter` prop to inform a user of the character limit. The counter does not perform any validation by itself. You will need to pair it with either the internal validation system, or a 3rd party library. You can use it on regular, box or outline text fields." diff --git a/src/lang/es-MX/components/SelectionControls.json b/src/lang/es-MX/components/SelectionControls.json index 01528bf72..259926ea4 100644 --- a/src/lang/es-MX/components/SelectionControls.json +++ b/src/lang/es-MX/components/SelectionControls.json @@ -60,6 +60,10 @@ "switchesColors": { "header": "Switches - Colors", "desc": "Puedes cambiar el color de los switches si usas cualquiera de los colores prefabricados y los nombres contextuales en la prop `color`." + }, + "labelSlot": { + "header": "Label slot", + "desc": "Selection controls' labels can be defined in `label` slot - that will allow to use HTML content" } } ], @@ -74,4 +78,4 @@ "inputValue": "El valor referenciado en **v-model**", "value": "Configura el valor de la selección en el componente" } -} \ No newline at end of file +} diff --git a/src/lang/ko/components/SelectionControls.json b/src/lang/ko/components/SelectionControls.json index 99be27aed..4f37f1447 100644 --- a/src/lang/ko/components/SelectionControls.json +++ b/src/lang/ko/components/SelectionControls.json @@ -54,6 +54,10 @@ "switchesColors": { "header": "스위치 - 색깔", "desc": "`color` prop를 이용하면 스위치를 어떠한 내장 색(builtin colors) 이나 contextual 이름에 대응 하는 색으로 만들 수 있습니다." + }, + "labelSlot": { + "header": "Label slot", + "desc": "Selection controls' labels can be defined in `label` slot - that will allow to use HTML content" } }, "props": { diff --git a/src/lang/ru/components/SelectionControls.json b/src/lang/ru/components/SelectionControls.json index c3b48b548..a36955090 100644 --- a/src/lang/ru/components/SelectionControls.json +++ b/src/lang/ru/components/SelectionControls.json @@ -54,6 +54,10 @@ "switchesColors": { "header": "Switches - Цвета", "desc": "Switches можно покрасить, используя любой из встроенных цветов и контекстных имён, используя свойство `color`." + }, + "labelSlot": { + "header": "Label slot", + "desc": "Selection controls' labels can be defined in `label` slot - that will allow to use HTML content" } }, "props": { diff --git a/src/lang/zhHans/components/SelectionControls.json b/src/lang/zhHans/components/SelectionControls.json index 8c9df7926..3d6afe018 100644 --- a/src/lang/zhHans/components/SelectionControls.json +++ b/src/lang/zhHans/components/SelectionControls.json @@ -54,6 +54,10 @@ "switchesColors": { "header": "开关 - 颜色", "desc": "开关也可以通过 `color` 属性使用内置的颜色来设置色彩。" + }, + "labelSlot": { + "header": "Label slot", + "desc": "Selection controls' labels can be defined in `label` slot - that will allow to use HTML content" } }, "props": {