beyond-system 0.8.3 → 0.8.5

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 (140) hide show
  1. package/dist/components/react/List/List.js +9 -7
  2. package/dist/components/react/List/List.js.map +1 -1
  3. package/dist/styles/global.css +18 -14
  4. package/package.json +83 -84
  5. package/dist/colors/base-colors.d.ts +0 -50
  6. package/dist/colors/gradients.d.ts +0 -7
  7. package/dist/colors/index.d.ts +0 -3
  8. package/dist/colors/shadows.d.ts +0 -7
  9. package/dist/components/react/Calendar/Calendar.d.ts +0 -5
  10. package/dist/components/react/Calendar/Calendar.stories.d.ts +0 -7
  11. package/dist/components/react/Calendar/Calendar.stories.js +0 -35
  12. package/dist/components/react/Calendar/Calendar.stories.js.map +0 -1
  13. package/dist/components/react/Calendar/index.d.ts +0 -1
  14. package/dist/components/react/Checkbox/Checkbox.d.ts +0 -9
  15. package/dist/components/react/Checkbox/Checkbox.stories.d.ts +0 -7
  16. package/dist/components/react/Checkbox/Checkbox.stories.js +0 -51
  17. package/dist/components/react/Checkbox/Checkbox.stories.js.map +0 -1
  18. package/dist/components/react/Checkbox/index.d.ts +0 -1
  19. package/dist/components/react/Chip/Chip.d.ts +0 -11
  20. package/dist/components/react/Chip/Chip.stories.d.ts +0 -10
  21. package/dist/components/react/Chip/Chip.stories.js +0 -74
  22. package/dist/components/react/Chip/Chip.stories.js.map +0 -1
  23. package/dist/components/react/Chip/index.d.ts +0 -1
  24. package/dist/components/react/DatePicker/DatePicker.d.ts +0 -15
  25. package/dist/components/react/DatePicker/DatePicker.stories.d.ts +0 -7
  26. package/dist/components/react/DatePicker/DatePicker.stories.js +0 -46
  27. package/dist/components/react/DatePicker/DatePicker.stories.js.map +0 -1
  28. package/dist/components/react/DatePicker/index.d.ts +0 -1
  29. package/dist/components/react/DateRangeCalendar/DateRangeCalendar.d.ts +0 -4
  30. package/dist/components/react/DateRangeCalendar/DateRangeCalendar.stories.d.ts +0 -7
  31. package/dist/components/react/DateRangeCalendar/DateRangeCalendar.stories.js +0 -44
  32. package/dist/components/react/DateRangeCalendar/DateRangeCalendar.stories.js.map +0 -1
  33. package/dist/components/react/DateRangeCalendar/index.d.ts +0 -1
  34. package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.d.ts +0 -4
  35. package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.stories.d.ts +0 -7
  36. package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.stories.js +0 -44
  37. package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.stories.js.map +0 -1
  38. package/dist/components/react/DateRangeCalendarWithPanel/index.d.ts +0 -1
  39. package/dist/components/react/DateRangePicker/DateRangePicker.d.ts +0 -25
  40. package/dist/components/react/DateRangePicker/DateRangePicker.stories.d.ts +0 -7
  41. package/dist/components/react/DateRangePicker/DateRangePicker.stories.js +0 -51
  42. package/dist/components/react/DateRangePicker/DateRangePicker.stories.js.map +0 -1
  43. package/dist/components/react/DateRangePicker/index.d.ts +0 -1
  44. package/dist/components/react/DefaultButton/DefaultButton.d.ts +0 -12
  45. package/dist/components/react/DefaultButton/DefaultButton.stories.d.ts +0 -7
  46. package/dist/components/react/DefaultButton/DefaultButton.stories.js +0 -86
  47. package/dist/components/react/DefaultButton/DefaultButton.stories.js.map +0 -1
  48. package/dist/components/react/DefaultButton/DefaultButton.styles.d.ts +0 -15
  49. package/dist/components/react/DefaultButton/DefaultButton.variants.d.ts +0 -45
  50. package/dist/components/react/DefaultButton/index.d.ts +0 -1
  51. package/dist/components/react/IconButton/IconButton.d.ts +0 -10
  52. package/dist/components/react/IconButton/IconButton.stories.d.ts +0 -7
  53. package/dist/components/react/IconButton/IconButton.stories.js +0 -68
  54. package/dist/components/react/IconButton/IconButton.stories.js.map +0 -1
  55. package/dist/components/react/IconButton/IconButton.styles.d.ts +0 -13
  56. package/dist/components/react/IconButton/IconButton.variants.d.ts +0 -36
  57. package/dist/components/react/IconButton/index.d.ts +0 -1
  58. package/dist/components/react/List/List.d.ts +0 -10
  59. package/dist/components/react/List/List.stories.d.ts +0 -8
  60. package/dist/components/react/List/List.stories.js +0 -46
  61. package/dist/components/react/List/List.stories.js.map +0 -1
  62. package/dist/components/react/List/index.d.ts +0 -1
  63. package/dist/components/react/Loader/Loader.d.ts +0 -11
  64. package/dist/components/react/Loader/Loader.stories.d.ts +0 -7
  65. package/dist/components/react/Loader/Loader.stories.js +0 -36
  66. package/dist/components/react/Loader/Loader.stories.js.map +0 -1
  67. package/dist/components/react/Loader/index.d.ts +0 -3
  68. package/dist/components/react/MonthPicker/MonthPicker.d.ts +0 -15
  69. package/dist/components/react/MonthPicker/MonthPicker.stories.d.ts +0 -7
  70. package/dist/components/react/MonthPicker/MonthPicker.stories.js +0 -34
  71. package/dist/components/react/MonthPicker/MonthPicker.stories.js.map +0 -1
  72. package/dist/components/react/MonthPicker/index.d.ts +0 -1
  73. package/dist/components/react/MultiSelect/MultiSelect.d.ts +0 -8
  74. package/dist/components/react/MultiSelect/MultiSelect.stories.d.ts +0 -7
  75. package/dist/components/react/MultiSelect/MultiSelect.stories.js +0 -37
  76. package/dist/components/react/MultiSelect/MultiSelect.stories.js.map +0 -1
  77. package/dist/components/react/MultiSelect/index.d.ts +0 -1
  78. package/dist/components/react/OutlineButton/OutlineButton.d.ts +0 -12
  79. package/dist/components/react/OutlineButton/OutlineButton.stories.d.ts +0 -7
  80. package/dist/components/react/OutlineButton/OutlineButton.stories.js +0 -86
  81. package/dist/components/react/OutlineButton/OutlineButton.stories.js.map +0 -1
  82. package/dist/components/react/OutlineButton/OutlineButton.styles.d.ts +0 -12
  83. package/dist/components/react/OutlineButton/OutlineButton.variants.d.ts +0 -36
  84. package/dist/components/react/OutlineButton/index.d.ts +0 -1
  85. package/dist/components/react/RadioInput/RadioInput.d.ts +0 -7
  86. package/dist/components/react/RadioInput/RadioInput.stories.d.ts +0 -7
  87. package/dist/components/react/RadioInput/RadioInput.stories.js +0 -53
  88. package/dist/components/react/RadioInput/RadioInput.stories.js.map +0 -1
  89. package/dist/components/react/RadioInput/RadioInput.styles.d.ts +0 -14
  90. package/dist/components/react/RadioInput/RadioInput.variants.d.ts +0 -21
  91. package/dist/components/react/RadioInput/index.d.ts +0 -1
  92. package/dist/components/react/Select/Select.d.ts +0 -8
  93. package/dist/components/react/Select/Select.stories.d.ts +0 -7
  94. package/dist/components/react/Select/Select.stories.js +0 -36
  95. package/dist/components/react/Select/Select.stories.js.map +0 -1
  96. package/dist/components/react/Select/index.d.ts +0 -1
  97. package/dist/components/react/Switch/Switch.d.ts +0 -10
  98. package/dist/components/react/Switch/Switch.stories.d.ts +0 -7
  99. package/dist/components/react/Switch/Switch.stories.js +0 -53
  100. package/dist/components/react/Switch/Switch.stories.js.map +0 -1
  101. package/dist/components/react/Switch/Switch.styles.d.ts +0 -13
  102. package/dist/components/react/Switch/Switch.variants.d.ts +0 -17
  103. package/dist/components/react/Switch/index.d.ts +0 -1
  104. package/dist/components/react/TextArea/TextArea.d.ts +0 -12
  105. package/dist/components/react/TextArea/TextArea.stories.d.ts +0 -5
  106. package/dist/components/react/TextArea/TextArea.stories.js +0 -22
  107. package/dist/components/react/TextArea/TextArea.stories.js.map +0 -1
  108. package/dist/components/react/TextArea/index.d.ts +0 -1
  109. package/dist/components/react/TextInput/TextInput.d.ts +0 -36
  110. package/dist/components/react/TextInput/TextInput.stories.d.ts +0 -8
  111. package/dist/components/react/TextInput/TextInput.stories.js +0 -85
  112. package/dist/components/react/TextInput/TextInput.stories.js.map +0 -1
  113. package/dist/components/react/TextInput/index.d.ts +0 -1
  114. package/dist/components/react/TransparentButton/TransparentButton.d.ts +0 -7
  115. package/dist/components/react/TransparentButton/TransparentButton.stories.d.ts +0 -7
  116. package/dist/components/react/TransparentButton/TransparentButton.stories.js +0 -53
  117. package/dist/components/react/TransparentButton/TransparentButton.stories.js.map +0 -1
  118. package/dist/components/react/TransparentButton/TransparentButton.styles.d.ts +0 -10
  119. package/dist/components/react/TransparentButton/TransparentButton.variants.d.ts +0 -32
  120. package/dist/components/react/TransparentButton/index.d.ts +0 -1
  121. package/dist/components/react/index.d.ts +0 -19
  122. package/dist/config/index.d.ts +0 -1
  123. package/dist/config/tailwind.config.d.ts +0 -2
  124. package/dist/index.d.ts +0 -3
  125. package/dist/initialize.d.ts +0 -3
  126. package/dist/stories/base-colors/base-colors.stories.d.ts +0 -4
  127. package/dist/stories/base-colors/base-colors.stories.js +0 -65
  128. package/dist/stories/base-colors/base-colors.stories.js.map +0 -1
  129. package/dist/stories/base-colors/base-colors.stories.styles.d.ts +0 -2
  130. package/dist/stories/gradients/gradients.stories.d.ts +0 -4
  131. package/dist/stories/gradients/gradients.stories.js +0 -28
  132. package/dist/stories/gradients/gradients.stories.js.map +0 -1
  133. package/dist/stories/gradients/gradients.stories.styles.d.ts +0 -2
  134. package/dist/stories/shadows/shadows.stories.d.ts +0 -4
  135. package/dist/stories/shadows/shadows.stories.js +0 -26
  136. package/dist/stories/shadows/shadows.stories.js.map +0 -1
  137. package/dist/stories/shadows/shadows.stories.styles.d.ts +0 -2
  138. package/dist/web/border.d.ts +0 -12
  139. package/dist/web/font.d.ts +0 -34
  140. package/dist/web/index.d.ts +0 -2
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Switch = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importDefault(require("react"));
6
- var Switch_1 = tslib_1.__importDefault(require("./Switch"));
7
- var Switch_variants_1 = require("./Switch.variants");
8
- var Switch = function (props) {
9
- return react_1.default.createElement(Switch_1.default, tslib_1.__assign({}, props));
10
- };
11
- exports.Switch = Switch;
12
- exports.default = {
13
- title: 'Inputs/Switch',
14
- parameters: {
15
- component: exports.Switch,
16
- },
17
- args: {
18
- variant: 'primary',
19
- size: 'MD',
20
- checked: false,
21
- disabled: false,
22
- },
23
- argTypes: {
24
- variant: {
25
- control: {
26
- type: 'select',
27
- options: Object.keys(Switch_variants_1.DEFAULT_SWITCH_VARIANTS.color),
28
- },
29
- },
30
- size: {
31
- control: {
32
- type: 'select',
33
- options: Object.keys(Switch_variants_1.DEFAULT_SWITCH_VARIANTS.size),
34
- },
35
- },
36
- checked: {
37
- control: {
38
- type: 'boolean',
39
- },
40
- },
41
- disabled: {
42
- control: {
43
- type: 'boolean',
44
- },
45
- },
46
- onCheckedChange: {
47
- control: {
48
- action: 'changed',
49
- },
50
- },
51
- },
52
- };
53
- //# sourceMappingURL=Switch.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Switch.stories.js","sourceRoot":"","sources":["../../../../src/components/react/Switch/Switch.stories.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AAGzB,4DAAsC;AACtC,qDAA2D;AAIpD,IAAM,MAAM,GAAG,UAAC,KAAY;IACjC,OAAO,8BAAC,gBAAe,uBAAK,KAAK,EAAI,CAAA;AACvC,CAAC,CAAA;AAFY,QAAA,MAAM,UAElB;AAED,kBAAe;IACb,KAAK,EAAE,eAAe;IACtB,UAAU,EAAE;QACV,SAAS,EAAE,cAAM;KAClB;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,KAAK;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,yCAAuB,CAAC,KAAK,CAAC;aACpD;SACF;QACD,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,yCAAuB,CAAC,IAAI,CAAC;aACnD;SACF;QACD,OAAO,EAAE;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;aAChB;SACF;QACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,MAAM,EAAE,SAAS;aAClB;SACF;KACF;CACM,CAAA"}
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import * as RadixSwitch from '@radix-ui/react-switch';
3
- export type StyledSwitchProps = {
4
- thumbColor: string;
5
- thumbHoverColor: string;
6
- thumbActiveColor: string;
7
- trackColor: string;
8
- trackHoverColor: string;
9
- trackActiveColor: string;
10
- width: string;
11
- };
12
- export declare const SwitchContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<RadixSwitch.SwitchProps & import("react").RefAttributes<HTMLButtonElement>>, any, StyledSwitchProps, never>;
13
- export declare const SwitchThumb: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<RadixSwitch.SwitchThumbProps & import("react").RefAttributes<HTMLSpanElement>>, any, StyledSwitchProps, never>;
@@ -1,17 +0,0 @@
1
- export declare const DEFAULT_SWITCH_VARIANTS: {
2
- color: {
3
- primary: {
4
- thumbColor: string;
5
- thumbHoverColor: string;
6
- thumbActiveColor: string;
7
- trackColor: string;
8
- trackHoverColor: string;
9
- trackActiveColor: string;
10
- };
11
- };
12
- size: {
13
- MD: {
14
- width: string;
15
- };
16
- };
17
- };
@@ -1 +0,0 @@
1
- export { default } from './Switch';
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- export type TextAreaProps = {
3
- fill?: boolean;
4
- resize?: boolean;
5
- placeholder?: string;
6
- } & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
7
- declare const TextArea: React.ForwardRefExoticComponent<{
8
- fill?: boolean | undefined;
9
- resize?: boolean | undefined;
10
- placeholder?: string | undefined;
11
- } & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
12
- export default TextArea;
@@ -1,5 +0,0 @@
1
- import { Meta } from '@storybook/react';
2
- import { TextAreaProps } from './TextArea';
3
- export declare const TextArea: (args: TextAreaProps) => JSX.Element;
4
- declare const _default: Meta<TextAreaProps>;
5
- export default _default;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextArea = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importDefault(require("react"));
6
- var TextArea_1 = tslib_1.__importDefault(require("./TextArea"));
7
- var TextArea = function (args) { return (react_1.default.createElement(TextArea_1.default, tslib_1.__assign({}, args, { className: "h-36 w-96" }))); };
8
- exports.TextArea = TextArea;
9
- exports.default = {
10
- title: 'Inputs/TextArea',
11
- component: exports.TextArea,
12
- args: {
13
- fill: true,
14
- resize: true,
15
- disabled: false,
16
- placeholder: 'Escreva...',
17
- },
18
- argTypes: {
19
- onChange: { action: 'onChange' },
20
- },
21
- };
22
- //# sourceMappingURL=TextArea.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea.stories.js","sourceRoot":"","sources":["../../../../src/components/react/TextArea/TextArea.stories.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AAGzB,gEAA6D;AAEtD,IAAM,QAAQ,GAAG,UAAC,IAAmB,IAAK,OAAA,CAC/C,8BAAC,kBAAiB,uBAAK,IAAI,IAAE,SAAS,EAAC,WAAW,IAAG,CACtD,EAFgD,CAEhD,CAAA;AAFY,QAAA,QAAQ,YAEpB;AAED,kBAAe;IACb,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,gBAAQ;IACnB,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,YAAY;KAC1B;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;KACjC;CACqB,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './TextArea';
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import InputMask from 'react-input-mask';
3
- import { MdOutlineSearch, MdOutlineClose, MdError, MdCheckCircle, MdPhone } from 'react-icons/md';
4
- export type TextInputProps = {
5
- fill?: boolean;
6
- shape?: 'square' | 'round' | 'line' | 'none';
7
- leftIcon?: React.ReactNode;
8
- rightIcon?: React.ReactNode;
9
- onLeftIconClick?: () => void;
10
- onRightIconClick?: () => void;
11
- isValid?: boolean;
12
- isErrored?: boolean;
13
- paintLeftIcon?: boolean;
14
- paintRightIcon?: boolean;
15
- mask?: string | (string | RegExp)[];
16
- } & Omit<React.ComponentPropsWithoutRef<typeof InputMask>, 'mask'>;
17
- declare const _default: React.ForwardRefExoticComponent<{
18
- fill?: boolean | undefined;
19
- shape?: "line" | "none" | "square" | "round" | undefined;
20
- leftIcon?: React.ReactNode;
21
- rightIcon?: React.ReactNode;
22
- onLeftIconClick?: (() => void) | undefined;
23
- onRightIconClick?: (() => void) | undefined;
24
- isValid?: boolean | undefined;
25
- isErrored?: boolean | undefined;
26
- paintLeftIcon?: boolean | undefined;
27
- paintRightIcon?: boolean | undefined;
28
- mask?: string | (string | RegExp)[] | undefined;
29
- } & Omit<import("react-input-mask").Props, "mask"> & React.RefAttributes<InputMask>> & {
30
- SearchIcon: typeof MdOutlineSearch;
31
- ClearIcon: typeof MdOutlineClose;
32
- ErrorIcon: typeof MdError;
33
- SuccessIcon: typeof MdCheckCircle;
34
- PhoneIcon: typeof MdPhone;
35
- };
36
- export default _default;
@@ -1,8 +0,0 @@
1
- import { Meta } from '@storybook/react';
2
- import { TextInputProps } from './TextInput';
3
- export declare const Default: (args: TextInputProps) => JSX.Element;
4
- export declare const TelephoneMaskedInput: (args: TextInputProps) => JSX.Element;
5
- export declare const CPFMaskedInput: (args: TextInputProps) => JSX.Element;
6
- export declare const Icons: () => JSX.Element;
7
- declare const _default: Meta<TextInputProps>;
8
- export default _default;
@@ -1,85 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Icons = exports.CPFMaskedInput = exports.TelephoneMaskedInput = exports.Default = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importDefault(require("react"));
6
- var TextInput_1 = tslib_1.__importDefault(require("./TextInput"));
7
- var Default = function (args) { return (react_1.default.createElement(TextInput_1.default, tslib_1.__assign({}, args, { className: "w-64" }))); };
8
- exports.Default = Default;
9
- var TelephoneMaskedInput = function (args) { return (react_1.default.createElement(TextInput_1.default, tslib_1.__assign({}, args, { className: "w-64", mask: "+55 (99) 99999-9999" }))); };
10
- exports.TelephoneMaskedInput = TelephoneMaskedInput;
11
- var CPFMaskedInput = function (args) { return (react_1.default.createElement(TextInput_1.default, tslib_1.__assign({}, args, { className: "w-64", mask: "999.999.999-99" }))); };
12
- exports.CPFMaskedInput = CPFMaskedInput;
13
- var Icons = function () { return (react_1.default.createElement("div", { className: "flex gap-4" },
14
- react_1.default.createElement(TextInput_1.default.SearchIcon, null),
15
- react_1.default.createElement(TextInput_1.default.ClearIcon, null),
16
- react_1.default.createElement(TextInput_1.default.ErrorIcon, null),
17
- react_1.default.createElement(TextInput_1.default.SuccessIcon, null),
18
- react_1.default.createElement(TextInput_1.default.PhoneIcon, null))); };
19
- exports.Icons = Icons;
20
- exports.default = {
21
- title: 'Inputs/TextInput',
22
- component: exports.Default,
23
- args: {
24
- shape: 'square',
25
- fill: false,
26
- isValid: false,
27
- isErrored: false,
28
- leftIcon: react_1.default.createElement(TextInput_1.default.SearchIcon, null),
29
- rightIcon: react_1.default.createElement(TextInput_1.default.ClearIcon, null),
30
- paintLeftIcon: false,
31
- paintRightIcon: true,
32
- disabled: false,
33
- placeholder: '',
34
- mask: '',
35
- maskPlaceholder: '_',
36
- alwaysShowMask: false,
37
- },
38
- argTypes: {
39
- mask: {
40
- control: {
41
- type: 'text',
42
- },
43
- },
44
- maskPlaceholder: {
45
- control: {
46
- type: 'text',
47
- },
48
- },
49
- shape: {
50
- control: {
51
- type: 'select',
52
- options: ['square', 'round', 'line', 'none'],
53
- },
54
- },
55
- leftIcon: {
56
- table: {
57
- disable: true,
58
- },
59
- },
60
- onLeftIconClick: {
61
- control: {
62
- action: 'clicked',
63
- },
64
- },
65
- onRightIconClick: {
66
- control: {
67
- action: 'clicked',
68
- },
69
- },
70
- rightIcon: {
71
- table: {
72
- disable: true,
73
- },
74
- },
75
- children: {
76
- table: {
77
- disable: true,
78
- },
79
- },
80
- argTypes: {
81
- onChange: { action: 'onChange' },
82
- },
83
- },
84
- };
85
- //# sourceMappingURL=TextInput.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInput.stories.js","sourceRoot":"","sources":["../../../../src/components/react/TextInput/TextInput.stories.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AAGzB,kEAAgE;AAEzD,IAAM,OAAO,GAAG,UAAC,IAAoB,IAAK,OAAA,CAC/C,8BAAC,mBAAkB,uBAAK,IAAI,IAAE,SAAS,EAAC,MAAM,IAAG,CAClD,EAFgD,CAEhD,CAAA;AAFY,QAAA,OAAO,WAEnB;AAEM,IAAM,oBAAoB,GAAG,UAAC,IAAoB,IAAK,OAAA,CAC5D,8BAAC,mBAAkB,uBAAK,IAAI,IAAE,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,qBAAqB,IAAG,CAC7E,EAF6D,CAE7D,CAAA;AAFY,QAAA,oBAAoB,wBAEhC;AAEM,IAAM,cAAc,GAAG,UAAC,IAAoB,IAAK,OAAA,CACtD,8BAAC,mBAAkB,uBAAK,IAAI,IAAE,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,gBAAgB,IAAG,CACxE,EAFuD,CAEvD,CAAA;AAFY,QAAA,cAAc,kBAE1B;AAEM,IAAM,KAAK,GAAG,cAAM,OAAA,CACzB,uCAAK,SAAS,EAAC,YAAY;IACzB,8BAAC,mBAAkB,CAAC,UAAU,OAAG;IACjC,8BAAC,mBAAkB,CAAC,SAAS,OAAG;IAChC,8BAAC,mBAAkB,CAAC,SAAS,OAAG;IAChC,8BAAC,mBAAkB,CAAC,WAAW,OAAG;IAClC,8BAAC,mBAAkB,CAAC,SAAS,OAAG,CAC5B,CACP,EAR0B,CAQ1B,CAAA;AARY,QAAA,KAAK,SAQjB;AAED,kBAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,eAAO;IAClB,IAAI,EAAE;QACJ,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,8BAAC,mBAAkB,CAAC,UAAU,OAAG;QAC3C,SAAS,EAAE,8BAAC,mBAAkB,CAAC,SAAS,OAAG;QAC3C,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,EAAE;QACf,IAAI,EAAE,EAAE;QACR,eAAe,EAAE,GAAG;QACpB,cAAc,EAAE,KAAK;KACtB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,IAAI,EAAE,MAAM;aACb;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;aAC7C;SACF;QACD,QAAQ,EAAE;YACR,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI;aACd;SACF;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,MAAM,EAAE,SAAS;aAClB;SACF;QACD,gBAAgB,EAAE;YAChB,OAAO,EAAE;gBACP,MAAM,EAAE,SAAS;aAClB;SACF;QACD,SAAS,EAAE;YACT,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI;aACd;SACF;QACD,QAAQ,EAAE;YACR,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI;aACd;SACF;QACD,QAAQ,EAAE;YACR,QAAQ,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SACjC;KACF;CACsB,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './TextInput';
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- declare const TransparentButton: React.ForwardRefExoticComponent<{
3
- children: React.ReactNode;
4
- variant?: "primary" | "light" | "dark" | undefined;
5
- size?: "SM" | "MD" | undefined;
6
- } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
7
- export default TransparentButton;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { Meta } from '@storybook/react/types-6-0';
3
- import ButtonComponent from './TransparentButton';
4
- type Props = React.ComponentProps<typeof ButtonComponent>;
5
- export declare const TransparentButton: (props: Props) => JSX.Element;
6
- declare const _default: Meta;
7
- export default _default;
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransparentButton = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importDefault(require("react"));
6
- var TransparentButton_1 = tslib_1.__importDefault(require("./TransparentButton"));
7
- var TransparentButton_variants_1 = require("./TransparentButton.variants");
8
- var TransparentButton = function (props) {
9
- return react_1.default.createElement(TransparentButton_1.default, tslib_1.__assign({}, props));
10
- };
11
- exports.TransparentButton = TransparentButton;
12
- exports.default = {
13
- title: 'Buttons/TransparentButton',
14
- parameters: {
15
- component: exports.TransparentButton,
16
- },
17
- args: {
18
- children: 'Button',
19
- variant: 'primary',
20
- size: 'MD',
21
- disabled: false,
22
- },
23
- argTypes: {
24
- children: {
25
- control: {
26
- type: 'text',
27
- },
28
- },
29
- variant: {
30
- control: {
31
- type: 'select',
32
- options: Object.keys(TransparentButton_variants_1.TRANSPARENT_BUTTON_VARIANTS.color),
33
- },
34
- },
35
- size: {
36
- control: {
37
- type: 'select',
38
- options: Object.keys(TransparentButton_variants_1.TRANSPARENT_BUTTON_VARIANTS.size),
39
- },
40
- },
41
- disabled: {
42
- control: {
43
- type: 'boolean',
44
- },
45
- },
46
- onClick: {
47
- control: {
48
- action: 'clicked',
49
- },
50
- },
51
- },
52
- };
53
- //# sourceMappingURL=TransparentButton.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransparentButton.stories.js","sourceRoot":"","sources":["../../../../src/components/react/TransparentButton/TransparentButton.stories.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AAGzB,kFAAiD;AACjD,2EAA0E;AAInE,IAAM,iBAAiB,GAAG,UAAC,KAAY;IAC5C,OAAO,8BAAC,2BAAe,uBAAK,KAAK,EAAI,CAAA;AACvC,CAAC,CAAA;AAFY,QAAA,iBAAiB,qBAE7B;AAED,kBAAe;IACb,KAAK,EAAE,2BAA2B;IAClC,UAAU,EAAE;QACV,SAAS,EAAE,yBAAiB;KAC7B;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,KAAK;KAChB;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,IAAI,EAAE,MAAM;aACb;SACF;QACD,OAAO,EAAE;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,wDAA2B,CAAC,KAAK,CAAC;aACxD;SACF;QACD,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,wDAA2B,CAAC,IAAI,CAAC;aACvD;SACF;QACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE;YACP,OAAO,EAAE;gBACP,MAAM,EAAE,SAAS;aAClB;SACF;KACF;CACM,CAAA"}
@@ -1,10 +0,0 @@
1
- type StyledButtonProps = {
2
- padding: string;
3
- color: string;
4
- fontSize: string;
5
- gap: string;
6
- hoverColor: string;
7
- activeColor: string;
8
- };
9
- export declare const StyledButtonContainer: import("styled-components").StyledComponent<"button", any, StyledButtonProps, never>;
10
- export {};
@@ -1,32 +0,0 @@
1
- export declare const TRANSPARENT_BUTTON_VARIANTS: {
2
- color: {
3
- primary: {
4
- color: string;
5
- hoverColor: string;
6
- activeColor: string;
7
- };
8
- light: {
9
- color: string;
10
- hoverColor: string;
11
- activeColor: string;
12
- };
13
- dark: {
14
- color: string;
15
- hoverColor: string;
16
- activeColor: string;
17
- };
18
- };
19
- size: {
20
- SM: {
21
- fontSize: string;
22
- padding: string;
23
- gap: string;
24
- iconSize: string;
25
- };
26
- MD: {
27
- fontSize: string;
28
- gap: string;
29
- padding: string;
30
- };
31
- };
32
- };
@@ -1 +0,0 @@
1
- export { default } from './TransparentButton';
@@ -1,19 +0,0 @@
1
- export { default as Loader } from './Loader';
2
- export { default as DefaultButton } from './DefaultButton';
3
- export { default as IconButton } from './IconButton';
4
- export { default as OutlineButton } from './OutlineButton';
5
- export { default as TransparentButton } from './TransparentButton';
6
- export { default as Switch } from './Switch';
7
- export { default as Checkbox } from './Checkbox';
8
- export { default as RadioInput } from './RadioInput';
9
- export { default as TextInput } from './TextInput';
10
- export { default as TextArea } from './TextArea';
11
- export { default as Select } from './Select';
12
- export { default as MultiSelect } from './MultiSelect';
13
- export { default as DatePicker } from './DatePicker';
14
- export { default as DateRangeCalendar } from './DateRangeCalendar';
15
- export { default as DateRangeCalendarWithPanel } from './DateRangeCalendarWithPanel';
16
- export { default as DateRangePicker } from './DateRangePicker';
17
- export { default as MonthPicker } from './MonthPicker';
18
- export { default as Chip } from './Chip';
19
- export { default as List } from './List';
@@ -1 +0,0 @@
1
- export { default as BEYOND_SYSTEM_TW_CONFIG } from './tailwind.config';
@@ -1,2 +0,0 @@
1
- declare const _exports: import('tailwindcss').Config;
2
- export = _exports;
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './web';
2
- export * from './colors';
3
- export * from './components/react';
@@ -1,3 +0,0 @@
1
- import 'react-date-range/dist/styles.css';
2
- import 'react-date-range/dist/theme/default.css';
3
- import './styles/global.css';
@@ -1,4 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- export declare const BaseColors: () => JSX.Element;
3
- declare const _default: Meta;
4
- export default _default;
@@ -1,65 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseColors = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importDefault(require("react"));
6
- var base_colors_1 = require("../../colors/base-colors");
7
- var base_colors_stories_styles_1 = require("./base-colors.stories.styles");
8
- var getColorValue = function (color) {
9
- var colorParts = color.split('.');
10
- var colorValue = base_colors_1.COLORS;
11
- colorParts.forEach(function (colorPart) {
12
- colorValue = colorValue[colorPart];
13
- });
14
- return colorValue;
15
- };
16
- var handleCopyToClipboard = function (hex) {
17
- navigator.clipboard.writeText(hex);
18
- };
19
- var BaseColors = function () {
20
- var flattenedColors = Object.entries(base_colors_1.COLORS).reduce(function (acc, _a) {
21
- var _b;
22
- var key = _a[0], value = _a[1];
23
- if (typeof value === 'object') {
24
- var newKeys = Object.keys(value).map(function (k) { return "".concat(key, ".").concat(k); });
25
- var newValues_1 = Object.values(value);
26
- return tslib_1.__assign(tslib_1.__assign({}, acc), Object.fromEntries(newKeys.map(function (k, i) { return [k, newValues_1[i]]; })));
27
- }
28
- return tslib_1.__assign(tslib_1.__assign({}, acc), (_b = {}, _b[key] = value, _b));
29
- }, {});
30
- var uniqueFlattenedColors = Object.entries(flattenedColors).reduce(function (acc, _a) {
31
- var _b;
32
- var key = _a[0], value = _a[1];
33
- if (Object.values(acc).includes(value)) {
34
- return acc;
35
- }
36
- return tslib_1.__assign(tslib_1.__assign({}, acc), (_b = {}, _b[key] = value, _b));
37
- }, {});
38
- return (react_1.default.createElement(base_colors_stories_styles_1.BaseColorsContainer, null, Object.keys(uniqueFlattenedColors).map(function (key) {
39
- var colorHex = getColorValue(key);
40
- var aliases = Object.entries(flattenedColors)
41
- .filter(function (_a) {
42
- var k = _a[0], v = _a[1];
43
- return v === colorHex && k !== key;
44
- })
45
- .map(function (_a) {
46
- var k = _a[0];
47
- return k;
48
- })
49
- .join(', ');
50
- return (react_1.default.createElement("button", { key: key, className: "color-item", onClick: function () { return handleCopyToClipboard(colorHex); } },
51
- react_1.default.createElement(base_colors_stories_styles_1.StyledSquare, { color: colorHex, title: colorHex }),
52
- react_1.default.createElement("div", { title: key, className: "color-item__name" },
53
- react_1.default.createElement("span", { className: "color-item__name__hex" }, colorHex.toUpperCase()),
54
- react_1.default.createElement("span", { className: "color-item__name__key" }, key),
55
- react_1.default.createElement("span", { className: "color-item__name__aliases" }, aliases))));
56
- })));
57
- };
58
- exports.BaseColors = BaseColors;
59
- exports.default = {
60
- title: 'Fundation/Colors',
61
- parameters: {
62
- component: exports.BaseColors,
63
- },
64
- };
65
- //# sourceMappingURL=base-colors.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-colors.stories.js","sourceRoot":"","sources":["../../../src/stories/base-colors/base-colors.stories.tsx"],"names":[],"mappings":"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"}
@@ -1,2 +0,0 @@
1
- export declare const BaseColorsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const StyledSquare: import("styled-components").StyledComponent<"div", any, any, never>;
@@ -1,4 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- export declare const Gradients: () => JSX.Element;
3
- declare const _default: Meta;
4
- export default _default;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Gradients = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importDefault(require("react"));
6
- var gradients_1 = require("../../colors/gradients");
7
- var gradients_stories_styles_1 = require("./gradients.stories.styles");
8
- var handleCopyToClipboard = function (hex) {
9
- navigator.clipboard.writeText(hex);
10
- };
11
- var Gradients = function () {
12
- return (react_1.default.createElement(gradients_stories_styles_1.BaseColorsContainer, null, Object.entries(gradients_1.GRADIENTS).map(function (_a) {
13
- var key = _a[0], value = _a[1];
14
- return (react_1.default.createElement("button", { key: key, className: "color-item", onClick: function () { return handleCopyToClipboard(value); } },
15
- react_1.default.createElement(gradients_stories_styles_1.StyledSquare, { gradient: value }),
16
- react_1.default.createElement("div", { title: key, className: "color-item__name" },
17
- react_1.default.createElement("span", { className: "color-item__name__key" }, key),
18
- react_1.default.createElement("span", { className: "color-item__name__value" }, value))));
19
- })));
20
- };
21
- exports.Gradients = Gradients;
22
- exports.default = {
23
- title: 'Fundation/Colors',
24
- parameters: {
25
- component: exports.Gradients,
26
- },
27
- };
28
- //# sourceMappingURL=gradients.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gradients.stories.js","sourceRoot":"","sources":["../../../src/stories/gradients/gradients.stories.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AAGzB,gDAA8C;AAE9C,uEAA8E;AAE9E,IAAM,qBAAqB,GAAG,UAAC,GAAW;IACxC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;AACpC,CAAC,CAAA;AAEM,IAAM,SAAS,GAAG;IACvB,OAAO,CACL,8BAAC,8CAAmB,QACjB,MAAM,CAAC,OAAO,CAAC,qBAAS,CAAC,CAAC,GAAG,CAAC,UAAC,EAAY;YAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QACzC,OAAO,CACL,0CACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAC,YAAY,EACtB,OAAO,EAAE,cAAM,OAAA,qBAAqB,CAAC,KAAK,CAAC,EAA5B,CAA4B;YAE3C,8BAAC,uCAAY,IAAC,QAAQ,EAAE,KAAK,GAAI;YACjC,uCAAK,KAAK,EAAE,GAAG,EAAE,SAAS,EAAC,kBAAkB;gBAC3C,wCAAM,SAAS,EAAC,uBAAuB,IAAE,GAAG,CAAQ;gBACpD,wCAAM,SAAS,EAAC,yBAAyB,IAAE,KAAK,CAAQ,CACpD,CACC,CACV,CAAA;IACH,CAAC,CAAC,CACkB,CACvB,CAAA;AACH,CAAC,CAAA;AApBY,QAAA,SAAS,aAoBrB;AAED,kBAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,UAAU,EAAE;QACV,SAAS,EAAE,iBAAS;KACrB;CACM,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const BaseColorsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const StyledSquare: import("styled-components").StyledComponent<"div", any, any, never>;
@@ -1,4 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- export declare const Shadows: () => JSX.Element;
3
- declare const _default: Meta;
4
- export default _default;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Shadows = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importDefault(require("react"));
6
- var shadows_1 = require("../../colors/shadows");
7
- var shadows_stories_styles_1 = require("./shadows.stories.styles");
8
- var handleCopyToClipboard = function (hex) {
9
- navigator.clipboard.writeText(hex);
10
- };
11
- var Shadows = function () {
12
- return (react_1.default.createElement(shadows_stories_styles_1.BaseColorsContainer, null, Object.entries(shadows_1.SHADOWS).map(function (_a) {
13
- var key = _a[0], value = _a[1];
14
- return (react_1.default.createElement(shadows_stories_styles_1.StyledSquare, { boxShadow: value, title: key, key: key, onClick: function () { return handleCopyToClipboard(value); } },
15
- react_1.default.createElement("span", { className: "item__name__key" }, key),
16
- react_1.default.createElement("span", { className: "item__name__value" }, value)));
17
- })));
18
- };
19
- exports.Shadows = Shadows;
20
- exports.default = {
21
- title: 'Fundation/Colors',
22
- parameters: {
23
- component: exports.Shadows,
24
- },
25
- };
26
- //# sourceMappingURL=shadows.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shadows.stories.js","sourceRoot":"","sources":["../../../src/stories/shadows/shadows.stories.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AAGzB,4CAA0C;AAE1C,mEAA4E;AAE5E,IAAM,qBAAqB,GAAG,UAAC,GAAW;IACxC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;AACpC,CAAC,CAAA;AAEM,IAAM,OAAO,GAAG;IACrB,OAAO,CACL,8BAAC,4CAAmB,QACjB,MAAM,CAAC,OAAO,CAAC,iBAAO,CAAC,CAAC,GAAG,CAAC,UAAC,EAAY;YAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QACvC,OAAO,CACL,8BAAC,qCAAY,IACX,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,GAAG,EACV,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,cAAM,OAAA,qBAAqB,CAAC,KAAK,CAAC,EAA5B,CAA4B;YAE3C,wCAAM,SAAS,EAAC,iBAAiB,IAAE,GAAG,CAAQ;YAC9C,wCAAM,SAAS,EAAC,mBAAmB,IAAE,KAAK,CAAQ,CACrC,CAChB,CAAA;IACH,CAAC,CAAC,CACkB,CACvB,CAAA;AACH,CAAC,CAAA;AAlBY,QAAA,OAAO,WAkBnB;AAED,kBAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,UAAU,EAAE;QACV,SAAS,EAAE,eAAO;KACnB;CACM,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const BaseColorsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const StyledSquare: import("styled-components").StyledComponent<"button", any, any, never>;
@@ -1,12 +0,0 @@
1
- export declare const BORDER: {
2
- RADIUS: {
3
- LG: string;
4
- MD: string;
5
- XS: string;
6
- };
7
- WIDTH: {
8
- LG: string;
9
- MD: string;
10
- XS: string;
11
- };
12
- };