File tree Expand file tree Collapse file tree 8 files changed +18
-2
lines changed
kubitWireframe/commons/components Expand file tree Collapse file tree 8 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ export const CHECKBOX_STYLES: CheckboxStylesType<CheckboxVariantType> = {
101
101
color : COLORS . DISABLED . color_accentDisabled_icon_50 ,
102
102
} ,
103
103
} ,
104
+ // deprecated - This `error` state will be deprecated in the future
104
105
[ CheckboxStateType . ERROR ] : {
105
106
...commonProps ,
106
107
checkbox : {
Original file line number Diff line number Diff line change 1
1
// types
2
- import { InputHelpMessagePosition , InputState } from '@/components/input/types' ;
2
+ import { InputHelpMessagePosition , InputState , LABEL_TYPE } from '@/components/input/types' ;
3
3
import { InputDateStylesType } from '@/components/inputDate/types' ;
4
4
import { DeviceBreakpointsType } from '@/types' ;
5
5
@@ -26,6 +26,9 @@ const commonProps = {
26
26
[ DeviceBreakpointsType . TABLET ] : true ,
27
27
[ DeviceBreakpointsType . MOBILE ] : true ,
28
28
} ,
29
+ label : {
30
+ type : LABEL_TYPE . STANDARD ,
31
+ } ,
29
32
} ;
30
33
31
34
export const INPUT_DATE_STYLES : InputDateStylesType < InputDateVariantType > = {
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ const radioButtonDefaultTokens = {
89
89
...commonVariantsTokens ,
90
90
radioButton : {
91
91
...commonVariantsTokens . radioButton ,
92
+ cursor : 'not-allowed' ,
92
93
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
93
94
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
94
95
} ,
@@ -97,6 +98,7 @@ const radioButtonDefaultTokens = {
97
98
...commonVariantsTokens ,
98
99
radioButton : {
99
100
...commonVariantsTokens . radioButton ,
101
+ cursor : 'not-allowed' ,
100
102
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
101
103
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
102
104
} ,
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ const radioButtonDefaultTokens = {
88
88
...commonVariantsTokens ,
89
89
radioButton : {
90
90
...commonVariantsTokens . radioButton ,
91
+ cursor : 'not-allowed' ,
91
92
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
92
93
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
93
94
} ,
@@ -96,6 +97,7 @@ const radioButtonDefaultTokens = {
96
97
...commonVariantsTokens ,
97
98
radioButton : {
98
99
...commonVariantsTokens . radioButton ,
100
+ cursor : 'not-allowed' ,
99
101
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
100
102
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
101
103
} ,
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ export const getCheckboxStyles = (COLORS: {
105
105
color : COLORS . DISABLED . color_accentDisabled_icon_50 ,
106
106
} ,
107
107
} ,
108
+ // deprecated - This `error` state will be deprecated in the future
108
109
[ CheckboxStateType . ERROR ] : {
109
110
...commonProps ( COLORS ) ,
110
111
checkbox : {
Original file line number Diff line number Diff line change 1
- import { InputHelpMessagePosition , InputState } from '@/components/input/types' ;
1
+ import { InputHelpMessagePosition , InputState , LABEL_TYPE } from '@/components/input/types' ;
2
2
import { InputDateStylesType } from '@/components/inputDate/types' ;
3
3
import { DeviceBreakpointsType } from '@/types' ;
4
4
@@ -24,6 +24,9 @@ const commonProps = {
24
24
[ DeviceBreakpointsType . TABLET ] : true ,
25
25
[ DeviceBreakpointsType . MOBILE ] : true ,
26
26
} ,
27
+ label : {
28
+ type : LABEL_TYPE . STANDARD ,
29
+ } ,
27
30
} ;
28
31
29
32
export const getInputDateStyles = ( COLORS : {
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export const getRadioButtonGroupStyles = (COLORS: {
90
90
...commonVariantsTokens ( COLORS ) ,
91
91
radioButton : {
92
92
...commonVariantsTokens ( COLORS ) . radioButton ,
93
+ cursor : 'not-allowed' ,
93
94
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
94
95
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
95
96
} ,
@@ -98,6 +99,7 @@ export const getRadioButtonGroupStyles = (COLORS: {
98
99
...commonVariantsTokens ( COLORS ) ,
99
100
radioButton : {
100
101
...commonVariantsTokens ( COLORS ) . radioButton ,
102
+ cursor : 'not-allowed' ,
101
103
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
102
104
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
103
105
} ,
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export const getRadioButtonGroupStyles = (COLORS: {
90
90
...commonVariantsTokens ( COLORS ) ,
91
91
radioButton : {
92
92
...commonVariantsTokens ( COLORS ) . radioButton ,
93
+ cursor : 'not-allowed' ,
93
94
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
94
95
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
95
96
} ,
@@ -98,6 +99,7 @@ export const getRadioButtonGroupStyles = (COLORS: {
98
99
...commonVariantsTokens ( COLORS ) ,
99
100
radioButton : {
100
101
...commonVariantsTokens ( COLORS ) . radioButton ,
102
+ cursor : 'not-allowed' ,
101
103
background_color : COLORS . DISABLED . color_accentDisabled_bg_150 ,
102
104
border_color : COLORS . DISABLED . color_accentDisabled_border_50 ,
103
105
} ,
You can’t perform that action at this time.
0 commit comments