@selfdecode/sd-component-library 2.45.12 → 2.45.15
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/193805683b5b1e117aab667b99dc2e4d.svg +15 -0
- package/lib/components/breadcrumbs/breadcrumb/interfaces.d.ts +2 -2
- package/lib/components/buttons/button/interfaces.d.ts +2 -2
- package/lib/components/buttons/round-icon-button/interfaces.d.ts +1 -1
- package/lib/components/checkboxes/checkbox/interfaces.d.ts +1 -1
- package/lib/components/complex/navbar/index.d.ts +2 -1
- package/lib/components/complex/navbar/partials/index.d.ts +2 -0
- package/lib/components/complex/navbar/partials/navbar-v1/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/colored-background-list.utils.d.ts +1 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +12 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/intefaces.d.ts +7 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/navbar-item-without-menu.d.ts +3 -0
- package/lib/components/complex/navbar/partials/navbar-v2/presentational/interfaces.d.ts +1 -1
- package/lib/components/complex/navbar/presentational/constants-v3.d.ts +1 -0
- package/lib/components/complex/navbar/presentational/index.d.ts +3 -1
- package/lib/components/complex/updated-navbar/constants.d.ts +5 -5
- package/lib/components/complex/updated-navbar/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/index.d.ts +2 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/interfaces.d.ts +1 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/index.d.ts +4 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/index.d.ts +5 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/interfaces.d.ts +1 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/interfaces.d.ts +1 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/interfaces.d.ts +1 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +2 -1
- package/lib/components/containers/flex-center/flex-center.d.ts +1 -1
- package/lib/components/containers/grid-containers/grid-container-v2/grid-container-v2.d.ts +1 -1
- package/lib/components/dividers/divider/interfaces.d.ts +1 -1
- package/lib/components/icons/environment-icon/environment.svg +15 -0
- package/lib/components/icons/environment-icon/index.d.ts +1 -0
- package/lib/components/icons/index.d.ts +1 -0
- package/lib/components/icons/round-bordered-star/interfaces.d.ts +2 -0
- package/lib/components/inputs/date-inputs/base-date-input/base-date-input.d.ts +1 -1
- package/lib/components/inputs/date-inputs/base-date-range-input/base-date-range-input.d.ts +1 -1
- package/lib/components/inputs/date-inputs/outlined-date-range-input/interfaces.d.ts +1 -1
- package/lib/components/inputs/input/interfaces.d.ts +1 -1
- package/lib/components/inputs/search-input/presentational/interfaces.d.ts +1 -1
- package/lib/components/inputs/secondary-text-input/interfaces.d.ts +1 -1
- package/lib/components/menus/actions-menu/interfaces.d.ts +4 -0
- package/lib/components/meters/dashed-meter/interfaces.d.ts +1 -1
- package/lib/components/meters/outline-meter/partials/base-meter-label-box/interfaces.d.ts +1 -1
- package/lib/components/meters/outline-meter/partials/outline-meter-scale/interfaces.d.ts +1 -1
- package/lib/components/selectors/combined-secondary-custom-selector/combined-secondary-custom-selector.d.ts +3 -0
- package/lib/components/selectors/combined-secondary-custom-selector/index.d.ts +1 -0
- package/lib/components/selectors/combined-secondary-custom-selector/interfaces.d.ts +3 -0
- package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.d.ts +3 -0
- package/lib/components/selectors/custom-scrollable-selector/index.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/interfaces.d.ts +3 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +3 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/index.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/interfaces.d.ts +3 -0
- package/lib/components/selectors/index.d.ts +21 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/index.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/interfaces.d.ts +5 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +3 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/index.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/interfaces.d.ts +4 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/index.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/interfaces.d.ts +5 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/option-row.d.ts +3 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.d.ts +3 -0
- package/lib/components/selectors/secondary-custom-selector/interfaces.d.ts +1 -1
- package/lib/components/selectors/selector/interfaces.d.ts +1 -1
- package/lib/components/tabs/tabs-menu/interfaces.d.ts +1 -1
- package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +4 -0
- package/lib/core/custom-hooks.d.ts +1 -1
- package/lib/core/theme.d.ts +10 -0
- package/lib/index.d.ts +5 -20
- package/lib/index.js +1 -1
- package/package.json +3 -2
package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { OptionRow } from "./option-row";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SelectorV2Props } from "../selector-v2";
|
|
2
1
|
import { SxProps } from "rebass";
|
|
2
|
+
import { SelectorV2Props } from "../selector-v2";
|
|
3
3
|
export interface SecondaryCustomSelectorProps<T extends string = string> extends Pick<SelectorV2Props<T>, "options" | "value" | "onChange" | "width" | "variant"> {
|
|
4
4
|
label: string;
|
|
5
5
|
containerSx?: SxProps["sx"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../interfaces";
|
|
2
1
|
import { CSSProperties } from "react";
|
|
3
2
|
import { SecondaryTextInputProps } from "../../inputs/secondary-text-input/interfaces";
|
|
3
|
+
import { BaseComponentProps } from "../../interfaces";
|
|
4
4
|
export declare type SelectorOption<T extends string = string> = {
|
|
5
5
|
id: string;
|
|
6
6
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TabProps } from "./partials/tab";
|
|
2
1
|
import { History } from "history";
|
|
2
|
+
import { TabProps } from "./partials/tab";
|
|
3
3
|
declare type CommonTabProps = Pick<TabProps, "Icon" | "iconHeight" | "title" | "hash">;
|
|
4
4
|
export interface TabObject extends CommonTabProps {
|
|
5
5
|
/**
|
package/lib/core/theme.d.ts
CHANGED
|
@@ -68,6 +68,9 @@ declare const _default: {
|
|
|
68
68
|
customTertiary: {
|
|
69
69
|
gap: string;
|
|
70
70
|
};
|
|
71
|
+
customScrollable: {
|
|
72
|
+
gap: string;
|
|
73
|
+
};
|
|
71
74
|
};
|
|
72
75
|
};
|
|
73
76
|
_dropdowns: {
|
|
@@ -340,6 +343,13 @@ declare const _default: {
|
|
|
340
343
|
textTransform: string;
|
|
341
344
|
color: string;
|
|
342
345
|
};
|
|
346
|
+
customScrollable: {
|
|
347
|
+
fontSize: string;
|
|
348
|
+
fontWeight: number;
|
|
349
|
+
letterSpacing: string;
|
|
350
|
+
textTransform: string;
|
|
351
|
+
color: string;
|
|
352
|
+
};
|
|
343
353
|
};
|
|
344
354
|
iconButton: {
|
|
345
355
|
marginRight: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseAccordionProps, BaseBadgeProps,
|
|
2
|
+
import { BaseAccordionProps, BaseBadgeProps, BaseBaseGridContainerProps, BaseBaseOutlineMeterProps, BaseBicolorBadgeProps, BaseBoxyNumberInputProps, BaseBreadcrumbProps, BaseButtonProps, BaseCarouselSwitchProps, BaseCtaButtonProps, BaseDateRangeInputProps, BaseDropdownProps, BaseInputProps, BaseLinkProps, BaseListProps, BaseModalProps, BaseNumberInputProps, BasePaginationBarProps, BaseProgressBarProps, BaseResponsiveTextProps, BaseSublistAccordionProps, BaseTextCtaButtonProps, BaseTextInputProps, BaseTextPropsInterface, BaseTextSwitchProps, OutlinedDateRangeInputProps, SlideSettingsType } from "./interfaces";
|
|
3
3
|
export declare const ComponentLibThemeProvider: import("react").FC<import("./components/wrapper/interfaces").WrapperProps>;
|
|
4
4
|
export { Accordion } from "./components/accordions/base-accordion";
|
|
5
5
|
export declare type AccordionProps = BaseAccordionProps;
|
|
@@ -43,6 +43,7 @@ export { PoweredByGreyLogoButton } from "./components/buttons/logos/powered-by-g
|
|
|
43
43
|
export { PoweredByWhiteLogoButton } from "./components/buttons/logos/powered-by-white-logo";
|
|
44
44
|
export { RadioInfoButton } from "./components/buttons/radio-info-button";
|
|
45
45
|
export { RoundIconButton } from "./components/buttons/round-icon-button";
|
|
46
|
+
export { NavbarLogoButton } from "./components/buttons/logos/navbar-logo";
|
|
46
47
|
export { RoundCard } from "./components/cards/round-card";
|
|
47
48
|
export { Checkbox } from "./components/checkboxes/checkbox";
|
|
48
49
|
export { PartialCheckbox } from "./components/checkboxes/partial-checkbox";
|
|
@@ -133,23 +134,7 @@ export { RoundedProgressBar } from "./components/progress-bars/rounded-progress-
|
|
|
133
134
|
export { ProgressSteps } from "./components/progress-steps";
|
|
134
135
|
export { RadioButton } from "./components/radio-button";
|
|
135
136
|
export { FiveStarsRating } from "./components/ratings/five-stars-rating";
|
|
136
|
-
export
|
|
137
|
-
export { Selector } from "./components/selectors/selector";
|
|
138
|
-
export type { BaseSelectorProps as SelectorProps };
|
|
139
|
-
export { TertiarySelector } from "./components/selectors/tertiary-selector";
|
|
140
|
-
export { PrimarySelector } from "./components/selectors/primary-selector";
|
|
141
|
-
export { SecondarySelector } from "./components/selectors/secondary-selector";
|
|
142
|
-
export { CompactPrimarySelector } from "./components/selectors/compact-primary-selector";
|
|
143
|
-
export declare type CompactPrimarySelectorProps<T extends string = string> = BaseCompactSelectorProps<T>;
|
|
144
|
-
export { CustomSelector } from "./components/selectors/custom-selector";
|
|
145
|
-
export { SecondaryCustomSelector } from "./components/selectors/secondary-custom-selector";
|
|
146
|
-
export { TertiaryCustomSelector } from "./components/selectors/tertiary-custom-selector";
|
|
147
|
-
export { SelectorV2 } from "./components/selectors/selector-v2";
|
|
148
|
-
export type { SelectorV2Props, SelectorOptionV2, } from "./components/selectors/selector-v2";
|
|
149
|
-
export { TertiarySelectorV2 } from "./components/selectors/tertiary-selector-v2";
|
|
150
|
-
export { SecondarySelectorV2 } from "./components/selectors/secondary-selector-v2";
|
|
151
|
-
export { PrimarySelectorV2 } from "./components/selectors/primary-selector-v2";
|
|
152
|
-
export { CombinedSecondarySelectorV2 } from "./components/selectors/combined-secondary-selector-v2";
|
|
137
|
+
export * from "./components/selectors";
|
|
153
138
|
export { Slider } from "./components/slider";
|
|
154
139
|
export declare type SlideSettings = SlideSettingsType;
|
|
155
140
|
export { TextSwitch } from "./components/switches/text-switch";
|
|
@@ -198,8 +183,8 @@ export { ReactElementTooltip } from "./components/tooltips/react-element-tooltip
|
|
|
198
183
|
export { ActionsTooltip } from "./components/tooltips/actions-tooltip";
|
|
199
184
|
export { TooltipWithPointer } from "./components/tooltips/tooltip-with-pointer";
|
|
200
185
|
export { Footer } from "./components/complex/footer";
|
|
201
|
-
export
|
|
202
|
-
export
|
|
186
|
+
export * from "./components/complex/navbar";
|
|
187
|
+
export * from "./components/complex/updated-navbar";
|
|
203
188
|
export { Anchor } from "./components/utils/anchor";
|
|
204
189
|
export { PageTracker } from "./components/utils/page-tracker";
|
|
205
190
|
export { ScrollToTop } from "./components/utils/scroll-to-top";
|