@selfdecode/sd-component-library 2.43.10 → 2.43.14

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.
Files changed (102) hide show
  1. package/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +1 -0
  2. package/lib/components/bicolor-badge/interfaces.d.ts +1 -0
  3. package/lib/components/breadcrumbs/breadcrumb/crumb/interfaces.d.ts +1 -0
  4. package/lib/components/breadcrumbs/secondary-breadcrumb/index.d.ts +1 -0
  5. package/lib/components/breadcrumbs/secondary-breadcrumb/interfaces.d.ts +2 -0
  6. package/lib/components/breadcrumbs/secondary-breadcrumb/secondary-breadcrumb.d.ts +3 -0
  7. package/lib/components/checkboxes/checkbox/checkbox.d.ts +1 -0
  8. package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +1 -0
  9. package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +1 -0
  10. package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +1 -0
  11. package/lib/components/complex/footer/presentational/footer-presentational.d.ts +1 -0
  12. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +1 -0
  13. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +1 -0
  14. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +1 -0
  15. package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +1 -0
  16. package/lib/components/containers/max-width-container/max-width-container.d.ts +1 -0
  17. package/lib/components/containers/section-container/section-container.d.ts +1 -0
  18. package/lib/components/dividers/divider/interfaces.d.ts +2 -2
  19. package/lib/components/feature-explanation/feature-explanation.d.ts +1 -0
  20. package/lib/components/inputs/autocomplete-input/interfaces.d.ts +4 -0
  21. package/lib/components/inputs/autocomplete-input/partials/results-box/interfaces.d.ts +4 -0
  22. package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +1 -0
  23. package/lib/components/inputs/secondary-number-input/interfaces.d.ts +0 -2
  24. package/lib/components/inputs/secondary-text-input/interfaces.d.ts +6 -6
  25. package/lib/components/inputs/secondary-text-input/partials/secondary-input-labels/index.d.ts +1 -0
  26. package/lib/components/inputs/secondary-text-input/partials/secondary-input-labels/interfaces.d.ts +5 -0
  27. package/lib/components/inputs/secondary-text-input/partials/secondary-input-labels/secondary-input-labels.d.ts +3 -0
  28. package/lib/components/labels/base-label/base-label.d.ts +1 -0
  29. package/lib/components/meters/multi-option-discrete-outline-meter/constants.d.ts +1 -0
  30. package/lib/components/meters/multi-option-discrete-outline-meter/index.d.ts +2 -0
  31. package/lib/components/meters/multi-option-discrete-outline-meter/interfaces.d.ts +13 -0
  32. package/lib/components/meters/multi-option-discrete-outline-meter/multi-option-discrete-outline-meter.d.ts +3 -0
  33. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-label-pointer/discrete-meter-label-pointer.d.ts +3 -0
  34. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-label-pointer/index.d.ts +1 -0
  35. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-label-pointer/interfaces.d.ts +9 -0
  36. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-needle/discrete-meter-needle.d.ts +3 -0
  37. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-needle/index.d.ts +1 -0
  38. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-needle/interfaces.d.ts +24 -0
  39. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-range/discrete-range.d.ts +3 -0
  40. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-range/index.d.ts +1 -0
  41. package/lib/components/meters/multi-option-discrete-outline-meter/partials/discrete-range/interfaces.d.ts +10 -0
  42. package/lib/components/meters/multi-option-discrete-outline-meter/partials/matched-range-label-box/index.d.ts +1 -0
  43. package/lib/components/meters/multi-option-discrete-outline-meter/partials/matched-range-label-box/interfaces.d.ts +9 -0
  44. package/lib/components/meters/multi-option-discrete-outline-meter/partials/matched-range-label-box/matched-range-label-box.d.ts +3 -0
  45. package/lib/components/meters/multi-option-discrete-outline-meter/small-multi-option-discrete-outline-meter.d.ts +3 -0
  46. package/lib/components/meters/outline-meter/utils.d.ts +2 -1
  47. package/lib/components/pagination-bars/pagination-bar/interfaces.d.ts +2 -1
  48. package/lib/components/radio-button/radio-button.d.ts +1 -0
  49. package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +1 -0
  50. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +2 -1
  51. package/lib/components/selectors/compact-primary-selector/interfaces.d.ts +1 -1
  52. package/lib/components/selectors/primary-selector/interfaces.d.ts +1 -1
  53. package/lib/components/selectors/primary-selector/primary-selector.d.ts +2 -1
  54. package/lib/components/selectors/secondary-selector/interfaces.d.ts +1 -1
  55. package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +1 -0
  56. package/lib/components/selectors/selector/interfaces.d.ts +5 -0
  57. package/lib/components/selectors/selector/selector.d.ts +2 -0
  58. package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +1 -0
  59. package/lib/components/selectors/selector-v2/selector-v2.d.ts +1 -0
  60. package/lib/components/selectors/tertiary-selector/interfaces.d.ts +1 -1
  61. package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +2 -1
  62. package/lib/components/slider/partials/step-circles/step-circles.d.ts +1 -0
  63. package/lib/components/slider/slider.d.ts +1 -0
  64. package/lib/components/tabs/tab-bar/interfaces.d.ts +8 -0
  65. package/lib/components/tabs/tab-bar/partials/tab/interfaces.d.ts +9 -1
  66. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +2 -1
  67. package/lib/components/tabs/tab-bar/tab-bar.d.ts +2 -1
  68. package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +1 -0
  69. package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +1 -0
  70. package/lib/components/texts/base-text/base-text.d.ts +1 -0
  71. package/lib/components/texts/base-text-v2/interfaces.d.ts +5 -1
  72. package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +1 -0
  73. package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +1 -0
  74. package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +1 -0
  75. package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +1 -0
  76. package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +1 -0
  77. package/lib/components/texts/fourty-bold/fourty-bold.d.ts +1 -0
  78. package/lib/components/texts/no-translate/no-translate.d.ts +1 -0
  79. package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +1 -0
  80. package/lib/components/texts/ten-sb/ten-sb.d.ts +1 -0
  81. package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +1 -0
  82. package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +1 -0
  83. package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +1 -0
  84. package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +1 -0
  85. package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +1 -0
  86. package/lib/components/texts/twelve-regular/twelve-regular.d.ts +1 -0
  87. package/lib/components/texts/twelve-sb/twelve-sb.d.ts +1 -0
  88. package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +1 -0
  89. package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +1 -0
  90. package/lib/components/tooltips/actions-tooltip/actions-tooltip.d.ts +3 -0
  91. package/lib/components/tooltips/actions-tooltip/index.d.ts +1 -0
  92. package/lib/components/tooltips/actions-tooltip/interfaces.d.ts +10 -0
  93. package/lib/components/tooltips/actions-tooltip/partials/action-box/action-box.d.ts +3 -0
  94. package/lib/components/tooltips/actions-tooltip/partials/action-box/index.d.ts +1 -0
  95. package/lib/components/tooltips/actions-tooltip/partials/action-box/interfaces.d.ts +5 -0
  96. package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +1 -0
  97. package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +1 -0
  98. package/lib/core/custom-hooks.d.ts +10 -0
  99. package/lib/core/theme.d.ts +14 -0
  100. package/lib/index.d.ts +3 -0
  101. package/lib/index.js +1 -1
  102. package/package.json +1 -1
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { TenSbProps } from "./interfaces";
2
3
  export declare const TenSb: (props: TenSbProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ThirteenBoldProps } from "./interfaces";
