diff --git a/components/lib/dropdown/BaseDropdown.vue b/components/lib/dropdown/BaseDropdown.vue new file mode 100644 index 000000000..711ff904e --- /dev/null +++ b/components/lib/dropdown/BaseDropdown.vue @@ -0,0 +1,324 @@ + diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index a3647500a..0d96ef3cc 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -119,7 +119,7 @@ export interface DropdownPassThroughOptions { */ item?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the emptyMessage's DOM element. + * Uses to pass attributes to the empty message's DOM element. */ emptyMessage?: DropdownPassThroughOptionType; /** @@ -130,6 +130,10 @@ export interface DropdownPassThroughOptions { * Uses to pass attributes to the hidden filter result's DOM element. */ hiddenFilterResult?: DropdownPassThroughOptionType; + /** + * Uses to pass attributes to the hidden empty message's DOM element. + */ + hiddenEmptyMessage?: DropdownPassThroughOptionType; /** * Uses to pass attributes to the hidden selected message's DOM element. */ @@ -412,6 +416,11 @@ export interface DropdownProps { * @type {DropdownPassThroughOptions} */ pt?: DropdownPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/dropdown/Dropdown.vue b/components/lib/dropdown/Dropdown.vue index 0bc3ba0d6..df0293277 100755 --- a/components/lib/dropdown/Dropdown.vue +++ b/components/lib/dropdown/Dropdown.vue @@ -1,12 +1,12 @@