@itilite/lumina-ui 1.0.1-beta.2 → 1.0.1-beta.3
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 +43 -10
- package/dist/styles.css +184 -184
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,43 @@ npm install react antd
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
+
### Prerequisites
|
|
26
|
+
|
|
27
|
+
This component library requires Tailwind CSS to be set up in your consuming application. The components use Tailwind utility classes and will not be styled without it.
|
|
28
|
+
|
|
29
|
+
#### Setting up Tailwind CSS in your app
|
|
30
|
+
|
|
31
|
+
1. Install Tailwind CSS:
|
|
32
|
+
```bash
|
|
33
|
+
npm install -D tailwindcss postcss autoprefixer
|
|
34
|
+
npx tailwindcss init
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
2. Configure Tailwind to scan your app (you don't need to scan the component library):
|
|
38
|
+
```js
|
|
39
|
+
// tailwind.config.js
|
|
40
|
+
module.exports = {
|
|
41
|
+
content: [
|
|
42
|
+
"./src/**/*.{js,ts,jsx,tsx}",
|
|
43
|
+
// No need to scan node_modules - component utilities are pre-compiled
|
|
44
|
+
],
|
|
45
|
+
theme: {
|
|
46
|
+
extend: {},
|
|
47
|
+
},
|
|
48
|
+
plugins: [],
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
3. Add Tailwind directives to your main CSS file:
|
|
53
|
+
```css
|
|
54
|
+
/* app.css or index.css */
|
|
55
|
+
@tailwind base;
|
|
56
|
+
@tailwind components;
|
|
57
|
+
@tailwind utilities;
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Important:** The component library includes only the Tailwind utilities it uses. Your app must provide the base/reset styles via `@tailwind base`.
|
|
61
|
+
|
|
25
62
|
### Importing Components
|
|
26
63
|
|
|
27
64
|
You can import components individually (recommended for tree-shaking):
|
|
@@ -29,21 +66,20 @@ You can import components individually (recommended for tree-shaking):
|
|
|
29
66
|
```tsx
|
|
30
67
|
import { Button } from '@itilite/lumina-ui/button';
|
|
31
68
|
import { Checkbox } from '@itilite/lumina-ui/checkbox';
|
|
32
|
-
import '@itilite/lumina-ui/styles.css';
|
|
69
|
+
import '@itilite/lumina-ui/styles.css'; // Import component styles
|
|
33
70
|
```
|
|
34
71
|
|
|
35
72
|
Or import all components from the main entry point:
|
|
36
73
|
|
|
37
74
|
```tsx
|
|
38
75
|
import { Button, Checkbox } from '@itilite/lumina-ui';
|
|
39
|
-
import '@itilite/lumina-ui/styles.css';
|
|
76
|
+
import '@itilite/lumina-ui/styles.css'; // Import component styles
|
|
40
77
|
```
|
|
41
78
|
|
|
42
79
|
### Button Component
|
|
43
80
|
|
|
44
81
|
```tsx
|
|
45
82
|
import { Button } from '@itilite/lumina-ui/button';
|
|
46
|
-
import '@itilite/lumina-ui/styles.css';
|
|
47
83
|
|
|
48
84
|
function App() {
|
|
49
85
|
return (
|
|
@@ -58,7 +94,6 @@ function App() {
|
|
|
58
94
|
|
|
59
95
|
```tsx
|
|
60
96
|
import { Checkbox } from '@itilite/lumina-ui/checkbox';
|
|
61
|
-
import '@itilite/lumina-ui/styles.css';
|
|
62
97
|
|
|
63
98
|
function App() {
|
|
64
99
|
return (
|
|
@@ -69,13 +104,11 @@ function App() {
|
|
|
69
104
|
}
|
|
70
105
|
```
|
|
71
106
|
|
|
72
|
-
##
|
|
107
|
+
## Requirements
|
|
73
108
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
import '@itilite/lumina-ui/styles.css';
|
|
78
|
-
```
|
|
109
|
+
- **Tailwind CSS**: This library requires Tailwind CSS to be configured in your consuming application
|
|
110
|
+
- **React**: 18+
|
|
111
|
+
- **Ant Design**: 5.13.1
|
|
79
112
|
|
|
80
113
|
## Available Components
|
|
81
114
|
|
package/dist/styles.css
CHANGED
|
@@ -610,6 +610,190 @@ video {
|
|
|
610
610
|
background-color: white !important;
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
+
/* src/atom/Radio/Radio.module.scss */
|
|
614
|
+
.Radio-module__radio___1CPAk {
|
|
615
|
+
display: flex;
|
|
616
|
+
align-items: center;
|
|
617
|
+
}
|
|
618
|
+
.Radio-module__radio___1CPAk.Radio-module__size_small___nRXgM .ant-radio .ant-radio-inner {
|
|
619
|
+
height: 16px;
|
|
620
|
+
width: 16px;
|
|
621
|
+
}
|
|
622
|
+
.Radio-module__radio___1CPAk.Radio-module__size_medium___uSzPl .ant-radio .ant-radio-inner {
|
|
623
|
+
height: 20px;
|
|
624
|
+
width: 20px;
|
|
625
|
+
}
|
|
626
|
+
.Radio-module__radio___1CPAk.Radio-module__size_large___ubpHs .ant-radio .ant-radio-inner {
|
|
627
|
+
height: 24px;
|
|
628
|
+
width: 24px;
|
|
629
|
+
}
|
|
630
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked .ant-radio-inner {
|
|
631
|
+
border-color: #EC5D25;
|
|
632
|
+
background-color: #EC5D25;
|
|
633
|
+
}
|
|
634
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:hover .ant-radio-inner {
|
|
635
|
+
border-color: #B94710;
|
|
636
|
+
background-color: #B94710;
|
|
637
|
+
}
|
|
638
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:focus-visible {
|
|
639
|
+
outline: 2px solid #0A65E7;
|
|
640
|
+
}
|
|
641
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z {
|
|
642
|
+
cursor: not-allowed;
|
|
643
|
+
}
|
|
644
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner {
|
|
645
|
+
border-color: #B6BAC3;
|
|
646
|
+
background-color: #B6BAC3;
|
|
647
|
+
}
|
|
648
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner::after {
|
|
649
|
+
transform: scale(0.375);
|
|
650
|
+
background-color: #FFFFFF;
|
|
651
|
+
}
|
|
652
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio .ant-radio-inner {
|
|
653
|
+
border-color: #B6BAC3;
|
|
654
|
+
}
|
|
655
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:hover .ant-radio-inner {
|
|
656
|
+
border-color: #6B7280;
|
|
657
|
+
}
|
|
658
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:focus-visible {
|
|
659
|
+
outline: 2px solid #0A65E7;
|
|
660
|
+
}
|
|
661
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z {
|
|
662
|
+
cursor: not-allowed;
|
|
663
|
+
}
|
|
664
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z .ant-radio .ant-radio-inner {
|
|
665
|
+
border-color: #B6BAC3;
|
|
666
|
+
background-color: #F9FAFB;
|
|
667
|
+
}
|
|
668
|
+
.Radio-module__radio___1CPAk.Radio-module__variant_normal___FQkTC {
|
|
669
|
+
color: #363E4F;
|
|
670
|
+
font-weight: 400;
|
|
671
|
+
font-size: 0.875rem;
|
|
672
|
+
line-height: 20px;
|
|
673
|
+
}
|
|
674
|
+
.Radio-module__radio___1CPAk.Radio-module__variant_emphasized___Fgpv6 {
|
|
675
|
+
color: #363E4F;
|
|
676
|
+
font-weight: 500;
|
|
677
|
+
font-size: 0.875rem;
|
|
678
|
+
line-height: 20px;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/* src/atom/Switch/Switch.module.scss */
|
|
682
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-small {
|
|
683
|
+
height: 0.75rem;
|
|
684
|
+
min-width: 1.5rem
|
|
685
|
+
}
|
|
686
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-small .ant-switch-handle {
|
|
687
|
+
height: 0.5rem;
|
|
688
|
+
width: 0.5rem
|
|
689
|
+
}
|
|
690
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-checked {
|
|
691
|
+
--tw-bg-opacity: 1;
|
|
692
|
+
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1))
|
|
693
|
+
}
|
|
694
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-checked:hover {
|
|
695
|
+
--tw-bg-opacity: 1;
|
|
696
|
+
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1))
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/* src/atom/Checkbox/Checkbox.module.scss */
|
|
700
|
+
.Checkbox-module__checkbox___xxg5L {
|
|
701
|
+
display: flex;
|
|
702
|
+
align-items: center;
|
|
703
|
+
}
|
|
704
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_small___Kknlo .ant-checkbox .ant-checkbox-inner {
|
|
705
|
+
height: 16px;
|
|
706
|
+
width: 16px;
|
|
707
|
+
}
|
|
708
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner {
|
|
709
|
+
height: 20px;
|
|
710
|
+
width: 20px;
|
|
711
|
+
}
|
|
712
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner::after {
|
|
713
|
+
inset-inline-start: 27%;
|
|
714
|
+
}
|
|
715
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner {
|
|
716
|
+
height: 24px;
|
|
717
|
+
width: 24px;
|
|
718
|
+
}
|
|
719
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner::after {
|
|
720
|
+
inset-inline-start: 33%;
|
|
721
|
+
}
|
|
722
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked .ant-checkbox-inner {
|
|
723
|
+
border-color: #ec5d25;
|
|
724
|
+
background-color: #ec5d25;
|
|
725
|
+
}
|
|
726
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.ant-checkbox-wrapper:hover
|
|
727
|
+
.ant-checkbox-checked:not(.ant-checkbox-disabled)
|
|
728
|
+
.ant-checkbox-inner {
|
|
729
|
+
--tw-bg-opacity: 1;
|
|
730
|
+
background-color: rgb(185 71 16 / var(--tw-bg-opacity, 1));
|
|
731
|
+
}
|
|
732
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked:focus-visible {
|
|
733
|
+
outline: 2px solid #0a65e7;
|
|
734
|
+
}
|
|
735
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 {
|
|
736
|
+
cursor: not-allowed;
|
|
737
|
+
}
|
|
738
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner {
|
|
739
|
+
opacity: 0.5;
|
|
740
|
+
border-color: #ec5d25;
|
|
741
|
+
background-color: #ec5d25;
|
|
742
|
+
}
|
|
743
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner::after {
|
|
744
|
+
border-color: #ffffff;
|
|
745
|
+
}
|
|
746
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox .ant-checkbox-inner {
|
|
747
|
+
border-color: #b6bac3;
|
|
748
|
+
}
|
|
749
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:hover .ant-checkbox-inner {
|
|
750
|
+
border-color: #6b7280;
|
|
751
|
+
}
|
|
752
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:focus-visible {
|
|
753
|
+
outline: 2px solid #0a65e7;
|
|
754
|
+
}
|
|
755
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 {
|
|
756
|
+
cursor: not-allowed;
|
|
757
|
+
}
|
|
758
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 .ant-checkbox .ant-checkbox-inner {
|
|
759
|
+
border-color: #b6bac3;
|
|
760
|
+
background-color: #f9fafb;
|
|
761
|
+
}
|
|
762
|
+
.Checkbox-module__checkbox___xxg5L .ant-checkbox-disabled + span {
|
|
763
|
+
color: #363e4f;
|
|
764
|
+
}
|
|
765
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_normal___faYKo {
|
|
766
|
+
color: #363e4f;
|
|
767
|
+
font-weight: 400;
|
|
768
|
+
font-size: 0.875rem;
|
|
769
|
+
line-height: 20px;
|
|
770
|
+
}
|
|
771
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_emphasized___-koYj {
|
|
772
|
+
color: #363e4f;
|
|
773
|
+
font-weight: 500;
|
|
774
|
+
font-size: 0.875rem;
|
|
775
|
+
line-height: 20px;
|
|
776
|
+
}
|
|
777
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner {
|
|
778
|
+
opacity: 0.5;
|
|
779
|
+
border-color: #ec5d25;
|
|
780
|
+
background-color: #ec5d25;
|
|
781
|
+
}
|
|
782
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner::after {
|
|
783
|
+
border-color: #ffffff;
|
|
784
|
+
}
|
|
785
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner {
|
|
786
|
+
border-color: #ec5d25 !important;
|
|
787
|
+
background-color: #ec5d25 !important;
|
|
788
|
+
}
|
|
789
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner::after {
|
|
790
|
+
inset-inline-start: 50%;
|
|
791
|
+
width: 60%;
|
|
792
|
+
height: 3px;
|
|
793
|
+
border-radius: 4px;
|
|
794
|
+
background: white;
|
|
795
|
+
}
|
|
796
|
+
|
|
613
797
|
/* src/atom/Button/Button.module.scss */
|
|
614
798
|
.Button-module__button___cLCyl {
|
|
615
799
|
display: flex;
|
|
@@ -800,190 +984,6 @@ video {
|
|
|
800
984
|
outline: none;
|
|
801
985
|
}
|
|
802
986
|
|
|
803
|
-
/* src/atom/Radio/Radio.module.scss */
|
|
804
|
-
.Radio-module__radio___1CPAk {
|
|
805
|
-
display: flex;
|
|
806
|
-
align-items: center;
|
|
807
|
-
}
|
|
808
|
-
.Radio-module__radio___1CPAk.Radio-module__size_small___nRXgM .ant-radio .ant-radio-inner {
|
|
809
|
-
height: 16px;
|
|
810
|
-
width: 16px;
|
|
811
|
-
}
|
|
812
|
-
.Radio-module__radio___1CPAk.Radio-module__size_medium___uSzPl .ant-radio .ant-radio-inner {
|
|
813
|
-
height: 20px;
|
|
814
|
-
width: 20px;
|
|
815
|
-
}
|
|
816
|
-
.Radio-module__radio___1CPAk.Radio-module__size_large___ubpHs .ant-radio .ant-radio-inner {
|
|
817
|
-
height: 24px;
|
|
818
|
-
width: 24px;
|
|
819
|
-
}
|
|
820
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked .ant-radio-inner {
|
|
821
|
-
border-color: #EC5D25;
|
|
822
|
-
background-color: #EC5D25;
|
|
823
|
-
}
|
|
824
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:hover .ant-radio-inner {
|
|
825
|
-
border-color: #B94710;
|
|
826
|
-
background-color: #B94710;
|
|
827
|
-
}
|
|
828
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:focus-visible {
|
|
829
|
-
outline: 2px solid #0A65E7;
|
|
830
|
-
}
|
|
831
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z {
|
|
832
|
-
cursor: not-allowed;
|
|
833
|
-
}
|
|
834
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner {
|
|
835
|
-
border-color: #B6BAC3;
|
|
836
|
-
background-color: #B6BAC3;
|
|
837
|
-
}
|
|
838
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner::after {
|
|
839
|
-
transform: scale(0.375);
|
|
840
|
-
background-color: #FFFFFF;
|
|
841
|
-
}
|
|
842
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio .ant-radio-inner {
|
|
843
|
-
border-color: #B6BAC3;
|
|
844
|
-
}
|
|
845
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:hover .ant-radio-inner {
|
|
846
|
-
border-color: #6B7280;
|
|
847
|
-
}
|
|
848
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:focus-visible {
|
|
849
|
-
outline: 2px solid #0A65E7;
|
|
850
|
-
}
|
|
851
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z {
|
|
852
|
-
cursor: not-allowed;
|
|
853
|
-
}
|
|
854
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z .ant-radio .ant-radio-inner {
|
|
855
|
-
border-color: #B6BAC3;
|
|
856
|
-
background-color: #F9FAFB;
|
|
857
|
-
}
|
|
858
|
-
.Radio-module__radio___1CPAk.Radio-module__variant_normal___FQkTC {
|
|
859
|
-
color: #363E4F;
|
|
860
|
-
font-weight: 400;
|
|
861
|
-
font-size: 0.875rem;
|
|
862
|
-
line-height: 20px;
|
|
863
|
-
}
|
|
864
|
-
.Radio-module__radio___1CPAk.Radio-module__variant_emphasized___Fgpv6 {
|
|
865
|
-
color: #363E4F;
|
|
866
|
-
font-weight: 500;
|
|
867
|
-
font-size: 0.875rem;
|
|
868
|
-
line-height: 20px;
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
/* src/atom/Switch/Switch.module.scss */
|
|
872
|
-
.Switch-module__switch___fUHZL.ant-switch.ant-switch-small {
|
|
873
|
-
height: 0.75rem;
|
|
874
|
-
min-width: 1.5rem
|
|
875
|
-
}
|
|
876
|
-
.Switch-module__switch___fUHZL.ant-switch.ant-switch-small .ant-switch-handle {
|
|
877
|
-
height: 0.5rem;
|
|
878
|
-
width: 0.5rem
|
|
879
|
-
}
|
|
880
|
-
.Switch-module__switch___fUHZL.ant-switch.ant-switch-checked {
|
|
881
|
-
--tw-bg-opacity: 1;
|
|
882
|
-
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1))
|
|
883
|
-
}
|
|
884
|
-
.Switch-module__switch___fUHZL.ant-switch.ant-switch-checked:hover {
|
|
885
|
-
--tw-bg-opacity: 1;
|
|
886
|
-
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1))
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
/* src/atom/Checkbox/Checkbox.module.scss */
|
|
890
|
-
.Checkbox-module__checkbox___xxg5L {
|
|
891
|
-
display: flex;
|
|
892
|
-
align-items: center;
|
|
893
|
-
}
|
|
894
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_small___Kknlo .ant-checkbox .ant-checkbox-inner {
|
|
895
|
-
height: 16px;
|
|
896
|
-
width: 16px;
|
|
897
|
-
}
|
|
898
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner {
|
|
899
|
-
height: 20px;
|
|
900
|
-
width: 20px;
|
|
901
|
-
}
|
|
902
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner::after {
|
|
903
|
-
inset-inline-start: 27%;
|
|
904
|
-
}
|
|
905
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner {
|
|
906
|
-
height: 24px;
|
|
907
|
-
width: 24px;
|
|
908
|
-
}
|
|
909
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner::after {
|
|
910
|
-
inset-inline-start: 33%;
|
|
911
|
-
}
|
|
912
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked .ant-checkbox-inner {
|
|
913
|
-
border-color: #ec5d25;
|
|
914
|
-
background-color: #ec5d25;
|
|
915
|
-
}
|
|
916
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.ant-checkbox-wrapper:hover
|
|
917
|
-
.ant-checkbox-checked:not(.ant-checkbox-disabled)
|
|
918
|
-
.ant-checkbox-inner {
|
|
919
|
-
--tw-bg-opacity: 1;
|
|
920
|
-
background-color: rgb(185 71 16 / var(--tw-bg-opacity, 1));
|
|
921
|
-
}
|
|
922
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked:focus-visible {
|
|
923
|
-
outline: 2px solid #0a65e7;
|
|
924
|
-
}
|
|
925
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 {
|
|
926
|
-
cursor: not-allowed;
|
|
927
|
-
}
|
|
928
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner {
|
|
929
|
-
opacity: 0.5;
|
|
930
|
-
border-color: #ec5d25;
|
|
931
|
-
background-color: #ec5d25;
|
|
932
|
-
}
|
|
933
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner::after {
|
|
934
|
-
border-color: #ffffff;
|
|
935
|
-
}
|
|
936
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox .ant-checkbox-inner {
|
|
937
|
-
border-color: #b6bac3;
|
|
938
|
-
}
|
|
939
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:hover .ant-checkbox-inner {
|
|
940
|
-
border-color: #6b7280;
|
|
941
|
-
}
|
|
942
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:focus-visible {
|
|
943
|
-
outline: 2px solid #0a65e7;
|
|
944
|
-
}
|
|
945
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 {
|
|
946
|
-
cursor: not-allowed;
|
|
947
|
-
}
|
|
948
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 .ant-checkbox .ant-checkbox-inner {
|
|
949
|
-
border-color: #b6bac3;
|
|
950
|
-
background-color: #f9fafb;
|
|
951
|
-
}
|
|
952
|
-
.Checkbox-module__checkbox___xxg5L .ant-checkbox-disabled + span {
|
|
953
|
-
color: #363e4f;
|
|
954
|
-
}
|
|
955
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_normal___faYKo {
|
|
956
|
-
color: #363e4f;
|
|
957
|
-
font-weight: 400;
|
|
958
|
-
font-size: 0.875rem;
|
|
959
|
-
line-height: 20px;
|
|
960
|
-
}
|
|
961
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_emphasized___-koYj {
|
|
962
|
-
color: #363e4f;
|
|
963
|
-
font-weight: 500;
|
|
964
|
-
font-size: 0.875rem;
|
|
965
|
-
line-height: 20px;
|
|
966
|
-
}
|
|
967
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner {
|
|
968
|
-
opacity: 0.5;
|
|
969
|
-
border-color: #ec5d25;
|
|
970
|
-
background-color: #ec5d25;
|
|
971
|
-
}
|
|
972
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner::after {
|
|
973
|
-
border-color: #ffffff;
|
|
974
|
-
}
|
|
975
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner {
|
|
976
|
-
border-color: #ec5d25 !important;
|
|
977
|
-
background-color: #ec5d25 !important;
|
|
978
|
-
}
|
|
979
|
-
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner::after {
|
|
980
|
-
inset-inline-start: 50%;
|
|
981
|
-
width: 60%;
|
|
982
|
-
height: 3px;
|
|
983
|
-
border-radius: 4px;
|
|
984
|
-
background: white;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
987
|
/* src/atom/Modal/Modal.module.scss */
|
|
988
988
|
.Modal-module__modal___PKrAi.Modal-module__footerMargintopDisable___4B6u- .Modal-module__ant-modal-footer___HKsDR {
|
|
989
989
|
margin-top: 0;
|