@hexure/ui 1.13.43 → 1.13.45

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.
@@ -3,6 +3,11 @@ import { AccessibleProps } from '../../utils/Accessibility';
3
3
  export interface styleProps {
4
4
  width?: number | string;
5
5
  }
6
+ export interface localeProps {
7
+ SelectDay?: string;
8
+ SelectMonth?: string;
9
+ SelectYear?: string;
10
+ }
6
11
  export interface DateProps extends AccessibleProps {
7
12
  readOnly?: boolean;
8
13
  invalid?: boolean;
@@ -13,6 +18,7 @@ export interface DateProps extends AccessibleProps {
13
18
  style?: styleProps;
14
19
  /** Optional ID for automation purposes */
15
20
  dataItemid?: string;
21
+ locale?: localeProps;
16
22
  }
17
23
  declare const DatePicker: FC<DateProps>;
18
24
  export default DatePicker;
package/dist/index.d.ts CHANGED
@@ -252,6 +252,11 @@ declare const Copy: FC<CopyProps>;
252
252
  interface styleProps$3 {
253
253
  width?: number | string;
254
254
  }
255
+ interface localeProps {
256
+ SelectDay?: string;
257
+ SelectMonth?: string;
258
+ SelectYear?: string;
259
+ }
255
260
  interface DateProps extends AccessibleProps {
256
261
  readOnly?: boolean;
257
262
  invalid?: boolean;
@@ -262,6 +267,7 @@ interface DateProps extends AccessibleProps {
262
267
  style?: styleProps$3;
263
268
  /** Optional ID for automation purposes */
264
269
  dataItemid?: string;
270
+ locale?: localeProps;
265
271
  }
266
272
  declare const DatePicker: FC<DateProps>;
267
273
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.13.43",
3
+ "version": "1.13.45",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",
@@ -26,6 +26,7 @@
26
26
  "@rollup/plugin-babel": "^6.0.3",
27
27
  "@rollup/plugin-commonjs": "^25.0.0",
28
28
  "@rollup/plugin-eslint": "^9.0.4",
29
+ "@rollup/plugin-json": "^6.1.0",
29
30
  "@rollup/plugin-node-resolve": "^15.0.2",
30
31
  "@rollup/plugin-typescript": "^11.1.1",
31
32
  "@storybook/addon-actions": "^8.2.4",
@@ -42,11 +43,13 @@
42
43
  "@types/numeral": "^2.0.2",
43
44
  "@types/react": "^18.2.33",
44
45
  "@types/react-dom": "^18.2.14",
45
- "@types/styled-components": "^5.1.26",
46
+ "@types/styled-components": "^5.1.24",
46
47
  "@typescript-eslint/eslint-plugin": "^5.50.0",
47
48
  "@typescript-eslint/parser": "^5.50.0",
48
49
  "babel-jest": "^29.0.1",
49
50
  "babel-loader": "^8.2.5",
51
+ "babel-plugin-macros": "^3.1.0",
52
+ "babel-plugin-styled-components": "^2.1.4",
50
53
  "eslint": "^8.33.0",
51
54
  "eslint-config-prettier": "^8.6.0",
52
55
  "eslint-plugin-react": "^7.32.2",
@@ -70,17 +73,19 @@
70
73
  "types": "dist/index.d.ts",
71
74
  "peerDependencies": {
72
75
  "@mdi/font": ">=7.0.96",
73
- "@mdi/js": ">=7.1.96",
74
- "@mdi/react": ">=1.6.1",
76
+ "@mdi/js": "^7.4.47",
77
+ "@mdi/react": "^1.6.1",
75
78
  "dayjs": "^1.11.8",
76
79
  "moment": ">=2.29.4",
77
80
  "numeral": ">=2.0.6",
78
81
  "react": ">=16.14.0",
79
- "react-dom": ">=16.14.0",
80
- "styled-components": "^6.1.8"
82
+ "react-dom": ">=16.14.0"
81
83
  },
82
84
  "repository": {
83
85
  "type": "git",
84
86
  "url": "https://InsuranceTechnologies@dev.azure.com/InsuranceTechnologies/Enterprise/_git/InsTech.UI.Library"
87
+ },
88
+ "dependencies": {
89
+ "styled-components": "^5.2.1"
85
90
  }
86
- }
91
+ }