From 5144d26a53959934156ba417fd87ad7667ca90ef Mon Sep 17 00:00:00 2001 From: Alex Iglesias Date: Mon, 4 Oct 2021 12:15:31 +0200 Subject: [PATCH] `webflow/css.ts:` Added FORM_CSS_CLASSES --- package.json | 2 +- webflow/css.ts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1638a82..33321a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@finsweet/ts-utils", - "version": "0.14.1", + "version": "0.14.2", "description": "Typescript utils for custom Webflow projects.", "main": "index.ts", "module": "index.ts", diff --git a/webflow/css.ts b/webflow/css.ts index d17953e..380f285 100644 --- a/webflow/css.ts +++ b/webflow/css.ts @@ -27,3 +27,12 @@ export const CMS_CSS_CLASSES = { paginationNext: 'w-pagination-next', paginationPrevious: 'w-pagination-previous', } as const; + +export const FORM_CSS_CLASSES = { + formBlock: 'w-form', + checkboxField: 'w-checkbox', + checkboxInput: 'w-checkbox-input', + radioField: 'w-radio', + radioInput: 'w-radio-input', + checkboxOrRadioLabel: 'w-form-label', +} as const;