@selfdecode/sd-component-library 2.44.8 → 2.44.11
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/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +1 -0
- package/lib/components/bicolor-badge/interfaces.d.ts +1 -0
- package/lib/components/checkboxes/checkbox/checkbox.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +1 -0
- package/lib/components/complex/footer/presentational/footer-presentational.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +1 -0
- package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +1 -0
- package/lib/components/complex/updated-navbar/interfaces.d.ts +1 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +2 -2
- package/lib/components/containers/flex-center/flex-center.d.ts +3 -0
- package/lib/components/containers/flex-center/index.d.ts +1 -0
- package/lib/components/containers/max-width-container/max-width-container.d.ts +1 -0
- package/lib/components/containers/max-width-container-v2/index.d.ts +1 -0
- package/lib/components/containers/max-width-container-v2/interfaces.d.ts +2 -0
- package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +3 -0
- package/lib/components/containers/section-container/section-container.d.ts +1 -0
- package/lib/components/feature-explanation/feature-explanation.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +1 -0
- package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +1 -0
- package/lib/components/labels/base-label/base-label.d.ts +1 -0
- package/lib/components/menus/actions-menu/actions-menu.d.ts +3 -0
- package/lib/components/menus/actions-menu/index.d.ts +1 -0
- package/lib/components/menus/actions-menu/interfaces.d.ts +16 -0
- package/lib/components/radio-button/radio-button.d.ts +1 -0
- package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +1 -0
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +1 -0
- package/lib/components/selectors/primary-selector/primary-selector.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +1 -0
- package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +1 -0
- package/lib/components/selectors/selector/selector.d.ts +1 -0
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +1 -0
- package/lib/components/selectors/selector-v2/selector-v2.d.ts +1 -0
- package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +1 -0
- package/lib/components/slider/partials/step-circles/step-circles.d.ts +1 -0
- package/lib/components/slider/slider.d.ts +1 -0
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +1 -0
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +1 -0
- package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +1 -0
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +1 -0
- package/lib/components/texts/base-text/base-text.d.ts +1 -0
- package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +1 -0
- package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +1 -0
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +1 -0
- package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +1 -0
- package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +1 -0
- package/lib/components/texts/fourty-bold/fourty-bold.d.ts +1 -0
- package/lib/components/texts/no-translate/no-translate.d.ts +1 -0
- package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +1 -0
- package/lib/components/texts/ten-sb/ten-sb.d.ts +1 -0
- package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +1 -0
- package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +1 -0
- package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +1 -0
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +1 -0
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +1 -0
- package/lib/components/texts/twelve-regular/twelve-regular.d.ts +1 -0
- package/lib/components/texts/twelve-sb/twelve-sb.d.ts +1 -0
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +1 -0
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +1 -0
- package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +1 -0
- package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NavbarProps } from "../navbar/presentational/interfaces";
|
|
2
|
-
export interface UpdatedNavbarProps extends Pick<NavbarProps, "history" | "searchValue" | "
|
|
2
|
+
export interface UpdatedNavbarProps extends Pick<NavbarProps, "history" | "searchValue" | "onClickSearch" | "langCodes" | "selectedLangCode" | "onLanguageSwitch" | "hideSearch">, Partial<Pick<NavbarProps, "onSearch" | "searchResults">> {
|
|
3
3
|
isProfessional?: boolean;
|
|
4
4
|
isV2User?: boolean;
|
|
5
5
|
isOnLegacy?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NavbarProps } from "../../../../../navbar/presentational/interfaces";
|
|
2
1
|
import { UnfoldedNavbarContainerProps } from "../unfolded-navbar-container/interfaces";
|
|
3
|
-
|
|
2
|
+
import { UpdatedNavbarProps } from "../../../../interfaces";
|
|
3
|
+
export interface UpdatedNavbarSearchProps extends Pick<UpdatedNavbarProps, "searchResults" | "searchValue" | "onSearch">, Pick<UnfoldedNavbarContainerProps, "onMaskClick"> {
|
|
4
4
|
hideSearch: () => void;
|
|
5
5
|
showNavigation: () => void;
|
|
6
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FlexCenter } from "./flex-center";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MaxWidthContainerV2 } from "./max-width-container-v2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ActionsMenu } from "./actions-menu";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SxProps } from "rebass";
|
|
2
|
+
export interface ActionsMenuProps {
|
|
3
|
+
actions: ActionConfig[];
|
|
4
|
+
actionsBoxWidth?: string;
|
|
5
|
+
actionBoxPx?: string | string[];
|
|
6
|
+
actionBoxPy?: string | string[];
|
|
7
|
+
containerSx?: SxProps["sx"];
|
|
8
|
+
/**
|
|
9
|
+
* Whether to hide options box after selection.
|
|
10
|
+
*/
|
|
11
|
+
closeAfterSelection?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ActionConfig {
|
|
14
|
+
text: string;
|
|
15
|
+
onClick: () => void;
|
|
16
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CompactPrimarySelectorProps as Props } from "./interfaces";
|
|
2
3
|
export declare const CompactPrimarySelector: <T extends string = string>(props: Pick<import("../selector").SelectorProps<T>, "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onChange" | "name" | "defaultValue" | "textTransform" | "selectorLabel" | "options" | "disabledTextValue" | "hideDefaultOnSelect" | "labelMargin" | "translateSelect">) => JSX.Element;
|
package/lib/index.d.ts
CHANGED
|
@@ -54,7 +54,9 @@ export { MaxFrContainer } from "./components/containers/grid-containers/max-fr-c
|
|
|
54
54
|
export { MaxMaxContainer } from "./components/containers/grid-containers/max-max-container";
|
|
55
55
|
export { SectionContainer } from "./components/containers/section-container";
|
|
56
56
|
export { MaxWidthContainer } from "./components/containers/max-width-container";
|
|
57
|
+
export { MaxWidthContainerV2 as MaxWidth } from "./components/containers/max-width-container-v2";
|
|
57
58
|
export { GridContainerV2 as Grid } from "./components/containers/grid-containers/grid-container-v2";
|
|
59
|
+
export { FlexCenter } from "./components/containers/flex-center";
|
|
58
60
|
export { CarouselSectionContainer } from "./components/carousels/carousel-section-container";
|
|
59
61
|
export { ResponsiveGridContainerT1 } from "./components/containers/responsive-containers/responsive-container-t1";
|
|
60
62
|
export { ResponsiveGridContainerT2 } from "./components/containers/responsive-containers/responsive-container-t2";
|
|
@@ -102,6 +104,7 @@ export { PrimaryLink } from "./components/links/primary-link";
|
|
|
102
104
|
export { List } from "./components/lists/list";
|
|
103
105
|
export declare type ListProps = BaseListProps;
|
|
104
106
|
export { PrimaryList } from "./components/lists/primary-list";
|
|
107
|
+
export { ActionsMenu } from "./components/menus/actions-menu";
|
|
105
108
|
export { BaseOutlineMeter } from "./components/meters/base-outline-meter";
|
|
106
109
|
export declare type BaseOutlineMeterProps = BaseBaseOutlineMeterProps;
|
|
107
110
|
export { DiscreteOutlineMeter } from "./components/meters/discrete-outline-meter";
|
|
@@ -196,6 +199,7 @@ export { ActionsTooltip } from "./components/tooltips/actions-tooltip";
|
|
|
196
199
|
export { TooltipWithPointer } from "./components/tooltips/tooltip-with-pointer";
|
|
197
200
|
export { Footer } from "./components/complex/footer";
|
|
198
201
|
export { Navbar, getLabShopsUrlProps } from "./components/complex/navbar";
|
|
202
|
+
export { UpdatedNavbar } from "./components/complex/updated-navbar";
|
|
199
203
|
export { Anchor } from "./components/utils/anchor";
|
|
200
204
|
export { PageTracker } from "./components/utils/page-tracker";
|
|
201
205
|
export { ScrollToTop } from "./components/utils/scroll-to-top";
|