@okta/odyssey-react-mui 1.22.0 → 1.23.0
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 +19 -0
- package/dist/@types/i18next.d.js.map +1 -1
- package/dist/Autocomplete.js +30 -0
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Callout.js +12 -24
- package/dist/Callout.js.map +1 -1
- package/dist/DataTable/useScrollIndication.js +7 -3
- package/dist/DataTable/useScrollIndication.js.map +1 -1
- package/dist/FileUploader/FileUploadIllustration.js.map +1 -0
- package/dist/FileUploader/FileUploadPreview.js.map +1 -0
- package/dist/{labs/FileUpload.js → FileUploader/FileUploader.js} +6 -5
- package/dist/FileUploader/FileUploader.js.map +1 -0
- package/dist/FileUploader/index.js +13 -0
- package/dist/FileUploader/index.js.map +1 -0
- package/dist/OdysseyProvider.js +4 -0
- package/dist/OdysseyProvider.js.map +1 -1
- package/dist/Radio.js +2 -2
- package/dist/Radio.js.map +1 -1
- package/dist/Select.js +36 -0
- package/dist/Select.js.map +1 -1
- package/dist/{labs/Switch.js → Switch.js} +7 -7
- package/dist/Switch.js.map +1 -0
- package/dist/Tabs.js +7 -9
- package/dist/Tabs.js.map +1 -1
- package/dist/Tag.js +102 -4
- package/dist/Tag.js.map +1 -1
- package/dist/TextField.js +16 -39
- package/dist/TextField.js.map +1 -1
- package/dist/Toast.js +2 -2
- package/dist/Toast.js.map +1 -1
- package/dist/createShadowDomElements.js +1 -0
- package/dist/createShadowDomElements.js.map +1 -1
- package/dist/i18n.js +1 -1
- package/dist/i18n.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.scss +92 -4
- package/dist/labs/DataView/DataView.js +64 -25
- package/dist/labs/DataView/DataView.js.map +1 -1
- package/dist/labs/DataView/TableLayoutContent.js +17 -3
- package/dist/labs/DataView/TableLayoutContent.js.map +1 -1
- package/dist/labs/DataView/componentTypes.js.map +1 -1
- package/dist/labs/DateField.js +2 -0
- package/dist/labs/DateField.js.map +1 -1
- package/dist/labs/DatePicker.js +5 -1
- package/dist/labs/DatePicker.js.map +1 -1
- package/dist/labs/SideNav/OktaLogo.js +36 -0
- package/dist/labs/SideNav/OktaLogo.js.map +1 -0
- package/dist/labs/SideNav/SideNav.js +125 -36
- package/dist/labs/SideNav/SideNav.js.map +1 -1
- package/dist/labs/SideNav/SideNavHeader.js +33 -10
- package/dist/labs/SideNav/SideNavHeader.js.map +1 -1
- package/dist/labs/SideNav/types.js.map +1 -1
- package/dist/labs/TopNav.js +2 -1
- package/dist/labs/TopNav.js.map +1 -1
- package/dist/labs/index.js +0 -2
- package/dist/labs/index.js.map +1 -1
- package/dist/labs/useDateFieldsTranslations.js +1 -1
- package/dist/labs/useDateFieldsTranslations.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui.js +3 -1
- package/dist/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/src/Autocomplete.d.ts +30 -0
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Callout.d.ts +11 -23
- package/dist/src/Callout.d.ts.map +1 -1
- package/dist/src/DataTable/useScrollIndication.d.ts.map +1 -1
- package/dist/src/FileUploader/FileUploadIllustration.d.ts.map +1 -0
- package/dist/src/{labs → FileUploader}/FileUploadPreview.d.ts +2 -2
- package/dist/src/FileUploader/FileUploadPreview.d.ts.map +1 -0
- package/dist/src/{labs/FileUpload.d.ts → FileUploader/FileUploader.d.ts} +5 -4
- package/dist/src/FileUploader/FileUploader.d.ts.map +1 -0
- package/dist/src/FileUploader/index.d.ts +13 -0
- package/dist/src/FileUploader/index.d.ts.map +1 -0
- package/dist/src/NativeSelect.d.ts +1 -1
- package/dist/src/OdysseyProvider.d.ts.map +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -1
- package/dist/src/PasswordField.d.ts +1 -1
- package/dist/src/SearchField.d.ts +1 -1
- package/dist/src/Select.d.ts +36 -0
- package/dist/src/Select.d.ts.map +1 -1
- package/dist/src/{labs/Switch.d.ts → Switch.d.ts} +3 -3
- package/dist/src/Switch.d.ts.map +1 -0
- package/dist/src/Tabs.d.ts +6 -8
- package/dist/src/Tabs.d.ts.map +1 -1
- package/dist/src/Tag.d.ts +7 -1
- package/dist/src/Tag.d.ts.map +1 -1
- package/dist/src/TextField.d.ts +17 -40
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/createShadowDomElements.d.ts.map +1 -1
- package/dist/src/i18n.d.ts +2 -2
- package/dist/src/i18n.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/labs/DataView/DataView.d.ts +1 -1
- package/dist/src/labs/DataView/DataView.d.ts.map +1 -1
- package/dist/src/labs/DataView/TableLayoutContent.d.ts +2 -1
- package/dist/src/labs/DataView/TableLayoutContent.d.ts.map +1 -1
- package/dist/src/labs/DataView/componentTypes.d.ts +10 -0
- package/dist/src/labs/DataView/componentTypes.d.ts.map +1 -1
- package/dist/src/labs/DateField.d.ts +2 -2
- package/dist/src/labs/DateField.d.ts.map +1 -1
- package/dist/src/labs/DatePicker.d.ts +2 -2
- package/dist/src/labs/DatePicker.d.ts.map +1 -1
- package/dist/{test-selectors/odysseyTestSelectors.js → src/labs/SideNav/OktaLogo.d.ts} +3 -9
- package/dist/src/labs/SideNav/OktaLogo.d.ts.map +1 -0
- package/dist/src/labs/SideNav/SideNav.d.ts +2 -1
- package/dist/src/labs/SideNav/SideNav.d.ts.map +1 -1
- package/dist/src/labs/SideNav/SideNavHeader.d.ts +1 -1
- package/dist/src/labs/SideNav/SideNavHeader.d.ts.map +1 -1
- package/dist/src/labs/SideNav/types.d.ts +28 -5
- package/dist/src/labs/SideNav/types.d.ts.map +1 -1
- package/dist/src/labs/TopNav.d.ts +1 -0
- package/dist/src/labs/TopNav.d.ts.map +1 -1
- package/dist/src/labs/index.d.ts +0 -2
- package/dist/src/labs/index.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -1
- package/dist/src/test-selectors/getByQuerySelector.d.ts +148 -0
- package/dist/src/test-selectors/getByQuerySelector.d.ts.map +1 -0
- package/{src/test-selectors/odysseyTestSelectors.ts → dist/src/test-selectors/getComputedAccessibleErrorMessageText.d.ts} +3 -11
- package/dist/src/test-selectors/getComputedAccessibleErrorMessageText.d.ts.map +1 -0
- package/dist/src/test-selectors/{featureTestSelector.d.ts → getComputedAccessibleText.d.ts} +11 -19
- package/dist/src/test-selectors/getComputedAccessibleText.d.ts.map +1 -0
- package/dist/src/test-selectors/index.d.ts +2 -2
- package/dist/src/test-selectors/index.d.ts.map +1 -1
- package/dist/src/test-selectors/interpolateString.d.ts +15 -0
- package/dist/src/test-selectors/interpolateString.d.ts.map +1 -0
- package/dist/src/test-selectors/linkedHtmlSelectors.d.ts +24 -0
- package/dist/src/test-selectors/linkedHtmlSelectors.d.ts.map +1 -0
- package/dist/src/test-selectors/queryOdysseySelector.d.ts +5755 -0
- package/dist/src/test-selectors/queryOdysseySelector.d.ts.map +1 -0
- package/dist/src/test-selectors/querySelector.d.ts +59 -3613
- package/dist/src/test-selectors/querySelector.d.ts.map +1 -1
- package/dist/src/test-selectors/sanityChecks.d.ts +18 -0
- package/dist/src/test-selectors/sanityChecks.d.ts.map +1 -0
- package/dist/src/test-selectors/testSelector.d.ts +46 -0
- package/dist/src/test-selectors/testSelector.d.ts.map +1 -0
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/test-selectors/getByQuerySelector.js +64 -0
- package/dist/test-selectors/getByQuerySelector.js.map +1 -0
- package/dist/test-selectors/getComputedAccessibleErrorMessageText.js +25 -0
- package/dist/test-selectors/getComputedAccessibleErrorMessageText.js.map +1 -0
- package/dist/test-selectors/getComputedAccessibleText.js +24 -0
- package/dist/test-selectors/getComputedAccessibleText.js.map +1 -0
- package/dist/test-selectors/index.js +2 -2
- package/dist/test-selectors/index.js.map +1 -1
- package/{src/test-selectors/featureTestSelector.ts → dist/test-selectors/interpolateString.js} +11 -27
- package/dist/test-selectors/interpolateString.js.map +1 -0
- package/dist/test-selectors/linkedHtmlSelectors.js +34 -0
- package/dist/test-selectors/linkedHtmlSelectors.js.map +1 -0
- package/dist/test-selectors/queryOdysseySelector.js +26 -0
- package/dist/test-selectors/queryOdysseySelector.js.map +1 -0
- package/dist/test-selectors/querySelector.js +82 -58
- package/dist/test-selectors/querySelector.js.map +1 -1
- package/dist/test-selectors/sanityChecks.js +33 -0
- package/dist/test-selectors/sanityChecks.js.map +1 -0
- package/dist/test-selectors/testSelector.js +2 -0
- package/dist/test-selectors/testSelector.js.map +1 -0
- package/dist/test-selectors/testSelectors.json +1 -1
- package/dist/theme/components.js +0 -1
- package/dist/theme/components.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/jest.setup.js +3 -0
- package/package.json +5 -4
- package/scripts/generateTestSelectorsJson.ts +1 -1
- package/src/@types/i18next.d.ts +1 -1
- package/src/Autocomplete.tsx +32 -0
- package/src/Callout.tsx +13 -25
- package/src/DataTable/useScrollIndication.tsx +9 -2
- package/src/{labs → FileUploader}/FileUploadPreview.tsx +3 -3
- package/src/{labs/FileUpload.tsx → FileUploader/FileUploader.tsx} +7 -6
- package/src/FileUploader/index.ts +13 -0
- package/src/OdysseyCacheProvider.test.tsx +1 -0
- package/src/OdysseyProvider.tsx +6 -1
- package/src/Radio.tsx +2 -2
- package/src/Select.tsx +38 -0
- package/src/{labs/Switch.tsx → Switch.tsx} +10 -10
- package/src/Tabs.tsx +8 -10
- package/src/Tag.tsx +134 -3
- package/src/TextField.tsx +18 -41
- package/src/Toast.tsx +1 -1
- package/src/createShadowDomElements.ts +3 -0
- package/src/i18n.ts +3 -3
- package/src/index.ts +6 -1
- package/src/labs/DataView/DataView.test.tsx +158 -0
- package/src/labs/DataView/DataView.tsx +98 -50
- package/src/labs/DataView/TableLayoutContent.tsx +28 -1
- package/src/labs/DataView/componentTypes.ts +13 -0
- package/src/labs/DateField.tsx +3 -0
- package/src/labs/DatePicker.tsx +12 -1
- package/src/labs/SideNav/OktaLogo.tsx +39 -0
- package/src/labs/SideNav/SideNav.tsx +187 -51
- package/src/labs/SideNav/SideNavHeader.tsx +30 -7
- package/src/labs/SideNav/types.ts +32 -5
- package/src/labs/TopNav.tsx +3 -1
- package/src/labs/index.ts +0 -3
- package/src/labs/useDateFieldsTranslations.ts +1 -1
- package/src/properties/odyssey-react-mui.properties +2 -1
- package/src/properties/ts/odyssey-react-mui.ts +1 -1
- package/src/test-selectors/getByQuerySelector.ts +176 -0
- package/src/test-selectors/getComputedAccessibleErrorMessageText.ts +52 -0
- package/src/test-selectors/getComputedAccessibleText.ts +36 -0
- package/src/test-selectors/index.ts +2 -2
- package/src/test-selectors/interpolateString.ts +41 -0
- package/src/test-selectors/linkedHtmlSelectors.ts +73 -0
- package/src/test-selectors/queryOdysseySelector.ts +36 -0
- package/src/test-selectors/querySelector.ts +221 -170
- package/src/test-selectors/sanityChecks.ts +53 -0
- package/src/test-selectors/testSelector.ts +143 -0
- package/src/theme/components.tsx +0 -2
- package/dist/labs/FileUpload.js.map +0 -1
- package/dist/labs/FileUploadIllustration.js.map +0 -1
- package/dist/labs/FileUploadPreview.js.map +0 -1
- package/dist/labs/Switch.js.map +0 -1
- package/dist/src/labs/FileUpload.d.ts.map +0 -1
- package/dist/src/labs/FileUploadIllustration.d.ts.map +0 -1
- package/dist/src/labs/FileUploadPreview.d.ts.map +0 -1
- package/dist/src/labs/Switch.d.ts.map +0 -1
- package/dist/src/test-selectors/featureTestSelector.d.ts.map +0 -1
- package/dist/src/test-selectors/odysseyTestSelectors.d.ts +0 -120
- package/dist/src/test-selectors/odysseyTestSelectors.d.ts.map +0 -1
- package/dist/test-selectors/featureTestSelector.js +0 -2
- package/dist/test-selectors/featureTestSelector.js.map +0 -1
- package/dist/test-selectors/odysseyTestSelectors.js.map +0 -1
- /package/dist/{labs → FileUploader}/FileUploadIllustration.js +0 -0
- /package/dist/{labs → FileUploader}/FileUploadPreview.js +0 -0
- /package/dist/src/{labs → FileUploader}/FileUploadIllustration.d.ts +0 -0
- /package/src/{labs → FileUploader}/FileUploadIllustration.tsx +0 -0
package/dist/labs/TopNav.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNav.js","names":["styled","memo","useMemo","useCallback","QuestionCircleIcon","SettingsIcon","Link","useOdysseyDesignTokens","Subordinate","jsx","_jsx","jsxs","_jsxs","createElement","_createElement","UserProfileContainer","shouldForwardProp","prop","odysseyDesignTokens","display","alignItems","paddingRight","Spacing4","UserProfileIconContainer","Spacing2","UserProfileInfoContainer","flexDirection","UserProfile","profileIcon","userName","orgName","children","color","TopNavListContainer","padding","listStyle","listStyleType","TopNavItemLabelContainer","flexWrap","fontSize","TypographyScale0","fontWeight","TypographyWeightHeading","TopNavListItemContainer","isDisabled","cursor","pointerEvents","TypographyColorDisabled","TypographyColorHeading","textDecoration","backgroundColor","HueNeutral50","outlineOffset","borderRadius","outlineWidth","FocusOutlineWidthMain","NavItemContentClickContainer","width","outlineColor","FocusOutlineColorPrimary","outlineStyle","FocusOutlineStyle","TopNavItemContent","id","label","href","target","onClick","topNavItemContentKeyHandler","event","key","preventDefault","stopPropagation","role","tabIndex","onKeyDown","LinkAndProfileWrapper","marginLeft","AdditionalLinkContainerWithBorder","marginRight","Spacing3","borderRight","BorderWidthMain","HueNeutral200","LinkContainer","TopNavContainer","HueNeutralWhite","height","Spacing9","SearchFieldContainer","AdditionalNavItemContainer","TopNav","SearchFieldComponent","topNavLinkItems","AdditionalNavItemComponent","settingsPageHref","helpPageHref","userProfile","processedNavItems","map","item","ariaLabel","MemoizedTopNav","displayName"],"sources":["../../src/labs/TopNav.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 styled from \"@emotion/styled\";\nimport {\n memo,\n useMemo,\n ReactElement,\n useCallback,\n MouseEventHandler,\n KeyboardEventHandler,\n} from \"react\";\n\nimport type { HtmlProps } from \"../HtmlProps\";\nimport { QuestionCircleIcon, SettingsIcon } from \"../icons.generated\";\nimport { Link } from \"../Link\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../OdysseyDesignTokensContext\";\nimport { Subordinate } from \"../Typography\";\n\nexport type TopNavLinkItem = {\n id: string;\n label: string;\n /**\n * link added to the nav item. if it is undefined, static text will be displayed.\n * fires onClick event when it is passed\n */\n href?: string;\n /**\n * determines whether the link item is diabled\n */\n isDisabled?: boolean;\n /**\n * Event fired when the nav item is clicked\n */\n onClick?: MouseEventHandler<HTMLAnchorElement> &\n MouseEventHandler<HTMLDivElement> &\n KeyboardEventHandler<HTMLDivElement>;\n /**\n * The link target prop. e.g., \"_blank\"\n */\n target?: string;\n};\n\nexport type UserProfileProps = {\n /**\n * Logged in user profile icon to be displayed in the top nav\n */\n profileIcon?: ReactElement;\n /**\n * Logged in user info to be displayed in the top nav\n */\n userName: string;\n /**\n * Org name of the logged in user\n */\n orgName: string;\n};\n\nexport type TopNavProps = {\n /**\n * Pass in a SearchField component with the variant=\"filled\" prop set\n */\n SearchFieldComponent?: ReactElement;\n /**\n * Nav links in the top nav\n */\n topNavLinkItems: TopNavLinkItem[];\n /**\n * Pass in an additional component like `Button` that will be displayed after the nav link items\n */\n AdditionalNavItemComponent?: ReactElement;\n /**\n * URL to settings page.\n */\n settingsPageHref?: string;\n /**\n * URL to the help page.\n */\n helpPageHref?: string;\n /**\n * Displays user account info\n */\n userProfile?: UserProfileProps;\n} & Pick<HtmlProps, \"testId\">;\n\nconst UserProfileContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n paddingRight: odysseyDesignTokens.Spacing4,\n}));\n\nconst UserProfileIconContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n display: \"flex\",\n paddingRight: odysseyDesignTokens.Spacing2,\n}));\n\nconst UserProfileInfoContainer = styled(\"div\")(() => ({\n display: \"flex\",\n flexDirection: \"column\",\n}));\n\nconst UserProfile = ({ profileIcon, userName, orgName }: UserProfileProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n return (\n <UserProfileContainer odysseyDesignTokens={odysseyDesignTokens}>\n {profileIcon && (\n <UserProfileIconContainer odysseyDesignTokens={odysseyDesignTokens}>\n {profileIcon}\n </UserProfileIconContainer>\n )}\n <UserProfileInfoContainer>\n <Subordinate color=\"textPrimary\">{userName}</Subordinate>\n <Subordinate color=\"textSecondary\">{orgName}</Subordinate>\n </UserProfileInfoContainer>\n </UserProfileContainer>\n );\n};\n\nconst TopNavListContainer = styled(\"ul\")(() => ({\n padding: 0,\n listStyle: \"none\",\n listStyleType: \"none\",\n display: \"flex\",\n alignItems: \"center\",\n}));\n\nconst TopNavItemLabelContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n flexWrap: \"wrap\",\n alignItems: \"center\",\n fontSize: odysseyDesignTokens.TypographyScale0,\n fontWeight: odysseyDesignTokens.TypographyWeightHeading,\n}));\n\nconst TopNavListItemContainer = styled(\"li\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"isDisabled\",\n})<{\n odysseyDesignTokens: DesignTokens;\n isDisabled?: boolean;\n}>(({ odysseyDesignTokens, isDisabled }) => ({\n display: \"flex\",\n alignItems: \"center\",\n cursor: isDisabled ? \"default\" : \"pointer\",\n pointerEvents: isDisabled ? \"none\" : \"auto\",\n color: `${isDisabled ? odysseyDesignTokens.TypographyColorDisabled : odysseyDesignTokens.TypographyColorHeading} !important`,\n \"& a\": {\n display: \"flex\",\n alignItems: \"center\",\n padding: `${odysseyDesignTokens.Spacing2} ${odysseyDesignTokens.Spacing4}`,\n color: `${odysseyDesignTokens.TypographyColorHeading} !important`,\n },\n \"& a:hover\": {\n textDecoration: \"none\",\n backgroundColor: !isDisabled ? odysseyDesignTokens.HueNeutral50 : \"inherit\",\n },\n \"& div[role='button']:hover\": {\n backgroundColor: !isDisabled ? odysseyDesignTokens.HueNeutral50 : \"inherit\",\n },\n \"& a:focus-visible\": {\n outlineOffset: 0,\n borderRadius: 0,\n outlineWidth: odysseyDesignTokens.FocusOutlineWidthMain,\n backgroundColor: !isDisabled ? odysseyDesignTokens.HueNeutral50 : \"inherit\",\n },\n}));\n\nconst NavItemContentClickContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n padding: `${odysseyDesignTokens.Spacing2} ${odysseyDesignTokens.Spacing4}`,\n \"&:focus-visible\": {\n borderRadius: 0,\n outlineColor: odysseyDesignTokens.FocusOutlineColorPrimary,\n outlineStyle: odysseyDesignTokens.FocusOutlineStyle,\n outlineWidth: odysseyDesignTokens.FocusOutlineWidthMain,\n backgroundColor: odysseyDesignTokens.HueNeutral50,\n textDecoration: \"none\",\n },\n}));\n\nconst TopNavItemContent = ({\n id,\n label,\n href,\n target,\n onClick,\n isDisabled,\n}: TopNavLinkItem) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const topNavItemContentKeyHandler = useCallback<\n KeyboardEventHandler<HTMLDivElement>\n >(\n (event) => {\n if (event?.key === \"Enter\") {\n event.preventDefault();\n event.stopPropagation();\n onClick?.(event);\n }\n },\n [onClick],\n );\n\n return (\n <TopNavListItemContainer\n id={id}\n key={id}\n aria-disabled={isDisabled}\n isDisabled={isDisabled}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {\n // Use Link for nav items with links and div for disabled or non-link items\n isDisabled ? (\n <NavItemContentClickContainer\n odysseyDesignTokens={odysseyDesignTokens}\n >\n <TopNavItemLabelContainer odysseyDesignTokens={odysseyDesignTokens}>\n {label}\n </TopNavItemLabelContainer>\n </NavItemContentClickContainer>\n ) : !href ? (\n <NavItemContentClickContainer\n odysseyDesignTokens={odysseyDesignTokens}\n role=\"button\"\n tabIndex={0}\n onClick={onClick}\n onKeyDown={topNavItemContentKeyHandler}\n >\n <TopNavItemLabelContainer odysseyDesignTokens={odysseyDesignTokens}>\n {label}\n </TopNavItemLabelContainer>\n </NavItemContentClickContainer>\n ) : (\n <Link href={href} target={target} onClick={onClick}>\n <TopNavItemLabelContainer odysseyDesignTokens={odysseyDesignTokens}>\n {label}\n </TopNavItemLabelContainer>\n </Link>\n )\n }\n </TopNavListItemContainer>\n );\n};\n\nconst LinkAndProfileWrapper = styled(\"div\")(() => ({\n display: \"flex\",\n alignItems: \"center\",\n marginLeft: \"auto\",\n}));\n\nconst AdditionalLinkContainerWithBorder = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n marginRight: odysseyDesignTokens.Spacing3,\n borderRight: `${odysseyDesignTokens.BorderWidthMain} solid ${odysseyDesignTokens.HueNeutral200}`,\n}));\n\nconst LinkContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n paddingRight: odysseyDesignTokens.Spacing3,\n \"& a\": {\n color: `${odysseyDesignTokens.TypographyColorHeading} !important`,\n },\n}));\n\nconst TopNavContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n backgroundColor: odysseyDesignTokens.HueNeutralWhite,\n height: odysseyDesignTokens.Spacing9,\n}));\n\nconst SearchFieldContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n width: \"350px\",\n padding: `${odysseyDesignTokens.Spacing2} ${odysseyDesignTokens.Spacing3}`,\n}));\n\nconst AdditionalNavItemContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n padding: `0 ${odysseyDesignTokens.Spacing3}`,\n}));\n\nconst TopNav = ({\n SearchFieldComponent,\n topNavLinkItems,\n AdditionalNavItemComponent,\n settingsPageHref,\n helpPageHref,\n userProfile,\n}: TopNavProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const processedNavItems = useMemo(\n () =>\n topNavLinkItems.map((item) => (\n <TopNavItemContent {...item} key={item.id} />\n )),\n [topNavLinkItems],\n );\n\n return (\n <TopNavContainer odysseyDesignTokens={odysseyDesignTokens}>\n {SearchFieldComponent && (\n <SearchFieldContainer odysseyDesignTokens={odysseyDesignTokens}>\n {SearchFieldComponent}\n </SearchFieldContainer>\n )}\n <TopNavListContainer>\n {processedNavItems?.map((item) => item)}\n </TopNavListContainer>\n <LinkAndProfileWrapper>\n {(AdditionalNavItemComponent || settingsPageHref || helpPageHref) && (\n <AdditionalLinkContainerWithBorder\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {AdditionalNavItemComponent && (\n <AdditionalNavItemContainer\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {AdditionalNavItemComponent}\n </AdditionalNavItemContainer>\n )}\n {settingsPageHref && (\n <LinkContainer odysseyDesignTokens={odysseyDesignTokens}>\n <Link href={settingsPageHref} ariaLabel=\"settings page\">\n <SettingsIcon />\n </Link>\n </LinkContainer>\n )}\n {helpPageHref && (\n <LinkContainer odysseyDesignTokens={odysseyDesignTokens}>\n <Link href={helpPageHref} ariaLabel=\"help page\">\n <QuestionCircleIcon />\n </Link>\n </LinkContainer>\n )}\n </AdditionalLinkContainerWithBorder>\n )}\n {userProfile && <UserProfile {...userProfile} />}\n </LinkAndProfileWrapper>\n </TopNavContainer>\n );\n};\n\nconst MemoizedTopNav = memo(TopNav);\nMemoizedTopNav.displayName = \"TopNav\";\n\nexport { MemoizedTopNav as TopNav };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AACpC,SACEC,IAAI,EACJC,OAAO,EAEPC,WAAW,QAGN,OAAO;AAAC,SAGNC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,IAAI;AAAA,SAGXC,sBAAsB;AAAA,SAEfC,WAAW;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAAA,SAAAC,IAAA,IAAAC,KAAA;AAAA,SAAAC,aAAA,IAAAC,cAAA;AAoEpB,MAAMC,oBAAoB,GAAGf,MAAM,CAAC,KAAK,EAAE;EACzCgB,iBAAiB,EAAGC,IAAI,IAAKA,IAAI,KAAK;AACxC,CAAC,CAAC,CAAC,CAAC;EAAEC;AAA2D,CAAC,MAAM;EACtEC,OAAO,EAAE,MAAM;EACfC,UAAU,EAAE,QAAQ;EACpBC,YAAY,EAAEH,mBAAmB,CAACI;AACpC,CAAC,CAAC,CAAC;AAEH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QAAA,EACtDrB,IAAA,CAACJ,IAAI;YAAC2D,IAAI,EAAE8B,gBAAiB;YAACM,SAAS,EAAC,eAAe;YAAAtE,QAAA,EACrDrB,IAAA,CAACL,YAAY,IAAE;UAAC,CACZ;QAAC,CACM,CAChB,EACA2F,YAAY,IACXtF,IAAA,CAAC0E,aAAa;UAAClE,mBAAmB,EAAEA,mBAAoB;UAAAa,QAAA,EACtDrB,IAAA,CAACJ,IAAI;YAAC2D,IAAI,EAAE+B,YAAa;YAACK,SAAS,EAAC,WAAW;YAAAtE,QAAA,EAC7CrB,IAAA,CAACN,kBAAkB,IAAE;UAAC,CAClB;QAAC,CACM,CAChB;MAAA,CACgC,CACpC,EACA6F,WAAW,IAAIvF,IAAA,CAACiB,WAAW;QAAA,GAAKsE;MAAW,CAAG,CAAC;IAAA,CAC3B,CAAC;EAAA,CACT,CAAC;AAEtB,CAAC;AAED,MAAMK,cAAc,GAAGrG,IAAI,CAAC0F,MAAM,CAAC;AACnCW,cAAc,CAACC,WAAW,GAAG,QAAQ;AAErC,SAASD,cAAc,IAAIX,MAAM"}
|
|
1
|
+
{"version":3,"file":"TopNav.js","names":["styled","memo","useMemo","useCallback","QuestionCircleIcon","SettingsIcon","Link","useOdysseyDesignTokens","Subordinate","jsx","_jsx","jsxs","_jsxs","createElement","_createElement","TOP_NAV_HEIGHT_TOKEN","UserProfileContainer","shouldForwardProp","prop","odysseyDesignTokens","display","alignItems","paddingRight","Spacing4","UserProfileIconContainer","Spacing2","UserProfileInfoContainer","flexDirection","UserProfile","profileIcon","userName","orgName","children","color","TopNavListContainer","padding","listStyle","listStyleType","TopNavItemLabelContainer","flexWrap","fontSize","TypographyScale0","fontWeight","TypographyWeightHeading","TopNavListItemContainer","isDisabled","cursor","pointerEvents","TypographyColorDisabled","TypographyColorHeading","textDecoration","backgroundColor","HueNeutral50","outlineOffset","borderRadius","outlineWidth","FocusOutlineWidthMain","NavItemContentClickContainer","width","outlineColor","FocusOutlineColorPrimary","outlineStyle","FocusOutlineStyle","TopNavItemContent","id","label","href","target","onClick","topNavItemContentKeyHandler","event","key","preventDefault","stopPropagation","role","tabIndex","onKeyDown","LinkAndProfileWrapper","marginLeft","AdditionalLinkContainerWithBorder","marginRight","Spacing3","borderRight","BorderWidthMain","HueNeutral200","LinkContainer","TopNavContainer","HueNeutralWhite","height","SearchFieldContainer","AdditionalNavItemContainer","TopNav","SearchFieldComponent","topNavLinkItems","AdditionalNavItemComponent","settingsPageHref","helpPageHref","userProfile","processedNavItems","map","item","ariaLabel","MemoizedTopNav","displayName"],"sources":["../../src/labs/TopNav.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 styled from \"@emotion/styled\";\nimport {\n memo,\n useMemo,\n ReactElement,\n useCallback,\n MouseEventHandler,\n KeyboardEventHandler,\n} from \"react\";\n\nimport type { HtmlProps } from \"../HtmlProps\";\nimport { QuestionCircleIcon, SettingsIcon } from \"../icons.generated\";\nimport { Link } from \"../Link\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../OdysseyDesignTokensContext\";\nimport { Subordinate } from \"../Typography\";\n\nexport const TOP_NAV_HEIGHT_TOKEN = \"Spacing9\";\n\nexport type TopNavLinkItem = {\n id: string;\n label: string;\n /**\n * link added to the nav item. if it is undefined, static text will be displayed.\n * fires onClick event when it is passed\n */\n href?: string;\n /**\n * determines whether the link item is diabled\n */\n isDisabled?: boolean;\n /**\n * Event fired when the nav item is clicked\n */\n onClick?: MouseEventHandler<HTMLAnchorElement> &\n MouseEventHandler<HTMLDivElement> &\n KeyboardEventHandler<HTMLDivElement>;\n /**\n * The link target prop. e.g., \"_blank\"\n */\n target?: string;\n};\n\nexport type UserProfileProps = {\n /**\n * Logged in user profile icon to be displayed in the top nav\n */\n profileIcon?: ReactElement;\n /**\n * Logged in user info to be displayed in the top nav\n */\n userName: string;\n /**\n * Org name of the logged in user\n */\n orgName: string;\n};\n\nexport type TopNavProps = {\n /**\n * Pass in a SearchField component with the variant=\"filled\" prop set\n */\n SearchFieldComponent?: ReactElement;\n /**\n * Nav links in the top nav\n */\n topNavLinkItems: TopNavLinkItem[];\n /**\n * Pass in an additional component like `Button` that will be displayed after the nav link items\n */\n AdditionalNavItemComponent?: ReactElement;\n /**\n * URL to settings page.\n */\n settingsPageHref?: string;\n /**\n * URL to the help page.\n */\n helpPageHref?: string;\n /**\n * Displays user account info\n */\n userProfile?: UserProfileProps;\n} & Pick<HtmlProps, \"testId\">;\n\nconst UserProfileContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n paddingRight: odysseyDesignTokens.Spacing4,\n}));\n\nconst UserProfileIconContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n display: \"flex\",\n paddingRight: odysseyDesignTokens.Spacing2,\n}));\n\nconst UserProfileInfoContainer = styled(\"div\")(() => ({\n display: \"flex\",\n flexDirection: \"column\",\n}));\n\nconst UserProfile = ({ profileIcon, userName, orgName }: UserProfileProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n return (\n <UserProfileContainer odysseyDesignTokens={odysseyDesignTokens}>\n {profileIcon && (\n <UserProfileIconContainer odysseyDesignTokens={odysseyDesignTokens}>\n {profileIcon}\n </UserProfileIconContainer>\n )}\n <UserProfileInfoContainer>\n <Subordinate color=\"textPrimary\">{userName}</Subordinate>\n <Subordinate color=\"textSecondary\">{orgName}</Subordinate>\n </UserProfileInfoContainer>\n </UserProfileContainer>\n );\n};\n\nconst TopNavListContainer = styled(\"ul\")(() => ({\n padding: 0,\n listStyle: \"none\",\n listStyleType: \"none\",\n display: \"flex\",\n alignItems: \"center\",\n}));\n\nconst TopNavItemLabelContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n flexWrap: \"wrap\",\n alignItems: \"center\",\n fontSize: odysseyDesignTokens.TypographyScale0,\n fontWeight: odysseyDesignTokens.TypographyWeightHeading,\n}));\n\nconst TopNavListItemContainer = styled(\"li\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"isDisabled\",\n})<{\n odysseyDesignTokens: DesignTokens;\n isDisabled?: boolean;\n}>(({ odysseyDesignTokens, isDisabled }) => ({\n display: \"flex\",\n alignItems: \"center\",\n cursor: isDisabled ? \"default\" : \"pointer\",\n pointerEvents: isDisabled ? \"none\" : \"auto\",\n color: `${isDisabled ? odysseyDesignTokens.TypographyColorDisabled : odysseyDesignTokens.TypographyColorHeading} !important`,\n \"& a\": {\n display: \"flex\",\n alignItems: \"center\",\n padding: `${odysseyDesignTokens.Spacing2} ${odysseyDesignTokens.Spacing4}`,\n color: `${odysseyDesignTokens.TypographyColorHeading} !important`,\n },\n \"& a:hover\": {\n textDecoration: \"none\",\n backgroundColor: !isDisabled ? odysseyDesignTokens.HueNeutral50 : \"inherit\",\n },\n \"& div[role='button']:hover\": {\n backgroundColor: !isDisabled ? odysseyDesignTokens.HueNeutral50 : \"inherit\",\n },\n \"& a:focus-visible\": {\n outlineOffset: 0,\n borderRadius: 0,\n outlineWidth: odysseyDesignTokens.FocusOutlineWidthMain,\n backgroundColor: !isDisabled ? odysseyDesignTokens.HueNeutral50 : \"inherit\",\n },\n}));\n\nconst NavItemContentClickContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n padding: `${odysseyDesignTokens.Spacing2} ${odysseyDesignTokens.Spacing4}`,\n \"&:focus-visible\": {\n borderRadius: 0,\n outlineColor: odysseyDesignTokens.FocusOutlineColorPrimary,\n outlineStyle: odysseyDesignTokens.FocusOutlineStyle,\n outlineWidth: odysseyDesignTokens.FocusOutlineWidthMain,\n backgroundColor: odysseyDesignTokens.HueNeutral50,\n textDecoration: \"none\",\n },\n}));\n\nconst TopNavItemContent = ({\n id,\n label,\n href,\n target,\n onClick,\n isDisabled,\n}: TopNavLinkItem) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const topNavItemContentKeyHandler = useCallback<\n KeyboardEventHandler<HTMLDivElement>\n >(\n (event) => {\n if (event?.key === \"Enter\") {\n event.preventDefault();\n event.stopPropagation();\n onClick?.(event);\n }\n },\n [onClick],\n );\n\n return (\n <TopNavListItemContainer\n id={id}\n key={id}\n aria-disabled={isDisabled}\n isDisabled={isDisabled}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {\n // Use Link for nav items with links and div for disabled or non-link items\n isDisabled ? (\n <NavItemContentClickContainer\n odysseyDesignTokens={odysseyDesignTokens}\n >\n <TopNavItemLabelContainer odysseyDesignTokens={odysseyDesignTokens}>\n {label}\n </TopNavItemLabelContainer>\n </NavItemContentClickContainer>\n ) : !href ? (\n <NavItemContentClickContainer\n odysseyDesignTokens={odysseyDesignTokens}\n role=\"button\"\n tabIndex={0}\n onClick={onClick}\n onKeyDown={topNavItemContentKeyHandler}\n >\n <TopNavItemLabelContainer odysseyDesignTokens={odysseyDesignTokens}>\n {label}\n </TopNavItemLabelContainer>\n </NavItemContentClickContainer>\n ) : (\n <Link href={href} target={target} onClick={onClick}>\n <TopNavItemLabelContainer odysseyDesignTokens={odysseyDesignTokens}>\n {label}\n </TopNavItemLabelContainer>\n </Link>\n )\n }\n </TopNavListItemContainer>\n );\n};\n\nconst LinkAndProfileWrapper = styled(\"div\")(() => ({\n display: \"flex\",\n alignItems: \"center\",\n marginLeft: \"auto\",\n}));\n\nconst AdditionalLinkContainerWithBorder = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n marginRight: odysseyDesignTokens.Spacing3,\n borderRight: `${odysseyDesignTokens.BorderWidthMain} solid ${odysseyDesignTokens.HueNeutral200}`,\n}));\n\nconst LinkContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n paddingRight: odysseyDesignTokens.Spacing3,\n \"& a\": {\n color: `${odysseyDesignTokens.TypographyColorHeading} !important`,\n },\n}));\n\nconst TopNavContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n backgroundColor: odysseyDesignTokens.HueNeutralWhite,\n height: odysseyDesignTokens[TOP_NAV_HEIGHT_TOKEN],\n}));\n\nconst SearchFieldContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n width: \"350px\",\n padding: `${odysseyDesignTokens.Spacing2} ${odysseyDesignTokens.Spacing3}`,\n}));\n\nconst AdditionalNavItemContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n padding: `0 ${odysseyDesignTokens.Spacing3}`,\n}));\n\nconst TopNav = ({\n SearchFieldComponent,\n topNavLinkItems,\n AdditionalNavItemComponent,\n settingsPageHref,\n helpPageHref,\n userProfile,\n}: TopNavProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const processedNavItems = useMemo(\n () =>\n topNavLinkItems.map((item) => (\n <TopNavItemContent {...item} key={item.id} />\n )),\n [topNavLinkItems],\n );\n\n return (\n <TopNavContainer odysseyDesignTokens={odysseyDesignTokens}>\n {SearchFieldComponent && (\n <SearchFieldContainer odysseyDesignTokens={odysseyDesignTokens}>\n {SearchFieldComponent}\n </SearchFieldContainer>\n )}\n <TopNavListContainer>\n {processedNavItems?.map((item) => item)}\n </TopNavListContainer>\n <LinkAndProfileWrapper>\n {(AdditionalNavItemComponent || settingsPageHref || helpPageHref) && (\n <AdditionalLinkContainerWithBorder\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {AdditionalNavItemComponent && (\n <AdditionalNavItemContainer\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {AdditionalNavItemComponent}\n </AdditionalNavItemContainer>\n )}\n {settingsPageHref && (\n <LinkContainer odysseyDesignTokens={odysseyDesignTokens}>\n <Link href={settingsPageHref} ariaLabel=\"settings page\">\n <SettingsIcon />\n </Link>\n </LinkContainer>\n )}\n {helpPageHref && (\n <LinkContainer odysseyDesignTokens={odysseyDesignTokens}>\n <Link href={helpPageHref} ariaLabel=\"help page\">\n <QuestionCircleIcon />\n </Link>\n </LinkContainer>\n )}\n </AdditionalLinkContainerWithBorder>\n )}\n {userProfile && <UserProfile {...userProfile} />}\n </LinkAndProfileWrapper>\n </TopNavContainer>\n );\n};\n\nconst MemoizedTopNav = memo(TopNav);\nMemoizedTopNav.displayName = \"TopNav\";\n\nexport { MemoizedTopNav as TopNav };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AACpC,SACEC,IAAI,EACJ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
package/dist/labs/index.js
CHANGED
|
@@ -18,14 +18,12 @@ export * from "./datePickerTheme.js";
|
|
|
18
18
|
export * from "./DataView/index.js";
|
|
19
19
|
export * from "./DataTablePagination.js";
|
|
20
20
|
export * from "./DataFilters.js";
|
|
21
|
-
export * from "./FileUpload.js";
|
|
22
21
|
export * from "./Layout.js";
|
|
23
22
|
export * from "./materialReactTableTypes.js";
|
|
24
23
|
export * from "./StaticTable.js";
|
|
25
24
|
export * from "./PageTemplate.js";
|
|
26
25
|
export * from "./PaginatedTable.js";
|
|
27
26
|
export * from "./GroupPicker.js";
|
|
28
|
-
export * from "./Switch.js";
|
|
29
27
|
export * from "./NavAccordion.js";
|
|
30
28
|
export * from "./SideNav/index.js";
|
|
31
29
|
export * from "./TopNav.js";
|
package/dist/labs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["AdapterDateFns","LocalizationProvider"],"sources":["../../src/labs/index.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\nexport { AdapterDateFns } from \"@mui/x-date-pickers/AdapterDateFns\";\nexport { LocalizationProvider } from \"@mui/x-date-pickers\";\nexport type { LocalizationProviderProps } from \"@mui/x-date-pickers\";\n\nexport * from \"./AppTile\";\n\nexport * from \"./DatePicker\";\nexport * from \"./datePickerTheme\";\n\nexport * from \"./DataView\";\n\n/** @deprecated Will be removed in a future Odyssey version in lieu of the one shipping with DataTable */\nexport * from \"./DataTablePagination\";\nexport * from \"./DataFilters\";\nexport * from \"./
|
|
1
|
+
{"version":3,"file":"index.js","names":["AdapterDateFns","LocalizationProvider"],"sources":["../../src/labs/index.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\nexport { AdapterDateFns } from \"@mui/x-date-pickers/AdapterDateFns\";\nexport { LocalizationProvider } from \"@mui/x-date-pickers\";\nexport type { LocalizationProviderProps } from \"@mui/x-date-pickers\";\n\nexport * from \"./AppTile\";\n\nexport * from \"./DatePicker\";\nexport * from \"./datePickerTheme\";\n\nexport * from \"./DataView\";\n\n/** @deprecated Will be removed in a future Odyssey version in lieu of the one shipping with DataTable */\nexport * from \"./DataTablePagination\";\nexport * from \"./DataFilters\";\nexport * from \"./Layout\";\nexport * from \"./materialReactTableTypes\";\n/** @deprecated Will be removed in a future Odyssey version in lieu of DataTable */\nexport * from \"./StaticTable\";\nexport * from \"./PageTemplate\";\n/** @deprecated Will be removed in a future Odyssey version in lieu of DataTable */\nexport * from \"./PaginatedTable\";\n\nexport * from \"./GroupPicker\";\n\nexport * from \"./NavAccordion\";\nexport * from \"./SideNav\";\nexport * from \"./TopNav\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,cAAc,QAAQ,oCAAoC;AACnE,SAASC,oBAAoB,QAAQ,qBAAqB;AAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA"}
|
|
@@ -32,7 +32,7 @@ export const useDateFieldsTranslations = () => {
|
|
|
32
32
|
empty: `${t("picker.labels.empty")}`,
|
|
33
33
|
end: `${t("picker.labels.range.end")}`,
|
|
34
34
|
endDate: `${t("picker.labels.range.enddate")}`,
|
|
35
|
-
endTime: `${t("picker.labels.range.
|
|
35
|
+
endTime: `${t("picker.labels.range.endtime")}`,
|
|
36
36
|
fieldClearLabel: `${t("picker.labels.field.clear")}`,
|
|
37
37
|
fieldDayPlaceholder: () => `${t("picker.field.placeholder.day")}`,
|
|
38
38
|
fieldMonthPlaceholder: () => `${t("picker.field.placeholder.month")}`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDateFieldsTranslations.js","names":["useTranslation","useDateFieldsTranslations","t","calendarViewSwitchingButtonAriaLabel","view","calendarWeekNumberHeaderLabel","calendarWeekNumberHeaderText","calendarWeekNumberAriaLabelText","calendarWeekNumberText","cancelButtonLabel","clearButtonLabel","clockLabelText","time","adapter","format","datePickerToolbarTitle","dateRangePickerToolbarTitle","dateTableLabel","dateTimePickerToolbarTitle","day","empty","end","endDate","endTime","fieldClearLabel","fieldDayPlaceholder","fieldMonthPlaceholder","fieldYearPlaceholder","fieldHoursPlaceholder","fieldMinutesPlaceholder","fieldSecondsPlaceholder","fieldMeridiemPlaceholder","fieldWeekDayPlaceholder","hours","hoursClockNumberText","meridiem","minutes","minutesClockNumberText","month","nextMonth","okButtonLabel","openDatePickerDialogue","value","utils","isValid","openNextView","openPreviousView","openTimePickerDialogue","previousMonth","seconds","secondsClockNumberText","selectViewText","start","startDate","startTime","todayButtonLabel","timePickerToolbarTitle","timeTableLabel","weekDay","year"],"sources":["../../src/labs/useDateFieldsTranslations.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-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 { PickersLocaleText } from \"@mui/x-date-pickers\";\nimport { DateTime } from \"luxon\";\nimport { useTranslation } from \"react-i18next\";\n\nexport type DateFieldsTranslations = PickersLocaleText<DateTime>;\n\nexport const useDateFieldsTranslations = (): DateFieldsTranslations => {\n const { t } = useTranslation();\n\n return {\n calendarViewSwitchingButtonAriaLabel: (view) =>\n view === \"year\"\n ? `${t(\"picker.view.navigation.switch.calendarview\")}`\n : `${t(\"picker.view.navigation.switch.yearview\")}`,\n // not translated because we aren't using it\n calendarWeekNumberHeaderLabel: \"\",\n calendarWeekNumberHeaderText: \"\",\n calendarWeekNumberAriaLabelText: () => \"\",\n calendarWeekNumberText: () => \"\",\n\n cancelButtonLabel: `${t(\"picker.labels.action.cancel\")}`,\n clearButtonLabel: `${t(\"clear.text\")}`,\n clockLabelText: (view, time, adapter) =>\n `${t(\"picker.labels.select\")} ${view}. ${\n time === null\n ? `${t(\"picker.labels.clock.empty\")}`\n : `${t(\"picker.labels.clock.selected\")} ${adapter.format(time, \"fullTime\")}`\n }`,\n datePickerToolbarTitle: `${t(\"picker.date.toolbar.title\")}`,\n dateRangePickerToolbarTitle: `${t(\"picker.daterange.toolbar.title\")}`,\n dateTableLabel: `${t(\"picker.labels.table.date\")}`,\n dateTimePickerToolbarTitle: `${t(\"picker.datetime.toolbar.title\")}`,\n day: `${t(\"picker.view.name.day\")}`,\n empty: `${t(\"picker.labels.empty\")}`,\n end: `${t(\"picker.labels.range.end\")}`,\n endDate: `${t(\"picker.labels.range.enddate\")}`,\n endTime: `${t(\"picker.labels.range.
|
|
1
|
+
{"version":3,"file":"useDateFieldsTranslations.js","names":["useTranslation","useDateFieldsTranslations","t","calendarViewSwitchingButtonAriaLabel","view","calendarWeekNumberHeaderLabel","calendarWeekNumberHeaderText","calendarWeekNumberAriaLabelText","calendarWeekNumberText","cancelButtonLabel","clearButtonLabel","clockLabelText","time","adapter","format","datePickerToolbarTitle","dateRangePickerToolbarTitle","dateTableLabel","dateTimePickerToolbarTitle","day","empty","end","endDate","endTime","fieldClearLabel","fieldDayPlaceholder","fieldMonthPlaceholder","fieldYearPlaceholder","fieldHoursPlaceholder","fieldMinutesPlaceholder","fieldSecondsPlaceholder","fieldMeridiemPlaceholder","fieldWeekDayPlaceholder","hours","hoursClockNumberText","meridiem","minutes","minutesClockNumberText","month","nextMonth","okButtonLabel","openDatePickerDialogue","value","utils","isValid","openNextView","openPreviousView","openTimePickerDialogue","previousMonth","seconds","secondsClockNumberText","selectViewText","start","startDate","startTime","todayButtonLabel","timePickerToolbarTitle","timeTableLabel","weekDay","year"],"sources":["../../src/labs/useDateFieldsTranslations.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-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 { PickersLocaleText } from \"@mui/x-date-pickers\";\nimport { DateTime } from \"luxon\";\nimport { useTranslation } from \"react-i18next\";\n\nexport type DateFieldsTranslations = PickersLocaleText<DateTime>;\n\nexport const useDateFieldsTranslations = (): DateFieldsTranslations => {\n const { t } = useTranslation();\n\n return {\n calendarViewSwitchingButtonAriaLabel: (view) =>\n view === \"year\"\n ? `${t(\"picker.view.navigation.switch.calendarview\")}`\n : `${t(\"picker.view.navigation.switch.yearview\")}`,\n // not translated because we aren't using it\n calendarWeekNumberHeaderLabel: \"\",\n calendarWeekNumberHeaderText: \"\",\n calendarWeekNumberAriaLabelText: () => \"\",\n calendarWeekNumberText: () => \"\",\n\n cancelButtonLabel: `${t(\"picker.labels.action.cancel\")}`,\n clearButtonLabel: `${t(\"clear.text\")}`,\n clockLabelText: (view, time, adapter) =>\n `${t(\"picker.labels.select\")} ${view}. ${\n time === null\n ? `${t(\"picker.labels.clock.empty\")}`\n : `${t(\"picker.labels.clock.selected\")} ${adapter.format(time, \"fullTime\")}`\n }`,\n datePickerToolbarTitle: `${t(\"picker.date.toolbar.title\")}`,\n dateRangePickerToolbarTitle: `${t(\"picker.daterange.toolbar.title\")}`,\n dateTableLabel: `${t(\"picker.labels.table.date\")}`,\n dateTimePickerToolbarTitle: `${t(\"picker.datetime.toolbar.title\")}`,\n day: `${t(\"picker.view.name.day\")}`,\n empty: `${t(\"picker.labels.empty\")}`,\n end: `${t(\"picker.labels.range.end\")}`,\n endDate: `${t(\"picker.labels.range.enddate\")}`,\n endTime: `${t(\"picker.labels.range.endtime\")}`,\n fieldClearLabel: `${t(\"picker.labels.field.clear\")}`,\n fieldDayPlaceholder: () => `${t(\"picker.field.placeholder.day\")}`,\n fieldMonthPlaceholder: () => `${t(\"picker.field.placeholder.month\")}`,\n fieldYearPlaceholder: () => `${t(\"picker.field.placeholder.year\")}`,\n fieldHoursPlaceholder: () => `${t(\"picker.field.placeholder.hours\")}`,\n fieldMinutesPlaceholder: () => `${t(\"picker.field.placeholder.minutes\")}`,\n fieldSecondsPlaceholder: () => `${t(\"picker.field.placeholder.seconds\")}`,\n fieldMeridiemPlaceholder: () => `${t(\"picker.field.placeholder.meridiem\")}`,\n // not translated because we aren't using it\n fieldWeekDayPlaceholder: () => \"\",\n hours: `${t(\"picker.view.name.hours\")}`,\n hoursClockNumberText: (hours) =>\n `${hours} ${t(\"picker.labels.clock.hours\")}`,\n meridiem: `${t(\"picker.view.name.meridiem\")}`,\n minutes: `${t(\"picker.view.name.minutes\")}`,\n minutesClockNumberText: (minutes) =>\n `${minutes} ${t(\"picker.labels.clock.minutes\")}`,\n month: `${t(\"picker.view.name.month\")}`,\n nextMonth: `${t(\"picker.calendar.navigation.nextmonth\")}`,\n okButtonLabel: `${t(\"picker.labels.action.apply\")}`,\n openDatePickerDialogue: (value, utils) =>\n value !== null && utils.isValid(value)\n ? `${t(\"picker.labels.date.choose\")}, ${t(\"picker.labels.date.selected\")} ${utils.format(value, \"fullDate\")}`\n : `${t(\"picker.labels.date.choose\")}`,\n openNextView: `${t(\"picker.view.navigation.open.nextview\")}`,\n openPreviousView: `${t(\"picker.view.navigation.open.previousview\")}`,\n openTimePickerDialogue: (value, utils) =>\n value !== null && utils.isValid(value)\n ? `${t(\"picker.labels.time.choose\")}, ${t(\"picker.labels.time.selected\")} ${utils.format(value, \"fullTime\")}`\n : `${t(\"picker.labels.time.choose\")}`,\n previousMonth: `${t(\"picker.calendar.navigation.previousmonth\")}`,\n seconds: `${t(\"picker.view.name.seconds\")}`,\n secondsClockNumberText: (seconds) =>\n `${seconds} ${t(\"picker.labels.clock.seconds\")}`,\n selectViewText: (view) => `${t(\"picker.labels.select\")} ${view}`,\n start: `${t(\"picker.labels.range.start\")}`,\n startDate: `${t(\"picker.labels.range.startdate\")}`,\n startTime: `${t(\"picker.labels.range.starttime\")}`,\n todayButtonLabel: `${t(\"picker.labels.action.today\")}`,\n timePickerToolbarTitle: `${t(\"picker.time.toolbar.title\")}`,\n timeTableLabel: `${t(\"picker.labels.table.time\")}`,\n weekDay: `${t(\"picker.view.name.weekday\")}`,\n year: `${t(\"picker.view.name.year\")}`,\n };\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,cAAc,QAAQ,eAAe;AAI9C,OAAO,MAAMC,yBAAyB,GAAGA,CAAA,KAA8B;EACrE,MAAM;IAAEC;EAAE,CAAC,GAAGF,cAAc,CAAC,CAAC;EAE9B,OAAO;IACLG,oCAAoC,EAAGC,IAAI,IACzCA,IAAI,KAAK,MAAM,GACV,GAAEF,CAAC,CAAC,4CAA4C,CAAE,EAAC,GACnD,GAAEA,CAAC,CAAC,wCAAwC,CAAE,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AAC,0BAA0B,CAAE,EAAC;IAClDwD,OAAO,EAAG,GAAExD,CAAC,CAAC,0BAA0B,CAAE,EAAC;IAC3CyD,IAAI,EAAG,GAAEzD,CAAC,CAAC,uBAAuB,CAAE;EACtC,CAAC;AACH,CAAC"}
|
|
@@ -24,7 +24,8 @@ export const translation = {
|
|
|
24
24
|
"picker.labels.action.today": "Today",
|
|
25
25
|
"picker.labels.clock.empty": "No time selected",
|
|
26
26
|
"picker.labels.clock.hours": "hours",
|
|
27
|
-
"picker.labels.clock.minutes": "
|
|
27
|
+
"picker.labels.clock.minutes": "minutes",
|
|
28
|
+
"picker.labels.clock.seconds": "seconds",
|
|
28
29
|
"picker.labels.clock.selected": "Selected time is",
|
|
29
30
|
"picker.labels.date.choose": "Choose date",
|
|
30
31
|
"picker.labels.date.selected": "Selected date is",
|
|
@@ -40,6 +41,7 @@ export const translation = {
|
|
|
40
41
|
"picker.labels.table.date": "pick date",
|
|
41
42
|
"picker.labels.table.time": "pick time",
|
|
42
43
|
"picker.labels.time.choose": "Choose time",
|
|
44
|
+
"picker.labels.time.selected": "selected time is",
|
|
43
45
|
"picker.time.toolbar.title": "Select time",
|
|
44
46
|
"picker.view.name.day": "Day",
|
|
45
47
|
"picker.view.name.hours": "Hours",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odyssey-react-mui.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"Home\",\"breadcrumbs.label.text\":\"Breadcrumbs\",\"close.text\":\"Close\",\"clear.text\":\"Clear\",\"open.text\":\"Open\",\"picker.calendar.navigation.nextmonth\":\"Next month\",\"picker.calendar.navigation.previousmonth\":\"Previous month\",\"picker.date.toolbar.title\":\"Selected date\",\"picker.daterange.toolbar.title\":\"Select date range\",\"picker.datetime.toolbar.title\":\"Select date & time\",\"picker.error.invalid\":\"Correct the date format or select the date from the calendar.\",\"picker.error.mindate\":\"Date entered is earlier than allowed dates. Select a date from the range available in the calendar.\",\"picker.error.maxdate\":\"Date entered is later than the allowed dates. Select a date from the range available in the calendar.\",\"picker.field.placeholder.day\":\"DD\",\"picker.field.placeholder.hours\":\"hh\",\"picker.field.placeholder.meridiem\":\"aa\",\"picker.field.placeholder.minutes\":\"mm\",\"picker.field.placeholder.month\":\"MM\",\"picker.field.placeholder.seconds\":\"ss\",\"picker.field.placeholder.year\":\"YYYY\",\"picker.labels.action.apply\":\"Apply\",\"picker.labels.action.cancel\":\"Cancel\",\"picker.labels.action.today\":\"Today\",\"picker.labels.clock.empty\":\"No time selected\",\"picker.labels.clock.hours\":\"hours\",\"picker.labels.clock.minutes\":\"seconds\",\"picker.labels.clock.selected\":\"Selected time is\",\"picker.labels.date.choose\":\"Choose date\",\"picker.labels.date.selected\":\"Selected date is\",\"picker.labels.empty\":\"Empty\",\"picker.labels.field.clear\":\"Clear value\",\"picker.labels.range.end\":\"End\",\"picker.labels.range.enddate\":\"End date\",\"picker.labels.range.endtime\":\"End time\",\"picker.labels.range.start\":\"Start\",\"picker.labels.range.startdate\":\"Start date\",\"picker.labels.range.starttime\":\"Start time\",\"picker.labels.select\":\"Select\",\"picker.labels.table.date\":\"pick date\",\"picker.labels.table.time\":\"pick time\",\"picker.labels.time.choose\":\"Choose time\",\"picker.time.toolbar.title\":\"Select time\",\"picker.view.name.day\":\"Day\",\"picker.view.name.hours\":\"Hours\",\"picker.view.name.meridiem\":\"Meridiem\",\"picker.view.name.minutes\":\"Minutes\",\"picker.view.name.month\":\"Month\",\"picker.view.name.seconds\":\"Seconds\",\"picker.view.name.weekday\":\"Week day\",\"picker.view.name.year\":\"Year\",\"picker.view.navigation.open.nextview\":\"Open next view\",\"picker.view.navigation.open.previousview\":\"Open previous view\",\"picker.view.navigation.switch.calendarview\":\"year view is open, switch to calendar view\",\"picker.view.navigation.switch.yearview\":\"calendar view is open, switch to year view\",\"fielderror.screenreader.text\":\"Error\",\"fieldlabel.optional.text\":\"Optional\",\"fieldlabel.required.text\":\"Required\",\"filters.clear.label\":\"Clear filters\",\"filters.filter.any\":\"Any\",\"filters.filter.clear\":\"Clear filter\",\"filters.filters.arialabel\":\"Filters\",\"filters.menuitem.any\":\"Any {{label}}\",\"filters.menuitem.selected\":\"{{selected}} selected\",\"filters.search.label\":\"Search\",\"fileupload.button.text\":\"Add files\",\"fileupload.prompt.text\":\"Drag and drop files here or click to add files\",\"fileupload.removefile.text\":\"Remove file\",\"passwordfield.icon.label.hide\":\"Hide password\",\"passwordfield.icon.label.show\":\"Show password\",\"severity.error\":\"error\",\"severity.info\":\"info\",\"severity.success\":\"success\",\"severity.warning\":\"warning\",\"switch.active\":\"Active\",\"switch.inactive\":\"Inactive\",\"table.columnvisibility.arialabel\":\"Show/hide columns\",\"table.density.arialabel\":\"Table density\",\"table.draghandle.arialabel\":\"Drag row to reorder. Or, press space or enter to start and stop reordering and esc to cancel.\",\"table.draghandle.tooltip\":\"Drag row or press space/enter key to start and stop reordering\",\"table.actions\":\"Actions\",\"table.error\":\"Error loading data.\",\"table.fetchedrows.text\":\"Fetched {{totalRows}} row\",\"table.fetchedrows.text_plural\":\"Fetched {{totalRows}} total rows\",\"table.moreactions.arialabel\":\"More actions\",\"table.noresults.heading\":\"There are no results.\",\"table.noresults.text\":\"Try a different query.\",\"table.reorder.backward\":\"Send backward\",\"table.reorder.forward\":\"Bring forward\",\"table.reorder.toback\":\"Send to back\",\"table.reorder.tofront\":\"Bring to front\",\"table.rows.text\":\"{{totalRows}} row\",\"table.rows.text_plural\":\"{{totalRows}} rows\",\"pagination.loadmore\":\"Show more\",\"pagination.next\":\"Next page\",\"pagination.previous\":\"Previous page\",\"pagination.page\":\"Page\",\"pagination.rowsperpage\":\"Rows per page\",\"pagination.rowswithtotal\":\"{{firstRow}}-{{lastRow}} of {{totalRows}} rows\",\"pagination.rowswithouttotal\":\"{{firstRow}}-{{lastRow}} rows\",\"table.actions.selectall\":\"Select all\",\"table.actions.selectnone\":\"Select none\",\"table.actions.selectsome\":\"{{selectedRowCount}} selected\",\"table.rowexpansion.expand\":\"Expand\",\"table.rowexpansion.expandall\":\"Expand all\",\"table.rowexpansion.collapse\":\"Collapse\",\"table.rowexpansion.collapseall\":\"Collapse all\",\"dataview.layout.table\":\"Table\",\"dataview.layout.grid\":\"Grid\",\"dataview.layout.list\":\"List\"};"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG;EAAC,uBAAuB,EAAC,MAAM;EAAC,wBAAwB,EAAC,aAAa;EAAC,YAAY,EAAC,OAAO;EAAC,YAAY,EAAC,OAAO;EAAC,WAAW,EAAC,MAAM;EAAC,sCAAsC,EAAC,YAAY;EAAC,0CAA0C,EAAC,gBAAgB;EAAC,2BAA2B,EAAC,eAAe;EAAC,gCAAgC,EAAC,mBAAmB;EAAC,+BAA+B,EAAC,oBAAoB;EAAC,sBAAsB,EAAC,+DAA+D;EAAC,sBAAsB,EAAC,qGAAqG;EAAC,sBAAsB,EAAC,uGAAuG;EAAC,8BAA8B,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,mCAAmC,EAAC,IAAI;EAAC,kCAAkC,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,kCAAkC,EAAC,IAAI;EAAC,+BAA+B,EAAC,MAAM;EAAC,4BAA4B,EAAC,OAAO;EAAC,6BAA6B,EAAC,QAAQ;EAAC,4BAA4B,EAAC,OAAO;EAAC,2BAA2B,EAAC,kBAAkB;EAAC,2BAA2B,EAAC,OAAO;EAAC,6BAA6B,EAAC,SAAS;EAAC,8BAA8B,EAAC,kBAAkB;EAAC,2BAA2B,EAAC,aAAa;EAAC,6BAA6B,EAAC,kBAAkB;EAAC,qBAAqB,EAAC,OAAO;EAAC,2BAA2B,EAAC,aAAa;EAAC,yBAAyB,EAAC,KAAK;EAAC,6BAA6B,EAAC,UAAU;EAAC,6BAA6B,EAAC,UAAU;EAAC,2BAA2B,EAAC,OAAO;EAAC,+BAA+B,EAAC,YAAY;EAAC,+BAA+B,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AA+B,EAAC,kCAAkC;EAAC,6BAA6B,EAAC,cAAc;EAAC,yBAAyB,EAAC,uBAAuB;EAAC,sBAAsB,EAAC,wBAAwB;EAAC,wBAAwB,EAAC,eAAe;EAAC,uBAAuB,EAAC,eAAe;EAAC,sBAAsB,EAAC,cAAc;EAAC,uBAAuB,EAAC,gBAAgB;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,wBAAwB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC,WAAW;EAAC,iBAAiB,EAAC,WAAW;EAAC,qBAAqB,EAAC,eAAe;EAAC,iBAAiB,EAAC,MAAM;EAAC,wBAAwB,EAAC,eAAe;EAAC,0BAA0B,EAAC,gDAAgD;EAAC,6BAA6B,EAAC,+BAA+B;EAAC,yBAAyB,EAAC,YAAY;EAAC,0BAA0B,EAAC,aAAa;EAAC,0BAA0B,EAAC,+BAA+B;EAAC,2BAA2B,EAAC,QAAQ;EAAC,8BAA8B,EAAC,YAAY;EAAC,6BAA6B,EAAC,UAAU;EAAC,gCAAgC,EAAC,cAAc;EAAC,uBAAuB,EAAC,OAAO;EAAC,sBAAsB,EAAC,MAAM;EAAC,sBAAsB,EAAC;AAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"odyssey-react-mui.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"Home\",\"breadcrumbs.label.text\":\"Breadcrumbs\",\"close.text\":\"Close\",\"clear.text\":\"Clear\",\"open.text\":\"Open\",\"picker.calendar.navigation.nextmonth\":\"Next month\",\"picker.calendar.navigation.previousmonth\":\"Previous month\",\"picker.date.toolbar.title\":\"Selected date\",\"picker.daterange.toolbar.title\":\"Select date range\",\"picker.datetime.toolbar.title\":\"Select date & time\",\"picker.error.invalid\":\"Correct the date format or select the date from the calendar.\",\"picker.error.mindate\":\"Date entered is earlier than allowed dates. Select a date from the range available in the calendar.\",\"picker.error.maxdate\":\"Date entered is later than the allowed dates. Select a date from the range available in the calendar.\",\"picker.field.placeholder.day\":\"DD\",\"picker.field.placeholder.hours\":\"hh\",\"picker.field.placeholder.meridiem\":\"aa\",\"picker.field.placeholder.minutes\":\"mm\",\"picker.field.placeholder.month\":\"MM\",\"picker.field.placeholder.seconds\":\"ss\",\"picker.field.placeholder.year\":\"YYYY\",\"picker.labels.action.apply\":\"Apply\",\"picker.labels.action.cancel\":\"Cancel\",\"picker.labels.action.today\":\"Today\",\"picker.labels.clock.empty\":\"No time selected\",\"picker.labels.clock.hours\":\"hours\",\"picker.labels.clock.minutes\":\"minutes\",\"picker.labels.clock.seconds\":\"seconds\",\"picker.labels.clock.selected\":\"Selected time is\",\"picker.labels.date.choose\":\"Choose date\",\"picker.labels.date.selected\":\"Selected date is\",\"picker.labels.empty\":\"Empty\",\"picker.labels.field.clear\":\"Clear value\",\"picker.labels.range.end\":\"End\",\"picker.labels.range.enddate\":\"End date\",\"picker.labels.range.endtime\":\"End time\",\"picker.labels.range.start\":\"Start\",\"picker.labels.range.startdate\":\"Start date\",\"picker.labels.range.starttime\":\"Start time\",\"picker.labels.select\":\"Select\",\"picker.labels.table.date\":\"pick date\",\"picker.labels.table.time\":\"pick time\",\"picker.labels.time.choose\":\"Choose time\",\"picker.labels.time.selected\":\"selected time is\",\"picker.time.toolbar.title\":\"Select time\",\"picker.view.name.day\":\"Day\",\"picker.view.name.hours\":\"Hours\",\"picker.view.name.meridiem\":\"Meridiem\",\"picker.view.name.minutes\":\"Minutes\",\"picker.view.name.month\":\"Month\",\"picker.view.name.seconds\":\"Seconds\",\"picker.view.name.weekday\":\"Week day\",\"picker.view.name.year\":\"Year\",\"picker.view.navigation.open.nextview\":\"Open next view\",\"picker.view.navigation.open.previousview\":\"Open previous view\",\"picker.view.navigation.switch.calendarview\":\"year view is open, switch to calendar view\",\"picker.view.navigation.switch.yearview\":\"calendar view is open, switch to year view\",\"fielderror.screenreader.text\":\"Error\",\"fieldlabel.optional.text\":\"Optional\",\"fieldlabel.required.text\":\"Required\",\"filters.clear.label\":\"Clear filters\",\"filters.filter.any\":\"Any\",\"filters.filter.clear\":\"Clear filter\",\"filters.filters.arialabel\":\"Filters\",\"filters.menuitem.any\":\"Any {{label}}\",\"filters.menuitem.selected\":\"{{selected}} selected\",\"filters.search.label\":\"Search\",\"fileupload.button.text\":\"Add files\",\"fileupload.prompt.text\":\"Drag and drop files here or click to add files\",\"fileupload.removefile.text\":\"Remove file\",\"passwordfield.icon.label.hide\":\"Hide password\",\"passwordfield.icon.label.show\":\"Show password\",\"severity.error\":\"error\",\"severity.info\":\"info\",\"severity.success\":\"success\",\"severity.warning\":\"warning\",\"switch.active\":\"Active\",\"switch.inactive\":\"Inactive\",\"table.columnvisibility.arialabel\":\"Show/hide columns\",\"table.density.arialabel\":\"Table density\",\"table.draghandle.arialabel\":\"Drag row to reorder. Or, press space or enter to start and stop reordering and esc to cancel.\",\"table.draghandle.tooltip\":\"Drag row or press space/enter key to start and stop reordering\",\"table.actions\":\"Actions\",\"table.error\":\"Error loading data.\",\"table.fetchedrows.text\":\"Fetched {{totalRows}} row\",\"table.fetchedrows.text_plural\":\"Fetched {{totalRows}} total rows\",\"table.moreactions.arialabel\":\"More actions\",\"table.noresults.heading\":\"There are no results.\",\"table.noresults.text\":\"Try a different query.\",\"table.reorder.backward\":\"Send backward\",\"table.reorder.forward\":\"Bring forward\",\"table.reorder.toback\":\"Send to back\",\"table.reorder.tofront\":\"Bring to front\",\"table.rows.text\":\"{{totalRows}} row\",\"table.rows.text_plural\":\"{{totalRows}} rows\",\"pagination.loadmore\":\"Show more\",\"pagination.next\":\"Next page\",\"pagination.previous\":\"Previous page\",\"pagination.page\":\"Page\",\"pagination.rowsperpage\":\"Rows per page\",\"pagination.rowswithtotal\":\"{{firstRow}}-{{lastRow}} of {{totalRows}} rows\",\"pagination.rowswithouttotal\":\"{{firstRow}}-{{lastRow}} rows\",\"table.actions.selectall\":\"Select all\",\"table.actions.selectnone\":\"Select none\",\"table.actions.selectsome\":\"{{selectedRowCount}} selected\",\"table.rowexpansion.expand\":\"Expand\",\"table.rowexpansion.expandall\":\"Expand all\",\"table.rowexpansion.collapse\":\"Collapse\",\"table.rowexpansion.collapseall\":\"Collapse all\",\"dataview.layout.table\":\"Table\",\"dataview.layout.grid\":\"Grid\",\"dataview.layout.list\":\"List\"};"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG;EAAC,uBAAuB,EAAC,MAAM;EAAC,wBAAwB,EAAC,aAAa;EAAC,YAAY,EAAC,OAAO;EAAC,YAAY,EAAC,OAAO;EAAC,WAAW,EAAC,MAAM;EAAC,sCAAsC,EAAC,YAAY;EAAC,0CAA0C,EAAC,gBAAgB;EAAC,2BAA2B,EAAC,eAAe;EAAC,gCAAgC,EAAC,mBAAmB;EAAC,+BAA+B,EAAC,oBAAoB;EAAC,sBAAsB,EAAC,+DAA+D;EAAC,sBAAsB,EAAC,qGAAqG;EAAC,sBAAsB,EAAC,uGAAuG;EAAC,8BAA8B,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,mCAAmC,EAAC,IAAI;EAAC,kCAAkC,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,kCAAkC,EAAC,IAAI;EAAC,+BAA+B,EAAC,MAAM;EAAC,4BAA4B,EAAC,OAAO;EAAC,6BAA6B,EAAC,QAAQ;EAAC,4BAA4B,EAAC,OAAO;EAAC,2BAA2B,EAAC,kBAAkB;EAAC,2BAA2B,EAAC,OAAO;EAAC,6BAA6B,EAAC,SAAS;EAAC,6BAA6B,EAAC,SAAS;EAAC,8BAA8B,EAAC,kBAAkB;EAAC,2BAA2B,EAAC,aAAa;EAAC,6BAA6B,EAAC,kBAAkB;EAAC,qBAAqB,EAAC,OAAO;EAAC,2BAA2B,EAAC,aAAa;EAAC,yBAAyB,EAAC,KAAK;EAAC,6BAA6B,EAAC,UAAU;EAAC,6BAA6B,EAAC,UAAU;EAAC,2BAA2B,EAAC,OAAO;EAAC,+BAA+B,EAAC,YAAY;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AAqB;EAAC,wBAAwB,EAAC,2BAA2B;EAAC,+BAA+B,EAAC,kCAAkC;EAAC,6BAA6B,EAAC,cAAc;EAAC,yBAAyB,EAAC,uBAAuB;EAAC,sBAAsB,EAAC,wBAAwB;EAAC,wBAAwB,EAAC,eAAe;EAAC,uBAAuB,EAAC,eAAe;EAAC,sBAAsB,EAAC,cAAc;EAAC,uBAAuB,EAAC,gBAAgB;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,wBAAwB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC,WAAW;EAAC,iBAAiB,EAAC,WAAW;EAAC,qBAAqB,EAAC,eAAe;EAAC,iBAAiB,EAAC,MAAM;EAAC,wBAAwB,EAAC,eAAe;EAAC,0BAA0B,EAAC,gDAAgD;EAAC,6BAA6B,EAAC,+BAA+B;EAAC,yBAAyB,EAAC,YAAY;EAAC,0BAA0B,EAAC,aAAa;EAAC,0BAA0B,EAAC,+BAA+B;EAAC,2BAA2B,EAAC,QAAQ;EAAC,8BAA8B,EAAC,YAAY;EAAC,6BAA6B,EAAC,UAAU;EAAC,gCAAgC,EAAC,cAAc;EAAC,uBAAuB,EAAC,OAAO;EAAC,sBAAsB,EAAC,MAAM;EAAC,sBAAsB,EAAC;AAAM,CAAC"}
|
|
@@ -12,6 +12,36 @@
|
|
|
12
12
|
import { AutocompleteProps as MuiAutocompleteProps, UseAutocompleteProps } from "@mui/material";
|
|
13
13
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
14
14
|
import type { HtmlProps } from "./HtmlProps";
|
|
15
|
+
export declare const AutocompleteTestSelector: {
|
|
16
|
+
readonly accessibleText: {
|
|
17
|
+
readonly errorMessage: "errorMessage";
|
|
18
|
+
readonly hint: "description";
|
|
19
|
+
readonly label: "label";
|
|
20
|
+
};
|
|
21
|
+
readonly children: {
|
|
22
|
+
readonly list: {
|
|
23
|
+
readonly children: {
|
|
24
|
+
readonly listItem: {
|
|
25
|
+
readonly elementSelector: {
|
|
26
|
+
readonly method: "ByRole";
|
|
27
|
+
readonly options: {
|
|
28
|
+
readonly label: "name";
|
|
29
|
+
};
|
|
30
|
+
readonly role: "option";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
readonly isControlledElement: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
readonly elementSelector: {
|
|
38
|
+
readonly method: "ByRole";
|
|
39
|
+
readonly options: {
|
|
40
|
+
readonly label: "name";
|
|
41
|
+
};
|
|
42
|
+
readonly role: "combobox";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
15
45
|
export type AutocompleteProps<OptionType, HasMultipleChoices extends boolean | undefined, IsCustomValueAllowed extends boolean | undefined> = {
|
|
16
46
|
/**
|
|
17
47
|
* The default value. Use when the component is not controlled.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../src/Autocomplete.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,iBAAiB,IAAI,oBAAoB,EAEzC,oBAAoB,EAGrB,MAAM,eAAe,CAAC;AAmBvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../src/Autocomplete.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,iBAAiB,IAAI,oBAAoB,EAEzC,oBAAoB,EAGrB,MAAM,eAAe,CAAC;AAmBvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BJ,CAAC;AAIlC,MAAM,MAAM,iBAAiB,CAC3B,UAAU,EACV,k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|
11
11
|
*/
|
|
12
12
|
import { ReactNode } from "react";
|
|
13
13
|
import type { HtmlProps } from "./HtmlProps";
|
|
14
|
-
export declare const
|
|
15
|
-
readonly
|
|
14
|
+
export declare const CalloutTestSelector: {
|
|
15
|
+
readonly accessibleText: {
|
|
16
|
+
readonly text: "description";
|
|
17
|
+
readonly title: "label";
|
|
18
|
+
};
|
|
19
|
+
readonly children: {
|
|
16
20
|
readonly link: {
|
|
17
|
-
readonly
|
|
21
|
+
readonly elementSelector: {
|
|
18
22
|
readonly method: "ByRole";
|
|
19
23
|
readonly options: {
|
|
20
|
-
readonly
|
|
24
|
+
readonly linkText: "name";
|
|
21
25
|
};
|
|
22
26
|
readonly role: "link";
|
|
23
|
-
readonly templateVariableNames: ["linkText"];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
readonly text: {
|
|
27
|
-
readonly selector: {
|
|
28
|
-
readonly method: "ByText";
|
|
29
|
-
readonly templateVariableNames: ["text"];
|
|
30
|
-
readonly text: "${text}";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
readonly title: {
|
|
34
|
-
readonly selector: {
|
|
35
|
-
readonly method: "ByText";
|
|
36
|
-
readonly templateVariableNames: ["title"];
|
|
37
|
-
readonly text: "${title}";
|
|
38
27
|
};
|
|
39
28
|
};
|
|
40
29
|
};
|
|
41
|
-
readonly
|
|
30
|
+
readonly elementSelector: {
|
|
42
31
|
readonly method: "ByRole";
|
|
43
32
|
readonly options: {
|
|
44
|
-
readonly
|
|
33
|
+
readonly title: "name";
|
|
45
34
|
};
|
|
46
|
-
readonly role: "
|
|
47
|
-
readonly templateVariableNames: ["role", "title"];
|
|
35
|
+
readonly role: ["alert", "status"];
|
|
48
36
|
};
|
|
49
37
|
};
|
|
50
38
|
export declare const calloutRoleValues: readonly ["status", "alert"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../src/Callout.tsx"],"names":[],"mappings":"AAA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EAAE,QAAQ,GAAG,WAAW,CAAC,CAAC;AAuD1C,QAAA,MAAM,eAAe,yHAnClB,YAAY,6CAmCsB,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollIndication.d.ts","sourceRoot":"","sources":["../../../src/DataTable/useScrollIndication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,QAAQ,EACR,cAAc,EAIf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useScrollIndication.d.ts","sourceRoot":"","sources":["../../../src/DataTable/useScrollIndication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,QAAQ,EACR,cAAc,EAIf,MAAM,OAAO,CAAC;AAGf,KAAK,wBAAwB,GAAG;IAC9B,mBAAmB,EAAE,cAAc,GAAG,IAAI,CAAC;IAC3C,mBAAmB,EAAE,cAAc,GAAG,IAAI,CAAC;IAC3C,kCAAkC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACtE,gCAAgC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACpE,2BAA2B,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CAC/D,CAAC;AACF,eAAO,MAAM,mBAAmB,qJAM7B,wBAAwB,SA0F1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileUploadIllustration.d.ts","sourceRoot":"","sources":["../../../src/FileUploader/FileUploadIllustration.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAoDH,QAAA,MAAM,8BAA8B,oFAA+B,CAAC;AAGpE,OAAO,EAAE,8BAA8B,IAAI,sBAAsB,EAAE,CAAC"}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { FileUploaderProps } from "./FileUploader";
|
|
13
13
|
type FileUploadPreviewProps = {
|
|
14
14
|
fileNames: string[];
|
|
15
|
-
isDisabled:
|
|
15
|
+
isDisabled: FileUploaderProps["isDisabled"];
|
|
16
16
|
onFileRemove?: (name: string) => void;
|
|
17
17
|
};
|
|
18
18
|
declare const MemoizedFileUploadPreview: import("react").MemoExoticComponent<({ fileNames, isDisabled, onFileRemove, }: FileUploadPreviewProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileUploadPreview.d.ts","sourceRoot":"","sources":["../../../src/FileUploader/FileUploadPreview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAoGnD,KAAK,sBAAsB,GAAG;IAC5B,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAC5C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AA0BF,QAAA,MAAM,yBAAyB,iFApB5B,sBAAsB,6CAoBgC,CAAC;AAG1D,OAAO,EAAE,yBAAyB,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { FieldComponentProps } from "../FieldComponentProps";
|
|
13
13
|
export declare const fileUploadTypes: readonly ["single", "multiple"];
|
|
14
14
|
export declare const fileUploadVariants: readonly ["button", "dragAndDrop", "dragAndDropWithIcon"];
|
|
15
|
-
export type
|
|
15
|
+
export type FileUploaderProps = {
|
|
16
16
|
/**
|
|
17
17
|
* an array of file types the user is able to upload. @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept#unique_file_type_specifiers for examples
|
|
18
18
|
*/
|
|
@@ -34,6 +34,7 @@ export type FileUploadProps = {
|
|
|
34
34
|
*/
|
|
35
35
|
variant: (typeof fileUploadVariants)[number];
|
|
36
36
|
} & Pick<FieldComponentProps, "errorMessage" | "hint" | "HintLinkComponent" | "id" | "isDisabled" | "isFullWidth" | "isOptional">;
|
|
37
|
-
declare const
|
|
38
|
-
export {
|
|
39
|
-
|
|
37
|
+
declare const MemoizedFileUploader: import("react").MemoExoticComponent<({ acceptedFileTypes, errorMessage, id, isDisabled, isFullWidth, isOptional, hint, HintLinkComponent, label, onChange, type, variant, }: FileUploaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
38
|
+
export { MemoizedFileUploader as FileUpload };
|
|
39
|
+
export { MemoizedFileUploader as FileUploader };
|
|
40
|
+
//# sourceMappingURL=FileUploader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileUploader.d.ts","sourceRoot":"","sources":["../../../src/FileUploader/FileUploader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAgBH,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAS7D,eAAO,MAAM,eAAe,iCAAkC,CAAC;AAC/D,eAAO,MAAM,kBAAkB,2DAIrB,CAAC;AAsEX,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,EAAE,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;CAC9C,GAAG,IAAI,CACN,mBAAmB,EACjB,cAAc,GACd,MAAM,GACN,mBAAmB,GACnB,IAAI,GACJ,YAAY,GACZ,aAAa,GACb,YAAY,CACf,CAAC;AAsKF,QAAA,MAAM,oBAAoB,+KAvJvB,iBAAiB,6CAuJ2B,CAAC;AAGhD,OAAO,EAAE,oBAAoB,IAAI,UAAU,EAAE,CAAC;AAC9C,OAAO,EAAE,oBAAoB,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export * from "./FileUploader";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/FileUploader/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,gBAAgB,CAAC"}
|
|
@@ -119,6 +119,6 @@ declare const MemoizedNativeSelect: React.MemoExoticComponent<React.ForwardRefEx
|
|
|
119
119
|
* The value or values selected in the NativeSelect. Use when component is controlled
|
|
120
120
|
*/
|
|
121
121
|
value?: string | string[] | undefined;
|
|
122
|
-
} & Pick<FieldComponentProps, "
|
|
122
|
+
} & Pick<FieldComponentProps, "errorMessage" | "id" | "HintLinkComponent" | "isOptional" | "errorMessageList" | "hint" | "isDisabled" | "isFullWidth"> & Pick<HtmlProps, "translate" | "testId" | "ariaDescribedBy"> & React.RefAttributes<React.ReactElement<any, string | React.JSXElementConstructor<any>>>>>;
|
|
123
123
|
export { MemoizedNativeSelect as NativeSelect };
|
|
124
124
|
//# sourceMappingURL=NativeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,+BAA+B,EAChC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"OdysseyProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,+BAA+B,EAChC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAM/E,MAAM,MAAM,oBAAoB,CAC9B,kBAAkB,SAAS,MAAM,GAAG,yBAAyB,IAC3D,yBAAyB,GAC3B,yBAAyB,GACzB,+BAA+B,CAAC,kBAAkB,CAAC,GAAG;IACpD,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEJ,QAAA,MAAM,eAAe,GAAI,kBAAkB,SAAS,MAAM,sLAYvD,oBAAoB,CAAC,kBAAkB,CAAC,4CAwB1C,CAAC;AAEF,QAAA,MAAM,qBAAqB,EAA4B,OAAO,eAAe,CAAC;AAE9E,OAAO,EAAE,qBAAqB,IAAI,eAAe,EAAE,CAAC"}
|
|
@@ -13,7 +13,7 @@ import { ReactNode } from "react";
|
|
|
13
13
|
import { DefaultSupportedLanguages } from "./OdysseyTranslationProvider.types";
|
|
14
14
|
import { resources } from "./i18n";
|
|
15
15
|
export type OdysseyI18nResourceKeys = (typeof resources)["en"];
|
|
16
|
-
export declare const odysseyI18nResourceKeysList: ("
|
|
16
|
+
export declare const odysseyI18nResourceKeysList: ("breadcrumbs.home.text" | "breadcrumbs.label.text" | "close.text" | "clear.text" | "open.text" | "picker.calendar.navigation.nextmonth" | "picker.calendar.navigation.previousmonth" | "picker.date.toolbar.title" | "picker.daterange.toolbar.title" | "picker.datetime.toolbar.title" | "picker.error.invalid" | "picker.error.mindate" | "picker.error.maxdate" | "picker.field.placeholder.day" | "picker.field.placeholder.hours" | "picker.field.placeholder.meridiem" | "picker.field.placeholder.minutes" | "picker.field.placeholder.month" | "picker.field.placeholder.seconds" | "picker.field.placeholder.year" | "picker.labels.action.apply" | "picker.labels.action.cancel" | "picker.labels.action.today" | "picker.labels.clock.empty" | "picker.labels.clock.hours" | "picker.labels.clock.minutes" | "picker.labels.clock.seconds" | "picker.labels.clock.selected" | "picker.labels.date.choose" | "picker.labels.date.selected" | "picker.labels.empty" | "picker.labels.field.clear" | "picker.labels.range.end" | "picker.labels.range.enddate" | "picker.labels.range.endtime" | "picker.labels.range.start" | "picker.labels.range.startdate" | "picker.labels.range.starttime" | "picker.labels.select" | "picker.labels.table.date" | "picker.labels.table.time" | "picker.labels.time.choose" | "picker.labels.time.selected" | "picker.time.toolbar.title" | "picker.view.name.day" | "picker.view.name.hours" | "picker.view.name.meridiem" | "picker.view.name.minutes" | "picker.view.name.month" | "picker.view.name.seconds" | "picker.view.name.weekday" | "picker.view.name.year" | "picker.view.navigation.open.nextview" | "picker.view.navigation.open.previousview" | "picker.view.navigation.switch.calendarview" | "picker.view.navigation.switch.yearview" | "fielderror.screenreader.text" | "fieldlabel.optional.text" | "fieldlabel.required.text" | "filters.clear.label" | "filters.filter.any" | "filters.filter.clear" | "filters.filters.arialabel" | "filters.menuitem.any" | "filters.menuitem.selected" | "filters.search.label" | "fileupload.button.text" | "fileupload.prompt.text" | "fileupload.removefile.text" | "passwordfield.icon.label.hide" | "passwordfield.icon.label.show" | "severity.error" | "severity.info" | "severity.success" | "severity.warning" | "switch.active" | "switch.inactive" | "table.columnvisibility.arialabel" | "table.density.arialabel" | "table.draghandle.arialabel" | "table.draghandle.tooltip" | "table.actions" | "table.error" | "table.fetchedrows.text" | "table.fetchedrows.text_plural" | "table.moreactions.arialabel" | "table.noresults.heading" | "table.noresults.text" | "table.reorder.backward" | "table.reorder.forward" | "table.reorder.toback" | "table.reorder.tofront" | "table.rows.text" | "table.rows.text_plural" | "pagination.loadmore" | "pagination.next" | "pagination.previous" | "pagination.page" | "pagination.rowsperpage" | "pagination.rowswithtotal" | "pagination.rowswithouttotal" | "table.actions.selectall" | "table.actions.selectnone" | "table.actions.selectsome" | "table.rowexpansion.expand" | "table.rowexpansion.expandall" | "table.rowexpansion.collapse" | "table.rowexpansion.collapseall" | "dataview.layout.table" | "dataview.layout.grid" | "dataview.layout.list")[];
|
|
17
17
|
export type TranslationOverrides<SupportedLanguages extends string = DefaultSupportedLanguages> = Record<SupportedLanguages, Partial<OdysseyI18nResourceKeys>>;
|
|
18
18
|
export type OdysseyTranslationProviderProps<SupportedLanguages extends string = DefaultSupportedLanguages> = {
|
|
19
19
|
children: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyTranslationProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAE/E,OAAO,EAAmB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAIpD,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/D,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"OdysseyTranslationProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAE/E,OAAO,EAAmB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAIpD,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/D,eAAO,MAAM,2BAA2B,soGAAsC,CAAC;AAE/E,MAAM,MAAM,oBAAoB,CAC9B,kBAAkB,SAAS,MAAM,GAAG,yBAAyB,IAC3D,MAAM,CAAC,kBAAkB,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAcjE,MAAM,MAAM,+BAA+B,CACzC,kBAAkB,SAAS,MAAM,GAAG,yBAAyB,IAC3D;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,kBAAkB,GAAG,yBAAyB,CAAC;IAC9D,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,CAAC;CACjE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,kBAAkB,SAAS,MAAM,qDAIzE,+BAA+B,CAAC,kBAAkB,CAAC,4CAmBrD,CAAC"}
|
|
@@ -108,6 +108,6 @@ declare const MemoizedPasswordField: import("react").MemoExoticComponent<import(
|
|
|
108
108
|
* The value of the `input` element. Use when component is controlled.
|
|
109
109
|
*/
|
|
110
110
|
value?: string;
|
|
111
|
-
} & FieldComponentProps & Pick<HtmlProps, "translate" | "
|
|
111
|
+
} & FieldComponentProps & Pick<HtmlProps, "translate" | "testId" | "ariaDescribedBy"> & import("react").RefAttributes<HTMLInputElement>>>;
|
|
112
112
|
export { MemoizedPasswordField as PasswordField };
|
|
113
113
|
//# sourceMappingURL=PasswordField.d.ts.map
|
|
@@ -126,6 +126,6 @@ declare const MemoizedSearchField: import("react").MemoExoticComponent<import("r
|
|
|
126
126
|
* Whether the SearchField has a gray or white background
|
|
127
127
|
*/
|
|
128
128
|
variant?: (typeof searchVariantValues)[number];
|
|
129
|
-
} & Pick<FieldComponentProps, "
|
|
129
|
+
} & Pick<FieldComponentProps, "name" | "id" | "isDisabled" | "isFullWidth"> & Pick<HtmlProps, "translate" | "testId" | "ariaDescribedBy"> & import("react").RefAttributes<HTMLInputElement>>>;
|
|
130
130
|
export { MemoizedSearchField as SearchField };
|
|
131
131
|
//# sourceMappingURL=SearchField.d.ts.map
|
package/dist/src/Select.d.ts
CHANGED
|
@@ -13,6 +13,42 @@ import { SelectProps as MuiSelectProps } from "@mui/material";
|
|
|
13
13
|
import { FieldComponentProps } from "./FieldComponentProps";
|
|
14
14
|
import type { HtmlProps } from "./HtmlProps";
|
|
15
15
|
import { FocusHandle } from "./inputUtils";
|
|
16
|
+
export declare const SelectTestSelector: {
|
|
17
|
+
readonly accessibleText: {
|
|
18
|
+
readonly errorMessage: "errorMessage";
|
|
19
|
+
readonly hint: "description";
|
|
20
|
+
readonly label: "label";
|
|
21
|
+
};
|
|
22
|
+
readonly children: {
|
|
23
|
+
readonly list: {
|
|
24
|
+
readonly accessibleText: {
|
|
25
|
+
readonly label: "label";
|
|
26
|
+
};
|
|
27
|
+
readonly children: {
|
|
28
|
+
readonly listItem: {
|
|
29
|
+
readonly accessibleText: {
|
|
30
|
+
readonly label: "label";
|
|
31
|
+
};
|
|
32
|
+
readonly elementSelector: {
|
|
33
|
+
readonly method: "ByRole";
|
|
34
|
+
readonly options: {
|
|
35
|
+
readonly label: "name";
|
|
36
|
+
};
|
|
37
|
+
readonly role: "option";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
readonly isControlledElement: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
readonly elementSelector: {
|
|
45
|
+
readonly method: "ByRole";
|
|
46
|
+
readonly options: {
|
|
47
|
+
readonly label: "name";
|
|
48
|
+
};
|
|
49
|
+
readonly role: "combobox";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
16
52
|
export type SelectOption = {
|
|
17
53
|
text: string;
|
|
18
54
|
type?: "heading" | "option";
|
package/dist/src/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAqBH,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,EACL,mBAAmB,EAEpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAEL,WAAW,EAGZ,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAqBH,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,EACL,mBAAmB,EAEpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAEL,WAAW,EAGZ,MAAM,cAAc,CAAC;AAStB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCE,CAAC;AAElC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAyDF,MAAM,MA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