@selfdecode/sd-component-library 4.0.73-test2 → 4.0.73-vite2

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 (91) hide show
  1. package/lib/components/checkboxes/checkbox/checkbox.d.ts +0 -1
  2. package/lib/components/containers/grid-containers/grid-center/index.d.ts +1 -1
  3. package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
  4. package/lib/components/inputs/date-inputs/base-date-input/base-date-input.d.ts +0 -2
  5. package/lib/components/inputs/date-inputs/base-date-range-input/base-date-range-input.d.ts +0 -2
  6. package/lib/components/inputs/input/index.d.ts +1 -1
  7. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +0 -1
  8. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +0 -1
  9. package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +0 -1
  10. package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
  11. package/lib/components/labels/base-label/base-label.d.ts +0 -1
  12. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
  13. package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.d.ts +0 -1
  14. package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +0 -1
  15. package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +0 -1
  16. package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/option-row.d.ts +0 -1
  17. package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.d.ts +0 -1
  18. package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
  19. package/lib/components/selectors/secondary-custom-selector/index.d.ts +1 -1
  20. package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +0 -1
  21. package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +0 -1
  22. package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
  23. package/lib/components/selectors/selector/selector.d.ts +0 -1
  24. package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
  25. package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
  26. package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
  27. package/lib/components/tabs/tab-bar/partials/tab/index.d.ts +1 -1
  28. package/lib/components/texts/base-text/base-text.d.ts +0 -1
  29. package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +0 -1
  30. package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
  31. package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
  32. package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
  33. package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
  34. package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
  35. package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
  36. package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
  37. package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
  38. package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
  39. package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
  40. package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
  41. package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
  42. package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
  43. package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
  44. package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
  45. package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
  46. package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
  47. package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
  48. package/lib/favicon.ico +0 -0
  49. package/lib/index.html +35 -0
  50. package/lib/sd-component-library.d.ts +1 -0
  51. package/lib/sd-component-library.js +25351 -0
  52. package/lib/sd-component-library.js.map +1 -0
  53. package/lib/setupTests.d.ts +1 -3
  54. package/lib/style.css +1 -0
  55. package/package.json +16 -110
  56. package/lib/0494d4103772511cf11590e5e6d92ecf.svg +0 -4
  57. package/lib/077dc132a657b8d72f09112ca29aecf4.svg +0 -3
  58. package/lib/0781b0cddf63f010838327756278be56.svg +0 -58
  59. package/lib/1c1c509732d7b715a0c36e80b032a6fa.svg +0 -1
  60. package/lib/23b73c90d7f9793b0d9a657336669ad0.svg +0 -15
  61. package/lib/2475490b1273c89fe9c25a6737e253ed.svg +0 -26
  62. package/lib/2ed57c14ff9846e3272d342f46043704.svg +0 -42
  63. package/lib/31b3083cb8acd26a8b6aab33e5b6c9e9.svg +0 -3
  64. package/lib/5312164be2b2d38e169a072c459a9997.svg +0 -19
  65. package/lib/727d1cc39517f4f4b098e0d944e27aa6.svg +0 -19
  66. package/lib/77b99d8e2095aa950ab2b6b1158c57a3.svg +0 -3
  67. package/lib/803f1f34ae02cea80880fd7517991dcb.svg +0 -3
  68. package/lib/83869618e2e5c6fee8e773a12514ba79.svg +0 -1
  69. package/lib/8725cb12d8ecb94bb62334e7a1d7e144.svg +0 -1
  70. package/lib/9044267cd87a447ce0e8fde547d468c6.svg +0 -1
  71. package/lib/9ab05df79c61c3255c2be9c6768dccde.svg +0 -3
  72. package/lib/9c83c4fbf8b581b8a00ffa651293c539.svg +0 -3
  73. package/lib/a4c9bb927f178d3e25f2776bc6076645.svg +0 -3
  74. package/lib/ae80d39f190ef07553f27a4ae9d359ae.svg +0 -18
  75. package/lib/b160e9426fc8d2b04cb1d7ecf435e1cd.svg +0 -5
  76. package/lib/b8f6f564ed2033eef93c172ab0e7d4ff.svg +0 -10
  77. package/lib/bba2eae55d4dc9fe311f7fb865c17770.svg +0 -51
  78. package/lib/bc9e5e98c3bebaf40281d98e93504227.svg +0 -3
  79. package/lib/c48270445aa85131e1594ebf6ae7d558.svg +0 -8
  80. package/lib/c6e7f5792f0ccc9d5f23f0e93bc7a99f.svg +0 -7
  81. package/lib/d450659cf4361db2ca88e12247927ab9.svg +0 -6
  82. package/lib/d7580800c9b324f0e6ad4bbd24e5ffd5.svg +0 -3
  83. package/lib/d77e0a431dc9ba77102cc6b4f4d6d497.svg +0 -5
  84. package/lib/daf8fdf46f7ad80bb80a3ec7e47cb5a5.svg +0 -13
  85. package/lib/ded29c6cf581cab406dfbf349fd7f2fe.svg +0 -17
  86. package/lib/f3903344d3f9ed45f492bcecbb187761.svg +0 -1
  87. package/lib/f405b613abe206e4debea9dbfdab7f0e.svg +0 -5
  88. package/lib/f7ff46cba2dc789e4275528cc7a26e86.svg +0 -19
  89. package/lib/ffb4839401de41483b613b16316d262e.svg +0 -18
  90. package/lib/index.js +0 -2
  91. package/lib/index.js.LICENSE.txt +0 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from "./interfaces";
