@antscorp/antsomi-ui 1.3.5-beta.357 → 1.3.5-beta.359

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.
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { Global, css } from '@emotion/react';
4
4
  // Constants
5
- import { THEME } from '@antscorp/antsomi-ui/es/constants';
5
+ import { THEME, globalToken } from '@antscorp/antsomi-ui/es/constants';
6
6
  // FontAwesome
7
7
  import { library } from '@fortawesome/fontawesome-svg-core';
8
8
  import { fas } from '@fortawesome/free-solid-svg-icons';
@@ -937,5 +937,25 @@ export const GlobalStyle = () => {
937
937
  font-size: 11px;
938
938
  }
939
939
  }
940
+
941
+ /* Checkbox */
942
+ .antsomi-checkbox {
943
+ &.antsomi-checkbox-disabled {
944
+ .antsomi-checkbox-inner {
945
+ background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw0};
946
+ border-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw5};
947
+ }
948
+
949
+ &.antsomi-checkbox-checked {
950
+ .antsomi-checkbox-inner {
951
+ background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw5};
952
+
953
+ &::after {
954
+ border-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw0};
955
+ }
956
+ }
957
+ }
958
+ }
959
+ }
940
960
  ` }));
941
961
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.357",
3
+ "version": "1.3.5-beta.359",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",