@conduction/components 2.2.34 → 2.2.36

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/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  - **Version 2.2 (breaking changes from 2.1.x)**
6
6
 
7
+ - 2.2.35 & 2.2.36:
8
+ - Bugfix versions.
7
9
  - 2.2.34:
8
10
  - Added select options grouping logic.
9
11
  - 2.2.33:
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IReactHookFormProps } from "./../types";
2
+ import { IReactHookFormProps } from "../types";
3
3
  export interface ICheckboxProps {
4
4
  label: string;
5
5
  name: string;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as styles from "./checkbox.module.css";
2
+ import * as styles from "./Checkbox.module.css";
3
3
  export const InputCheckbox = ({ name, validation, register, label, defaultChecked, disabled, }) => (_jsxs("div", { children: [_jsx("input", { type: "checkbox", id: `checkbox${name}`, defaultChecked, disabled, ...register(name, { ...validation }), className: styles.checkbox }), _jsx("label", { htmlFor: `checkbox${name}`, children: label })] }));
@@ -1,6 +1,6 @@
1
1
  import { InputText, InputPassword, InputEmail, InputURL, InputNumber, InputFile } from "./input";
2
2
  import { Textarea } from "./textarea";
3
- import { InputCheckbox } from "./checkbox/checkbox";
3
+ import { InputCheckbox } from "./checkbox/Checkbox";
4
4
  import { SelectSingle, SelectMultiple, SelectCreate } from "./select/select";
5
5
  import { CreateKeyValue, IKeyValue } from "./createKeyValue/CreateKeyValue";
6
6
  import { InputDate } from "./date/Date";
@@ -1,6 +1,6 @@
1
1
  import { InputText, InputPassword, InputEmail, InputURL, InputNumber, InputFile } from "./input";
2
2
  import { Textarea } from "./textarea";
3
- import { InputCheckbox } from "./checkbox/checkbox";
3
+ import { InputCheckbox } from "./checkbox/Checkbox";
4
4
  import { SelectSingle, SelectMultiple, SelectCreate } from "./select/select";
5
5
  import { CreateKeyValue } from "./createKeyValue/CreateKeyValue";
6
6
  import { InputDate } from "./date/Date";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/components",
3
- "version": "2.2.34",
3
+ "version": "2.2.36",
4
4
  "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
- import * as styles from "./checkbox.module.css";
2
- import { IReactHookFormProps } from "./../types";
1
+ import * as styles from "./Checkbox.module.css";
2
+ import { IReactHookFormProps } from "../types";
3
3
 
4
4
  export interface ICheckboxProps {
5
5
  label: string;
@@ -1,6 +1,6 @@
1
1
  import { InputText, InputPassword, InputEmail, InputURL, InputNumber, InputFile } from "./input";
2
2
  import { Textarea } from "./textarea";
3
- import { InputCheckbox } from "./checkbox/checkbox";
3
+ import { InputCheckbox } from "./checkbox/Checkbox";
4
4
  import { SelectSingle, SelectMultiple, SelectCreate } from "./select/select";
5
5
  import { CreateKeyValue, IKeyValue } from "./createKeyValue/CreateKeyValue";
6
6
  import { InputDate } from "./date/Date";