From 5b0e898188205fbfcf26d4b504e73362544903c4 Mon Sep 17 00:00:00 2001 From: Alex Iglesias Date: Tue, 23 Nov 2021 12:28:26 +0100 Subject: [PATCH] `webflow`: Added `COMMERCE_CSS_CLASSES`. --- package.json | 2 +- webflow/css.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8c09a7d..c981183 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@finsweet/ts-utils", - "version": "0.24.3", + "version": "0.25.0", "description": "Typescript utils for custom Webflow projects.", "main": "index.ts", "module": "index.ts", diff --git a/webflow/css.ts b/webflow/css.ts index 22c8966..74696b4 100644 --- a/webflow/css.ts +++ b/webflow/css.ts @@ -52,4 +52,8 @@ export const DROPDOWN_CSS_CLASSES = { dropdown: 'w-dropdown', dropdownToggle: 'w-dropdown-toggle', dropdownList: 'w-dropdown-list', -}; +} as const; + +export const COMMERCE_CSS_CLASSES = { + addToCartForm: 'w-commerce-commerceaddtocartform', +} as const;