odaptos_design_system 0.1.1 → 1.0.0

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 (30) hide show
  1. package/dist/Buttons/Button.d.ts +6 -0
  2. package/dist/Color Guide/colors.d.ts +6 -0
  3. package/dist/Typography/Caption.d.ts +12 -0
  4. package/dist/Typography/Text.d.ts +15 -0
  5. package/dist/Typography/TextForButton.d.ts +13 -0
  6. package/dist/Typography/TextForDropDownItem.d.ts +13 -0
  7. package/dist/Typography/Title.d.ts +14 -0
  8. package/dist/index.d.ts +6 -0
  9. package/dist/odaptos_design_system.cjs.development.css +5 -0
  10. package/dist/odaptos_design_system.cjs.development.js +108 -0
  11. package/dist/odaptos_design_system.cjs.development.js.map +1 -0
  12. package/dist/odaptos_design_system.cjs.production.min.js +2 -0
  13. package/dist/odaptos_design_system.cjs.production.min.js.map +1 -0
  14. package/dist/odaptos_design_system.esm.js +97 -0
  15. package/dist/odaptos_design_system.esm.js.map +1 -0
  16. package/package.json +4 -1
  17. package/src/{lib/Typography → Typography}/TextForButton.tsx +0 -1
  18. package/src/index.ts +6 -0
  19. package/src/lib/index.ts +0 -7
  20. /package/src/{lib/Buttons → Buttons}/Button.tsx +0 -0
  21. /package/src/{lib/Color Guide → Color Guide}/colors.ts +0 -0
  22. /package/src/{lib/Typography → Typography}/Caption.css +0 -0
  23. /package/src/{lib/Typography → Typography}/Caption.tsx +0 -0
  24. /package/src/{lib/Typography → Typography}/Text.css +0 -0
  25. /package/src/{lib/Typography → Typography}/Text.tsx +0 -0
  26. /package/src/{lib/Typography → Typography}/TextForButton.css +0 -0
  27. /package/src/{lib/Typography → Typography}/TextForDropDownItem.css +0 -0
  28. /package/src/{lib/Typography → Typography}/TextForDropDownItem.tsx +0 -0
  29. /package/src/{lib/Typography → Typography}/Title.css +0 -0
  30. /package/src/{lib/Typography → Typography}/Title.tsx +0 -0
