@onesy/ui-react 1.0.184 → 1.0.186
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.
|
@@ -607,7 +607,7 @@ const CalendarMonth = props__ => {
|
|
|
607
607
|
}, PaginationItemProps), {}, {
|
|
608
608
|
className: (0, _styleReact.classNames)([(0, _utils2.staticClassName)('CalendarMonth', theme) && ['onesy-CalendarMonth-day-value', day_3.in && 'onesy-CalendarMonth-day-in', day_3.dayWeek && 'onesy-CalendarMonth-day-day-week', day_3.weekend && 'onesy-CalendarMonth-day-weekend', day_3.today && 'onesy-CalendarMonth-day-today', day_3.is.between && 'onesy-CalendarMonth-day-between', day_3.is.selected && 'onesy-CalendarMonth-day-selected', day_3.is.start && 'onesy-CalendarMonth-day-start', day_3.is.end && 'onesy-CalendarMonth-day-end'], PaginationItemProps === null || PaginationItemProps === void 0 ? void 0 : PaginationItemProps.className, classes.dayValue, day_3.is.selected && classes.daySelected, classes[`day_size_${size}`]]),
|
|
609
609
|
style: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, day_3.today ? {
|
|
610
|
-
boxShadow: `inset 0px 0px 0px 1px ${palette[
|
|
610
|
+
boxShadow: `inset 0px 0px 0px 1px ${palette[theme.palette.light ? 40 : 60]}`
|
|
611
611
|
} : undefined), day_3.is.selected && day_3.is.between && {
|
|
612
612
|
color: `hsl(from var(--onesy-color) h s ${theme.palette.light ? 10 : 98})`,
|
|
613
613
|
backgroundColor: `hsl(from var(--onesy-color) h s ${theme.palette.light ? propsDay.disabled ? 90 : 85 : propsDay.disabled ? 20 : 25})`
|
|
@@ -71,15 +71,15 @@ const useStyle = (0, _styleReact.style)(theme => ({
|
|
|
71
71
|
}),
|
|
72
72
|
borderRadius: theme.methods.shape.radius.value(4e4, 'px'),
|
|
73
73
|
'&.entering': {
|
|
74
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
74
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
75
75
|
transform: 'scale(1)'
|
|
76
76
|
},
|
|
77
77
|
'&.entered': {
|
|
78
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
78
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
79
79
|
transform: 'scale(1)'
|
|
80
80
|
},
|
|
81
81
|
'&.exit': {
|
|
82
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
82
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
83
83
|
transform: 'scale(1)'
|
|
84
84
|
},
|
|
85
85
|
'&.exiting': {
|
|
@@ -93,16 +93,16 @@ const useStyle = (0, _styleReact.style)(theme => ({
|
|
|
93
93
|
}),
|
|
94
94
|
pulse: {
|
|
95
95
|
'&.entering': {
|
|
96
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
96
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
97
97
|
transform: 'scale(0.77)'
|
|
98
98
|
},
|
|
99
99
|
'&.entered': {
|
|
100
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
100
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
101
101
|
transform: 'scale(0.77)',
|
|
102
102
|
animation: `$pulse 2400ms ${theme.transitions.timing_function.emphasized} 240ms infinite`
|
|
103
103
|
},
|
|
104
104
|
'&.exit': {
|
|
105
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
105
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
106
106
|
transform: 'scale(0.7)'
|
|
107
107
|
},
|
|
108
108
|
'&.exiting': {
|
|
@@ -122,13 +122,13 @@ const useStyle = (0, _styleReact.style)(theme => ({
|
|
|
122
122
|
timing_function: 'standard'
|
|
123
123
|
}),
|
|
124
124
|
'&.entering': {
|
|
125
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
125
|
+
opacity: theme.palette.visual_contrast.default.opacity.press
|
|
126
126
|
},
|
|
127
127
|
'&.entered': {
|
|
128
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
128
|
+
opacity: theme.palette.visual_contrast.default.opacity.press
|
|
129
129
|
},
|
|
130
130
|
'&.exit': {
|
|
131
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
131
|
+
opacity: theme.palette.visual_contrast.default.opacity.press
|
|
132
132
|
},
|
|
133
133
|
'&.exiting': {
|
|
134
134
|
opacity: '0'
|
|
@@ -596,7 +596,7 @@ const CalendarMonth = props__ => {
|
|
|
596
596
|
}, PaginationItemProps), {}, {
|
|
597
597
|
className: classNames([staticClassName('CalendarMonth', theme) && ['onesy-CalendarMonth-day-value', day_3.in && 'onesy-CalendarMonth-day-in', day_3.dayWeek && 'onesy-CalendarMonth-day-day-week', day_3.weekend && 'onesy-CalendarMonth-day-weekend', day_3.today && 'onesy-CalendarMonth-day-today', day_3.is.between && 'onesy-CalendarMonth-day-between', day_3.is.selected && 'onesy-CalendarMonth-day-selected', day_3.is.start && 'onesy-CalendarMonth-day-start', day_3.is.end && 'onesy-CalendarMonth-day-end'], PaginationItemProps?.className, classes.dayValue, day_3.is.selected && classes.daySelected, classes[`day_size_${size}`]]),
|
|
598
598
|
style: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, day_3.today ? {
|
|
599
|
-
boxShadow: `inset 0px 0px 0px 1px ${palette[
|
|
599
|
+
boxShadow: `inset 0px 0px 0px 1px ${palette[theme.palette.light ? 40 : 60]}`
|
|
600
600
|
} : undefined), day_3.is.selected && day_3.is.between && {
|
|
601
601
|
color: `hsl(from var(--onesy-color) h s ${theme.palette.light ? 10 : 98})`,
|
|
602
602
|
backgroundColor: `hsl(from var(--onesy-color) h s ${theme.palette.light ? propsDay.disabled ? 90 : 85 : propsDay.disabled ? 20 : 25})`
|
|
@@ -64,15 +64,15 @@ const useStyle = styleMethod(theme => ({
|
|
|
64
64
|
}),
|
|
65
65
|
borderRadius: theme.methods.shape.radius.value(4e4, 'px'),
|
|
66
66
|
'&.entering': {
|
|
67
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
67
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
68
68
|
transform: 'scale(1)'
|
|
69
69
|
},
|
|
70
70
|
'&.entered': {
|
|
71
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
71
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
72
72
|
transform: 'scale(1)'
|
|
73
73
|
},
|
|
74
74
|
'&.exit': {
|
|
75
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
75
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
76
76
|
transform: 'scale(1)'
|
|
77
77
|
},
|
|
78
78
|
'&.exiting': {
|
|
@@ -86,16 +86,16 @@ const useStyle = styleMethod(theme => ({
|
|
|
86
86
|
}),
|
|
87
87
|
pulse: {
|
|
88
88
|
'&.entering': {
|
|
89
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
89
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
90
90
|
transform: 'scale(0.77)'
|
|
91
91
|
},
|
|
92
92
|
'&.entered': {
|
|
93
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
93
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
94
94
|
transform: 'scale(0.77)',
|
|
95
95
|
animation: `$pulse 2400ms ${theme.transitions.timing_function.emphasized} 240ms infinite`
|
|
96
96
|
},
|
|
97
97
|
'&.exit': {
|
|
98
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
98
|
+
opacity: theme.palette.visual_contrast.default.opacity.press,
|
|
99
99
|
transform: 'scale(0.7)'
|
|
100
100
|
},
|
|
101
101
|
'&.exiting': {
|
|
@@ -115,13 +115,13 @@ const useStyle = styleMethod(theme => ({
|
|
|
115
115
|
timing_function: 'standard'
|
|
116
116
|
}),
|
|
117
117
|
'&.entering': {
|
|
118
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
118
|
+
opacity: theme.palette.visual_contrast.default.opacity.press
|
|
119
119
|
},
|
|
120
120
|
'&.entered': {
|
|
121
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
121
|
+
opacity: theme.palette.visual_contrast.default.opacity.press
|
|
122
122
|
},
|
|
123
123
|
'&.exit': {
|
|
124
|
-
opacity: theme.palette.visual_contrast.default.opacity.
|
|
124
|
+
opacity: theme.palette.visual_contrast.default.opacity.press
|
|
125
125
|
},
|
|
126
126
|
'&.exiting': {
|
|
127
127
|
opacity: '0'
|
package/esm/index.js
CHANGED
package/index.js
CHANGED