Skip to content

Commit 02942ac

Browse files
author
iropolo
committed
remove missing root class references
1 parent 2f5b32d commit 02942ac

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

packages/dialtone-vue/components/input/input.stories.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ export const argTypesData = {
146146
inputWrapperClass: {
147147
control: 'text',
148148
},
149-
rootClass: {
150-
control: 'text',
151-
},
152149

153150
// HTML attributes
154151
placeholder: {

packages/dialtone-vue/components/rich_text_editor/extensions/variable/VariableComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default {
9494
<template #content="{ close }">
9595
<dt-input
9696
v-model="altText"
97-
root-class="d-p-100 d-w332"
97+
class="d-p-100 d-w332"
9898
:label="i18n.$t('DIALTONE_EDITOR_VARIABLE_LABEL')"
9999
:placeholder="placeholderText"
100100
:validate="{

packages/dialtone-vue/recipes/conversation_view/editor/editor.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@
4343
@escape="close()"
4444
>
4545
<template #input="{ inputProps }">
46+
<!-- eslint-disable vue/no-restricted-class -->
4647
<dt-input
4748
v-bind="inputProps"
4849
v-model="fontStyleSearch"
49-
root-class="d-p-100 d-pbe-50 d-w216"
50+
class="d-p-100 d-pbe-50 d-w216"
5051
type="search"
5152
:placeholder="i18n.$t('DIALTONE_EDITOR_FONT_STYLE_SEARCH_PLACEHOLDER')"
5253
:size="200"
@@ -56,6 +57,7 @@
5657
<dt-icon-search :size="iconSize" />
5758
</template>
5859
</dt-input>
60+
<!-- eslint-enable vue/no-restricted-class -->
5961
</template>
6062
<template #list="{ listProps }">
6163
<ul
@@ -139,16 +141,18 @@
139141
size="200"
140142
:style="!isDefaultFontColor ? { color: currentFontColor } : {}"
141143
/>
144+
<!-- eslint-disable vue/no-restricted-class -->
142145
<dt-input
143146
:value="currentFontColor"
144-
root-class="d-w0 d-h0 d-of-hidden"
147+
class="d-w0 d-h0 d-of-hidden"
145148
input-class="colorPickerInput d-w0 d-h0 d-p-0 d-bar0"
146149
input-wrapper-class="d-w0 d-h0 d-ba-none"
147150
:size="200"
148151
type="color"
149152
@input="onColorPickerInput"
150153
@click.stop
151154
/>
155+
<!-- eslint-enable vue/no-restricted-class -->
152156
</template>
153157
</dt-button>
154158

@@ -175,10 +179,11 @@
175179
@escape="close()"
176180
>
177181
<template #input="{ inputProps }">
182+
<!-- eslint-disable vue/no-restricted-class -->
178183
<dt-input
179184
v-bind="inputProps"
180185
v-model="variableSearchValue"
181-
root-class="d-p-100 d-pbe-50 d-w264"
186+
class="d-p-100 d-pbe-50 d-w264"
182187
type="search"
183188
:placeholder="i18n.$t('DIALTONE_EDITOR_VARIABLE_POPOVER_SEARCH_PLACEHOLDER')"
184189
:size="300"
@@ -188,6 +193,7 @@
188193
<dt-icon-search :size="iconSize" />
189194
</template>
190195
</dt-input>
196+
<!-- eslint-enable vue/no-restricted-class -->
191197
</template>
192198
<template #list="{ listProps }">
193199
<div v-bind="listProps">

0 commit comments

Comments
 (0)