@@ -0,0 +1,6 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export interface Props extends HTMLAttributes<HTMLButtonElement> {
3
+ variant: 'text' | 'icon';
4
+ children: string;
5
+ }
6
+ export declare const Button: ({ variant, children, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ interface ColorPalette {
2
+ [key: string]: string;
3
+ }
4
+ declare const colors: ColorPalette;
5
+ export default colors;
6
+ export declare const getColor: (colorName: string, shade: string) => string | undefined;
@@ -0,0 +1,12 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import './Caption.css';
3
+ interface CaptionProps extends HTMLAttributes<HTMLParagraphElement> {
4
+ /** Text display in the caption */
5
+ text: string;
6
+ color?: string;
7
+ className?: string;
8
+ uppercase?: boolean;
9
+ }
10
+ /** This text should only be used for the captions */
11
+ export declare const Caption: ({ text, color, className, uppercase, ...props }: CaptionProps) => React.JSX.Element;
12
+ export {};
@@ -0,0 +1,15 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import './Text.css';
3
+ interface TextProps extends HTMLAttributes<HTMLParagraphElement> {
4
+ /** Text display */
5
+ text: string;
6
+ color?: string;
7
+ size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';
8
+ titleWeight?: 'semi-bold' | 'bold' | 'regular';
9
+ italic?: boolean;
10
+ textDecoration?: 'underline' | 'line-through';
11
+ className?: string;
12
+ }
13
+ /** This text should be use to display basic text */
14
+ export declare const Text: ({ text, color, size, titleWeight, italic, textDecoration, className, ...props }: TextProps) => React.JSX.Element;
15
+ export {};
@@ -0,0 +1,13 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import './TextForButton.css';
3
+ interface TextForButtonProps extends HTMLAttributes<HTMLParagraphElement> {
4
+ /** Text display in the Button component */
5
+ text: string;
6
+ color?: string;
7
+ bold?: boolean;
8
+ className?: string;
9
+ size?: 'sm' | 'base' | 'lg';
10
+ }
11
+ /** This button should only be used in the Button component */
12
+ export declare const TextForButton: ({ text, color, bold, className, size, ...props }: TextForButtonProps) => React.JSX.Element;
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import './TextForDropDownItem.css';
3
+ interface TextForDropDownItemProps extends HTMLAttributes<HTMLParagraphElement> {
4
+ /** Text display in the Dropdown item component */
5
+ text: string;
6
+ color?: string;
7
+ bold?: boolean;
8
+ className?: string;
9
+ size?: 'xs' | 'sm' | 'base';
10
+ }
11
+ /** This text should only be used for the dropdown items text */
12
+ export declare const TextForDropDownItem: ({ text, color, bold, size, className, ...props }: TextForDropDownItemProps) => React.JSX.Element;
13
+ export {};
@@ -0,0 +1,14 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import './Title.css';
3
+ interface TitleProps extends HTMLAttributes<HTMLParagraphElement> {
4
+ /** Text display in the Title */
5
+ text: string;
6
+ color?: string;
7
+ size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';
8
+ titleWeight?: 'semi-bold' | 'bold' | 'regular';
9
+ italic?: boolean;
10
+ className?: string;
11
+ }
12
+ /** This text should only be used to display titles */
13
+ export declare const Title: ({ text, color, size, titleWeight, italic, className, ...props }: TitleProps) => React.JSX.Element;
14
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from './Buttons/Button';
2
+ export * from './Typography/Caption';
3
+ export * from './Typography/Text';
4
+ export * from './Typography/TextForButton';
5
+ export * from './Typography/TextForDropDownItem';
6
+ export * from './Typography/Title';
@@ -0,0 +1,5 @@
1
+ @import "../../../example/index.css";.text{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdFontSizeXs);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;padding:1px 0;text-align:left}.text.uppercase{text-transform:var(--sdTextCaseUppercase)}
2
+ @import "../../../example/index.css";.text{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdFontSizeXs);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;text-align:left}.underline{-webkit-text-decoration:var(--sdUnderline);text-decoration:var(--sdUnderline)}.line-through{-webkit-text-decoration:var(--sdLineThrough);text-decoration:var(--sdLineThrough)}.text.xs.regular{font:var(--sdTypoTextNoDecorationRegularXs);padding:1px 0}.text.sm.regular{font:var(--sdTypoTextNoDecorationRegularSm);padding:1px 0 3px}.text.base.regular{font:var(--sdTypoTextNoDecorationRegularBase);padding:2px 0}.text.lg.regular{font:var(--sdTypoTextNoDecorationRegularLg);padding:2px 0}.text.xl.regular{font:var(--sdTypoTextNoDecorationRegularXl);padding:1px 0 3px}.text.xxl.regular{font:var(--sdTypoTextNoDecorationRegular2xl);padding:0}.text.xxxl.regular{font:var(--sdTypoTextNoDecorationRegular3xl);padding:1px 0 3px}.text.xxxxl.regular{font:var(--sdTypoTextNoDecorationRegular4xl);padding:3px 0 1px}.text.xs.regular.italic{font:var(--sdTypoTextNoDecorationItalicXs);padding:1px 0 2px}.text.sm.regular.italic{font:var(--sdTypoTextNoDecorationItalicSm);padding:1px 0 3px}.text.base.regular.italic{font:var(--sdTypoTextNoDecorationItalicBase);padding:2px 0}.text.lg.regular.italic{font:var(--sdTypoTextNoDecorationItalicLg);padding:2px 0}.text.xl.regular.italic{font:var(--sdTypoTextNoDecorationItalicXl);padding:1px 0 3px}.text.xxl.regular.italic{font:var(--sdTypoTextNoDecorationItalic2xl);padding:0}.text.xxxl.regular.italic{font:var(--sdTypoTextNoDecorationItalic3xl);padding:1px 0 3px}.text.xxxxl.regular.italic{font:var(--sdTypoTextNoDecorationItalic4xl);padding:3px 0 1px}.text.xs.bold{font:var(--sdTypoTextNoDecorationBoldXs);padding:1px 0 2px}.text.sm.bold{font:var(--sdTypoTextNoDecorationBoldSm);padding:1px 0 3px}.text.base.bold{font:var(--sdTypoTextNoDecorationBoldBase);padding:2px 0}.text.lg.bold{font:var(--sdTypoTextNoDecorationBoldLg);padding:2px 0}.text.xl.bold{font:var(--sdTypoTextNoDecorationBoldXl);padding:1px 0 3px}.text.xxl.bold{font:var(--sdTypoTextNoDecorationBold2xl);padding:0}.text.xxxl.bold{font:var(--sdTypoTextNoDecorationBold3xl);padding:1px 0 3px}.text.xxxxl.bold{font:var(--sdTypoTextNoDecorationBold4xl);padding:3px 0 1px}.text.xs.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalicXs);padding:1px 0 2px}.text.sm.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalicSm);padding:1px 0 3px}.text.base.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalicBase);padding:2px 0}.text.lg.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalicLg);padding:2px 0}.text.xl.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalicXl);padding:1px 0 3px}.text.xxl.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalic2xl);padding:0}.text.xxxl.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalic3xl);padding:1px 0 3px}.text.xxxxl.bold.italic{font:var(--sdTypoTextNoDecorationBoldItalic4xl);padding:3px 0 1px}.text.xs.semi-bold{font:var(--sdTypoTextNoDecorationSemiBoldXs);padding:1px 0 2px}.text.sm.semi-bold{font:var(--sdTypoTextNoDecorationSemiBoldSm);padding:1px 0 3px}.text.base.semi-bold{font:var(--sdTypoTextNoDecorationSemiBoldBase);padding:2px 0}.text.lg.semi-bold{font:var(--sdTypoTextNoDecorationSemiBoldLg);padding:2px 0}.text.xl.semi-bold{font:var(--sdTypoTextNoDecorationSemiBoldXl);padding:1px 0 3px}.text.xxl.semi-bold{font:var(--sdTypoTextNoDecorationSemiBold2xl);padding:0}.text.xxxl.semi-bold{font:var(--sdTypoTextNoDecorationSemiBold3xl);padding:1px 0 3px}.text.xxxxl.semi-bold{font:var(--sdTypoTextNoDecorationSemiBold4xl);padding:3px 0 1px}.text.xs.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalicXs);padding:1px 0 2px}.text.sm.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalicSm);padding:1px 0 3px}.text.base.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalicBase);padding:2px 0}.text.lg.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalicLg);padding:2px 0}.text.xl.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalicXl);padding:1px 0 3px}.text.xxl.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalic2xl);padding:0}.text.xxxl.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalic3xl);padding:1px 0 3px}.text.xxxxl.semi-bold.italic{font:var(--sdTypoTextNoDecorationSemiBoldItalic4xl);padding:3px 0 1px}
3
+ @import "../../../example/index.css";.text{font-family:var(--sdFontFamilyPoppins);font-weight:var(--sdFontWeightMedium);letter-spacing:var(--sdLetterSpacingButtons);margin:unset;padding:2px 0;text-align:left}.text.bold{font-weight:var(--sdFontWeightSemibold)}.sm{font-size:var(--sdFontSizeSm);line-height:var(--sdLineHeight140)}.base,.lg{font-size:var(--sdFontSizeBase);line-height:var(--sdLineHeight150)}
4
+ @import "../../../example/index.css";.text{font-family:var(--sdFontFamilyOpenSans);font-weight:var(--sdFontWeightRegular);padding:2px 0}.xs{font-size:var(--sdFontSizeXs);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130)}.sm{font-size:var(--sdFontSizeSm);line-height:var(--sdLineHeight140)}.base{font-size:var(--sdFontSizeBase);line-height:var(--sdLineHeight150)}.text.bold{font-weight:var(--sdFontWeightBold)}.text.bold.xs{line-height:var(--sdLineHeight120)}
5
+ @import "../../../example/index.css";.text{font-family:var(--sdFontFamilyPoppins);font-weight:var(--sdFontWeightSemibold);letter-spacing:var(--sdLetterSpacingHeadings);margin:unset;text-align:left}.italic{font-style:italic}.xs{padding:1px 0}.sm,.xs{font-size:var(--sdFontSizeSm);line-height:var(--sdLineHeight140)}.sm{padding:3px 0 1px}.base{font-size:var(--sdFontSizeBase);line-height:var(--sdLineHeight150);padding:2px 0}.lg{font-size:var(--sdFontSizeLg);line-height:var(--sdLineHeight140);padding:3px 0 1px}.xl{font-size:var(--sdFontSizeXl);padding:2px 0}.xl,.xxl{line-height:var(--sdLineHeight150)}.xxl{font-size:var(--sdFontSize2xl);padding:1px 0 3px}.xxxl{font-size:var(--sdFontSize3xl);line-height:150%;padding:3px 0 1px}.xxxxl{font-size:var(--sdFontSize4xl);line-height:var(--sdLineHeight150);padding:2px 0}.bold{font-weight:var(--sdFontWeightBold)}.semi-bold{font-weight:var(--sdFontWeightSemibold)}.regular{font-weight:var(--sdFontWeightRegular)}
@@ -0,0 +1,108 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
+
7
+ var React = _interopDefault(require('react'));
8
+
9
+ const Button = ({
10
+ variant,
11
+ children,
12
+ ...props
13
+ }) => /*#__PURE__*/React.createElement("button", Object.assign({}, props), children);
14
+
15
+ /** This text should only be used for the captions */
16
+ const Caption = ({
17
+ text = 'Caption text',
18
+ color = 'black',
19
+ className,
20
+ uppercase = true,
21
+ ...props
22
+ }) => {
23
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
24
+ style: {
25
+ color: color
26
+ },
27
+ className: `text ${uppercase && 'uppercase'} ${className}`
28
+ }), text);
29
+ };
30
+
31
+ /** This text should be use to display basic text */
32
+ const Text = ({
33
+ text = 'Component to use for the basic texts',
34
+ color = 'black',
35
+ size = 'base',
36
+ titleWeight = 'semi-bold',
37
+ italic = false,
38
+ textDecoration,
39
+ className,
40
+ ...props
41
+ }) => {
42
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
43
+ style: {
44
+ color: color
45
+ },
46
+ className: `text ${italic && 'italic'} ${titleWeight} ${textDecoration && textDecoration} ${className} ${size}`
47
+ }), text);
48
+ };
49
+
50
+ /** This button should only be used in the Button component */
51
+ const TextForButton = ({
52
+ text = 'Text display in button component',
53
+ color = 'black',
54
+ bold = false,
55
+ className,
56
+ size = 'base',
57
+ ...props
58
+ }) => {
59
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
60
+ style: {
61
+ color: color
62
+ },
63
+ className: `text ${bold && 'bold'} ${className} ${size}`
64
+ }), text);
65
+ };
66
+
67
+ /** This text should only be used for the dropdown items text */
68
+ const TextForDropDownItem = ({
69
+ text = 'Text for drop down item',
70
+ color = 'black',
71
+ bold = false,
72
+ size = 'base',
73
+ className,
74
+ ...props
75
+ }) => {
76
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
77
+ style: {
78
+ color: color
79
+ },
80
+ className: `text ${bold && 'bold'} ${size} ${className}`
81
+ }), text);
82
+ };
83
+
84
+ /** This text should only be used to display titles */
85
+ const Title = ({
86
+ text = 'Component to use for the titles',
87
+ color = 'black',
88
+ size = 'base',
89
+ titleWeight = 'semi-bold',
90
+ italic = false,
91
+ className,
92
+ ...props
93
+ }) => {
94
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
95
+ style: {
96
+ color: color
97
+ },
98
+ className: `text ${italic && 'italic'} ${titleWeight} ${className} ${size}`
99
+ }), text);
100
+ };
101
+
102
+ exports.Button = Button;
103
+ exports.Caption = Caption;
104
+ exports.Text = Text;
105
+ exports.TextForButton = TextForButton;
106
+ exports.TextForDropDownItem = TextForDropDownItem;
107
+ exports.Title = Title;
108
+ //# sourceMappingURL=odaptos_design_system.cjs.development.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odaptos_design_system.cjs.development.js","sources":["../src/Buttons/Button.tsx","../src/Typography/Caption.tsx","../src/Typography/Text.tsx","../src/Typography/TextForButton.tsx","../src/Typography/TextForDropDownItem.tsx","../src/Typography/Title.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nexport interface Props extends HTMLAttributes<HTMLButtonElement> {\n variant: 'text' | 'icon';\n children: string;\n}\n\nexport const Button = ({ variant, children, ...props }: Props) => (\n <button {...props}>{children}</button>\n);\n","import React, { HTMLAttributes } from 'react';\nimport './Caption.css';\n\ninterface CaptionProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the caption */\n text: string;\n color?: string;\n className?: string;\n uppercase?: boolean;\n}\n\n/** This text should only be used for the captions */\nexport const Caption = ({\n text = 'Caption text',\n color = 'black',\n className,\n uppercase = true,\n ...props\n}: CaptionProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${uppercase && 'uppercase'} ${className}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './Text.css';\n\ninterface TextProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display */\n text: string;\n color?: string;\n size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';\n titleWeight?: 'semi-bold' | 'bold' | 'regular';\n italic?: boolean;\n textDecoration?: 'underline' | 'line-through';\n className?: string;\n}\n\n/** This text should be use to display basic text */\nexport const Text = ({\n text = 'Component to use for the basic texts',\n color = 'black',\n size = 'base',\n titleWeight = 'semi-bold',\n italic = false,\n textDecoration,\n className,\n ...props\n}: TextProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${italic && 'italic'} ${titleWeight} ${textDecoration &&\n textDecoration} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './TextForButton.css';\n\ninterface TextForButtonProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Button component */\n text: string;\n color?: string;\n bold?: boolean;\n className?: string;\n size?: 'sm' | 'base' | 'lg';\n}\n\n/** This button should only be used in the Button component */\nexport const TextForButton = ({\n text = 'Text display in button component',\n color = 'black',\n bold = false,\n className,\n size = 'base',\n ...props\n}: TextForButtonProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${bold && 'bold'} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './TextForDropDownItem.css';\n\ninterface TextForDropDownItemProps\n extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Dropdown item component */\n text: string;\n color?: string;\n bold?: boolean;\n className?: string;\n size?: 'xs' | 'sm' | 'base';\n}\n\n/** This text should only be used for the dropdown items text */\nexport const TextForDropDownItem = ({\n text = 'Text for drop down item',\n color = 'black',\n bold = false,\n size = 'base',\n className,\n ...props\n}: TextForDropDownItemProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${bold && 'bold'} ${size} ${className}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './Title.css';\n\ninterface TitleProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Title */\n text: string;\n color?: string;\n size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';\n titleWeight?: 'semi-bold' | 'bold' | 'regular';\n italic?: boolean;\n className?: string;\n}\n\n/** This text should only be used to display titles */\nexport const Title = ({\n text = 'Component to use for the titles',\n color = 'black',\n size = 'base',\n titleWeight = 'semi-bold',\n italic = false,\n className,\n ...props\n}: TitleProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${italic &&\n 'italic'} ${titleWeight} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n"],"names":["Button","variant","children","props","React","Caption","text","color","className","uppercase","style","Text","size","titleWeight","italic","textDecoration","TextForButton","bold","TextForDropDownItem","Title"],"mappings":";;;;;;;;MAOaA,MAAM,GAAGA,CAAC;EAAEC,OAAO;EAAEC,QAAQ;EAAE,GAAGC;CAAc,kBAC3DC,gDAAYD,KAAK,GAAGD,QAAQ;;ACG9B;AACA,MAAaG,OAAO,GAAGA,CAAC;EACtBC,IAAI,GAAG,cAAc;EACrBC,KAAK,GAAG,OAAO;EACfC,SAAS;EACTC,SAAS,GAAG,IAAI;EAChB,GAAGN;CACU;EACb,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUC,SAAS,IAAI,eAAeD;MAE9CF,IAAI,CACH;AAER,CAAC;;ACdD;AACA,MAAaK,IAAI,GAAGA,CAAC;EACnBL,IAAI,GAAG,sCAAsC;EAC7CC,KAAK,GAAG,OAAO;EACfK,IAAI,GAAG,MAAM;EACbC,WAAW,GAAG,WAAW;EACzBC,MAAM,GAAG,KAAK;EACdC,cAAc;EACdP,SAAS;EACT,GAAGL;CACO;EACV,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUM,MAAM,IAAI,YAAYD,eAAeE,cAAc,IACpEA,kBAAkBP,aAAaI;MAEhCN,IAAI,CACH;AAER,CAAC;;ACvBD;AACA,MAAaU,aAAa,GAAGA,CAAC;EAC5BV,IAAI,GAAG,kCAAkC;EACzCC,KAAK,GAAG,OAAO;EACfU,IAAI,GAAG,KAAK;EACZT,SAAS;EACTI,IAAI,GAAG,MAAM;EACb,GAAGT;CACgB;EACnB,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUS,IAAI,IAAI,UAAUT,aAAaI;MAEjDN,IAAI,CACH;AAER,CAAC;;ACjBD;AACA,MAAaY,mBAAmB,GAAGA,CAAC;EAClCZ,IAAI,GAAG,yBAAyB;EAChCC,KAAK,GAAG,OAAO;EACfU,IAAI,GAAG,KAAK;EACZL,IAAI,GAAG,MAAM;EACbJ,SAAS;EACT,GAAGL;CACsB;EACzB,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUS,IAAI,IAAI,UAAUL,QAAQJ;MAE5CF,IAAI,CACH;AAER,CAAC;;AClBD;AACA,MAAaa,KAAK,GAAGA,CAAC;EACpBb,IAAI,GAAG,iCAAiC;EACxCC,KAAK,GAAG,OAAO;EACfK,IAAI,GAAG,MAAM;EACbC,WAAW,GAAG,WAAW;EACzBC,MAAM,GAAG,KAAK;EACdN,SAAS;EACT,GAAGL;CACQ;EACX,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUM,MAAM,IACvB,YAAYD,eAAeL,aAAaI;MAEzCN,IAAI,CACH;AAER,CAAC;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e;exports.Button=({children:e,...s})=>t.createElement("button",Object.assign({},s),e),exports.Caption=({text:e="Caption text",color:s="black",className:o,uppercase:a=!0,...l})=>t.createElement("p",Object.assign({},l,{style:{color:s},className:`text ${a&&"uppercase"} ${o}`}),e),exports.Text=({text:e="Component to use for the basic texts",color:s="black",size:o="base",titleWeight:a="semi-bold",italic:l=!1,textDecoration:c,className:r,...i})=>t.createElement("p",Object.assign({},i,{style:{color:s},className:`text ${l&&"italic"} ${a} ${c&&c} ${r} ${o}`}),e),exports.TextForButton=({text:e="Text display in button component",color:s="black",bold:o=!1,className:a,size:l="base",...c})=>t.createElement("p",Object.assign({},c,{style:{color:s},className:`text ${o&&"bold"} ${a} ${l}`}),e),exports.TextForDropDownItem=({text:e="Text for drop down item",color:s="black",bold:o=!1,size:a="base",className:l,...c})=>t.createElement("p",Object.assign({},c,{style:{color:s},className:`text ${o&&"bold"} ${a} ${l}`}),e),exports.Title=({text:e="Component to use for the titles",color:s="black",size:o="base",titleWeight:a="semi-bold",italic:l=!1,className:c,...r})=>t.createElement("p",Object.assign({},r,{style:{color:s},className:`text ${l&&"italic"} ${a} ${c} ${o}`}),e);
2
+ //# sourceMappingURL=odaptos_design_system.cjs.production.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odaptos_design_system.cjs.production.min.js","sources":["../src/Buttons/Button.tsx","../src/Typography/Caption.tsx","../src/Typography/Text.tsx","../src/Typography/TextForButton.tsx","../src/Typography/TextForDropDownItem.tsx","../src/Typography/Title.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nexport interface Props extends HTMLAttributes<HTMLButtonElement> {\n variant: 'text' | 'icon';\n children: string;\n}\n\nexport const Button = ({ variant, children, ...props }: Props) => (\n <button {...props}>{children}</button>\n);\n","import React, { HTMLAttributes } from 'react';\nimport './Caption.css';\n\ninterface CaptionProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the caption */\n text: string;\n color?: string;\n className?: string;\n uppercase?: boolean;\n}\n\n/** This text should only be used for the captions */\nexport const Caption = ({\n text = 'Caption text',\n color = 'black',\n className,\n uppercase = true,\n ...props\n}: CaptionProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${uppercase && 'uppercase'} ${className}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './Text.css';\n\ninterface TextProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display */\n text: string;\n color?: string;\n size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';\n titleWeight?: 'semi-bold' | 'bold' | 'regular';\n italic?: boolean;\n textDecoration?: 'underline' | 'line-through';\n className?: string;\n}\n\n/** This text should be use to display basic text */\nexport const Text = ({\n text = 'Component to use for the basic texts',\n color = 'black',\n size = 'base',\n titleWeight = 'semi-bold',\n italic = false,\n textDecoration,\n className,\n ...props\n}: TextProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${italic && 'italic'} ${titleWeight} ${textDecoration &&\n textDecoration} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './TextForButton.css';\n\ninterface TextForButtonProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Button component */\n text: string;\n color?: string;\n bold?: boolean;\n className?: string;\n size?: 'sm' | 'base' | 'lg';\n}\n\n/** This button should only be used in the Button component */\nexport const TextForButton = ({\n text = 'Text display in button component',\n color = 'black',\n bold = false,\n className,\n size = 'base',\n ...props\n}: TextForButtonProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${bold && 'bold'} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './TextForDropDownItem.css';\n\ninterface TextForDropDownItemProps\n extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Dropdown item component */\n text: string;\n color?: string;\n bold?: boolean;\n className?: string;\n size?: 'xs' | 'sm' | 'base';\n}\n\n/** This text should only be used for the dropdown items text */\nexport const TextForDropDownItem = ({\n text = 'Text for drop down item',\n color = 'black',\n bold = false,\n size = 'base',\n className,\n ...props\n}: TextForDropDownItemProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${bold && 'bold'} ${size} ${className}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './Title.css';\n\ninterface TitleProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Title */\n text: string;\n color?: string;\n size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';\n titleWeight?: 'semi-bold' | 'bold' | 'regular';\n italic?: boolean;\n className?: string;\n}\n\n/** This text should only be used to display titles */\nexport const Title = ({\n text = 'Component to use for the titles',\n color = 'black',\n size = 'base',\n titleWeight = 'semi-bold',\n italic = false,\n className,\n ...props\n}: TitleProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${italic &&\n 'italic'} ${titleWeight} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n"],"names":["Button","children","props","React","Caption","text","color","className","uppercase","style","Text","size","titleWeight","italic","textDecoration","TextForButton","bold","TextForDropDownItem","Title"],"mappings":"+JAOsBA,EAAYC,SAAAA,KAAaC,KAC7CC,0CAAYD,GAAQD,mBCICG,EACrBC,KAAAA,EAAO,eACPC,MAAAA,EAAQ,QACRC,UAAAA,EACAC,UAAAA,GAAY,KACTN,KAGDC,qCACMD,GACJO,MAAO,CAAEH,MAAOA,GAChBC,kBAAmBC,GAAa,eAAeD,MAE9CF,gBCVaK,EAClBL,KAAAA,EAAO,uCACPC,MAAAA,EAAQ,QACRK,KAAAA,EAAO,OACPC,YAAAA,EAAc,YACdC,OAAAA,GAAS,EACTC,eAAAA,EACAP,UAAAA,KACGL,KAGDC,qCACMD,GACJO,MAAO,CAAEH,MAAOA,GAChBC,kBAAmBM,GAAU,YAAYD,KAAeE,GACtDA,KAAkBP,KAAaI,MAEhCN,yBCnBsBU,EAC3BV,KAAAA,EAAO,mCACPC,MAAAA,EAAQ,QACRU,KAAAA,GAAO,EACPT,UAAAA,EACAI,KAAAA,EAAO,UACJT,KAGDC,qCACMD,GACJO,MAAO,CAAEH,MAAOA,GAChBC,kBAAmBS,GAAQ,UAAUT,KAAaI,MAEjDN,+BCb4BY,EACjCZ,KAAAA,EAAO,0BACPC,MAAAA,EAAQ,QACRU,KAAAA,GAAO,EACPL,KAAAA,EAAO,OACPJ,UAAAA,KACGL,KAGDC,qCACMD,GACJO,MAAO,CAAEH,MAAOA,GAChBC,kBAAmBS,GAAQ,UAAUL,KAAQJ,MAE5CF,iBCdca,EACnBb,KAAAA,EAAO,kCACPC,MAAAA,EAAQ,QACRK,KAAAA,EAAO,OACPC,YAAAA,EAAc,YACdC,OAAAA,GAAS,EACTN,UAAAA,KACGL,KAGDC,qCACMD,GACJO,MAAO,CAAEH,MAAOA,GAChBC,kBAAmBM,GACjB,YAAYD,KAAeL,KAAaI,MAEzCN"}
@@ -0,0 +1,97 @@
1
+ import React from 'react';
2
+
3
+ const Button = ({
4
+ variant,
5
+ children,
6
+ ...props
7
+ }) => /*#__PURE__*/React.createElement("button", Object.assign({}, props), children);
8
+
9
+ /** This text should only be used for the captions */
10
+ const Caption = ({
11
+ text = 'Caption text',
12
+ color = 'black',
13
+ className,
14
+ uppercase = true,
15
+ ...props
16
+ }) => {
17
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
18
+ style: {
19
+ color: color
20
+ },
21
+ className: `text ${uppercase && 'uppercase'} ${className}`
22
+ }), text);
23
+ };
24
+
25
+ /** This text should be use to display basic text */
26
+ const Text = ({
27
+ text = 'Component to use for the basic texts',
28
+ color = 'black',
29
+ size = 'base',
30
+ titleWeight = 'semi-bold',
31
+ italic = false,
32
+ textDecoration,
33
+ className,
34
+ ...props
35
+ }) => {
36
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
37
+ style: {
38
+ color: color
39
+ },
40
+ className: `text ${italic && 'italic'} ${titleWeight} ${textDecoration && textDecoration} ${className} ${size}`
41
+ }), text);
42
+ };
43
+
44
+ /** This button should only be used in the Button component */
45
+ const TextForButton = ({
46
+ text = 'Text display in button component',
47
+ color = 'black',
48
+ bold = false,
49
+ className,
50
+ size = 'base',
51
+ ...props
52
+ }) => {
53
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
54
+ style: {
55
+ color: color
56
+ },
57
+ className: `text ${bold && 'bold'} ${className} ${size}`
58
+ }), text);
59
+ };
60
+
61
+ /** This text should only be used for the dropdown items text */
62
+ const TextForDropDownItem = ({
63
+ text = 'Text for drop down item',
64
+ color = 'black',
65
+ bold = false,
66
+ size = 'base',
67
+ className,
68
+ ...props
69
+ }) => {
70
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
71
+ style: {
72
+ color: color
73
+ },
74
+ className: `text ${bold && 'bold'} ${size} ${className}`
75
+ }), text);
76
+ };
77
+
78
+ /** This text should only be used to display titles */
79
+ const Title = ({
80
+ text = 'Component to use for the titles',
81
+ color = 'black',
82
+ size = 'base',
83
+ titleWeight = 'semi-bold',
84
+ italic = false,
85
+ className,
86
+ ...props
87
+ }) => {
88
+ return /*#__PURE__*/React.createElement("p", Object.assign({}, props, {
89
+ style: {
90
+ color: color
91
+ },
92
+ className: `text ${italic && 'italic'} ${titleWeight} ${className} ${size}`
93
+ }), text);
94
+ };
95
+
96
+ export { Button, Caption, Text, TextForButton, TextForDropDownItem, Title };
97
+ //# sourceMappingURL=odaptos_design_system.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odaptos_design_system.esm.js","sources":["../src/Buttons/Button.tsx","../src/Typography/Caption.tsx","../src/Typography/Text.tsx","../src/Typography/TextForButton.tsx","../src/Typography/TextForDropDownItem.tsx","../src/Typography/Title.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nexport interface Props extends HTMLAttributes<HTMLButtonElement> {\n variant: 'text' | 'icon';\n children: string;\n}\n\nexport const Button = ({ variant, children, ...props }: Props) => (\n <button {...props}>{children}</button>\n);\n","import React, { HTMLAttributes } from 'react';\nimport './Caption.css';\n\ninterface CaptionProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the caption */\n text: string;\n color?: string;\n className?: string;\n uppercase?: boolean;\n}\n\n/** This text should only be used for the captions */\nexport const Caption = ({\n text = 'Caption text',\n color = 'black',\n className,\n uppercase = true,\n ...props\n}: CaptionProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${uppercase && 'uppercase'} ${className}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './Text.css';\n\ninterface TextProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display */\n text: string;\n color?: string;\n size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';\n titleWeight?: 'semi-bold' | 'bold' | 'regular';\n italic?: boolean;\n textDecoration?: 'underline' | 'line-through';\n className?: string;\n}\n\n/** This text should be use to display basic text */\nexport const Text = ({\n text = 'Component to use for the basic texts',\n color = 'black',\n size = 'base',\n titleWeight = 'semi-bold',\n italic = false,\n textDecoration,\n className,\n ...props\n}: TextProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${italic && 'italic'} ${titleWeight} ${textDecoration &&\n textDecoration} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './TextForButton.css';\n\ninterface TextForButtonProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Button component */\n text: string;\n color?: string;\n bold?: boolean;\n className?: string;\n size?: 'sm' | 'base' | 'lg';\n}\n\n/** This button should only be used in the Button component */\nexport const TextForButton = ({\n text = 'Text display in button component',\n color = 'black',\n bold = false,\n className,\n size = 'base',\n ...props\n}: TextForButtonProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${bold && 'bold'} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './TextForDropDownItem.css';\n\ninterface TextForDropDownItemProps\n extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Dropdown item component */\n text: string;\n color?: string;\n bold?: boolean;\n className?: string;\n size?: 'xs' | 'sm' | 'base';\n}\n\n/** This text should only be used for the dropdown items text */\nexport const TextForDropDownItem = ({\n text = 'Text for drop down item',\n color = 'black',\n bold = false,\n size = 'base',\n className,\n ...props\n}: TextForDropDownItemProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${bold && 'bold'} ${size} ${className}`}\n >\n {text}\n </p>\n );\n};\n","import React, { HTMLAttributes } from 'react';\nimport './Title.css';\n\ninterface TitleProps extends HTMLAttributes<HTMLParagraphElement> {\n /** Text display in the Title */\n text: string;\n color?: string;\n size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';\n titleWeight?: 'semi-bold' | 'bold' | 'regular';\n italic?: boolean;\n className?: string;\n}\n\n/** This text should only be used to display titles */\nexport const Title = ({\n text = 'Component to use for the titles',\n color = 'black',\n size = 'base',\n titleWeight = 'semi-bold',\n italic = false,\n className,\n ...props\n}: TitleProps) => {\n return (\n <p\n {...props}\n style={{ color: color }}\n className={`text ${italic &&\n 'italic'} ${titleWeight} ${className} ${size}`}\n >\n {text}\n </p>\n );\n};\n"],"names":["Button","variant","children","props","React","Caption","text","color","className","uppercase","style","Text","size","titleWeight","italic","textDecoration","TextForButton","bold","TextForDropDownItem","Title"],"mappings":";;MAOaA,MAAM,GAAGA,CAAC;EAAEC,OAAO;EAAEC,QAAQ;EAAE,GAAGC;CAAc,kBAC3DC,gDAAYD,KAAK,GAAGD,QAAQ;;ACG9B;AACA,MAAaG,OAAO,GAAGA,CAAC;EACtBC,IAAI,GAAG,cAAc;EACrBC,KAAK,GAAG,OAAO;EACfC,SAAS;EACTC,SAAS,GAAG,IAAI;EAChB,GAAGN;CACU;EACb,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUC,SAAS,IAAI,eAAeD;MAE9CF,IAAI,CACH;AAER,CAAC;;ACdD;AACA,MAAaK,IAAI,GAAGA,CAAC;EACnBL,IAAI,GAAG,sCAAsC;EAC7CC,KAAK,GAAG,OAAO;EACfK,IAAI,GAAG,MAAM;EACbC,WAAW,GAAG,WAAW;EACzBC,MAAM,GAAG,KAAK;EACdC,cAAc;EACdP,SAAS;EACT,GAAGL;CACO;EACV,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUM,MAAM,IAAI,YAAYD,eAAeE,cAAc,IACpEA,kBAAkBP,aAAaI;MAEhCN,IAAI,CACH;AAER,CAAC;;ACvBD;AACA,MAAaU,aAAa,GAAGA,CAAC;EAC5BV,IAAI,GAAG,kCAAkC;EACzCC,KAAK,GAAG,OAAO;EACfU,IAAI,GAAG,KAAK;EACZT,SAAS;EACTI,IAAI,GAAG,MAAM;EACb,GAAGT;CACgB;EACnB,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUS,IAAI,IAAI,UAAUT,aAAaI;MAEjDN,IAAI,CACH;AAER,CAAC;;ACjBD;AACA,MAAaY,mBAAmB,GAAGA,CAAC;EAClCZ,IAAI,GAAG,yBAAyB;EAChCC,KAAK,GAAG,OAAO;EACfU,IAAI,GAAG,KAAK;EACZL,IAAI,GAAG,MAAM;EACbJ,SAAS;EACT,GAAGL;CACsB;EACzB,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUS,IAAI,IAAI,UAAUL,QAAQJ;MAE5CF,IAAI,CACH;AAER,CAAC;;AClBD;AACA,MAAaa,KAAK,GAAGA,CAAC;EACpBb,IAAI,GAAG,iCAAiC;EACxCC,KAAK,GAAG,OAAO;EACfK,IAAI,GAAG,MAAM;EACbC,WAAW,GAAG,WAAW;EACzBC,MAAM,GAAG,KAAK;EACdN,SAAS;EACT,GAAGL;CACQ;EACX,oBACEC,2CACMD,KAAK;IACTO,KAAK,EAAE;MAAEH,KAAK,EAAEA;KAAO;IACvBC,SAAS,UAAUM,MAAM,IACvB,YAAYD,eAAeL,aAAaI;MAEzCN,IAAI,CACH;AAER,CAAC;;;;"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.1",
2
+ "version": "1.0.0",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -77,8 +77,11 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "@storybook/addon-interactions": "^7.0.10",
80
+ "autoprefixer": "^10.4.16",
80
81
  "css-loader": "^6.7.3",