3
2
  /**
4
3
  * Base checkbox component. Other checkbox components should be built from this.
@@ -1 +1 @@
1
- export { GridCenter } from "./grid-center";
1
+ export * from "./grid-center";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FeatureExplanationProps } from "./interfaces";
3
2
  export declare const FeatureExplanation: (props: FeatureExplanationProps) => JSX.Element;
@@ -1,5 +1,3 @@
1
1
  import React from "react";
2
- import "react-date-range/dist/styles.css";
3
- import "react-date-range/dist/theme/default.css";
4
2
  import { BaseDateInputProps as Props } from "./interfaces";
5
3
  export declare const BaseDateInput: React.FC<Props>;
@@ -1,5 +1,3 @@
1
1
  import React from "react";
2
- import "react-date-range/dist/styles.css";
3
- import "react-date-range/dist/theme/default.css";
4
2
  import { BaseDateRangeInputProps as Props } from "./interfaces";
5
3
  export declare const BaseDateRangeInput: React.FC<Props>;
@@ -1,3 +1,3 @@
1
- export { Input } from "./input";
1
+ export * from "./input";
2
2
  export { InvalidInputError } from "./error";
3
3
  export type { InputProps } from "./interfaces";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchAutocompleteResultsBoxProps as Props } from "./interfaces";
3
2
  export declare const SearchAutocompleteResultsBox: <T extends {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchAutocompleteRowProps as Props } from "./interfaces";
3
2
  export declare const SearchAutocompleteRow: <T extends {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchAutocompleteInputProps as Props } from "./interfaces";
3
2
  export declare const SearchAutocompleteInput: <T extends {
4
3
  id: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SearchBoxProps } from "./interfaces";
3
2
  export declare const SearchBox: (props: SearchBoxProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { BaseLabelProps } from "./interfaces";
3
2
  export declare const BaseLabel: (props: BaseLabelProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CompactPrimarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * @deprecated is preferred to use V2 or custom selector instead
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { CustomScrollableSelectorProps as Props } from "./interfaces";
3
2
  export declare const CustomScrollableSelector: <T extends string = string>(props: Props<T>) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { CustomScrollableOptionsBoxProps as Props } from "./interfaces";
3
2
  export declare const CustomScrollableOptionsBox: <T extends string = string>({ options, onSelect, }: Props<T>) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { CustomScrollableOptionsBoxProps as Props } from "./interfaces";
3
2
  export declare const CustomScrollableOptionsBox: <T extends string = string>(props: Props<T>) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { OptionRowProps as Props } from "./interfaces";
3
2
  export declare const OptionRow: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { PrimaryCustomScrollableSelectorProps as Props } from "./interfaces";
3
2
  export declare const PrimaryCustomScrollableSelector: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PrimarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The PrimarySelector.
@@ -1 +1 @@
1
- export { SecondaryCustomSelector } from "./secondary-custom-selector";
1
+ export * from "./secondary-custom-selector";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SecondaryCustomSelectorOptionsBoxProps as Props } from "./interfaces";
3
2
  export declare const SecondaryCustomSelectorOptionsBox: <T extends string = string>({ options, onSelect, }: Props<T>) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SecondaryCustomSelectorProps as Props } from "./interfaces";
3
2
  export declare const SecondaryCustomSelector: <T extends string = string>({ value, onChange, options, width, label, variant, containerSx, }: Props<T>) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SecondarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The SecondarySelector.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectorProps as Props } from "./interfaces";
3
2
  export declare const getNoTranslateClass: (flag: boolean) => "no-translate" | undefined;
4
3
  /**
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { BaseSelectorV2Props as Props } from "./interfaces";
3
2
  export declare const BaseSelectorV2: <T extends string = string>({ variant, options, width, m, mt, mr, mb, ml, gap, selectorLabel, secondLabel, errorMessage, disabledTextValue, hideDefaultOnSelect, labelMargin, selectElementHeight, defaultOptionColor, textTransform, onSelect, noOptionsToSelect, name, selection, hasDefaultValue, onFocus, errorBackground, labelContainerAlignItems, translateSelect, translateDefaultOption, containerVariant, disabled, pl, }: Props<T>) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SelectorV2Props as Props } from "./interfaces";
3
2
  export declare const SelectorV2: <T extends string = string>({ value, onChange, defaultOptionObject, options, ...baseProps }: Props<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TertiarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The TertiarySelector.
@@ -1 +1 @@
1
- export { Tab } from "./tab";
1
+ export * from "./tab";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BaseTextProps } from "./interfaces";
3
2
  /**
4
3
  * @deprecated use BaseTextV2 instead
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { EighteenBoldProps } from "./interfaces";
3
2
  export declare const EighteenBold: (props: EighteenBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { EighteenRegularProps } from "./interfaces";
3
2
  export declare const EighteenRegular: (props: EighteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FiftyFiveSbProps } from "./interfaces";
3
2
  export declare const FiftyFiveSb: (props: FiftyFiveSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FourteenRegularProps } from "./interfaces";
3
2
  export declare const FourteenRegular: (props: FourteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FourteenSbProps } from "./interfaces";
3
2
  export declare const FourteenSb: (props: FourteenSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FourtyBoldProps } from "./interfaces";
3
2
  export declare const FourtyBold: (props: FourtyBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TextProps } from "rebass";
3
2
  export declare const NoTranslate: (props: TextProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SixteenRegularProps } from "./interfaces";
3
2
  export declare const SixteenRegular: (props: SixteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TenSbProps } from "./interfaces";
3
2
  export declare const TenSb: (props: TenSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirteenBoldProps } from "./interfaces";
3
2
  export declare const ThirteenBold: (props: ThirteenBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirteenRegularProps } from "./interfaces";
3
2
  export declare const ThirteenRegular: (props: ThirteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirteenSbProps } from "./interfaces";
3
2
  export declare const ThirteenSb: (props: ThirteenSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirtyTwoBoldProps } from "./interfaces";
3
2
  export declare const ThirtyTwoBold: (props: ThirtyTwoBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirtyTwoRegularProps } from "./interfaces";
3
2
  export declare const ThirtyTwoRegular: (props: ThirtyTwoRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwelveRegularProps } from "./interfaces";
3
2
  export declare const TwelveRegular: (props: TwelveRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwelveSbProps } from "./interfaces";
3
2
  export declare const TwelveSb: (props: TwelveSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwentyFourBoldProps } from "./interfaces";
3
2
  export declare const TwentyFourBold: (props: TwentyFourBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwentyFourRegularProps } from "./interfaces";
3
2
  export declare const TwentyFourRegular: (props: TwentyFourRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ScrollToTopProps } from "./interfaces";
3
2
  export declare const ScrollToTop: (props: ScrollToTopProps) => JSX.Element;
Binary file
package/lib/index.html ADDED
@@ -0,0 +1,35 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <!--
9
+ Notice the use of %PUBLIC_URL% in the tags above.
10
+ It will be replaced with the URL of the `public` folder during the build.
11
+ Only files inside the `public` folder can be referenced from the HTML.
12
+
13
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
14
+ work correctly both with client-side routing and a non-root public URL.
15
+ Learn how to configure a non-root public URL by running `npm run build`.
16
+ -->
17
+ <title>Selfdecode Component Library</title>
18
+ </head>
19
+
20
+ <body>
21
+ <noscript>You need to enable JavaScript to run this app.</noscript>
22
+ <div id="root"></div>
23
+ <!--
24
+ This HTML file is a template.
25
+ If you open it directly in the browser, you will see an empty page.
26
+
27
+ You can add webfonts, meta tags, or analytics to this file.
28
+ The build step will place the bundled scripts into the <body> tag.
29
+
30
+ To begin the development, run `npm start` or `yarn start`.
31
+ To create a production bundle, use `npm run build` or `yarn build`.
32
+ -->
33
+ </body>
34
+
35
+ </html>
@@ -0,0 +1 @@
1
+ export * from './index'