@bikdotai/bik-component-library 0.0.178 → 0.0.179

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.
@@ -1,8 +1,8 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../constants/Theme.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(e);const s=o.default.div`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../constants/Theme.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(e);const o=s.default.div`
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  cursor: pointer;
5
- `,r=o.default.div`
5
+ `,r=s.default.div`
6
6
  width: 14px;
7
7
  height: 14px;
8
8
  border-radius: 4px;
@@ -11,6 +11,11 @@
11
11
  justify-content: center;
12
12
  align-items: center;
13
13
  box-sizing: content-box;
14
+ ${i=>i.isDisabled?e.css`
15
+ border: 2px solid ${t.COLORS.content.inactive};
16
+ `:e.css`
17
+ border: 2px solid black;
18
+ `}
14
19
  ${t=>t.checked&&e.css`
15
20
  border: 0px;
16
21
  width: 18px;
@@ -24,4 +29,4 @@
24
29
  ${i.checked?t.COLORS.stroke.positive.lightAlt:t.COLORS.surface.hovered};
25
30
  outline-offset: 2px;
26
31
  `}
27
- `;exports.CheckboxContainer=s,exports.CheckboxIcon=r;
32
+ `;exports.CheckboxContainer=o,exports.CheckboxIcon=r;
@@ -1,4 +1,4 @@
1
- import e,{css as i}from"styled-components";import{COLORS as t}from"../../constants/Theme.js";const o=e.div`
1
+ import e,{css as i}from"styled-components";import{COLORS as o}from"../../constants/Theme.js";const t=e.div`
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  cursor: pointer;
@@ -11,17 +11,22 @@ import e,{css as i}from"styled-components";import{COLORS as t}from"../../constan
11
11
  justify-content: center;
12
12
  align-items: center;
13
13
  box-sizing: content-box;
14
+ ${e=>e.isDisabled?i`
15
+ border: 2px solid ${o.content.inactive};
16
+ `:i`
17
+ border: 2px solid black;
18
+ `}
14
19
  ${e=>e.checked&&i`
15
20
  border: 0px;
16
21
  width: 18px;
17
22
  height: 18px;
18
23
  `}
19
24
  ${e=>e.hovered&&i`
20
- outline: 3px solid ${t.surface.hovered};
25
+ outline: 3px solid ${o.surface.hovered};
21
26
  `}
22
27
  ${e=>e.clicked&&!e.isDisabled&&i`
23
28
  outline: 3px solid
24
- ${e.checked?t.stroke.positive.lightAlt:t.surface.hovered};
29
+ ${e.checked?o.stroke.positive.lightAlt:o.surface.hovered};
25
30
  outline-offset: 2px;
26
31
  `}
27
- `;export{o as CheckboxContainer,r as CheckboxIcon};
32
+ `;export{t as CheckboxContainer,r as CheckboxIcon};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikdotai/bik-component-library",
3
- "version": "0.0.178",
3
+ "version": "0.0.179",
4
4
  "description": "Bik Component Library",
5
5
  "repository": {
6
6
  "type": "git",
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # @boilertown/react-ui-boilerplate
2
-
3
- ## 0.0.1
4
-
5
- ### Patch Changes
6
-
7
- - 93e5422: First release ever!