@idealyst/datepicker 1.2.28 → 1.2.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idealyst/datepicker",
3
- "version": "1.2.28",
3
+ "version": "1.2.30",
4
4
  "description": "Cross-platform date and time picker components for React and React Native",
5
5
  "documentation": "https://github.com/IdealystIO/idealyst-framework/tree/main/packages/datepicker#readme",
6
6
  "readme": "README.md",
@@ -36,7 +36,7 @@
36
36
  "publish:npm": "npm publish"
37
37
  },
38
38
  "peerDependencies": {
39
- "@idealyst/theme": "^1.2.28",
39
+ "@idealyst/theme": "^1.2.30",
40
40
  "@mdi/js": ">=7.0.0",
41
41
  "@mdi/react": ">=1.6.0",
42
42
  "react": ">=16.8.0",
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "devDependencies": {
72
- "@idealyst/theme": "^1.2.28",
72
+ "@idealyst/theme": "^1.2.30",
73
73
  "@mdi/js": "^7.4.47",
74
74
  "@mdi/react": "^1.6.1",
75
75
  "@types/react": "^19.1.0",
@@ -27,13 +27,13 @@ export const dateTimeInputStyles = defineStyle('DateTimeInput', (theme: Theme) =
27
27
  borderWidth: 1,
28
28
  borderRadius: 6,
29
29
  overflow: 'hidden' as const,
30
- borderColor: error ? theme.intents.error.primary : theme.colors.border.primary,
30
+ borderColor: error ? theme.intents.danger.primary : theme.colors.border.primary,
31
31
  backgroundColor: disabled ? theme.colors.surface.secondary : theme.colors.surface.primary,
32
32
  _web: {
33
33
  display: 'flex',
34
34
  flexDirection: 'row',
35
35
  alignItems: 'center',
36
- border: `1px solid ${error ? theme.intents.error.primary : theme.colors.border.primary}`,
36
+ border: `1px solid ${error ? theme.intents.danger.primary : theme.colors.border.primary}`,
37
37
  },
38
38
  }),
39
39
 
@@ -70,7 +70,7 @@ export const dateTimeInputStyles = defineStyle('DateTimeInput', (theme: Theme) =
70
70
  errorText: (_props: InputDynamicProps) => ({
71
71
  marginTop: 4,
72
72
  fontSize: 12,
73
- color: theme.intents.error.primary,
73
+ color: theme.intents.danger.primary,
74
74
  }),
75
75
 
76
76
  // Label text above input