@okta/odyssey-react-mui 1.0.1 → 1.0.2

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,11 +1,10 @@
1
1
  {
2
2
  "name": "@okta/odyssey-react-mui",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "React MUI components for Odyssey, Okta's design system",
5
5
  "author": "Okta, Inc.",
6
6
  "license": "Apache-2.0",
7
7
  "sideEffects": false,
8
- "type": "module",
9
8
  "main": "dist/index.js",
10
9
  "module": "dist/index.js",
11
10
  "types": "dist/src/index.d.ts",
@@ -23,9 +22,18 @@
23
22
  }
24
23
  },
25
24
  "exports": {
26
- "./icons": "./dist/icons.generated/index.js",
27
- "./labs": "./dist/labs/index.js",
28
- ".": "./dist/index.js",
25
+ "./icons": {
26
+ "types": "./dist/src/icons.generated/index.d.ts",
27
+ "default": "./dist/icons.generated/index.js"
28
+ },
29
+ "./labs": {
30
+ "types": "./dist/src/labs/index.d.ts",
31
+ "default": "./dist/labs/index.js"
32
+ },
33
+ ".": {
34
+ "types": "./dist/src/index.d.ts",
35
+ "default": "./dist/index.js"
36
+ },
29
37
  "./README.md": "./README.md"
30
38
  },
31
39
  "repository": {
@@ -40,7 +48,7 @@
40
48
  "@mui/material": "^5.12.3",
41
49
  "@mui/utils": "^5.11.2",
42
50
  "@mui/x-date-pickers": "^5.0.15",
43
- "@okta/odyssey-design-tokens": "1.0.1",
51
+ "@okta/odyssey-design-tokens": "1.0.2",
44
52
  "date-fns": "^2.30.0",
45
53
  "i18next": "^22.4.15",
46
54
  "material-react-table": "^1.14.0",
@@ -54,5 +62,5 @@
54
62
  "react": ">=17 <19",
55
63
  "react-dom": ">=17 <19"
56
64
  },
57
- "gitHead": "e59c6f57fab14c9b2f83826558af3a88157b3815"
65
+ "gitHead": "06d0b602d3bf239b43a739dd3a63ec2fb7f0ba01"
58
66
  }
@@ -13,18 +13,18 @@
13
13
  // Part of this has been copied over from @okta/ui-build-tools' own internal node script
14
14
  // https://github.com/okta/ui-build-tools/blob/master/packages/clis/i18n/properties-to-json.js
15
15
 
16
- import { resolve, join, basename, extname } from "node:path";
17
- import {
16
+ const { resolve, join, basename, extname } = require("node:path");
17
+ const {
18
18
  readFileSync,
19
19
  writeFileSync,
20
20
  rmSync,
21
21
  existsSync,
22
22
  mkdirSync,
23
- } from "node:fs";
24
- import properties from "properties";
25
- import readdir from "recursive-readdir";
26
- import yargs from "yargs";
27
- import { hideBin } from "yargs/helpers";
23
+ } = require("node:fs");
24
+ const properties = require("properties");
25
+ const readdir = require("recursive-readdir");
26
+ const yargs = require("yargs");
27
+ const { hideBin } = require("yargs/helpers");
28
28
 
29
29
  const convert = (baseFiles, propertiesTargetDir) => {
30
30
  for (const src of baseFiles) {
@@ -48,6 +48,7 @@ import {
48
48
  WarningFilledIcon,
49
49
  } from "../icons.generated";
50
50
  import { DesignTokens } from "./theme";
51
+ import { CSSProperties } from "react";
51
52
 
52
53
  export const components = (
53
54
  odysseyTokens: DesignTokens
@@ -1451,14 +1452,14 @@ export const components = (
1451
1452
 
1452
1453
  [`&::-webkit-search-cancel-button`]: {
1453
1454
  display: "none",
1454
- "-webkit-appearance": "none",
1455
- "-moz-appearance": "none",
1456
- },
1455
+ MozAppearance: "none",
1456
+ WebkitAppearance: "none",
1457
+ } satisfies CSSProperties,
1457
1458
 
1458
1459
  [`&::-moz-search-cancel-button`]: {
1459
1460
  display: "none",
1460
- "-moz-appearance": "none",
1461
- },
1461
+ MozAppearance: "none",
1462
+ } satisfies CSSProperties,
1462
1463
 
1463
1464
  [`&::-ms-clear`]: {
1464
1465
  display: "none",