Skip to content

Commit

Permalink
webflow/css.ts: Added FORM_CSS_CLASSES
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiglesias93 committed Oct 4, 2021
1 parent 792304f commit 5144d26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
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.14.1",
"version": "0.14.2",
"description": "Typescript utils for custom Webflow projects.",
"main": "index.ts",
"module": "index.ts",
Expand Down
9 changes: 9 additions & 0 deletions webflow/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 5144d26

Please sign in to comment.