@bolttech/atoms-checkbox 0.14.0 → 0.15.0

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
@@ -7,13 +7,13 @@ A simple React checkbox component.
7
7
  Use the package manager [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/) to install the component.
8
8
 
9
9
  ```bash
10
- npm install @edirect/frontend-foundations @bolttech/atoms-checkbox
10
+ npm install @bolttech/frontend-foundations @bolttech/atoms-checkbox
11
11
  ```
12
12
 
13
13
  or
14
14
 
15
15
  ```bash
16
- yarn add @edirect/frontend-foundations @bolttech/atoms-checkbox
16
+ yarn add @bolttech/frontend-foundations @bolttech/atoms-checkbox
17
17
  ```
18
18
 
19
19
  ## Props
@@ -37,7 +37,7 @@ The `Checkbox` component accepts the following properties:
37
37
  ```jsx
38
38
  import React, {useState} from 'react';
39
39
  import {Checkbox} from '@bolttech/atoms-checkbox';
40
- import {bolttechTheme, BolttechThemeProvider} from "@edirect/frontend-foundations";
40
+ import {bolttechTheme, BolttechThemeProvider} from "@bolttech/frontend-foundations";
41
41
 
42
42
  const ExampleComponent = () => {
43
43
  const [isChecked, setIsChecked] = useState(false);
package/index.cjs CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var react = require('react');
8
8
  var styled = require('styled-components');
9
- var frontendFoundations = require('@edirect/frontend-foundations');
9
+ var frontendFoundations = require('@bolttech/frontend-foundations');
10
10
  var uiUtils = require('@bolttech/ui-utils');
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@bolttech/atoms-checkbox",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "main": "./index.cjs",
5
5
  "type": "commonjs",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
+ "@bolttech/default-theme": "0.0.1",
9
+ "@bolttech/form-engine": "0.5.0",
10
+ "@bolttech/frontend-foundations": "0.0.1",
8
11
  "@bolttech/ui-utils": "0.1.1",
9
- "@edirect/frontend-foundations": "0.0.79",
10
12
  "react": "18.2.0",
11
13
  "styled-components": "5.3.6"
12
14
  },
package/src/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export { Checkbox } from './lib/atoms-checkbox';
2
- export { CheckboxProps } from './lib/atoms-checkbox.type';
2
+ export type { CheckboxProps } from './lib/atoms-checkbox.type';
@@ -9,7 +9,15 @@ declare const CheckboxContainer: import("styled-components").StyledComponent<"se
9
9
  declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
10
10
  type: "checkbox";
11
11
  } & InputProps, "type">;
12
- declare const Label: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@edirect/frontend-foundations/dist/src/shared/types/typography.type").TypographyPropsType & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, LabelProps, never>;
12
+ declare const Label: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("dist/libs/utils/src").DefaultProps & {
13
+ className?: string | undefined;
14
+ children?: string | string[] | undefined;
15
+ type?: string | undefined;
16
+ variant?: string | undefined;
17
+ align?: "center" | "left" | "right" | undefined;
18
+ text?: string | undefined;
19
+ htmlFor?: string | undefined;
20
+ } & import("react").RefAttributes<HTMLHeadingElement | HTMLLabelElement | HTMLParagraphElement | HTMLSpanElement | null>>, import("styled-components").DefaultTheme, LabelProps, never>;
13
21
  declare const CheckboxContainerError: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {}, never>;
14
22
  declare const LabelError: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
15
23
  export { CheckboxContainer, Input, Label, CheckboxContainerError, LabelError };