@okta/odyssey-react-mui 0.15.1 → 0.15.3
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/CHANGELOG.md +38 -0
- package/README.md +33 -9
- package/dist/Icon.d.ts +28 -0
- package/dist/Icon.d.ts.map +1 -0
- package/dist/{components/Icon/Icon.js → Icon.js} +1 -1
- package/dist/Icon.js.map +1 -0
- package/dist/Link.d.ts +18 -0
- package/dist/Link.d.ts.map +1 -0
- package/dist/{components/Link/Link.js → Link.js} +1 -1
- package/dist/Link.js.map +1 -0
- package/dist/PasswordInput.d.ts +21 -0
- package/dist/PasswordInput.d.ts.map +1 -0
- package/dist/{components/PasswordInput/PasswordInput.js → PasswordInput.js} +4 -4
- package/dist/PasswordInput.js.map +1 -0
- package/dist/ThemeProvider.d.ts +16 -0
- package/dist/ThemeProvider.d.ts.map +1 -0
- package/dist/ThemeProvider.js +24 -0
- package/dist/ThemeProvider.js.map +1 -0
- package/dist/{components/Link/index.d.ts → a11yCheck.d.ts} +3 -2
- package/dist/a11yCheck.d.ts.map +1 -0
- package/dist/a11yCheck.js +26 -0
- package/dist/a11yCheck.js.map +1 -0
- package/dist/{utils/index.d.ts → createUniqueId.d.ts} +3 -2
- package/dist/createUniqueId.d.ts.map +1 -0
- package/dist/{utils/index.js → createUniqueId.js} +3 -2
- package/dist/createUniqueId.js.map +1 -0
- package/dist/iconDictionary/Add.d.ts +16 -0
- package/dist/iconDictionary/Add.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Add.js +0 -0
- package/dist/iconDictionary/Add.js.map +1 -0
- package/dist/iconDictionary/AddCircle.d.ts +16 -0
- package/dist/iconDictionary/AddCircle.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/AddCircle.js +0 -0
- package/dist/iconDictionary/AddCircle.js.map +1 -0
- package/dist/iconDictionary/AlertCircle.d.ts +16 -0
- package/dist/iconDictionary/AlertCircle.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/AlertCircle.js +0 -0
- package/dist/iconDictionary/AlertCircle.js.map +1 -0
- package/dist/iconDictionary/AlertCircleFilled.d.ts +16 -0
- package/dist/iconDictionary/AlertCircleFilled.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/AlertCircleFilled.js +0 -0
- package/dist/iconDictionary/AlertCircleFilled.js.map +1 -0
- package/dist/iconDictionary/AlertTriangleFilled.d.ts +16 -0
- package/dist/iconDictionary/AlertTriangleFilled.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/AlertTriangleFilled.js +0 -0
- package/dist/iconDictionary/AlertTriangleFilled.js.map +1 -0
- package/dist/iconDictionary/Anchor.d.ts +16 -0
- package/dist/iconDictionary/Anchor.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Anchor.js +0 -0
- package/dist/iconDictionary/Anchor.js.map +1 -0
- package/dist/iconDictionary/ArrowDown.d.ts +16 -0
- package/dist/iconDictionary/ArrowDown.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ArrowDown.js +0 -0
- package/dist/iconDictionary/ArrowDown.js.map +1 -0
- package/dist/iconDictionary/ArrowLeft.d.ts +16 -0
- package/dist/iconDictionary/ArrowLeft.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ArrowLeft.js +0 -0
- package/dist/iconDictionary/ArrowLeft.js.map +1 -0
- package/dist/iconDictionary/ArrowRight.d.ts +16 -0
- package/dist/iconDictionary/ArrowRight.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ArrowRight.js +0 -0
- package/dist/iconDictionary/ArrowRight.js.map +1 -0
- package/dist/iconDictionary/ArrowUp.d.ts +16 -0
- package/dist/iconDictionary/ArrowUp.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ArrowUp.js +0 -0
- package/dist/iconDictionary/ArrowUp.js.map +1 -0
- package/dist/iconDictionary/ArrowUpDown.d.ts +16 -0
- package/dist/iconDictionary/ArrowUpDown.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ArrowUpDown.js +0 -0
- package/dist/iconDictionary/ArrowUpDown.js.map +1 -0
- package/dist/iconDictionary/Calendar.d.ts +16 -0
- package/dist/iconDictionary/Calendar.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Calendar.js +0 -0
- package/dist/iconDictionary/Calendar.js.map +1 -0
- package/dist/iconDictionary/Check.d.ts +16 -0
- package/dist/iconDictionary/Check.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Check.js +0 -0
- package/dist/iconDictionary/Check.js.map +1 -0
- package/dist/iconDictionary/CheckCircleFilled.d.ts +16 -0
- package/dist/iconDictionary/CheckCircleFilled.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/CheckCircleFilled.js +0 -0
- package/dist/iconDictionary/CheckCircleFilled.js.map +1 -0
- package/dist/iconDictionary/ChevronDown.d.ts +16 -0
- package/dist/iconDictionary/ChevronDown.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ChevronDown.js +0 -0
- package/dist/iconDictionary/ChevronDown.js.map +1 -0
- package/dist/iconDictionary/ChevronUp.d.ts +16 -0
- package/dist/iconDictionary/ChevronUp.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ChevronUp.js +0 -0
- package/dist/iconDictionary/ChevronUp.js.map +1 -0
- package/dist/iconDictionary/Close.d.ts +16 -0
- package/dist/iconDictionary/Close.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Close.js +0 -0
- package/dist/iconDictionary/Close.js.map +1 -0
- package/dist/iconDictionary/CloseCircleFilled.d.ts +16 -0
- package/dist/iconDictionary/CloseCircleFilled.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/CloseCircleFilled.js +0 -0
- package/dist/iconDictionary/CloseCircleFilled.js.map +1 -0
- package/dist/iconDictionary/Copy.d.ts +16 -0
- package/dist/iconDictionary/Copy.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Copy.js +0 -0
- package/dist/iconDictionary/Copy.js.map +1 -0
- package/dist/iconDictionary/Delete.d.ts +16 -0
- package/dist/iconDictionary/Delete.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Delete.js +0 -0
- package/dist/iconDictionary/Delete.js.map +1 -0
- package/dist/iconDictionary/Download.d.ts +16 -0
- package/dist/iconDictionary/Download.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Download.js +0 -0
- package/dist/iconDictionary/Download.js.map +1 -0
- package/dist/iconDictionary/DragHandle.d.ts +16 -0
- package/dist/iconDictionary/DragHandle.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/DragHandle.js +0 -0
- package/dist/iconDictionary/DragHandle.js.map +1 -0
- package/dist/iconDictionary/Edit.d.ts +16 -0
- package/dist/iconDictionary/Edit.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Edit.js +0 -0
- package/dist/iconDictionary/Edit.js.map +1 -0
- package/dist/iconDictionary/ExternalLink.d.ts +16 -0
- package/dist/iconDictionary/ExternalLink.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/ExternalLink.js +0 -0
- package/dist/iconDictionary/ExternalLink.js.map +1 -0
- package/dist/iconDictionary/Eye.d.ts +16 -0
- package/dist/iconDictionary/Eye.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Eye.js +0 -0
- package/dist/iconDictionary/Eye.js.map +1 -0
- package/dist/iconDictionary/EyeOff.d.ts +16 -0
- package/dist/iconDictionary/EyeOff.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/EyeOff.js +0 -0
- package/dist/iconDictionary/EyeOff.js.map +1 -0
- package/dist/iconDictionary/Filter.d.ts +16 -0
- package/dist/iconDictionary/Filter.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Filter.js +0 -0
- package/dist/iconDictionary/Filter.js.map +1 -0
- package/dist/iconDictionary/Globe.d.ts +16 -0
- package/dist/iconDictionary/Globe.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Globe.js +0 -0
- package/dist/iconDictionary/Globe.js.map +1 -0
- package/dist/iconDictionary/Home.d.ts +16 -0
- package/dist/iconDictionary/Home.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Home.js +0 -0
- package/dist/iconDictionary/Home.js.map +1 -0
- package/dist/iconDictionary/InformationCircle.d.ts +16 -0
- package/dist/iconDictionary/InformationCircle.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/InformationCircle.js +0 -0
- package/dist/iconDictionary/InformationCircle.js.map +1 -0
- package/dist/iconDictionary/InformationCircleFilled.d.ts +16 -0
- package/dist/iconDictionary/InformationCircleFilled.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/InformationCircleFilled.js +0 -0
- package/dist/iconDictionary/InformationCircleFilled.js.map +1 -0
- package/dist/iconDictionary/Notification.d.ts +16 -0
- package/dist/iconDictionary/Notification.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Notification.js +0 -0
- package/dist/iconDictionary/Notification.js.map +1 -0
- package/dist/iconDictionary/OverflowVertical.d.ts +16 -0
- package/dist/iconDictionary/OverflowVertical.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/OverflowVertical.js +0 -0
- package/dist/iconDictionary/OverflowVertical.js.map +1 -0
- package/dist/iconDictionary/QuestionCircle.d.ts +16 -0
- package/dist/iconDictionary/QuestionCircle.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/QuestionCircle.js +0 -0
- package/dist/iconDictionary/QuestionCircle.js.map +1 -0
- package/dist/iconDictionary/QuestionCircleFilled.d.ts +16 -0
- package/dist/iconDictionary/QuestionCircleFilled.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/QuestionCircleFilled.js +0 -0
- package/dist/iconDictionary/QuestionCircleFilled.js.map +1 -0
- package/dist/iconDictionary/Search.d.ts +16 -0
- package/dist/iconDictionary/Search.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Search.js +0 -0
- package/dist/iconDictionary/Search.js.map +1 -0
- package/dist/iconDictionary/Settings.d.ts +16 -0
- package/dist/iconDictionary/Settings.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Settings.js +0 -0
- package/dist/iconDictionary/Settings.js.map +1 -0
- package/dist/iconDictionary/Subtract.d.ts +16 -0
- package/dist/iconDictionary/Subtract.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/Subtract.js +0 -0
- package/dist/iconDictionary/Subtract.js.map +1 -0
- package/dist/{components/Icon → iconDictionary}/SvgIcon.d.ts +0 -0
- package/dist/iconDictionary/SvgIcon.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/SvgIcon.js +0 -0
- package/dist/iconDictionary/SvgIcon.js.map +1 -0
- package/dist/iconDictionary/User.d.ts +16 -0
- package/dist/iconDictionary/User.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/User.js +0 -0
- package/dist/iconDictionary/User.js.map +1 -0
- package/dist/iconDictionary/UserGroup.d.ts +16 -0
- package/dist/iconDictionary/UserGroup.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/UserGroup.js +0 -0
- package/dist/iconDictionary/UserGroup.js.map +1 -0
- package/dist/iconDictionary/index.d.ts +94 -0
- package/dist/iconDictionary/index.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/index.js +0 -1
- package/dist/iconDictionary/index.js.map +1 -0
- package/dist/{components/Icon → iconDictionary}/types.d.ts +0 -0
- package/dist/iconDictionary/types.d.ts.map +1 -0
- package/dist/{components/Icon → iconDictionary}/types.js +0 -0
- package/dist/iconDictionary/types.js.map +1 -0
- package/dist/index.d.ts +14 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/{themes/odyssey → theme}/components.d.ts +0 -0
- package/dist/theme/components.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/components.js +272 -59
- package/dist/theme/components.js.map +1 -0
- package/dist/{themes/odyssey → theme}/components.types.d.ts +5 -0
- package/dist/theme/components.types.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/components.types.js +0 -0
- package/dist/theme/components.types.js.map +1 -0
- package/dist/{themes/odyssey → theme}/index.d.ts +0 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/index.js +0 -0
- package/dist/{components/PasswordInput → theme}/index.js.map +1 -1
- package/dist/{themes/odyssey → theme}/mixins.d.ts +0 -0
- package/dist/theme/mixins.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/mixins.js +0 -0
- package/dist/theme/mixins.js.map +1 -0
- package/dist/{themes/odyssey → theme}/mixins.types.d.ts +0 -0
- package/dist/theme/mixins.types.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/mixins.types.js +0 -0
- package/dist/theme/mixins.types.js.map +1 -0
- package/dist/{themes/odyssey → theme}/palette.d.ts +0 -0
- package/dist/theme/palette.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/palette.js +0 -0
- package/dist/theme/palette.js.map +1 -0
- package/dist/{themes/odyssey → theme}/palette.types.d.ts +0 -0
- package/dist/theme/palette.types.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/palette.types.js +0 -0
- package/dist/theme/palette.types.js.map +1 -0
- package/dist/{themes/odyssey → theme}/shape.d.ts +0 -0
- package/dist/theme/shape.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/shape.js +2 -1
- package/dist/theme/shape.js.map +1 -0
- package/dist/{themes/odyssey → theme}/spacing.d.ts +0 -0
- package/dist/theme/spacing.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/spacing.js +0 -0
- package/dist/theme/spacing.js.map +1 -0
- package/dist/{themes/odyssey → theme}/theme.d.ts +2 -2
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/theme.js +8 -8
- package/dist/theme/theme.js.map +1 -0
- package/dist/{themes/odyssey → theme}/typography.d.ts +0 -0
- package/dist/theme/typography.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/typography.js +6 -6
- package/dist/theme/typography.js.map +1 -0
- package/dist/{themes/odyssey → theme}/typography.types.d.ts +0 -0
- package/dist/theme/typography.types.d.ts.map +1 -0
- package/dist/{themes/odyssey → theme}/typography.types.js +0 -0
- package/dist/theme/typography.types.js.map +1 -0
- package/dist/{components/Link/index.js → useUniqueId.d.ts} +2 -2
- package/dist/useUniqueId.d.ts.map +1 -0
- package/dist/useUniqueId.js +18 -0
- package/dist/useUniqueId.js.map +1 -0
- package/package.json +7 -5
- package/src/{components/Icon/Icon.test.tsx → Icon.test.tsx} +0 -0
- package/src/{components/Icon/Icon.tsx → Icon.tsx} +2 -2
- package/src/{components/Link/Link.tsx → Link.tsx} +1 -1
- package/src/{components/PasswordInput/PasswordInput.test.tsx → PasswordInput.test.tsx} +3 -2
- package/src/{components/PasswordInput/PasswordInput.tsx → PasswordInput.tsx} +4 -4
- package/src/{components/PasswordInput/index.ts → ThemeProvider.tsx} +8 -1
- package/{test → src}/a11yCheck.ts +0 -0
- package/src/{utils/oid.test.ts → createUniqueId.test.ts} +5 -4
- package/src/{utils/index.ts → createUniqueId.ts} +5 -1
- package/src/{components/Icon → iconDictionary}/Add.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/AddCircle.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/AlertCircle.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/AlertCircleFilled.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/AlertTriangleFilled.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Anchor.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ArrowDown.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ArrowLeft.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ArrowRight.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ArrowUp.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ArrowUpDown.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Calendar.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Check.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/CheckCircleFilled.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ChevronDown.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ChevronUp.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Close.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/CloseCircleFilled.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Copy.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Delete.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Download.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/DragHandle.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Edit.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/ExternalLink.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Eye.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/EyeOff.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Filter.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Globe.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Home.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/InformationCircle.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/InformationCircleFilled.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Notification.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/OverflowVertical.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/QuestionCircle.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/QuestionCircleFilled.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Search.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Settings.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/Subtract.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/SvgIcon.ts +0 -0
- package/src/{components/Icon → iconDictionary}/User.tsx +0 -0
- package/src/{components/Icon → iconDictionary}/UserGroup.tsx +0 -0
- package/src/{components/Icon/index.tsx → iconDictionary/index.ts} +0 -2
- package/src/{components/Icon → iconDictionary}/types.ts +0 -0
- package/src/index.ts +97 -2
- package/src/{themes/odyssey → theme}/components.tsx +198 -6
- package/src/{themes/odyssey → theme}/components.types.ts +6 -0
- package/src/{themes/odyssey → theme}/index.ts +0 -0
- package/src/{themes/odyssey → theme}/mixins.ts +0 -0
- package/src/{themes/odyssey → theme}/mixins.types.ts +0 -0
- package/src/{themes/odyssey → theme}/palette.ts +0 -0
- package/src/{themes/odyssey → theme}/palette.types.ts +0 -0
- package/src/theme/shape.ts +24 -0
- package/src/{themes/odyssey → theme}/spacing.ts +0 -0
- package/src/{themes/odyssey → theme}/theme.ts +7 -7
- package/src/{themes/odyssey → theme}/typography.ts +6 -6
- package/src/{themes/odyssey → theme}/typography.types.ts +0 -0
- package/src/{themes/odyssey/shape.ts → useUniqueId.ts} +7 -4
- package/dist/components/Icon/Add.d.ts +0 -16
- package/dist/components/Icon/Add.d.ts.map +0 -1
- package/dist/components/Icon/Add.js.map +0 -1
- package/dist/components/Icon/AddCircle.d.ts +0 -16
- package/dist/components/Icon/AddCircle.d.ts.map +0 -1
- package/dist/components/Icon/AddCircle.js.map +0 -1
- package/dist/components/Icon/AlertCircle.d.ts +0 -16
- package/dist/components/Icon/AlertCircle.d.ts.map +0 -1
- package/dist/components/Icon/AlertCircle.js.map +0 -1
- package/dist/components/Icon/AlertCircleFilled.d.ts +0 -16
- package/dist/components/Icon/AlertCircleFilled.d.ts.map +0 -1
- package/dist/components/Icon/AlertCircleFilled.js.map +0 -1
- package/dist/components/Icon/AlertTriangleFilled.d.ts +0 -16
- package/dist/components/Icon/AlertTriangleFilled.d.ts.map +0 -1
- package/dist/components/Icon/AlertTriangleFilled.js.map +0 -1
- package/dist/components/Icon/Anchor.d.ts +0 -16
- package/dist/components/Icon/Anchor.d.ts.map +0 -1
- package/dist/components/Icon/Anchor.js.map +0 -1
- package/dist/components/Icon/ArrowDown.d.ts +0 -16
- package/dist/components/Icon/ArrowDown.d.ts.map +0 -1
- package/dist/components/Icon/ArrowDown.js.map +0 -1
- package/dist/components/Icon/ArrowLeft.d.ts +0 -16
- package/dist/components/Icon/ArrowLeft.d.ts.map +0 -1
- package/dist/components/Icon/ArrowLeft.js.map +0 -1
- package/dist/components/Icon/ArrowRight.d.ts +0 -16
- package/dist/components/Icon/ArrowRight.d.ts.map +0 -1
- package/dist/components/Icon/ArrowRight.js.map +0 -1
- package/dist/components/Icon/ArrowUp.d.ts +0 -16
- package/dist/components/Icon/ArrowUp.d.ts.map +0 -1
- package/dist/components/Icon/ArrowUp.js.map +0 -1
- package/dist/components/Icon/ArrowUpDown.d.ts +0 -16
- package/dist/components/Icon/ArrowUpDown.d.ts.map +0 -1
- package/dist/components/Icon/ArrowUpDown.js.map +0 -1
- package/dist/components/Icon/Calendar.d.ts +0 -16
- package/dist/components/Icon/Calendar.d.ts.map +0 -1
- package/dist/components/Icon/Calendar.js.map +0 -1
- package/dist/components/Icon/Check.d.ts +0 -16
- package/dist/components/Icon/Check.d.ts.map +0 -1
- package/dist/components/Icon/Check.js.map +0 -1
- package/dist/components/Icon/CheckCircleFilled.d.ts +0 -16
- package/dist/components/Icon/CheckCircleFilled.d.ts.map +0 -1
- package/dist/components/Icon/CheckCircleFilled.js.map +0 -1
- package/dist/components/Icon/ChevronDown.d.ts +0 -16
- package/dist/components/Icon/ChevronDown.d.ts.map +0 -1
- package/dist/components/Icon/ChevronDown.js.map +0 -1
- package/dist/components/Icon/ChevronUp.d.ts +0 -16
- package/dist/components/Icon/ChevronUp.d.ts.map +0 -1
- package/dist/components/Icon/ChevronUp.js.map +0 -1
- package/dist/components/Icon/Close.d.ts +0 -16
- package/dist/components/Icon/Close.d.ts.map +0 -1
- package/dist/components/Icon/Close.js.map +0 -1
- package/dist/components/Icon/CloseCircleFilled.d.ts +0 -16
- package/dist/components/Icon/CloseCircleFilled.d.ts.map +0 -1
- package/dist/components/Icon/CloseCircleFilled.js.map +0 -1
- package/dist/components/Icon/Copy.d.ts +0 -16
- package/dist/components/Icon/Copy.d.ts.map +0 -1
- package/dist/components/Icon/Copy.js.map +0 -1
- package/dist/components/Icon/Delete.d.ts +0 -16
- package/dist/components/Icon/Delete.d.ts.map +0 -1
- package/dist/components/Icon/Delete.js.map +0 -1
- package/dist/components/Icon/Download.d.ts +0 -16
- package/dist/components/Icon/Download.d.ts.map +0 -1
- package/dist/components/Icon/Download.js.map +0 -1
- package/dist/components/Icon/DragHandle.d.ts +0 -16
- package/dist/components/Icon/DragHandle.d.ts.map +0 -1
- package/dist/components/Icon/DragHandle.js.map +0 -1
- package/dist/components/Icon/Edit.d.ts +0 -16
- package/dist/components/Icon/Edit.d.ts.map +0 -1
- package/dist/components/Icon/Edit.js.map +0 -1
- package/dist/components/Icon/ExternalLink.d.ts +0 -16
- package/dist/components/Icon/ExternalLink.d.ts.map +0 -1
- package/dist/components/Icon/ExternalLink.js.map +0 -1
- package/dist/components/Icon/Eye.d.ts +0 -16
- package/dist/components/Icon/Eye.d.ts.map +0 -1
- package/dist/components/Icon/Eye.js.map +0 -1
- package/dist/components/Icon/EyeOff.d.ts +0 -16
- package/dist/components/Icon/EyeOff.d.ts.map +0 -1
- package/dist/components/Icon/EyeOff.js.map +0 -1
- package/dist/components/Icon/Filter.d.ts +0 -16
- package/dist/components/Icon/Filter.d.ts.map +0 -1
- package/dist/components/Icon/Filter.js.map +0 -1
- package/dist/components/Icon/Globe.d.ts +0 -16
- package/dist/components/Icon/Globe.d.ts.map +0 -1
- package/dist/components/Icon/Globe.js.map +0 -1
- package/dist/components/Icon/Home.d.ts +0 -16
- package/dist/components/Icon/Home.d.ts.map +0 -1
- package/dist/components/Icon/Home.js.map +0 -1
- package/dist/components/Icon/Icon.d.ts +0 -28
- package/dist/components/Icon/Icon.d.ts.map +0 -1
- package/dist/components/Icon/Icon.js.map +0 -1
- package/dist/components/Icon/InformationCircle.d.ts +0 -16
- package/dist/components/Icon/InformationCircle.d.ts.map +0 -1
- package/dist/components/Icon/InformationCircle.js.map +0 -1
- package/dist/components/Icon/InformationCircleFilled.d.ts +0 -16
- package/dist/components/Icon/InformationCircleFilled.d.ts.map +0 -1
- package/dist/components/Icon/InformationCircleFilled.js.map +0 -1
- package/dist/components/Icon/Notification.d.ts +0 -16
- package/dist/components/Icon/Notification.d.ts.map +0 -1
- package/dist/components/Icon/Notification.js.map +0 -1
- package/dist/components/Icon/OverflowVertical.d.ts +0 -16
- package/dist/components/Icon/OverflowVertical.d.ts.map +0 -1
- package/dist/components/Icon/OverflowVertical.js.map +0 -1
- package/dist/components/Icon/QuestionCircle.d.ts +0 -16
- package/dist/components/Icon/QuestionCircle.d.ts.map +0 -1
- package/dist/components/Icon/QuestionCircle.js.map +0 -1
- package/dist/components/Icon/QuestionCircleFilled.d.ts +0 -16
- package/dist/components/Icon/QuestionCircleFilled.d.ts.map +0 -1
- package/dist/components/Icon/QuestionCircleFilled.js.map +0 -1
- package/dist/components/Icon/Search.d.ts +0 -16
- package/dist/components/Icon/Search.d.ts.map +0 -1
- package/dist/components/Icon/Search.js.map +0 -1
- package/dist/components/Icon/Settings.d.ts +0 -16
- package/dist/components/Icon/Settings.d.ts.map +0 -1
- package/dist/components/Icon/Settings.js.map +0 -1
- package/dist/components/Icon/Subtract.d.ts +0 -16
- package/dist/components/Icon/Subtract.d.ts.map +0 -1
- package/dist/components/Icon/Subtract.js.map +0 -1
- package/dist/components/Icon/SvgIcon.d.ts.map +0 -1
- package/dist/components/Icon/SvgIcon.js.map +0 -1
- package/dist/components/Icon/User.d.ts +0 -16
- package/dist/components/Icon/User.d.ts.map +0 -1
- package/dist/components/Icon/User.js.map +0 -1
- package/dist/components/Icon/UserGroup.d.ts +0 -16
- package/dist/components/Icon/UserGroup.d.ts.map +0 -1
- package/dist/components/Icon/UserGroup.js.map +0 -1
- package/dist/components/Icon/index.d.ts +0 -95
- package/dist/components/Icon/index.d.ts.map +0 -1
- package/dist/components/Icon/index.js.map +0 -1
- package/dist/components/Icon/types.d.ts.map +0 -1
- package/dist/components/Icon/types.js.map +0 -1
- package/dist/components/Link/Link.d.ts +0 -18
- package/dist/components/Link/Link.d.ts.map +0 -1
- package/dist/components/Link/Link.js.map +0 -1
- package/dist/components/Link/index.d.ts.map +0 -1
- package/dist/components/Link/index.js.map +0 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -21
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +0 -1
- package/dist/components/PasswordInput/PasswordInput.js.map +0 -1
- package/dist/components/PasswordInput/index.d.ts +0 -13
- package/dist/components/PasswordInput/index.d.ts.map +0 -1
- package/dist/components/PasswordInput/index.js +0 -13
- package/dist/components/index.d.ts +0 -15
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -15
- package/dist/components/index.js.map +0 -1
- package/dist/themes/index.d.ts +0 -13
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/index.js +0 -13
- package/dist/themes/index.js.map +0 -1
- package/dist/themes/odyssey/components.d.ts.map +0 -1
- package/dist/themes/odyssey/components.js.map +0 -1
- package/dist/themes/odyssey/components.types.d.ts.map +0 -1
- package/dist/themes/odyssey/components.types.js.map +0 -1
- package/dist/themes/odyssey/index.d.ts.map +0 -1
- package/dist/themes/odyssey/index.js.map +0 -1
- package/dist/themes/odyssey/mixins.d.ts.map +0 -1
- package/dist/themes/odyssey/mixins.js.map +0 -1
- package/dist/themes/odyssey/mixins.types.d.ts.map +0 -1
- package/dist/themes/odyssey/mixins.types.js.map +0 -1
- package/dist/themes/odyssey/palette.d.ts.map +0 -1
- package/dist/themes/odyssey/palette.js.map +0 -1
- package/dist/themes/odyssey/palette.types.d.ts.map +0 -1
- package/dist/themes/odyssey/palette.types.js.map +0 -1
- package/dist/themes/odyssey/shape.d.ts.map +0 -1
- package/dist/themes/odyssey/shape.js.map +0 -1
- package/dist/themes/odyssey/spacing.d.ts.map +0 -1
- package/dist/themes/odyssey/spacing.js.map +0 -1
- package/dist/themes/odyssey/theme.d.ts.map +0 -1
- package/dist/themes/odyssey/theme.js.map +0 -1
- package/dist/themes/odyssey/typography.d.ts.map +0 -1
- package/dist/themes/odyssey/typography.js.map +0 -1
- package/dist/themes/odyssey/typography.types.d.ts.map +0 -1
- package/dist/themes/odyssey/typography.types.js.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/oid.d.ts +0 -15
- package/dist/utils/oid.d.ts.map +0 -1
- package/dist/utils/oid.js +0 -20
- package/dist/utils/oid.js.map +0 -1
- package/src/components/Link/index.tsx +0 -13
- package/src/components/index.ts +0 -15
- package/src/themes/index.ts +0 -13
- package/src/utils/oid.ts +0 -22
- package/test/index.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.15.3](https://github.com/okta/odyssey/compare/v0.15.2...v0.15.3) (2022-10-20)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **odyssey-react-mui:** add styles and exports for Dialog ([f8b392b](https://github.com/okta/odyssey/commit/f8b392b66e95c905a72542fc128929f08ae4abf9))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- added missing `theme` export ([59ecdbf](https://github.com/okta/odyssey/commit/59ecdbf749057f33814c6742ebb9506a67dfa792))
|
|
15
|
+
- broken imports in odyssey-react-mui after flattening ([1fbdfb9](https://github.com/okta/odyssey/commit/1fbdfb9aeeb33d7e45ec9b2e62d0d85d04d848fa))
|
|
16
|
+
- flattened odyssey-react-mui for better DX ([305eeab](https://github.com/okta/odyssey/commit/305eeab37a7ba47fe1a9866ccab71e5e7a918a30))
|
|
17
|
+
|
|
18
|
+
### [0.15.2](https://github.com/okta/odyssey/compare/v0.15.1...v0.15.2) (2022-10-13)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
- added @mui/lab ([379a077](https://github.com/okta/odyssey/commit/379a077c82ed4c020d75b07a5d0d66b60b7c319e))
|
|
23
|
+
- exported useUniqueId and createUniqueId ([79448f4](https://github.com/okta/odyssey/commit/79448f4281cb0594c789ce9ab86c67704f82afe8))
|
|
24
|
+
- **odyssey-react-mui:** add per-corner borderRadius support for Tooltip ([069fa02](https://github.com/okta/odyssey/commit/069fa02d06560656071306a18427400bb3b2a1e4))
|
|
25
|
+
- **odyssey-react-mui:** add theme for Tooltip ([96092ec](https://github.com/okta/odyssey/commit/96092ecb46981ab750a87184c8aa0133151de7f3))
|
|
26
|
+
- **odyssey-react-mui:** import Labs types, add styling for TabPanel ([992bf14](https://github.com/okta/odyssey/commit/992bf1475fa34e5b93547738f76e7dda4d1a20bc))
|
|
27
|
+
- re-exported MUI components as Odyssey MUI components ([3d97a5b](https://github.com/okta/odyssey/commit/3d97a5b72d3bff474a1e1a1e3f7545b53bd0c247))
|
|
28
|
+
- updated exports and stories to use new Tabs API from @mui/lab ([18b9739](https://github.com/okta/odyssey/commit/18b9739fcd5691dbd89a9d17df19cb53cb083343))
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
- added missing component props from MUI, utils, and one icon ([e105118](https://github.com/okta/odyssey/commit/e1051181c4d737d4761a521452c9208db8246794))
|
|
33
|
+
- added missing exports from @mui/material ([31e7348](https://github.com/okta/odyssey/commit/31e7348de0f5f6e6dd40ff3951cf796ad7bb2e4d))
|
|
34
|
+
- added missing Tooltip import ([6229d7f](https://github.com/okta/odyssey/commit/6229d7f2a5bd750d05e969789eb4dc8006d8640f))
|
|
35
|
+
- added missing useTheme export ([ae28864](https://github.com/okta/odyssey/commit/ae288641e714063bfb11bd743a15bcf5b168007a))
|
|
36
|
+
- added MuiThemeProvider as an out from Odyssey ([bbcc4ae](https://github.com/okta/odyssey/commit/bbcc4aede21c59707e9ba07e2e2ddcac9c54eddd))
|
|
37
|
+
- exported more MUI components ([8f09257](https://github.com/okta/odyssey/commit/8f092571c7654adad830fe974e283f02d12b8f71))
|
|
38
|
+
- link icon wasn't optional ([567da0c](https://github.com/okta/odyssey/commit/567da0c0bfffe45623e12d7ae37635bd04d86de0))
|
|
39
|
+
- **odyssey-react-mui:** ensure font weights are typed as numbers ([ee7c9a8](https://github.com/okta/odyssey/commit/ee7c9a88881f96c169f4f4ab203ab2148deead77))
|
|
40
|
+
- **odyssey-react-mui:** fix bg color on table row hover ([b8371c2](https://github.com/okta/odyssey/commit/b8371c272ec013630a1cf8fbd96d9ff004cc51c2))
|
|
41
|
+
- **odyssey-react-mui:** strip units from borderRadiusBase ([267d82a](https://github.com/okta/odyssey/commit/267d82a3d183ddbfda11e3774fca687bfbf1adaa))
|
|
42
|
+
- password input wasn't using useUniqueId ([cf9435c](https://github.com/okta/odyssey/commit/cf9435c7f1402595bd5bb53571726f210445c723))
|
|
43
|
+
|
|
6
44
|
### [0.15.1](https://github.com/okta/odyssey/compare/v0.15.0...v0.15.1) (2022-10-06)
|
|
7
45
|
|
|
8
46
|
### Features
|
package/README.md
CHANGED
|
@@ -47,11 +47,36 @@ import { PasswordInput } from "@okta/odyssey-react-mui";
|
|
|
47
47
|
Add the Material-UI `ThemeProvider` around your whole app:
|
|
48
48
|
|
|
49
49
|
```jsx
|
|
50
|
-
import { ThemeProvider } from "@mui
|
|
51
|
-
|
|
50
|
+
import { ThemeProvider } from "@okta/odyssey-react-mui";
|
|
51
|
+
|
|
52
|
+
const YourAppRoot = ({ children }) => <ThemeProvider>{children}</ThemeProvider>;
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Add Material-UI components not exported from Odyssey with Odyssey styling:
|
|
56
|
+
|
|
57
|
+
```jsx
|
|
58
|
+
import { ThemeProvider as MuiThemeProvider } from "@mui/material/styles";
|
|
59
|
+
import { odysseyTheme, ThemeProvider } from "@okta/odyssey-react-mui";
|
|
60
|
+
|
|
61
|
+
const YourAppRoot = ({ children }) => (
|
|
62
|
+
<MuiThemeProvider theme={odysseyTheme}>
|
|
63
|
+
<ThemeProvider>{children}</ThemeProvider>
|
|
64
|
+
</MuiThemeProvider>
|
|
65
|
+
);
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Add your own theme to MUI (does not affect Odyssey components):
|
|
69
|
+
|
|
70
|
+
```jsx
|
|
71
|
+
import { ThemeProvider as MuiThemeProvider } from "@mui/material/styles";
|
|
72
|
+
import { ThemeProvider } from "@okta/odyssey-react-mui";
|
|
73
|
+
|
|
74
|
+
import { myMaterialUiTheme } from "./myMaterialUiTheme";
|
|
52
75
|
|
|
53
76
|
const YourAppRoot = ({ children }) => (
|
|
54
|
-
<
|
|
77
|
+
<MuiThemeProvider theme={myMaterialUiTheme}>
|
|
78
|
+
<ThemeProvider>{children}</ThemeProvider>
|
|
79
|
+
</MuiThemeProvider>
|
|
55
80
|
);
|
|
56
81
|
```
|
|
57
82
|
|
|
@@ -62,14 +87,13 @@ It’s possible to have 2 versions of Odyssey running at the same time, so when
|
|
|
62
87
|
This is how you setup two `ThemeProvider`s like so:
|
|
63
88
|
|
|
64
89
|
```jsx
|
|
65
|
-
import { ThemeProvider as
|
|
66
|
-
import {
|
|
67
|
-
import { ThemeProvider } from "@okta/odyssey-react-theme";
|
|
90
|
+
import { ThemeProvider as OdysseyMuiThemeProvider } from "@okta/odyssey-react-mui";
|
|
91
|
+
import { ThemeProvider as OdysseyLegacyThemeProvider } from "@okta/odyssey-react-theme";
|
|
68
92
|
|
|
69
93
|
const YourAppRoot = ({ children }) => (
|
|
70
|
-
<
|
|
71
|
-
<
|
|
72
|
-
</
|
|
94
|
+
<OdysseyMuiThemeProvider>
|
|
95
|
+
<OdysseyLegacyThemeProvider>{children}</OdysseyLegacyThemeProvider>
|
|
96
|
+
</OdysseyMuiThemeProvider>
|
|
73
97
|
);
|
|
74
98
|
```
|
|
75
99
|
|
package/dist/Icon.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
/// <reference types="react" />
|
|
13
|
+
import type { SvgIconNoChildrenProps } from "./iconDictionary/types";
|
|
14
|
+
import { iconDictionary } from "./iconDictionary";
|
|
15
|
+
export interface IconProps extends SvgIconNoChildrenProps {
|
|
16
|
+
/**
|
|
17
|
+
* Name of the icon to render
|
|
18
|
+
*/
|
|
19
|
+
name: keyof typeof iconDictionary;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A system of icons which establishes a visual language
|
|
23
|
+
* that can be easily understood regardless of age, language or culture.
|
|
24
|
+
* This component includes all icon data as static imports. Favor individual
|
|
25
|
+
* icon component imports where possible to keep your bundle size smaller.
|
|
26
|
+
*/
|
|
27
|
+
export declare const Icon: import("react").ForwardRefExoticComponent<Pick<IconProps, "string" | "className" | "style" | "classes" | "children" | "color" | "fontSize" | "htmlColor" | "inheritViewBox" | "shapeRendering" | "sx" | "titleAccess" | "viewBox" | "clipPath" | "filter" | "mask" | "path" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
28
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,SAAU,SAAQ,sBAAsB;IACvD;;OAEG;IACH,IAAI,EAAE,MAAM,OAAO,cAAc,CAAC;CACnC;AAED;;;;;GAKG;AACH,eAAO,MAAM,IAAI,ipPAQhB,CAAC"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { forwardRef } from "react";
|
|
13
|
-
import { iconDictionary } from "./index.js";
|
|
13
|
+
import { iconDictionary } from "./iconDictionary/index.js";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
export const Icon = forwardRef((_ref, ref) => {
|
|
16
16
|
let {
|
package/dist/Icon.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.js","names":["forwardRef","iconDictionary","Icon","ref","name","titleAccess","rest","NamedIcon","displayName"],"sources":["../src/Icon.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { forwardRef } from \"react\";\nimport type { SvgIconNoChildrenProps } from \"./iconDictionary/types\";\nimport { iconDictionary } from \"./iconDictionary\";\n\nexport interface IconProps extends SvgIconNoChildrenProps {\n /**\n * Name of the icon to render\n */\n name: keyof typeof iconDictionary;\n}\n\n/**\n * A system of icons which establishes a visual language\n * that can be easily understood regardless of age, language or culture.\n * This component includes all icon data as static imports. Favor individual\n * icon component imports where possible to keep your bundle size smaller.\n */\nexport const Icon = forwardRef<SVGSVGElement, IconProps>(\n ({ name, titleAccess, ...rest }, ref) => {\n if (!(name in iconDictionary)) return null;\n\n const NamedIcon = iconDictionary[name];\n\n return <NamedIcon titleAccess={titleAccess} ref={ref} {...rest} />;\n }\n);\n\nIcon.displayName = \"Icon\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,UAAT,QAA2B,OAA3B;SAESC,c;;AAeT,OAAO,MAAMC,IAAI,GAAGF,UAAU,CAC5B,OAAiCG,GAAjC,KAAyC;EAAA,IAAxC;IAAEC,IAAF;IAAQC,WAAR;IAAqB,GAAGC;EAAxB,CAAwC;EACvC,IAAI,EAAEF,IAAI,IAAIH,cAAV,CAAJ,EAA+B,OAAO,IAAP;EAE/B,MAAMM,SAAS,GAAGN,cAAc,CAACG,IAAD,CAAhC;EAEA,OAAO,KAAC,SAAD;IAAW,WAAW,EAAEC,WAAxB;IAAqC,GAAG,EAAEF,GAA1C;IAAA,GAAmDG;EAAnD,EAAP;AACD,CAP2B,CAAvB;AAUPJ,IAAI,CAACM,WAAL,GAAmB,MAAnB"}
|
package/dist/Link.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import { ReactElement } from "react";
|
|
13
|
+
import type { LinkProps as MuiLinkProps } from "@mui/material";
|
|
14
|
+
export interface LinkProps extends MuiLinkProps {
|
|
15
|
+
icon?: ReactElement;
|
|
16
|
+
}
|
|
17
|
+
export declare const Link: import("react").ForwardRefExoticComponent<Pick<LinkProps, "className" | "style" | "classes" | "children" | "color" | "fontSize" | "sx" | "p" | "slot" | "title" | "height" | "id" | "lang" | "media" | "target" | "type" | "width" | "role" | "tabIndex" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "href" | "letterSpacing" | "order" | "overflow" | "visibility" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "align" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "underline" | "icon" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "TypographyClasses"> & import("react").RefAttributes<HTMLAnchorElement | HTMLLinkElement>>;
|
|
18
|
+
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAc,YAAY,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,eAAO,MAAM,IAAI,qhMAsBhB,CAAC"}
|
|
@@ -22,7 +22,7 @@ export const Link = forwardRef(props => {
|
|
|
22
22
|
target
|
|
23
23
|
} = props;
|
|
24
24
|
return _jsxs(_Link, { ...props,
|
|
25
|
-
children: [_jsx("span", {
|
|
25
|
+
children: [icon && _jsx("span", {
|
|
26
26
|
className: "Link-icon",
|
|
27
27
|
children: icon
|
|
28
28
|
}), children, target === "_blank" && _jsx("span", {
|
package/dist/Link.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.js","names":["forwardRef","Link","props","icon","children","target"],"sources":["../src/Link.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { forwardRef, ReactElement } from \"react\";\n\nimport { Link as MuiLink, SvgIcon } from \"@mui/material\";\nimport type { LinkProps as MuiLinkProps } from \"@mui/material\";\n\nexport interface LinkProps extends MuiLinkProps {\n icon?: ReactElement;\n}\n\nexport const Link = forwardRef<HTMLLinkElement | HTMLAnchorElement, LinkProps>(\n (props) => {\n const { icon, children, target } = props;\n return (\n <MuiLink {...props}>\n {icon && <span className=\"Link-icon\">{icon}</span>}\n {children}\n {target === \"_blank\" && (\n <span className=\"Link-indicator\" role=\"presentation\">\n <SvgIcon viewBox=\"0 0 16 16\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M13.2929 2H7.99998V1H14.5C14.7761 1 15 1.22386 15 1.5V8H14V2.70711L6.35353 10.3536L5.64642 9.64645L13.2929 2ZM1.5 4H1V4.5V14.5V15H1.5H11.5H12V14.5V8H11V14H2V5H8V4H1.5Z\"\n fill=\"currentColor\"\n />\n </SvgIcon>\n </span>\n )}\n </MuiLink>\n );\n }\n);\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,UAAT,QAAyC,OAAzC;;;AASA,OAAO,MAAMC,IAAI,GAAGD,UAAU,CAC3BE,KAAD,IAAW;EACT,MAAM;IAAEC,IAAF;IAAQC,QAAR;IAAkBC;EAAlB,IAA6BH,KAAnC;EACA,OACE,kBAAaA,KAAb;IAAA,WACGC,IAAI,IAAI;MAAM,SAAS,EAAC,WAAhB;MAAA,UAA6BA;IAA7B,EADX,EAEGC,QAFH,EAGGC,MAAM,KAAK,QAAX,IACC;MAAM,SAAS,EAAC,gBAAhB;MAAiC,IAAI,EAAC,cAAtC;MAAA,UACE;QAAS,OAAO,EAAC,WAAjB;QAAA,UACE;UACE,QAAQ,EAAC,SADX;UAEE,QAAQ,EAAC,SAFX;UAGE,CAAC,EAAC,yKAHJ;UAIE,IAAI,EAAC;QAJP;MADF;IADF,EAJJ;EAAA,EADF;AAkBD,CArB2B,CAAvB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import type { Ref } from "react";
|
|
13
|
+
import type { OutlinedInputProps, TooltipProps } from "@mui/material";
|
|
14
|
+
export interface PasswordInputProps extends Omit<OutlinedInputProps, "type" | "label" | "defaultValue" | "ref"> {
|
|
15
|
+
ref?: Ref<HTMLInputElement>;
|
|
16
|
+
defaultValue?: string;
|
|
17
|
+
label: string;
|
|
18
|
+
tooltipLabel?: TooltipProps["title"] | ((isHidden: boolean) => TooltipProps["title"]);
|
|
19
|
+
}
|
|
20
|
+
export declare const PasswordInput: import("react").ForwardRefExoticComponent<Pick<PasswordInputProps, "className" | "style" | "classes" | "color" | "sx" | "label" | "slot" | "title" | "id" | "lang" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "value" | "autoComplete" | "readOnly" | "required" | "size" | "rows" | "error" | "margin" | "components" | "componentsProps" | "disableInjectingGlobalStyles" | "endAdornment" | "fullWidth" | "inputComponent" | "inputProps" | "inputRef" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "notched" | "tooltipLabel"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
21
|
+
//# sourceMappingURL=PasswordInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../src/PasswordInput.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,GAAG,EAA2B,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAiBtE,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,OAAO,GAAG,cAAc,GAAG,KAAK,CAAC;IAC3E,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EACT,YAAY,CAAC,OAAO,CAAC,GACrB,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;CACpD;AAED,eAAO,MAAM,aAAa,8+JAqEzB,CAAC"}
|
|
@@ -19,7 +19,7 @@ import _InputLabel from "@mui/material/InputLabel";
|
|
|
19
19
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
20
20
|
*/
|
|
21
21
|
import { forwardRef, useState, useMemo } from "react";
|
|
22
|
-
import {
|
|
22
|
+
import { useUniqueId } from "./useUniqueId.js";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
export const PasswordInput = forwardRef((props, ref) => {
|
|
@@ -56,13 +56,13 @@ export const PasswordInput = forwardRef((props, ref) => {
|
|
|
56
56
|
const tooltipTitle = useMemo(() => {
|
|
57
57
|
return typeof tooltipLabel === "function" ? tooltipLabel(values.showPassword === false) : tooltipLabel;
|
|
58
58
|
}, [values, tooltipLabel]);
|
|
59
|
-
const
|
|
59
|
+
const uniqueId = useUniqueId(id);
|
|
60
60
|
return _jsxs(_Box, {
|
|
61
61
|
children: [_jsx(_InputLabel, {
|
|
62
|
-
htmlFor:
|
|
62
|
+
htmlFor: uniqueId,
|
|
63
63
|
children: label
|
|
64
64
|
}), _jsx(_OutlinedInput, { ...rest,
|
|
65
|
-
id:
|
|
65
|
+
id: uniqueId,
|
|
66
66
|
inputProps: inputProps,
|
|
67
67
|
inputRef: ref,
|
|
68
68
|
onChange: handlePasswordChange,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordInput.js","names":["forwardRef","useState","useMemo","useUniqueId","PasswordInput","props","ref","tooltipLabel","id","label","defaultValue","password","inputProps","rest","values","setValues","showPassword","handlePasswordChange","event","target","value","onChange","handleClickShowPassword","handleMouseDownPassword","preventDefault","tooltipTitle","uniqueId"],"sources":["../src/PasswordInput.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { forwardRef, useState, useMemo } from \"react\";\nimport type { Ref, ChangeEvent, MouseEvent } from \"react\";\nimport type { OutlinedInputProps, TooltipProps } from \"@mui/material\";\nimport {\n Tooltip,\n IconButton,\n Box,\n InputLabel,\n OutlinedInput,\n InputAdornment,\n} from \"@mui/material\";\nimport { Visibility, VisibilityOff } from \"@mui/icons-material\";\nimport { useUniqueId } from \"./useUniqueId\";\n\ninterface State {\n password: string;\n showPassword: boolean;\n}\n\nexport interface PasswordInputProps\n extends Omit<OutlinedInputProps, \"type\" | \"label\" | \"defaultValue\" | \"ref\"> {\n ref?: Ref<HTMLInputElement>;\n defaultValue?: string;\n label: string;\n tooltipLabel?:\n | TooltipProps[\"title\"]\n | ((isHidden: boolean) => TooltipProps[\"title\"]);\n}\n\nexport const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>(\n (props, ref) => {\n const {\n tooltipLabel,\n id,\n label,\n defaultValue: password = \"\",\n inputProps,\n ...rest\n } = props;\n\n const [values, setValues] = useState<State>({\n password,\n showPassword: false,\n });\n\n const handlePasswordChange = (event: ChangeEvent<HTMLInputElement>) => {\n setValues({ ...values, password: event.target.value });\n props.onChange?.(event);\n };\n\n const handleClickShowPassword = () => {\n setValues({\n ...values,\n showPassword: !values.showPassword,\n });\n };\n\n const handleMouseDownPassword = (event: MouseEvent<HTMLButtonElement>) => {\n event.preventDefault();\n };\n\n const tooltipTitle = useMemo(() => {\n return typeof tooltipLabel === \"function\"\n ? tooltipLabel(values.showPassword === false)\n : tooltipLabel;\n }, [values, tooltipLabel]);\n\n const uniqueId = useUniqueId(id);\n\n return (\n <Box>\n <InputLabel htmlFor={uniqueId}>{label}</InputLabel>\n <OutlinedInput\n {...rest}\n id={uniqueId}\n inputProps={inputProps}\n inputRef={ref}\n onChange={handlePasswordChange}\n type={values.showPassword ? \"text\" : \"password\"}\n value={values.password}\n endAdornment={\n <InputAdornment position=\"end\">\n <Tooltip title={tooltipTitle}>\n <IconButton\n aria-label=\"toggle password visibility\"\n onClick={handleClickShowPassword}\n onMouseDown={handleMouseDownPassword}\n edge=\"end\"\n >\n {values.showPassword ? <VisibilityOff /> : <Visibility />}\n </IconButton>\n </Tooltip>\n </InputAdornment>\n }\n />\n </Box>\n );\n }\n);\n"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,UAAT,EAAqBC,QAArB,EAA+BC,OAA/B,QAA8C,OAA9C;SAYSC,W;;;AAiBT,OAAO,MAAMC,aAAa,GAAGJ,UAAU,CACrC,CAACK,KAAD,EAAQC,GAAR,KAAgB;EACd,MAAM;IACJC,YADI;IAEJC,EAFI;IAGJC,KAHI;IAIJC,YAAY,EAAEC,QAAQ,GAAG,EAJrB;IAKJC,UALI;IAMJ,GAAGC;EANC,IAOFR,KAPJ;EASA,MAAM,CAACS,MAAD,EAASC,SAAT,IAAsBd,QAAQ,CAAQ;IAC1CU,QAD0C;IAE1CK,YAAY,EAAE;EAF4B,CAAR,CAApC;;EAKA,MAAMC,oBAAoB,GAAIC,KAAD,IAA0C;IACrEH,SAAS,CAAC,EAAE,GAAGD,MAAL;MAAaH,QAAQ,EAAEO,KAAK,CAACC,MAAN,CAAaC;IAApC,CAAD,CAAT;IACAf,KAAK,CAACgB,QAAN,GAAiBH,KAAjB;EACD,CAHD;;EAKA,MAAMI,uBAAuB,GAAG,MAAM;IACpCP,SAAS,CAAC,EACR,GAAGD,MADK;MAERE,YAAY,EAAE,CAACF,MAAM,CAACE;IAFd,CAAD,CAAT;EAID,CALD;;EAOA,MAAMO,uBAAuB,GAAIL,KAAD,IAA0C;IACxEA,KAAK,CAACM,cAAN;EACD,CAFD;;EAIA,MAAMC,YAAY,GAAGvB,OAAO,CAAC,MAAM;IACjC,OAAO,OAAOK,YAAP,KAAwB,UAAxB,GACHA,YAAY,CAACO,MAAM,CAACE,YAAP,KAAwB,KAAzB,CADT,GAEHT,YAFJ;EAGD,CAJ2B,EAIzB,CAACO,MAAD,EAASP,YAAT,CAJyB,CAA5B;EAMA,MAAMmB,QAAQ,GAAGvB,WAAW,CAACK,EAAD,CAA5B;EAEA,OACE;IAAA,WACE;MAAY,OAAO,EAAEkB,QAArB;MAAA,UAAgCjB;IAAhC,EADF,EAEE,0BACMI,IADN;MAEE,EAAE,EAAEa,QAFN;MAGE,UAAU,EAAEd,UAHd;MAIE,QAAQ,EAAEN,GAJZ;MAKE,QAAQ,EAAEW,oBALZ;MAME,IAAI,EAAEH,MAAM,CAACE,YAAP,GAAsB,MAAtB,GAA+B,UANvC;MAOE,KAAK,EAAEF,MAAM,CAACH,QAPhB;MAQE,YAAY,EACV;QAAgB,QAAQ,EAAC,KAAzB;QAAA,UACE;UAAS,KAAK,EAAEc,YAAhB;UAAA,UACE;YACE,cAAW,4BADb;YAEE,OAAO,EAAEH,uBAFX;YAGE,WAAW,EAAEC,uBAHf;YAIE,IAAI,EAAC,KAJP;YAAA,UAMGT,MAAM,CAACE,YAAP,GAAsB,wBAAtB,GAA0C;UAN7C;QADF;MADF;IATJ,EAFF;EAAA,EADF;AA4BD,CApEoC,CAAhC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import { ReactElement } from "react";
|
|
13
|
+
export declare const ThemeProvider: ({ children }: {
|
|
14
|
+
children: ReactElement;
|
|
15
|
+
}) => JSX.Element;
|
|
16
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIrC,eAAO,MAAM,aAAa;cAA8B,YAAY;iBAEnE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import { ThemeProvider as MuiThemeProvider } from "@mui/material/styles";
|
|
13
|
+
import { odysseyTheme } from "./theme/index.js";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
export const ThemeProvider = _ref => {
|
|
16
|
+
let {
|
|
17
|
+
children
|
|
18
|
+
} = _ref;
|
|
19
|
+
return _jsx(MuiThemeProvider, {
|
|
20
|
+
theme: odysseyTheme,
|
|
21
|
+
children: children
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.js","names":["ThemeProvider","MuiThemeProvider","odysseyTheme","children"],"sources":["../src/ThemeProvider.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { ThemeProvider as MuiThemeProvider } from \"@mui/material/styles\";\nimport { ReactElement } from \"react\";\n\nimport { odysseyTheme } from \"./theme\";\n\nexport const ThemeProvider = ({ children }: { children: ReactElement }) => (\n <MuiThemeProvider theme={odysseyTheme}>{children}</MuiThemeProvider>\n);\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,aAAa,IAAIC,gBAA1B,QAAkD,sBAAlD;SAGSC,Y;;AAET,OAAO,MAAMF,aAAa,GAAG;EAAA,IAAC;IAAEG;EAAF,CAAD;EAAA,OAC3B,KAAC,gBAAD;IAAkB,KAAK,EAAED,YAAzB;IAAA,UAAwCC;EAAxC,EAD2B;AAAA,CAAtB"}
|
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
import type { RenderResult } from "@testing-library/react";
|
|
13
|
+
export declare const a11yCheck: (renderFn: () => RenderResult) => void;
|
|
14
|
+
//# sourceMappingURL=a11yCheck.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a11yCheck.d.ts","sourceRoot":"","sources":["../src/a11yCheck.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAI3D,eAAO,MAAM,SAAS,aAAc,MAAM,YAAY,KAAG,IAWxD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import { axe } from "jest-axe";
|
|
13
|
+
export const a11yCheck = renderFn => {
|
|
14
|
+
describe("accessibility", () => {
|
|
15
|
+
it("meets WCAG 2.1 AA criteria", async () => {
|
|
16
|
+
const {
|
|
17
|
+
container
|
|
18
|
+
} = renderFn();
|
|
19
|
+
const results = await axe(container, {
|
|
20
|
+
runOnly: ["section508", "wcag21a", "wcag21aa"]
|
|
21
|
+
});
|
|
22
|
+
expect(results).toHaveNoViolations();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=a11yCheck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a11yCheck.js","names":["axe","a11yCheck","renderFn","describe","it","container","results","runOnly","expect","toHaveNoViolations"],"sources":["../src/a11yCheck.ts"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { RenderResult } from \"@testing-library/react\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { axe } from \"jest-axe\";\n\nexport const a11yCheck = (renderFn: () => RenderResult): void => {\n describe(\"accessibility\", () => {\n it(\"meets WCAG 2.1 AA criteria\", async () => {\n const { container } = renderFn();\n const results = await axe(container, {\n runOnly: [\"section508\", \"wcag21a\", \"wcag21aa\"],\n });\n\n expect(results).toHaveNoViolations();\n });\n });\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA,SAASA,GAAT,QAAoB,UAApB;AAEA,OAAO,MAAMC,SAAS,GAAIC,QAAD,IAAwC;EAC/DC,QAAQ,CAAC,eAAD,EAAkB,MAAM;IAC9BC,EAAE,CAAC,4BAAD,EAA+B,YAAY;MAC3C,MAAM;QAAEC;MAAF,IAAgBH,QAAQ,EAA9B;MACA,MAAMI,OAAO,GAAG,MAAMN,GAAG,CAACK,SAAD,EAAY;QACnCE,OAAO,EAAE,CAAC,YAAD,EAAe,SAAf,EAA0B,UAA1B;MAD0B,CAAZ,CAAzB;MAIAC,MAAM,CAACF,OAAD,CAAN,CAAgBG,kBAAhB;IACD,CAPC,CAAF;EAQD,CATO,CAAR;AAUD,CAXM"}
|
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
13
|
-
|
|
12
|
+
export declare const uniqueIdLength = 6;
|
|
13
|
+
export declare const createUniqueId: () => string;
|
|
14
|
+
//# sourceMappingURL=createUniqueId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createUniqueId.d.ts","sourceRoot":"","sources":["../src/createUniqueId.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,eAAO,MAAM,cAAc,QAAO,MACiB,CAAC"}
|
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
13
|
-
|
|
12
|
+
export const uniqueIdLength = 6;
|
|
13
|
+
export const createUniqueId = () => Math.random().toString(36).slice(-uniqueIdLength);
|
|
14
|
+
//# sourceMappingURL=createUniqueId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createUniqueId.js","names":["uniqueIdLength","createUniqueId","Math","random","toString","slice"],"sources":["../src/createUniqueId.ts"],"sourcesContent":["/*!\n * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n// This is a random number chosen to shrink down the unique ID to an arbitrary length.\nexport const uniqueIdLength = 6;\n\nexport const createUniqueId = (): string =>\n Math.random().toString(36).slice(-uniqueIdLength);\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,OAAO,MAAMA,cAAc,GAAG,CAAvB;AAEP,OAAO,MAAMC,cAAc,GAAG,MAC5BC,IAAI,CAACC,MAAL,GAAcC,QAAd,CAAuB,EAAvB,EAA2BC,KAA3B,CAAiC,CAACL,cAAlC,CADK"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
/// <reference types="react" />
|
|
13
|
+
import type { SvgIconNoChildrenProps } from "./types";
|
|
14
|
+
export declare type AddIconProps = SvgIconNoChildrenProps;
|
|
15
|
+
export declare const AddIcon: import("react").ForwardRefExoticComponent<Pick<SvgIconNoChildrenProps, "string" | "className" | "style" | "classes" | "children" | "color" | "fontSize" | "htmlColor" | "inheritViewBox" | "shapeRendering" | "sx" | "titleAccess" | "viewBox" | "clipPath" | "filter" | "mask" | "path" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
|
+
//# sourceMappingURL=Add.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Add.d.ts","sourceRoot":"","sources":["../../src/iconDictionary/Add.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAMH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,oBAAY,YAAY,GAAG,sBAAsB,CAAC;AAElD,eAAO,MAAM,OAAO,8pPAmBlB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Add.js","names":["forwardRef","SvgIcon","AddIcon","props","ref","displayName"],"sources":["../../src/iconDictionary/Add.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n// Code automatically generated by svgr; DO NOT EDIT.\n\nimport { forwardRef } from \"react\";\nimport { SvgIcon } from \"./SvgIcon\";\nimport type { SvgIconNoChildrenProps } from \"./types\";\n\nexport type AddIconProps = SvgIconNoChildrenProps;\n\nexport const AddIcon = forwardRef<SVGSVGElement, AddIconProps>((props, ref) => {\n return (\n <SvgIcon\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n ref={ref}\n {...props}\n >\n <>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M7.5 1V1.03201V1.06396V1.09586V1.1277V1.15949V1.19123V1.22291V1.25454V1.28612V1.31764V1.34911V1.38053V1.41189V1.4432V1.47446V1.50567V1.53683V1.56794V1.59899V1.62999V1.66095V1.69185V1.7227V1.75351V1.78426V1.81496V1.84562V1.87622V1.90678V1.93728V1.96774V1.99815V2.02851V2.05883V2.08909V2.11931V2.14948V2.17961V2.20969V2.23972V2.2697V2.29964V2.32953V2.35938V2.38918V2.41894V2.44865V2.47831V2.50793V2.53751V2.56704V2.59653V2.62598V2.65538V2.68474V2.71405V2.74332V2.77255V2.80174V2.83088V2.85998V2.88905V2.91806V2.94704V2.97598V3.00487V3.03373V3.06254V3.09131V3.12004V3.14874V3.17739V3.206V3.23458V3.26311V3.29161V3.32007V3.34849V3.37687V3.40521V3.43352V3.46179V3.49002V3.51821V3.54637V3.57448V3.60257V3.63061V3.65863V3.6866V3.71454V3.74244V3.77031V3.79815V3.82594V3.85371V3.88144V3.90913V3.93679V3.96442V3.99202V4.01958V4.04711V4.0746V4.10206V4.12949V4.15689V4.18426V4.21159V4.2389V4.26617V4.29341V4.32062V4.34779V4.37494V4.40206V4.42915V4.45621V4.48323V4.51023V4.5372V4.56414V4.59105V4.61794V4.64479V4.67162V4.69842V4.72519V4.75193V4.77865V4.80534V4.832V4.85864V4.88525V4.91183V4.93839V4.96492V4.99142V5.0179V5.04436V5.07079V5.0972V5.12358V5.14993V5.17627V5.20258V5.22886V5.25512V5.28136V5.30758V5.33377V5.35994V5.38609V5.41222V5.43832V5.4644V5.49047V5.51651V5.54252V5.56852V5.5945V5.62046V5.64639V5.67231V5.69821V5.72408V5.74994V5.77578V5.8016V5.8274V5.85319V5.87895V5.9047V5.93043V5.95614V5.98183V6.00751V6.03317V6.05881V6.08444V6.11005V6.13564V6.16122V6.18678V6.21233V6.23786V6.26338V6.28888V6.31437V6.33984V6.3653V6.39074V6.41617V6.44159V6.467V6.49239V6.51777V6.54313V6.56848V6.59382V6.61915V6.64447V6.66978V6.69507V6.72035V6.74562V6.77089V6.79614V6.82138V6.84661V6.87183V6.89704V6.92224V6.94743V6.97261V6.99779V7.02295V7.04811V7.07326V7.0984V7.12353V7.14866V7.17378V7.19889V7.22399V7.24909V7.27418V7.29927V7.32435V7.34942V7.37449V7.39955V7.42461V7.44966V7.47471V7.49975V7.5H7.49975H7.47471H7.44966H7.42461H7.39955H7.37449H7.34942H7.32435H7.29927H7.27418H7.24909H7.22399H7.19889H7.17378H7.14866H7.12353H7.0984H7.07326H7.04811H7.02295H6.99779H6.97261H6.94743H6.92224H6.89704H6.87183H6.84661H6.82138H6.79614H6.77089H6.74562H6.72035H6.69507H6.66978H6.64447H6.61915H6.59382H6.56848H6.54313H6.51777H6.49239H6.467H6.44159H6.41617H6.39074H6.3653H6.33984H6.31437H6.28888H6.26338H6.23786H6.21233H6.18678H6.16122H6.13564H6.11005H6.08444H6.05881H6.03317H6.00751H5.98183H5.95614H5.93043H5.9047H5.87895H5.85319H5.8274H5.8016H5.77578H5.74994H5.72408H5.69821H5.67231H5.64639H5.62046H5.5945H5.56852H5.54252H5.51651H5.49047H5.4644H5.43832H5.41222H5.38609H5.35994H5.33377H5.30758H5.28136H5.25512H5.22886H5.20258H5.17627H5.14993H5.12358H5.0972H5.07079H5.04436H5.0179H4.99142H4.96492H4.93839H4.91183H4.88525H4.85864H4.832H4.80534H4.77865H4.75193H4.72519H4.69842H4.67162H4.64479H4.61794H4.59105H4.56414H4.5372H4.51023H4.48323H4.45621H4.42915H4.40206H4.37494H4.34779H4.32062H4.29341H4.26617H4.2389H4.21159H4.18426H4.15689H4.12949H4.10207H4.0746H4.04711H4.01958H3.99202H3.96442H3.9368H3.90913H3.88144H3.85371H3.82594H3.79815H3.77031H3.74244H3.71454H3.6866H3.65863H3.63061H3.60257H3.57448H3.54637H3.51821H3.49002H3.46179H3.43352H3.40521H3.37687H3.34849H3.32007H3.29161H3.26311H3.23458H3.20601H3.17739H3.14874H3.12004H3.09131H3.06254H3.03373H3.00487H2.97598H2.94704H2.91806H2.88904H2.85999H2.83088H2.80174H2.77255H2.74332H2.71405H2.68474H2.65538H2.62598H2.59653H2.56704H2.53751H2.50793H2.47831H2.44865H2.41894H2.38918H2.35938H2.32953H2.29964H2.2697H2.23972H2.20969H2.17961H2.14948H2.11931H2.08909H2.05883H2.02851H1.99815H1.96774H1.93728H1.90678H1.87622H1.84562H1.81496H1.78426H1.75351H1.7227H1.69185H1.66095H1.62999H1.59899H1.56794H1.53683H1.50567H1.47446H1.4432H1.41189H1.38053H1.34911H1.31764H1.28612H1.25454H1.22291H1.19123H1.15949H1.1277H1.09586H1.06396H1.03201H1V8.5H1.03201H1.06396H1.09586H1.1277H1.15949H1.19123H1.22291H1.25454H1.28612H1.31764H1.34911H1.38053H1.41189H1.4432H1.47446H1.50567H1.53683H1.56794H1.59899H1.62999H1.66095H1.69185H1.7227H1.75351H1.78426H1.81496H1.84562H1.87622H1.90678H1.93728H1.96774H1.99815H2.02851H2.05883H2.08909H2.11931H2.14948H2.17961H2.20969H2.23972H2.2697H2.29964H2.32953H2.35938H2.38918H2.41894H2.44865H2.47831H2.50793H2.53751H2.56704H2.59653H2.62598H2.65538H2.68474H2.71405H2.74332H2.77255H2.80174H2.83088H2.85999H2.88904H2.91806H2.94704H2.97598H3.00487H3.03373H3.06254H3.09131H3.12004H3.14874H3.17739H3.20601H3.23458H3.26311H3.29161H3.32007H3.34849H3.37687H3.40521H3.43352H3.46179H3.49002H3.51821H3.54637H3.57448H3.60257H3.63061H3.65863H3.6866H3.71454H3.74244H3.77031H3.79815H3.82594H3.85371H3.88144H3.90913H3.9368H3.96442H3.99202H4.01958H4.04711H4.0746H4.10207H4.12949H4.15689H4.18426H4.21159H4.2389H4.26617H4.29341H4.32062H4.34779H4.37494H4.40206H4.42915H4.45621H4.48323H4.51023H4.5372H4.56414H4.59105H4.61794H4.64479H4.67162H4.69842H4.72519H4.75193H4.77865H4.80534H4.832H4.85864H4.88525H4.91183H4.93839H4.96492H4.99142H5.0179H5.04436H5.07079H5.0972H5.12358H5.14993H5.17627H5.20258H5.22886H5.25512H5.28136H5.30758H5.33377H5.35994H5.38609H5.41222H5.43832H5.4644H5.49047H5.51651H5.54252H5.56852H5.5945H5.62046H5.64639H5.67231H5.69821H5.72408H5.74994H5.77578H5.8016H5.8274H5.85319H5.87895H5.9047H5.93043H5.95614H5.98183H6.00751H6.03317H6.05881H6.08444H6.11005H6.13564H6.16122H6.18678H6.21233H6.23786H6.26338H6.28888H6.31437H6.33984H6.3653H6.39074H6.41617H6.44159H6.467H6.49239H6.51777H6.54313H6.56848H6.59382H6.61915H6.64447H6.66978H6.69507H6.72035H6.74562H6.77089H6.79614H6.82138H6.84661H6.87183H6.89704H6.92224H6.94743H6.97261H6.99779H7.02295H7.04811H7.07326H7.0984H7.12353H7.14866H7.17378H7.19889H7.22399H7.24909H7.27418H7.29927H7.32435H7.34942H7.37449H7.39955H7.42461H7.44966H7.47471H7.49975H7.5V8.50025V8.52529V8.55034V8.57539V8.60045V8.62551V8.65058V8.67565V8.70073V8.72582V8.75091V8.77601V8.80111V8.82622V8.85134V8.87647V8.9016V8.92674V8.95189V8.97705V9.00221V9.02739V9.05257V9.07776V9.10296V9.12817V9.15339V9.17862V9.20386V9.22911V9.25438V9.27965V9.30493V9.33022V9.35553V9.38085V9.40618V9.43152V9.45687V9.48223V9.50761V9.533V9.55841V9.58383V9.60926V9.6347V9.66016V9.68563V9.71112V9.73662V9.76214V9.78767V9.81322V9.83878V9.86436V9.88995V9.91556V9.94119V9.96683V9.99249V10.0182V10.0439V10.0696V10.0953V10.121V10.1468V10.1726V10.1984V10.2242V10.2501V10.2759V10.3018V10.3277V10.3536V10.3795V10.4055V10.4315V10.4575V10.4835V10.5095V10.5356V10.5617V10.5878V10.6139V10.6401V10.6662V10.6924V10.7186V10.7449V10.7711V10.7974V10.8237V10.8501V10.8764V10.9028V10.9292V10.9556V10.9821V11.0086V11.0351V11.0616V11.0882V11.1148V11.1414V11.168V11.1947V11.2214V11.2481V11.2748V11.3016V11.3284V11.3552V11.3821V11.4089V11.4359V11.4628V11.4898V11.5168V11.5438V11.5709V11.5979V11.6251V11.6522V11.6794V11.7066V11.7338V11.7611V11.7884V11.8157V11.8431V11.8705V11.8979V11.9254V11.9529V11.9804V12.008V12.0356V12.0632V12.0909V12.1186V12.1463V12.1741V12.2019V12.2297V12.2576V12.2855V12.3134V12.3414V12.3694V12.3974V12.4255V12.4536V12.4818V12.51V12.5382V12.5665V12.5948V12.6231V12.6515V12.6799V12.7084V12.7369V12.7654V12.794V12.8226V12.8513V12.88V12.9087V12.9375V12.9663V12.9951V13.024V13.053V13.0819V13.111V13.14V13.1691V13.1983V13.2274V13.2567V13.2859V13.3153V13.3446V13.374V13.4035V13.433V13.4625V13.4921V13.5217V13.5514V13.5811V13.6108V13.6406V13.6705V13.7004V13.7303V13.7603V13.7903V13.8204V13.8505V13.8807V13.9109V13.9412V13.9715V14.0018V14.0323V14.0627V14.0932V14.1238V14.1544V14.185V14.2157V14.2465V14.2773V14.3081V14.3391V14.37V14.401V14.4321V14.4632V14.4943V14.5255V14.5568V14.5881V14.6195V14.6509V14.6824V14.7139V14.7455V14.7771V14.8088V14.8405V14.8723V14.9041V14.936V14.968V15H8.5V14.968V14.936V14.9041V14.8723V14.8405V14.8088V14.7771V14.7455V14.7139V14.6824V14.6509V14.6195V14.5881V14.5568V14.5255V14.4943V14.4632V14.4321V14.401V14.37V14.3391V14.3081V14.2773V14.2465V14.2157V14.185V14.1544V14.1238V14.0932V14.0627V14.0323V14.0018V13.9715V13.9412V13.9109V13.8807V13.8505V13.8204V13.7903V13.7603V13.7303V13.7004V13.6705V13.6406V13.6108V13.5811V13.5514V13.5217V13.4921V13.4625V13.433V13.4035V13.374V13.3446V13.3153V13.2859V13.2567V13.2274V13.1983V13.1691V13.14V13.111V13.0819V13.053V13.024V12.9951V12.9663V12.9375V12.9087V12.88V12.8513V12.8226V12.794V12.7654V12.7369V12.7084V12.6799V12.6515V12.6231V12.5948V12.5665V12.5382V12.51V12.4818V12.4536V12.4255V12.3974V12.3694V12.3414V12.3134V12.2855V12.2576V12.2297V12.2019V12.1741V12.1463V12.1186V12.0909V12.0632V12.0356V12.008V11.9804V11.9529V11.9254V11.8979V11.8705V11.8431V11.8157V11.7884V11.7611V11.7338V11.7066V11.6794V11.6522V11.6251V11.5979V11.5709V11.5438V11.5168V11.4898V11.4628V11.4359V11.4089V11.3821V11.3552V11.3284V11.3016V11.2748V11.2481V11.2214V11.1947V11.168V11.1414V11.1148V11.0882V11.0616V11.0351V11.0086V10.9821V10.9556V10.9292V10.9028V10.8764V10.8501V10.8237V10.7974V10.7711V10.7449V10.7186V10.6924V10.6662V10.6401V10.6139V10.5878V10.5617V10.5356V10.5095V10.4835V10.4575V10.4315V10.4055V10.3795V10.3536V10.3277V10.3018V10.2759V10.2501V10.2242V10.1984V10.1726V10.1468V10.121V10.0953V10.0696V10.0439V10.0182V9.99249V9.96683V9.94119V9.91556V9.88995V9.86436V9.83878V9.81322V9.78767V9.76214V9.73662V9.71112V9.68563V9.66016V9.6347V9.60926V9.58383V9.55841V9.533V9.50761V9.48223V9.45687V9.43152V9.40618V9.38085V9.35553V9.33022V9.30493V9.27965V9.25438V9.22911V9.20386V9.17862V9.15339V9.12817V9.10296V9.07776V9.05257V9.02739V9.00221V8.97705V8.95189V8.92674V8.9016V8.87647V8.85134V8.82622V8.80111V8.77601V8.75091V8.72582V8.70073V8.67565V8.65058V8.62551V8.60045V8.57539V8.55034V8.52529V8.50025V8.5H8.50025H8.52529H8.55034H8.57539H8.60045H8.62551H8.65058H8.67565H8.70073H8.72582H8.75091H8.77601H8.80111H8.82622H8.85134H8.87647H8.9016H8.92674H8.95189H8.97705H9.00221H9.02739H9.05257H9.07776H9.10296H9.12817H9.15339H9.17862H9.20386H9.22911H9.25438H9.27965H9.30493H9.33022H9.35553H9.38085H9.40617H9.43152H9.45687H9.48223H9.50761H9.533L9.55841 8.5H9.58383H9.60926H9.6347H9.66016H9.68563H9.71112H9.73662H9.76214H9.78767H9.81322H9.83878H9.86436H9.88995H9.91556H9.94119H9.96683H9.99249H10.0182H10.0439H10.0696H10.0953H10.121H10.1468H10.1726H10.1984H10.2242H10.2501H10.2759H10.3018H10.3277H10.3536H10.3795H10.4055H10.4315H10.4575H10.4835H10.5095H10.5356H10.5617H10.5878H10.6139H10.6401H10.6662H10.6924H10.7186H10.7449H10.7711H10.7974H10.8237H10.8501H10.8764H10.9028H10.9292H10.9556H10.9821H11.0086H11.0351H11.0616H11.0882H11.1148H11.1414H11.168H11.1947H11.2214H11.2481H11.2748H11.3016H11.3284H11.3552H11.3821H11.4089H11.4359H11.4628H11.4898H11.5168H11.5438H11.5709H11.5979H11.6251H11.6522H11.6794H11.7066H11.7338H11.7611H11.7884H11.8157H11.8431H11.8705H11.8979H11.9254H11.9529H11.9804H12.008H12.0356H12.0632H12.0909H12.1186H12.1463H12.1741H12.2019H12.2297H12.2576H12.2855H12.3134H12.3414H12.3694H12.3974H12.4255H12.4536H12.4818H12.51H12.5382H12.5665H12.5948H12.6231H12.6515H12.6799H12.7084H12.7369H12.7654H12.794H12.8226H12.8513H12.88H12.9087H12.9375H12.9663H12.9951H13.024H13.053H13.0819H13.111H13.14H13.1691H13.1983H13.2274H13.2567H13.2859H13.3153H13.3446H13.374H13.4035H13.433H13.4625H13.4921H13.5217H13.5514H13.5811H13.6108H13.6406H13.6705H13.7004H13.7303H13.7603H13.7903H13.8204H13.8505H13.8807H13.9109H13.9412H13.9715H14.0018H14.0323H14.0627H14.0932H14.1238H14.1544H14.185H14.2157H14.2465H14.2773H14.3081H14.3391H14.37H14.401H14.4321H14.4632H14.4943H14.5255H14.5568H14.5881H14.6195H14.6509H14.6824H14.7139H14.7455H14.7771H14.8088H14.8405H14.8723H14.9041H14.936H14.968H15V7.5H14.968H14.936H14.9041H14.8723H14.8405H14.8088H14.7771H14.7455H14.7139H14.6824H14.6509H14.6195H14.5881H14.5568H14.5255H14.4943H14.4632H14.4321H14.401H14.37H14.3391H14.3081H14.2773H14.2465H14.2157H14.185H14.1544H14.1238H14.0932H14.0627H14.0323H14.0018H13.9715H13.9412H13.9109H13.8807H13.8505H13.8204H13.7903H13.7603H13.7303H13.7004H13.6705H13.6406H13.6108H13.5811H13.5514H13.5217H13.4921H13.4625H13.433H13.4035H13.374H13.3446H13.3153H13.2859H13.2567H13.2274H13.1983H13.1691H13.14H13.111H13.0819H13.053H13.024H12.9951H12.9663H12.9375H12.9087H12.88H12.8513H12.8226H12.794H12.7654H12.7369H12.7084H12.6799H12.6515H12.6231H12.5948H12.5665H12.5382H12.51H12.4818H12.4536H12.4255H12.3974H12.3694H12.3414H12.3134H12.2855H12.2576H12.2297H12.2019H12.1741H12.1463H12.1186H12.0909H12.0632H12.0356H12.008H11.9804H11.9529H11.9254H11.8979H11.8705H11.8431H11.8157H11.7884H11.7611H11.7338H11.7066H11.6794H11.6522H11.6251H11.5979H11.5709H11.5438H11.5168H11.4898H11.4628H11.4359H11.4089H11.3821H11.3552H11.3284H11.3016H11.2748H11.2481H11.2214H11.1947H11.168H11.1414H11.1148H11.0882H11.0616H11.0351H11.0086H10.9821H10.9556H10.9292H10.9028H10.8764H10.8501H10.8237H10.7974H10.7711H10.7449H10.7186H10.6924H10.6662H10.6401H10.6139H10.5878H10.5617H10.5356H10.5095H10.4835H10.4575H10.4315H10.4055H10.3795H10.3536H10.3277H10.3018H10.2759H10.2501H10.2242H10.1984H10.1726H10.1468H10.121H10.0953H10.0696H10.0439H10.0182H9.99249H9.96683H9.94119H9.91556H9.88995H9.86436H9.83878H9.81322H9.78767H9.76214H9.73662H9.71112H9.68563H9.66016H9.6347H9.60926H9.58383H9.55841L9.533 7.5H9.50761H9.48223H9.45687H9.43152H9.40618H9.38085H9.35553H9.33022H9.30493H9.27965H9.25438H9.22911H9.20386H9.17862H9.15339H9.12817H9.10296H9.07776H9.05257H9.02739H9.00221H8.97705H8.95189H8.92674H8.9016H8.87647H8.85134H8.82622H8.80111H8.77601H8.75091H8.72582H8.70073H8.67565H8.65058H8.62551H8.60045H8.57539H8.55034H8.52529H8.50025H8.5V7.49975V7.47471V7.44966V7.42461V7.39955V7.37449V7.34942V7.32435V7.29927V7.27418V7.24909V7.22399V7.19889V7.17378V7.14866V7.12353V7.0984V7.07326V7.04811V7.02295V6.99779V6.97261V6.94743V6.92224V6.89704V6.87183V6.84661V6.82138V6.79614V6.77089V6.74562V6.72035V6.69507V6.66978V6.64447V6.61915V6.59382V6.56848V6.54313V6.51777V6.49239V6.467V6.44159V6.41617V6.39074V6.3653V6.33984V6.31437V6.28888V6.26338V6.23786V6.21233V6.18678V6.16122V6.13564V6.11005V6.08444V6.05881V6.03317V6.00751V5.98183V5.95614V5.93043V5.9047V5.87895V5.85319V5.8274V5.8016V5.77578V5.74994V5.72408V5.69821V5.67231V5.64639V5.62046V5.5945V5.56852V5.54252V5.51651V5.49047V5.4644V5.43832V5.41222V5.38609V5.35994V5.33377V5.30758V5.28136V5.25512V5.22886V5.20258V5.17627V5.14993V5.12358V5.0972V5.07079V5.04436V5.0179V4.99142V4.96492V4.93839V4.91183V4.88525V4.85864V4.832V4.80534V4.77865V4.75193V4.72519V4.69842V4.67162V4.64479V4.61794V4.59105V4.56414V4.5372V4.51023V4.48323V4.45621V4.42915V4.40206V4.37494V4.34779V4.32062V4.29341V4.26617V4.2389V4.21159V4.18426V4.15689V4.12949V4.10206V4.0746V4.04711V4.01958V3.99202V3.96442V3.93679V3.90913V3.88144V3.85371V3.82594V3.79815V3.77031V3.74244V3.71454V3.6866V3.65863V3.63061V3.60257V3.57448V3.54637V3.51821V3.49002V3.46179V3.43352V3.40521V3.37687V3.34849V3.32007V3.29161V3.26311V3.23458V3.206V3.17739V3.14874V3.12004V3.09131V3.06254V3.03373V3.00487V2.97598V2.94704V2.91806V2.88905V2.85998V2.83088V2.80174V2.77255V2.74332V2.71405V2.68474V2.65538V2.62598V2.59653V2.56704V2.53751V2.50793V2.47831V2.44865V2.41894V2.38918V2.35938V2.32953V2.29964V2.2697V2.23972V2.20969V2.17961V2.14948V2.11931V2.08909V2.05883V2.02851V1.99815V1.96774V1.93728V1.90678V1.87622V1.84562V1.81496V1.78426V1.75351V1.7227V1.69185V1.66095V1.62999V1.59899V1.56794V1.53683V1.50567V1.47446V1.4432V1.41189V1.38053V1.34911V1.31764V1.28612V1.25454V1.22291V1.19123V1.15949V1.1277V1.09586V1.06396V1.03201V1H7.5Z\"\n fill=\"currentColor\"\n />\n </>\n </SvgIcon>\n );\n});\n\nAddIcon.displayName = \"AddIcon\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA,SAASA,UAAT,QAA2B,OAA3B;SACSC,O;;;AAKT,OAAO,MAAMC,OAAO,GAAGF,UAAU,CAA8B,CAACG,KAAD,EAAQC,GAAR,KAAgB;EAC7E,OACE,KAAC,OAAD;IACE,OAAO,EAAC,WADV;IAEE,IAAI,EAAC,MAFP;IAGE,KAAK,EAAC,4BAHR;IAIE,GAAG,EAAEA,GAJP;IAAA,GAKMD,KALN;IAAA,UAOE;MAAA,UACE;QACE,QAAQ,EAAC,SADX;QAEE,QAAQ,EAAC,SAFX;QAGE,CAAC,EAAC,6ndAHJ;QAIE,IAAI,EAAC;MAJP;IADF;EAPF,EADF;AAkBD,CAnBgC,CAA1B;AAqBPD,OAAO,CAACG,WAAR,GAAsB,SAAtB"}
|