Skip to content

Commit

Permalink
webflow: Added DROPDOWN_CSS_CLASSES.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiglesias93 committed Nov 12, 2021
1 parent ddc3c01 commit 811d038
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finsweet/ts-utils",
"version": "0.23.4",
"version": "0.24.0",
"description": "Typescript utils for custom Webflow projects.",
"main": "index.ts",
"module": "index.ts",
Expand Down
2 changes: 1 addition & 1 deletion types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export type { PartialExcept } from './PartialExcept';
export type { PickPartial } from './PickPartial';
export type { PickRequired } from './PickRequired';
export type { RequiredExcept } from './RequiredExcept';
export type { Webflow, WebflowModule } from './Webflow';
export * from './Webflow';
export * from './WebflowElements';
6 changes: 6 additions & 0 deletions webflow/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,9 @@ export const FORM_CSS_CLASSES = {
checkboxOrRadioFocus: 'w--redirected-focus',
checkboxOrRadioChecked: 'w--redirected-checked',
} as const;

export const DROPDOWN_CSS_CLASSES = {
dropdown: 'w-dropdown',
dropdownToggle: 'w-dropdown-toggle',
dropdownList: 'w-dropdown-list',
};

0 comments on commit 811d038

Please sign in to comment.