nitro-web 0.0.41 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.json CHANGED
@@ -40,6 +40,7 @@
40
40
  "allowArray": true,
41
41
  "allowObject": true
42
42
  }],
43
+ "indent": ["error", 2],
43
44
  "max-len": ["error", { "code": 140, "ignorePattern": "^\\s*(<(rect|path|line)\\s|class=|className=|'|`)" }],
44
45
  "no-var": "off",
45
46
  "no-prototype-builtins": "off",
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1
2
  import { css } from 'twin.macro'
2
3
  import { twMerge } from 'tailwind-merge'
3
4
  import { util, FieldCurrency, FieldCurrencyProps, FieldColor, FieldColorProps, FieldDate, FieldDateProps } from 'nitro-web'
@@ -19,7 +20,7 @@ type FieldExtraProps = {
19
20
  name: string
20
21
  id?: string
21
22
  // state object to get the value, and check errors against
22
- state?: { errors?: Errors, [key: string]: unknown }
23
+ state?: { errors?: Errors, [key: string]: any }
23
24
  type?: 'text' | 'password' | 'email' | 'filter' | 'search' | 'textarea' | 'currency' | 'date' | 'color'
24
25
  icon?: React.ReactNode
25
26
  iconPos?: 'left' | 'right'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-web",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "repository": "github:boycce/nitro-web",
5
5
  "homepage": "https://boycce.github.io/nitro-web/",
6
6
  "description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",