Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/o-forms

Package Overview
Dependencies
Maintainers
9
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/o-forms - npm Package Compare versions

Comparing version 9.3.1 to 9.4.0

12

CHANGELOG.md
# Changelog
## [9.4.0](https://www.github.com/Financial-Times/origami/compare/o-forms-v9.3.1...o-forms-v9.4.0) (2022-04-21)
### Features
* o-forms toggle on white background support ([#715](https://www.github.com/Financial-Times/origami/issues/715)) ([00e579f](https://www.github.com/Financial-Times/origami/commit/00e579f757be1bfa277bdf7f1fc1ffbb78f44ea7))
### Bug Fixes
* Adds basic existence checking to most module entry points ([#714](https://www.github.com/Financial-Times/origami/issues/714)) ([7ba3a61](https://www.github.com/Financial-Times/origami/commit/7ba3a61d0de2a32d3a27a225fd4258b3820c7bda))
### [9.3.1](https://www.github.com/Financial-Times/origami/compare/o-forms-v9.3.0...o-forms-v9.3.1) (2022-03-23)

@@ -4,0 +16,0 @@

4

main.js

@@ -8,4 +8,6 @@ import oForms from './src/js/forms.js';

document.addEventListener('o.DOMContentLoaded', constructAll);
if (typeof document !== 'undefined') {
document.addEventListener('o.DOMContentLoaded', constructAll);
}
export default oForms;
{
"name": "@financial-times/o-forms",
"version": "9.3.1",
"version": "9.4.0",
"description": "This component provides responsive styling for form fields and inputs. It provides validation and error handling for forms, as well.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -378,3 +378,5 @@ # o-forms [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](#licence)

Toggles have an inverse theme. Set `o-forms-field--inverse` on the field element to use the inverse theme on a dark background.
Toggles support 2 themes.
- inverse: For a toggle on a dark background. Set `o-forms-field--inverse` on the field element.
- white: For a toggle on a white background. Set `o-forms-field--white` on the field element.

@@ -716,3 +718,3 @@ ##### Checkbox inputs with description

- `'right'`
- `'inverse'`
- `'inverse'` (deprecated, see the 'themes' option)
- `'small'`

@@ -722,2 +724,5 @@ - `'state'`

- `error-summary`
- `'themes'`
- `'inverse'`
- `'white'`

@@ -724,0 +729,0 @@ _Note 1: `valid` and `invalid` styles are output with the base of `o-forms` so there is no need to include them in the list above._

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc