@selfdecode/sd-component-library 4.0.39 → 4.0.41

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 (25) hide show
  1. package/lib/components/inputs/index.d.ts +0 -1
  2. package/lib/components/tabs/index.d.ts +0 -1
  3. package/lib/components/texts/index.d.ts +2 -1
  4. package/lib/components/texts/transformed-texts/index.d.ts +1 -0
  5. package/lib/components/texts/transformed-texts/transformed-texts.d.ts +8 -0
  6. package/lib/components/texts/weighted-texts/index.d.ts +1 -0
  7. package/lib/components/texts/weighted-texts/weighted-texts.d.ts +8 -0
  8. package/lib/index.js +1 -1
  9. package/lib/interfaces.d.ts +0 -1
  10. package/package.json +1 -1
  11. package/lib/04d1baa25fecec12cb3d5afbe2275c66.svg +0 -1
  12. package/lib/18e46bbfa44de388026c38f00afdd67b.svg +0 -1
  13. package/lib/components/inputs/boxy-number-input/assets/index.d.ts +0 -2
  14. package/lib/components/inputs/boxy-number-input/assets/minus.svg +0 -1
  15. package/lib/components/inputs/boxy-number-input/assets/plus.svg +0 -1
  16. package/lib/components/inputs/boxy-number-input/boxy-number-input.d.ts +0 -6
  17. package/lib/components/inputs/boxy-number-input/index.d.ts +0 -2
  18. package/lib/components/inputs/boxy-number-input/interfaces.d.ts +0 -2
  19. package/lib/components/tabs/tabbed-view/assets/index.d.ts +0 -1
  20. package/lib/components/tabs/tabbed-view/assets/instagram.svg +0 -3
  21. package/lib/components/tabs/tabbed-view/index.d.ts +0 -1
  22. package/lib/components/tabs/tabbed-view/interfaces.d.ts +0 -37
  23. package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +0 -3
  24. package/lib/components/texts/uppercase-text/index.d.ts +0 -1
  25. package/lib/components/texts/uppercase-text/uppercase-text.d.ts +0 -3
@@ -12,7 +12,6 @@ export type { InputProps as BaseInputProps } from "./components/inputs/input";
12
12
  export type { TextInputProps as BaseTextInputProps } from "./components/inputs/text-input";
13
13
  export type { ResponsiveTextProps as BaseResponsiveTextProps } from "./components/texts/responsive-text";
14
14
  export type { NumberInputProps as BaseNumberInputProps } from "./components/inputs/number-input";
15
- export type { BoxyNumberInputProps as BaseBoxyNumberInputProps } from "./components/inputs/boxy-number-input";
16
15
  export type { LinkProps as BaseLinkProps } from "./components/links/link";
17
16
  export type { ListProps as BaseListProps } from "./components/lists/list";
18
17
  export type { ModalProps as BaseModalProps } from "./components/modals/modal";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfdecode/sd-component-library",
3
- "version": "4.0.39",
3
+ "version": "4.0.41",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 9h24v6h-24z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M24 9h-9v-9h-6v9h-9v6h9v9h6v-9h9z"/></svg>
@@ -1,2 +0,0 @@
1
- export { ReactComponent as Plus } from "./plus.svg";
2
- export { ReactComponent as Minus } from "./minus.svg";
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 9h24v6h-24z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M24 9h-9v-9h-6v9h-9v6h9v9h6v-9h9z"/></svg>
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { BoxyNumberInputProps } from "./interfaces";
3
- /**
4
- * The Primary number input.
5
- */
6
- export declare const BoxyNumberInput: React.FunctionComponent<BoxyNumberInputProps>;
@@ -1,2 +0,0 @@
1
- export { BoxyNumberInput } from "./boxy-number-input";
2
- export type { BoxyNumberInputProps } from "./interfaces";
@@ -1,2 +0,0 @@
1
- import { NumberInputProps } from "../number-input";
2
- export declare type BoxyNumberInputProps = Pick<NumberInputProps, "value" | "min" | "max" | "onChange" | "placeholder" | "focusInput" | "m" | "mt" | "mr" | "mb" | "ml" | "width" | "inputMode">;
@@ -1 +0,0 @@
1
- export { ReactComponent as InstagramIcon } from "./instagram.svg";
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23">
2
- <path d="M3060.99,3222.39a2.661,2.661,0,0,0-2.66-2.39h-17.66a2.592,2.592,0,0,0-.48.04,2.649,2.649,0,0,0-2.19,2.66v17.59a3.4,3.4,0,0,0,.03.45,2.643,2.643,0,0,0,2.59,2.26h17.76c0.1,0,.2-0.01.31-0.02a2.641,2.641,0,0,0,2.31-2.6v-17.76A1.848,1.848,0,0,0,3060.99,3222.39Zm-11.49,4.69a4.42,4.42,0,1,1-4.42,4.42A4.415,4.415,0,0,1,3049.5,3227.08Zm8.85,2.77v9.53a0.891,0.891,0,0,1-.96.97h-15.8a0.882,0.882,0,0,1-.93-0.93c-0.01-3.19,0-6.39,0-9.58v-0.1h1.99a7.072,7.072,0,0,0,3.39,7.94,7.059,7.059,0,0,0,7.44-.33,7.064,7.064,0,0,0,2.87-7.61h2v0.11Zm0-3.68a0.883,0.883,0,0,1-.91.91h-2.61a0.873,0.873,0,0,1-.9-0.88c-0.01-.89-0.01-1.78,0-2.66a0.868,0.868,0,0,1,.9-0.88c0.87-.01,1.75-0.01,2.62,0a0.878,0.878,0,0,1,.9.9v2.61Z" transform="translate(-3038 -3220)"/>
3
- </svg>
@@ -1 +0,0 @@
1
- export { TabbedView } from "./tabbed-view";
@@ -1,37 +0,0 @@
1
- import React from "react";
2
- import { RequiredTheme, ResponsiveValue, Theme } from "styled-system";
3
- import { TabProps } from "../tab-bar/partials/tab/interfaces";
4
- /**
5
- * Configuration for each tab and the corresponding view
6
- */
7
- export interface TabViewConfig extends Pick<TabProps<string>, "label" | "width" | "color" | "activeColor" | "bg" | "activeBg" | "borderRadius" | "activeRibbonColor" | "tabHeaderComponent"> {
8
- /**
9
- * Component to be rendered when the tab is active
10
- */
11
- component: React.FC;
12
- }
13
- /**
14
- * Props for TabbedView
15
- */
16
- export interface TabbedViewProps<ThemeType extends Theme = RequiredTheme> {
17
- /**
18
- * Array of configuration objects for each tab
19
- */
20
- tabs: TabViewConfig[];
21
- /**
22
- * Text and Ribbon color when the tab is selected/active
23
- */
24
- activeColor?: string;
25
- /**
26
- * Text color when the tab is not selected/active
27
- */
28
- color?: string;
29
- /**
30
- * Padding around the content
31
- */
32
- contentPadding?: ResponsiveValue<number | string, ThemeType>;
33
- /**
34
- * Padding of each tab to be set up externally
35
- */
36
- tabPadding?: string[];
37
- }
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { TabbedViewProps } from "./interfaces";
3
- export declare function TabbedView({ tabs, color, activeColor, contentPadding, tabPadding, }: TabbedViewProps): JSX.Element;
@@ -1 +0,0 @@
1
- export { UppercaseText } from "./uppercase-text";
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { ResponsiveTextV2Props as Props } from "../responsive-text-v2";
3
- export declare const UppercaseText: React.FC<Props>;