82
+ "cssnano": "^6.0.1",
81
83
  "eslint-plugin-mdx": "^2.1.0",
84
+ "rollup-plugin-postcss": "^4.0.2",
82
85
  "sass": "^1.62.1",
83
86
  "sass-loader": "^13.2.2",
84
87
  "storybook-css-modules-preset": "^1.1.1",
@@ -1,6 +1,5 @@
1
1
  import React, { HTMLAttributes } from 'react';
2
2
  import './TextForButton.css';
3
- import '../../../example/index.css';
4
3
 
5
4
  interface TextForButtonProps extends HTMLAttributes<HTMLParagraphElement> {
6
5
  /** Text display in the Button component */
package/src/index.ts ADDED
@@ -0,0 +1,6 @@
1
+ export * from './Buttons/Button';
2
+ export * from './Typography/Caption';
3
+ export * from './Typography/Text';
4
+ export * from './Typography/TextForButton';
5
+ export * from './Typography/TextForDropDownItem';
6
+ export * from './Typography/Title';
package/src/lib/index.ts DELETED
@@ -1,7 +0,0 @@
1
- import { Button } from './Buttons/Button';
2
- import { Caption } from './Typography/Caption';
3
- import { Text } from './Typography/Text';
4
- import { TextForButton } from './Typography/TextForButton';
5
- import { Title } from './Typography/Title';
6
-
7
- export { Button, Text, Caption, Title, TextForButton };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes