From 811d038620b2ce125957d62c43796125ce1f0af8 Mon Sep 17 00:00:00 2001 From: Alex Iglesias Date: Fri, 12 Nov 2021 13:55:45 +0100 Subject: [PATCH] `webflow`: Added `DROPDOWN_CSS_CLASSES`. --- package.json | 2 +- types/index.ts | 2 +- webflow/css.ts | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1bb1bc7..4b8f39e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/types/index.ts b/types/index.ts index 0769d17..e6c8cb7 100644 --- a/types/index.ts +++ b/types/index.ts @@ -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'; diff --git a/webflow/css.ts b/webflow/css.ts index 9d26ddd..22c8966 100644 --- a/webflow/css.ts +++ b/webflow/css.ts @@ -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', +};