@nulogy/components 15.4.0 → 15.4.1
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/dist/main.js +933 -1820
- package/dist/main.js.map +1 -1
- package/dist/main.module.js +720 -1606
- package/dist/main.module.js.map +1 -1
- package/dist/src/Alert/Alert.js +1 -1
- package/dist/src/AppTag/AppTag.js +1 -1
- package/dist/src/AppTag/components/LogoWrapper.js +1 -1
- package/dist/src/BottomSheet/BottomSheet.styled.js +1 -1
- package/dist/src/Box/Box.js +1 -1
- package/dist/src/Box/Box.story.js +1 -1
- package/dist/src/BrandedNavBar/DesktopMenu.js +1 -1
- package/dist/src/BrandedNavBar/MenuTriggerButton.js +1 -1
- package/dist/src/BrandedNavBar/MobileMenu.js +1 -1
- package/dist/src/BrandedNavBar/NavBar.js +1 -1
- package/dist/src/BrandedNavBar/NavBar.story.js +1 -1
- package/dist/src/BrandedNavBar/NavBarBackground.js +1 -1
- package/dist/src/BrandedNavBar/SmallNavBar.js +1 -1
- package/dist/src/BrandedNavBar/SmallNavBar.story.js +1 -1
- package/dist/src/BrandedNavBar/SubMenuTrigger.js +1 -1
- package/dist/src/BrandedNavBar/SubMenuTriggerButton.js +1 -1
- package/dist/src/BrandedNavBar/renderSubMenuItems.js +1 -1
- package/dist/src/Branding/Branding.js +1 -1
- package/dist/src/Branding/BrandingText.js +1 -1
- package/dist/src/Breadcrumbs/BreadcrumbsList.js +1 -1
- package/dist/src/Breadcrumbs/BreadcrumbsListItem.js +1 -1
- package/dist/src/Button/Button.js +1 -1
- package/dist/src/Button/CloseButton.js +1 -1
- package/dist/src/Button/ControlIcon.js +1 -1
- package/dist/src/Button/DangerButton.js +1 -1
- package/dist/src/Button/IconicButton.js +1 -1
- package/dist/src/Button/PrimaryButton.js +1 -1
- package/dist/src/Button/QuietButton.js +1 -1
- package/dist/src/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/src/Card/CardSet.js +1 -1
- package/dist/src/Checkbox/Checkbox.js +1 -1
- package/dist/src/Checkbox/CheckboxGroup.js +1 -1
- package/dist/src/DateRange/EndTime.js +1 -1
- package/dist/src/DateRange/StartTime.js +1 -1
- package/dist/src/Decorations/index.js +1 -1
- package/dist/src/DescriptionList/DescriptionList.parts.js +1 -1
- package/dist/src/DescriptionList/stories/fixtures.js +1 -1
- package/dist/src/Divider/Divider.js +1 -1
- package/dist/src/DropdownMenu/DropdownButton.js +1 -1
- package/dist/src/DropdownMenu/DropdownItem.js +1 -1
- package/dist/src/DropdownMenu/DropdownLink.js +1 -1
- package/dist/src/DropdownMenu/DropdownMenuContainer.js +1 -1
- package/dist/src/DropdownMenu/DropdownText.js +1 -1
- package/dist/src/FieldLabel/HelpText.js +1 -1
- package/dist/src/FieldLabel/Label.js +1 -1
- package/dist/src/FieldLabel/LabelText.js +1 -1
- package/dist/src/Flex/Flex.js +1 -1
- package/dist/src/Flex/Flex.story.js +1 -1
- package/dist/src/Form/Field.js +1 -1
- package/dist/src/Form/Fieldset.js +1 -1
- package/dist/src/Form/Form.js +1 -1
- package/dist/src/Form/FormSection.js +1 -1
- package/dist/src/Icon/Icon.js +1 -1
- package/dist/src/Input/InputField.js +1 -1
- package/dist/src/Link/Link.js +1 -1
- package/dist/src/List/List.js +1 -1
- package/dist/src/List/ListItem.js +1 -1
- package/dist/src/MiniTooltip/index.js +1 -1
- package/dist/src/Modal/Modal.js +1 -1
- package/dist/src/Modal/ModalCloseButton.js +1 -1
- package/dist/src/Modal/ModalContent.js +1 -1
- package/dist/src/Modal/ModalFooter.js +1 -1
- package/dist/src/Modal/ModalHeader.js +1 -1
- package/dist/src/NDSProvider/GlobalStyles.js +1 -1
- package/dist/src/NavBarSearch/NavBarSearch.js +1 -1
- package/dist/src/Navigation/components/AppSwitcher/parts/index.js +1 -1
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.js +1 -1
- package/dist/src/Navigation/components/MenuSubItem/parts/styled.js +1 -1
- package/dist/src/Navigation/components/MobileNav/parts/styled.js +1 -1
- package/dist/src/Navigation/components/UserMenu/UserMenu.js +1 -1
- package/dist/src/Navigation/components/UserMenu/parts/Header.js +1 -1
- package/dist/src/Navigation/components/UserMenu/parts/styled.js +1 -1
- package/dist/src/Navigation/components/shared/NavigationLogo.js +1 -1
- package/dist/src/Navigation/components/shared/NavigationLogoLink.js +1 -1
- package/dist/src/Navigation/components/shared/NavigationMenuContent.js +1 -1
- package/dist/src/Navigation/components/shared/NavigationMenuItem.js +1 -1
- package/dist/src/Navigation/components/shared/components.js +1 -1
- package/dist/src/Overlay/Overlay.js +1 -1
- package/dist/src/Pagination/PageNumber.js +1 -1
- package/dist/src/Pagination/PaginationButton.js +1 -1
- package/dist/src/Primitives/index.js +1 -1
- package/dist/src/Radio/Radio.js +1 -1
- package/dist/src/Select/Select.story.fixture.js +1 -1
- package/dist/src/Select/SelectOption.js +1 -1
- package/dist/src/StatusIndicator/StatusIndicator.js +1 -1
- package/dist/src/Summary/Summary.js +1 -1
- package/dist/src/Summary/SummaryDivider.js +1 -1
- package/dist/src/Summary/SummaryItem.js +1 -1
- package/dist/src/Switcher/Switch.js +1 -1
- package/dist/src/Table/BaseTable.js +1 -1
- package/dist/src/Table/StyledTh.js +1 -1
- package/dist/src/Table/TableBody.js +1 -1
- package/dist/src/Table/TableCell.js +1 -1
- package/dist/src/Table/TableFoot.js +1 -1
- package/dist/src/Table/TableHead.js +1 -1
- package/dist/src/Tabs/Tab.js +1 -1
- package/dist/src/Tabs/TabContainer.js +1 -1
- package/dist/src/Tabs/TabScrollIndicator.js +1 -1
- package/dist/src/Tabs/TabScrollIndicators.js +1 -1
- package/dist/src/Textarea/StyledTextarea.js +1 -1
- package/dist/src/TimePicker/TimePickerDropdown.js +1 -1
- package/dist/src/TimePicker/TimePickerInput.js +1 -1
- package/dist/src/TimePicker/TimePickerOption.js +1 -1
- package/dist/src/Toggle/ToggleButton.js +1 -1
- package/dist/src/Tooltip/TooltipContainer.js +1 -1
- package/dist/src/Tooltip/components/TooltipComponents.js +1 -1
- package/dist/src/TopBar/TopBar.styled.js +1 -1
- package/dist/src/Type/Headings.js +1 -1
- package/dist/src/Type/Text.js +1 -1
- package/dist/src/Validation/InlineValidation.js +1 -1
- package/dist/src/VerticalDivider/VerticalDivider.js +1 -1
- package/dist/src/utils/ClickInputLabel.js +1 -1
- package/dist/src/utils/PopperArrow.js +1 -1
- package/dist/src/utils/ScrollIndicators.js +1 -1
- package/dist/src/utils/story/code.js +1 -1
- package/dist/src/utils/story/dashed.js +1 -1
- package/dist/src/utils/story/placeholder.js +1 -1
- package/dist/src/utils/story/resizable.js +1 -1
- package/dist/vite.config.js +11 -1
- package/package.json +9 -2
package/dist/src/Alert/Alert.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { useComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
4
4
|
import { Box } from "../Box";
|
|
5
5
|
import { Icon } from "../Icon";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled,
|
|
2
|
+
import { styled, useTheme } from "styled-components";
|
|
3
3
|
import { Text } from "../Type";
|
|
4
4
|
import { APP_ABBREVIATIONS, APP_DISPLAY_NAMES } from "../types/NulogyApp";
|
|
5
5
|
import { MiniTooltip } from "../MiniTooltip";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DialogContent as ReachDialogContent, DialogOverlay as ReachDialogOverlay, } from "@reach/dialog";
|
|
2
2
|
import { motion } from "framer-motion";
|
|
3
3
|
import { transparentize } from "polished";
|
|
4
|
-
import styled from "styled-components";
|
|
4
|
+
import { styled } from "styled-components";
|
|
5
5
|
import { compose, height, layout, maxHeight, maxWidth, space, width } from "styled-system";
|
|
6
6
|
import { Heading2, Text } from "../Type";
|
|
7
7
|
import { excludeStyledProps } from "../StyledProps";
|
package/dist/src/Box/Box.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { themeGet } from "@styled-system/theme-get";
|
|
4
4
|
import { Icon } from "../Icon";
|
|
5
5
|
const StyledButton = styled.button(({ color = "white", hoverColor = "lightBlue", hoverBackground = "black", theme }) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import ReactResizeDetector from "react-resize-detector";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useTheme } from "styled-components";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled,
|
|
2
|
+
import { styled, useTheme } from "styled-components";
|
|
3
3
|
import { addStyledProps } from "../StyledProps";
|
|
4
4
|
import NavBarDropdownMenu from "./NavBarDropdownMenu";
|
|
5
5
|
import renderSubMenuItems from "./renderSubMenuItems";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { DropdownText, DropdownLink } from "../DropdownMenu";
|
|
4
4
|
import { Icon } from "../Icon";
|
|
5
5
|
const renderSubMenuTrigger = (subMenuItem, onItemClick, SubMenuTrigger, layer, menuType) => (React.createElement(NoWrapLi, { key: subMenuItem.key ?? subMenuItem.name },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled,
|
|
2
|
+
import { styled, useTheme } from "styled-components";
|
|
3
3
|
import { space, variant } from "styled-system";
|
|
4
4
|
import { Icon } from "../Icon";
|
|
5
5
|
import { useComponentVariant, } from "../NDSProvider/ComponentVariantContext";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled,
|
|
2
|
+
import { styled, useTheme } from "styled-components";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { Icon } from "../Icon";
|
|
5
5
|
const WrapperButton = styled.button(({ disabled, theme }) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { space, variant } from "styled-system";
|
|
4
4
|
import { Manager, Reference, Popper } from "react-popper-2";
|
|
5
5
|
import { transparentize } from "polished";
|
package/dist/src/Card/CardSet.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
1
|
+
import { styled } from "styled-components";
|
|
2
2
|
import { variant } from "styled-system";
|
|
3
3
|
import { addStyledProps } from "../StyledProps";
|
|
4
4
|
const DropdownButton = styled.button(({ disabled = false, hoverColor = "darkBlue", bgHoverColor = "lightBlue", theme }) => ({
|
package/dist/src/Flex/Flex.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Box, Flex as NDSFlex } from "../index";
|
|
3
|
-
import styled from "styled-components";
|
|
3
|
+
import { styled } from "styled-components";
|
|
4
4
|
const Flex = ({ children, ...props }) => (React.createElement(NDSFlex, { padding: "x3", bg: "whiteGrey", minHeight: "400px", style: {
|
|
5
5
|
boxSizing: "content-box",
|
|
6
6
|
}, ...props }, children));
|
package/dist/src/Form/Field.js
CHANGED
package/dist/src/Form/Form.js
CHANGED
package/dist/src/Icon/Icon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef } from "react";
|
|
2
|
-
import styled,
|
|
2
|
+
import { styled, useTheme } from "styled-components";
|
|
3
3
|
import { space, variant } from "styled-system";
|
|
4
4
|
import { Box } from "../Box";
|
|
5
5
|
import { MaybeFieldLabel } from "../FieldLabel";
|
package/dist/src/Link/Link.js
CHANGED
package/dist/src/List/List.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
1
|
+
import { styled } from "styled-components";
|
|
2
2
|
import { addStyledProps } from "../StyledProps";
|
|
3
3
|
import ListItem from "./ListItem";
|
|
4
4
|
const List = styled.ul(({ compact = false, leftAlign = false, color = "currentColor", theme, listStyle }) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
2
|
-
import styled,
|
|
2
|
+
import { styled, keyframes } from "styled-components";
|
|
3
3
|
import { transparentize } from "polished";
|
|
4
4
|
import React from "react";
|
|
5
5
|
export function MiniTooltip({ children, content, sideOffset = 4, hideTooltip = false, delayDuration = 700, }) {
|
package/dist/src/Modal/Modal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useContext } from "react";
|
|
2
|
-
import styled,
|
|
2
|
+
import { styled, ThemeContext, useTheme } from "styled-components";
|
|
3
3
|
import ReactModal from "react-modal";
|
|
4
4
|
import { transparentize } from "polished";
|
|
5
5
|
import { Heading2 } from "../Type";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
1
|
+
import { styled } from "styled-components";
|
|
2
2
|
import { transparentize } from "polished";
|
|
3
3
|
const getHeaderPaddingRight = (closeButtonIncluded, theme) => closeButtonIncluded ? theme.space.x8 : theme.space.x3;
|
|
4
4
|
const ModalHeader = styled.div(({ hasCloseButton, theme }) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { Heading4, Text } from "../../../../Type";
|
|
4
4
|
import Content from "../../shared/NavigationMenuContent";
|
|
5
5
|
import Link from "./Link";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
-
import styled from "styled-components";
|
|
3
|
+
import { styled } from "styled-components";
|
|
4
4
|
import { NavigationMenuItem } from "../../shared/NavigationMenuItem";
|
|
5
5
|
export default function MoreMenuItem({ moreMenu }) {
|
|
6
6
|
const { t } = useTranslation();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { addStyledProps } from "../../../../StyledProps";
|
|
4
4
|
import { NAVIGATION_SUB_MENU_MIN_WIDTH_PX } from "../../shared/constants";
|
|
5
5
|
import { disableHoverEvents } from "../../shared/disableHoverEvents";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { addStyledProps } from "../../../StyledProps";
|
|
4
4
|
import { Header } from "./parts/Header";
|
|
5
5
|
import Item from "./parts/Item";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
1
|
+
import { styled } from "styled-components";
|
|
2
2
|
import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
|
|
3
3
|
import { addStyledProps } from "../../../../StyledProps";
|
|
4
4
|
const baseUserMenuItemStyles = (theme, isMobile) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { NavigationMenuLink as BaseNavigationMenuLink } from "./components";
|
|
4
4
|
const NavigationMenuLink = styled(BaseNavigationMenuLink)(({ theme }) => ({
|
|
5
5
|
display: "flex",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
1
|
+
import { styled } from "styled-components";
|
|
2
2
|
import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
|
|
3
3
|
import { addStyledProps } from "../../../StyledProps";
|
|
4
4
|
import { NAVIGATION_MENU_CONTENT_WIDTH_MAX_WIDTH_PX, NAVIGATION_MENU_HEIGHT_STYLED_UNITS } from "./constants";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
|
|
3
|
-
import styled from "styled-components";
|
|
3
|
+
import { styled } from "styled-components";
|
|
4
4
|
import { Text } from "../../../Type";
|
|
5
5
|
import { Icon } from "../../../Icon";
|
|
6
6
|
import { VerticalDivider } from "../../../VerticalDivider";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
|
|
2
|
-
import styled from "styled-components";
|
|
2
|
+
import { styled } from "styled-components";
|
|
3
3
|
import { Icon } from "../../../Icon";
|
|
4
4
|
import { addStyledProps } from "../../../StyledProps";
|
|
5
5
|
import { NAVIGATION_MENU_HEIGHT_STYLED_UNITS } from "./constants";
|