Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
ayangster committed Sep 20, 2023
1 parent 95021b1 commit 2c8ffa8
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ export interface SLSelectParam {
ariaLabel?: string;
}

export interface SingleSelectParam extends SLSelectParam {
currentValue: string;
onChange?: (event: SlChangeEvent) => void;
}

export interface MultiSelectParam extends SLSelectParam {
currentValues: string[];
maxOptionsVisible?: number;
Expand Down Expand Up @@ -249,32 +244,6 @@ export const selectStyles = css`
margin-top: 4px;
}
// parts go largest to smallest
// wraps label, input and helptext
sl-select::part(form-control) {
}
// don't need we are using html label
sl-select::part(form-control-label) {
}
// select wrapper
sl-select::part(form-control-input) {
}
// help text
sl-select::part(form-control-help-text) {
}
// The container the wraps the prefix, combobox, clear icon, and expand button.
sl-select::part(combobox) {
}
// The container that wraps the prefix slot (geat icon?)
sl-select::part(prefix) {
}
// selected option label
sl-select::part(display-input) {
}
// the container where options are listed
sl-select::part(listbox) {
}
sl-select::part(expand-icon) {
content: '';
Expand Down

0 comments on commit 2c8ffa8

Please sign in to comment.