2
3
  export declare const ThirteenBold: (props: ThirteenBoldProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ThirteenRegularProps } from "./interfaces";
2
3
  export declare const ThirteenRegular: (props: ThirteenRegularProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ThirteenSbProps } from "./interfaces";
2
3
  export declare const ThirteenSb: (props: ThirteenSbProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ThirtyTwoBoldProps } from "./interfaces";
2
3
  export declare const ThirtyTwoBold: (props: ThirtyTwoBoldProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ThirtyTwoRegularProps } from "./interfaces";
2
3
  export declare const ThirtyTwoRegular: (props: ThirtyTwoRegularProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { TwelveRegularProps } from "./interfaces";
2
3
  export declare const TwelveRegular: (props: TwelveRegularProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { TwelveSbProps } from "./interfaces";
2
3
  export declare const TwelveSb: (props: TwelveSbProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { TwentyFourBoldProps } from "./interfaces";
2
3
  export declare const TwentyFourBold: (props: TwentyFourBoldProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { TwentyFourRegularProps } from "./interfaces";
2
3
  export declare const TwentyFourRegular: (props: TwentyFourRegularProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { ActionsTooltipProps as Props } from "./interfaces";
3
+ export declare const ActionsTooltip: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { ActionsTooltip } from "./actions-tooltip";
@@ -0,0 +1,10 @@
1
+ export interface ActionsTooltipProps {
2
+ actions: ActionConfig[];
3
+ actionsBoxWidth?: string;
4
+ actionBoxPx?: string | string[];
5
+ actionBoxPy?: string | string[];
6
+ }
7
+ export interface ActionConfig {
8
+ text: string;
9
+ onClick: () => void;
10
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { ActionBoxProps as Props } from "./interfaces";
3
+ export declare const ActionBox: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { ActionBox } from "./action-box";
@@ -0,0 +1,5 @@
1
+ import { ActionConfig } from "../../interfaces";
2
+ export interface ActionBoxProps extends ActionConfig {
3
+ px?: string | string[];
4
+ py?: string | string[];
5
+ }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ScrollToTopProps } from "./interfaces";
2
3
  export declare const ScrollToTop: (props: ScrollToTopProps) => JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const ScrollToTopOnMount: () => JSX.Element;
@@ -38,8 +38,11 @@ export declare function useMediaQuery(query: string): boolean;
38
38
  */
39
39
  export declare function useBreakPoints(): {
40
40
  isMobile: boolean;
41
+ isLargeMobile: boolean;
41
42
  isTab: boolean;
42
43
  isDesktop: boolean;
44
+ isWiderThanMobile: boolean;
45
+ isWiderThanLargeMobile: boolean;
43
46
  };
44
47
  /**
45
48
  * Provided intersection observer for the specified elements.
@@ -49,3 +52,10 @@ export declare function useBreakPoints(): {
49
52
  * @param callback Function to process intersection changes.
50
53
  */
51
54
  export declare function useIntersectionObserver(rootRef: RefObject<HTMLElement>, rootMargin: string, callback: IntersectionObserverCallback): IntersectionObserver | undefined;
55
+ export declare function useHover(): {
56
+ isHover: boolean;
57
+ hoverCallbacks: {
58
+ onMouseEnter: () => void;
59
+ onMouseLeave: () => void;
60
+ };
61
+ };
@@ -476,6 +476,20 @@ declare const _default: {
476
476
  color: string;
477
477
  };
478
478
  };
479
+ secondary: {
480
+ last: {
481
+ fontFamily: string;
482
+ fontSize: string;
483
+ fontWeight: number;
484
+ color: string;
485
+ };
486
+ normal: {
487
+ fontFamily: string;
488
+ fontSize: string;
489
+ fontWeight: number;
490
+ color: string;
491
+ };
492
+ };
479
493
  };
480
494
  _10SemiBold: {
481
495
  fontFamily: string;
package/lib/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export { NoTranslateBox } from "./components/boxes/no-translate-box";
21
21
  export { Breadcrumb } from "./components/breadcrumbs/breadcrumb";
22
22
  export declare type BreadCrumbProps = BaseBreadcrumbProps;
23
23
  export { PrimaryBreadcrumb } from "./components/breadcrumbs/primary-breadcrumb";
24
+ export { SecondaryBreadcrumb } from "./components/breadcrumbs/secondary-breadcrumb";
24
25
  export { Button } from "./components/buttons/button";
25
26
  export declare type ButtonProps = BaseButtonProps;
26
27
  export { CtaButton } from "./components/buttons/cta/cta-button";
@@ -110,6 +111,7 @@ export { GradientOutlineMeter, SmallGradientOutlineMeter, } from "./components/m
110
111
  export { OutlineMeter, SmallOutlineMeter, } from "./components/meters/outline-meter";
111
112
  export type { OutlineMeterPosition, Bounds, OutlineMeterLabelPosition, } from "./components/meters/outline-meter";
112
113
  export { SmileyMeterV2, SmallSmileyMeterV2, } from "./components/meters/smiley-meter-v2";
114
+ export { MultiOptionDiscreteOutlineMeter, SmallMultiOptionDiscreteOutlineMeter, } from "./components/meters/multi-option-discrete-outline-meter";
113
115
  export { Modal } from "./components/modals/modal";
114
116
  export declare type ModalProps = BaseModalProps;
115
117
  export { PrimaryModal } from "./components/modals/primary-modal";
@@ -182,6 +184,7 @@ export { PrimaryInfoTooltip } from "./components/tooltips/primary-info-tooltip";
182
184
  export { StarTooltip } from "./components/tooltips/star-tooltip";
183
185
  export { RadioInfoButtonTooltip } from "./components/tooltips/radio-info-button-tooltip";
184
186
  export { ReactElementTooltip } from "./components/tooltips/react-element-tooltip";
187
+ export { ActionsTooltip } from "./components/tooltips/actions-tooltip";
185
188
  export { Footer } from "./components/complex/footer";
186
189
  export { Navbar, getLabShopsUrlProps } from "./components/complex/navbar";
187
190
  export { Anchor } from "./components/utils/anchor";