@taiv/ui 1.4.4 → 1.4.6

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 (138) hide show
  1. package/dist/components/Info/Tooltips/InfoTooltip.d.ts +1 -1
  2. package/dist/components/Info/Tooltips/InfoTooltip.d.ts.map +1 -1
  3. package/dist/components/Misc/LoadingOverlay/LoadingOverlay.d.ts +5 -0
  4. package/dist/components/Misc/LoadingOverlay/LoadingOverlay.d.ts.map +1 -0
  5. package/dist/components/Misc/LoadingOverlay/LoadingOverlay.js +9 -0
  6. package/dist/components/index.d.ts +1 -0
  7. package/dist/components/index.d.ts.map +1 -1
  8. package/dist/components/index.js +1 -0
  9. package/package.json +1 -1
  10. package/dist/components/Data/JustChart.d.ts +0 -23
  11. package/dist/components/Data/JustChart.d.ts.map +0 -1
  12. package/dist/components/Data/JustChart.js +0 -70
  13. package/dist/components/Data/JustPieChart.d.ts +0 -20
  14. package/dist/components/Data/JustPieChart.d.ts.map +0 -1
  15. package/dist/components/Data/JustPieChart.js +0 -63
  16. package/dist/components/Data/StatsCard.d.ts +0 -17
  17. package/dist/components/Data/StatsCard.d.ts.map +0 -1
  18. package/dist/components/Data/StatsCard.js +0 -38
  19. package/dist/components/Data/shared/chartFormats.d.ts +0 -8
  20. package/dist/components/Data/shared/chartFormats.d.ts.map +0 -1
  21. package/dist/components/Data/shared/chartFormats.js +0 -29
  22. package/dist/components/Data/shared/dataFormats.d.ts +0 -9
  23. package/dist/components/Data/shared/dataFormats.d.ts.map +0 -1
  24. package/dist/components/Data/shared/dataFormats.js +0 -20
  25. package/dist/components/Inputs/Buttons/Button.d.ts +0 -12
  26. package/dist/components/Inputs/Buttons/Button.d.ts.map +0 -1
  27. package/dist/components/Inputs/Buttons/Button.js +0 -37
  28. package/dist/components/Inputs/Buttons/UnstyledButton.d.ts +0 -10
  29. package/dist/components/Inputs/Buttons/UnstyledButton.d.ts.map +0 -1
  30. package/dist/components/Inputs/Buttons/UnstyledButton.js +0 -6
  31. package/dist/components/Inputs/Buttons/shared/sizes.d.ts +0 -25
  32. package/dist/components/Inputs/Buttons/shared/sizes.d.ts.map +0 -1
  33. package/dist/components/Inputs/Buttons/shared/sizes.js +0 -7
  34. package/dist/components/Inputs/Buttons/shared/variants.d.ts +0 -191
  35. package/dist/components/Inputs/Buttons/shared/variants.d.ts.map +0 -1
  36. package/dist/components/Inputs/Buttons/shared/variants.js +0 -191
  37. package/dist/components/Inputs/Controls/Checkbox.d.ts +0 -27
  38. package/dist/components/Inputs/Controls/Checkbox.d.ts.map +0 -1
  39. package/dist/components/Inputs/Controls/Checkbox.js +0 -55
  40. package/dist/components/Inputs/Controls/Radio.d.ts +0 -8
  41. package/dist/components/Inputs/Controls/Radio.d.ts.map +0 -1
  42. package/dist/components/Inputs/Controls/Radio.js +0 -43
  43. package/dist/components/Inputs/Controls/RadioList.d.ts +0 -16
  44. package/dist/components/Inputs/Controls/RadioList.d.ts.map +0 -1
  45. package/dist/components/Inputs/Controls/RadioList.js +0 -24
  46. package/dist/components/Inputs/Controls/Toggle.d.ts +0 -29
  47. package/dist/components/Inputs/Controls/Toggle.d.ts.map +0 -1
  48. package/dist/components/Inputs/Controls/Toggle.js +0 -42
  49. package/dist/components/Inputs/DatePickers/DatePicker.d.ts +0 -12
  50. package/dist/components/Inputs/DatePickers/DatePicker.d.ts.map +0 -1
  51. package/dist/components/Inputs/DatePickers/DatePicker.js +0 -71
  52. package/dist/components/Inputs/Dates/DatePicker.d.ts +0 -12
  53. package/dist/components/Inputs/Dates/DatePicker.d.ts.map +0 -1
  54. package/dist/components/Inputs/Dates/DatePicker.js +0 -71
  55. package/dist/components/Inputs/Dropdowns/CascadingSelect.d.ts +0 -17
  56. package/dist/components/Inputs/Dropdowns/CascadingSelect.d.ts.map +0 -1
  57. package/dist/components/Inputs/Dropdowns/CascadingSelect.js +0 -70
  58. package/dist/components/Inputs/Dropdowns/FontSelect.d.ts +0 -11
  59. package/dist/components/Inputs/Dropdowns/FontSelect.d.ts.map +0 -1
  60. package/dist/components/Inputs/Dropdowns/FontSelect.js +0 -48
  61. package/dist/components/Inputs/Dropdowns/MultiSelect.d.ts +0 -12
  62. package/dist/components/Inputs/Dropdowns/MultiSelect.d.ts.map +0 -1
  63. package/dist/components/Inputs/Dropdowns/MultiSelect.js +0 -94
  64. package/dist/components/Inputs/Dropdowns/NestedSelect.d.ts +0 -17
  65. package/dist/components/Inputs/Dropdowns/NestedSelect.d.ts.map +0 -1
  66. package/dist/components/Inputs/Dropdowns/NestedSelect.js +0 -70
  67. package/dist/components/Inputs/Dropdowns/Select.d.ts +0 -11
  68. package/dist/components/Inputs/Dropdowns/Select.d.ts.map +0 -1
  69. package/dist/components/Inputs/Dropdowns/Select.js +0 -62
  70. package/dist/components/Inputs/Dropdowns/shared/fontSelectList.d.ts +0 -9
  71. package/dist/components/Inputs/Dropdowns/shared/fontSelectList.d.ts.map +0 -1
  72. package/dist/components/Inputs/Dropdowns/shared/fontSelectList.js +0 -65
  73. package/dist/components/Inputs/Sliders/Slider.d.ts +0 -16
  74. package/dist/components/Inputs/Sliders/Slider.d.ts.map +0 -1
  75. package/dist/components/Inputs/Sliders/Slider.js +0 -91
  76. package/dist/components/Inputs/Sliders/VolumeSlider.d.ts +0 -6
  77. package/dist/components/Inputs/Sliders/VolumeSlider.d.ts.map +0 -1
  78. package/dist/components/Inputs/Sliders/VolumeSlider.js +0 -37
  79. package/dist/components/Inputs/TextInputs/AutoComplete.d.ts +0 -11
  80. package/dist/components/Inputs/TextInputs/AutoComplete.d.ts.map +0 -1
  81. package/dist/components/Inputs/TextInputs/AutoComplete.js +0 -57
  82. package/dist/components/Inputs/TextInputs/PasswordInput.d.ts +0 -12
  83. package/dist/components/Inputs/TextInputs/PasswordInput.d.ts.map +0 -1
  84. package/dist/components/Inputs/TextInputs/PasswordInput.js +0 -52
  85. package/dist/components/Inputs/TextInputs/SearchBar.d.ts +0 -7
  86. package/dist/components/Inputs/TextInputs/SearchBar.d.ts.map +0 -1
  87. package/dist/components/Inputs/TextInputs/SearchBar.js +0 -23
  88. package/dist/components/Inputs/TextInputs/TextArea.d.ts +0 -12
  89. package/dist/components/Inputs/TextInputs/TextArea.d.ts.map +0 -1
  90. package/dist/components/Inputs/TextInputs/TextArea.js +0 -33
  91. package/dist/components/Inputs/TextInputs/TextInput.d.ts +0 -12
  92. package/dist/components/Inputs/TextInputs/TextInput.d.ts.map +0 -1
  93. package/dist/components/Inputs/TextInputs/TextInput.js +0 -32
  94. package/dist/components/Layout/AutoGrid.d.ts +0 -8
  95. package/dist/components/Layout/AutoGrid.d.ts.map +0 -1
  96. package/dist/components/Layout/AutoGrid.js +0 -6
  97. package/dist/components/Layout/Box.d.ts +0 -10
  98. package/dist/components/Layout/Box.d.ts.map +0 -1
  99. package/dist/components/Layout/Box.js +0 -6
  100. package/dist/components/Layout/Card.d.ts +0 -8
  101. package/dist/components/Layout/Card.d.ts.map +0 -1
  102. package/dist/components/Layout/Card.js +0 -16
  103. package/dist/components/Layout/Center.d.ts +0 -9
  104. package/dist/components/Layout/Center.d.ts.map +0 -1
  105. package/dist/components/Layout/Center.js +0 -6
  106. package/dist/components/Layout/Divider.d.ts +0 -10
  107. package/dist/components/Layout/Divider.d.ts.map +0 -1
  108. package/dist/components/Layout/Divider.js +0 -7
  109. package/dist/components/Layout/Frame.d.ts +0 -12
  110. package/dist/components/Layout/Frame.d.ts.map +0 -1
  111. package/dist/components/Layout/Frame.js +0 -7
  112. package/dist/components/Layout/Grid.d.ts +0 -10
  113. package/dist/components/Layout/Grid.d.ts.map +0 -1
  114. package/dist/components/Layout/Grid.js +0 -9
  115. package/dist/components/Layout/Group.d.ts +0 -10
  116. package/dist/components/Layout/Group.d.ts.map +0 -1
  117. package/dist/components/Layout/Group.js +0 -6
  118. package/dist/components/Layout/Loader.d.ts +0 -8
  119. package/dist/components/Layout/Loader.d.ts.map +0 -1
  120. package/dist/components/Layout/Loader.js +0 -6
  121. package/dist/components/Layout/SectionCard.d.ts +0 -11
  122. package/dist/components/Layout/SectionCard.d.ts.map +0 -1
  123. package/dist/components/Layout/SectionCard.js +0 -13
  124. package/dist/components/Layout/Stack.d.ts +0 -10
  125. package/dist/components/Layout/Stack.d.ts.map +0 -1
  126. package/dist/components/Layout/Stack.js +0 -6
  127. package/dist/components/Layout/Tabs.d.ts +0 -17
  128. package/dist/components/Layout/Tabs.d.ts.map +0 -1
  129. package/dist/components/Layout/Tabs.js +0 -48
  130. package/dist/components/Misc/IconBadge.d.ts +0 -8
  131. package/dist/components/Misc/IconBadge.d.ts.map +0 -1
  132. package/dist/components/Misc/IconBadge.js +0 -28
  133. package/dist/components/Misc/Transition.d.ts +0 -4
  134. package/dist/components/Misc/Transition.d.ts.map +0 -1
  135. package/dist/components/Misc/Transition.js +0 -6
  136. package/dist/hooks/useDropdowns.d.ts +0 -9
  137. package/dist/hooks/useDropdowns.d.ts.map +0 -1
  138. package/dist/hooks/useDropdowns.js +0 -12
@@ -1,65 +0,0 @@
1
- export const FONTS = [
2
- { value: 'Poppins', label: 'Poppins' },
3
- { value: 'Insanibu', label: 'Insanibu' },
4
- { value: 'MINI_Serif', label: 'MINI_Serif' },
5
- { value: 'CHEESEPIZZA', label: 'CHEESEPIZZA' },
6
- { value: 'BMW', label: 'BMW' },
7
- { value: 'Abrakatebra', label: 'Abrakatebra' },
8
- { value: 'Aramisi', label: 'Aramisi' },
9
- { value: 'Facebook', label: 'Facebook' },
10
- { value: 'Merriweather', label: 'Merriweather' },
11
- { value: 'MINI_Sans', label: 'MINI_Sans' },
12
- { value: 'Arvo', label: 'Arvo' },
13
- { value: 'Dolce_Vita', label: 'Dolce_Vita' },
14
- { value: 'Spectral', label: 'Spectral' },
15
- { value: 'Twitter', label: 'Twitter' },
16
- { value: 'CaviarDreams', label: 'CaviarDreams' },
17
- { value: 'Freestyle_Script', label: 'Freestyle_Script' },
18
- { value: 'Roboto', label: 'Roboto' },
19
- { value: 'Cardo', label: 'Cardo' },
20
- { value: 'Oswald', label: 'Oswald' },
21
- { value: 'Nunito', label: 'Nunito' },
22
- { value: 'Oxygen', label: 'Oxygen' },
23
- { value: 'arial', label: 'arial' },
24
- { value: 'Lora', label: 'Lora' },
25
- { value: 'Montserrat', label: 'Montserrat' },
26
- { value: 'College_Block', label: 'College_Block' },
27
- { value: 'Karla', label: 'Karla' },
28
- { value: 'Raleway', label: 'Raleway' },
29
- { value: 'Rubik', label: 'Rubik' },
30
- { value: 'Underground', label: 'Underground' },
31
- { value: 'SS_Nickson_One', label: 'SS_Nickson_One' },
32
- { value: 'Instagram', label: 'Instagram' },
33
- { value: 'Cormorant', label: 'Cormorant' },
34
- { value: 'Hamburger_Heaven', label: 'Hamburger_Heaven' },
35
- { value: 'Coquette_Regular', label: 'Coquette_Regular' },
36
- { value: 'Lato', label: 'Lato' },
37
- ];
38
- export const FONT_SIZES = [
39
- { value: '5', label: '5' },
40
- { value: '5.5', label: '5.5' },
41
- { value: '6.5', label: '6.5' },
42
- { value: '7.5', label: '7.5' },
43
- { value: '8', label: '8' },
44
- { value: '9', label: '9' },
45
- { value: '10', label: '10' },
46
- { value: '10.5', label: '10.5' },
47
- { value: '11', label: '11' },
48
- { value: '12', label: '12' },
49
- { value: '14', label: '14' },
50
- { value: '16', label: '16' },
51
- { value: '18', label: '18' },
52
- { value: '20', label: '20' },
53
- { value: '22', label: '22' },
54
- { value: '24', label: '24' },
55
- { value: '26', label: '26' },
56
- { value: '28', label: '28' },
57
- { value: '36', label: '36' },
58
- { value: '40', label: '40' },
59
- { value: '44', label: '44' },
60
- { value: '48', label: '48' },
61
- { value: '58', label: '58' },
62
- { value: '64', label: '64' },
63
- { value: '72', label: '72' },
64
- ];
65
- export default { FONTS, FONT_SIZES };
@@ -1,16 +0,0 @@
1
- import React, { CSSProperties } from 'react';
2
- import { SliderProps as MantineSliderProps } from '@mantine/core';
3
- import { componentSizes } from './shared/sizes';
4
- export interface SliderProps extends MantineSliderProps {
5
- width?: string | number;
6
- fullWidth?: boolean;
7
- size?: keyof typeof componentSizes;
8
- setValue: (value: number) => void;
9
- animate?: boolean;
10
- label?: React.ReactNode;
11
- compact?: boolean;
12
- styles?: Record<string, CSSProperties>;
13
- }
14
- declare const Slider: ({ width, size, value, setValue, disabled, styles, animate, label, fullWidth, compact, ...props }: SliderProps) => import("react/jsx-runtime").JSX.Element;
15
- export { Slider };
16
- //# sourceMappingURL=Slider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/Sliders/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAA2B,WAAW,IAAI,kBAAkB,EAAa,MAAM,eAAe,CAAC;AAItG,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CACxC;AAED,QAAA,MAAM,MAAM,GAAI,kGAYb,WAAW,4CAuGb,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,91 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Slider as MantineSlider } from '@mantine/core';
3
- import { useHover } from '@mantine/hooks';
4
- import { neutral, primary } from '../../../constants/colors';
5
- import { fontBase, textStyle } from '../../../constants/font';
6
- import { componentSizes } from './shared/sizes';
7
- const Slider = ({ width, size = 'md', value, setValue, disabled = false, styles, animate = false, label, fullWidth = false, compact = false, ...props }) => {
8
- const { hovered, ref } = useHover();
9
- const sliderColor = disabled ? neutral[100] : primary[200];
10
- const selectedSize = componentSizes[size];
11
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}rem`;
12
- const wrapperStyle = {
13
- container: {
14
- width: fullWidth ? '100%' : 'auto',
15
- display: 'flex',
16
- gap: '1rem',
17
- alignItems: 'center',
18
- },
19
- label: {
20
- ...fontBase,
21
- ...selectedSize.labelFontSize,
22
- color: disabled ? neutral[100] : neutral[200],
23
- whiteSpace: 'nowrap',
24
- flexShrink: 0,
25
- },
26
- valueLabel: {
27
- ...fontBase,
28
- ...selectedSize.valueFontSize,
29
- color: disabled ? neutral[100] : neutral[200],
30
- whiteSpace: 'nowrap',
31
- flexShrink: 0,
32
- textAlign: 'right',
33
- minWidth: '2rem',
34
- },
35
- sliderContainer: {
36
- display: 'flex',
37
- alignItems: 'center',
38
- gap: '1rem',
39
- flex: fullWidth ? 1 : 'none',
40
- },
41
- };
42
- const sliderStyle = {
43
- root: {
44
- flex: 1,
45
- minWidth: '10rem',
46
- },
47
- thumb: {
48
- width: `${selectedSize.thumbSize}rem`,
49
- height: `${selectedSize.thumbSize}rem`,
50
- backgroundColor: sliderColor,
51
- borderColor: sliderColor,
52
- boxShadow: '0 2px 2px rgba(0,0,0,0.2)',
53
- transition: 'opacity 150ms ease',
54
- opacity: animate ? (hovered ? 1 : 0) : 1,
55
- },
56
- trackContainer: {
57
- cursor: disabled ? 'default' : 'pointer',
58
- },
59
- track: {
60
- height: `${selectedSize.trackHeight}rem`,
61
- backgroundColor: sliderColor,
62
- },
63
- bar: {
64
- height: `${selectedSize.trackHeight}rem`,
65
- backgroundColor: sliderColor,
66
- },
67
- marksContainer: {
68
- height: `${selectedSize.trackHeight}rem`,
69
- },
70
- mark: {
71
- width: '0.7rem',
72
- height: '0.7rem',
73
- borderColor: neutral[50],
74
- backgroundColor: neutral[50],
75
- transform: 'translateY(-0.15rem) translateX(-0.2rem)',
76
- },
77
- markFilled: {
78
- borderColor: sliderColor,
79
- backgroundColor: 'white',
80
- },
81
- markLabel: {
82
- ...textStyle['caption'],
83
- color: disabled ? neutral[100] : neutral[200],
84
- marginTop: '0.4rem',
85
- textAlign: 'center',
86
- },
87
- ...styles,
88
- };
89
- return (_jsxs("div", { style: wrapperStyle.container, children: [!compact && label && _jsx("div", { style: wrapperStyle.label, children: label }), _jsxs("div", { style: wrapperStyle.sliderContainer, children: [_jsx(MantineSlider, { value: value, onChange: setValue, w: computedWidth, showLabelOnHover: false, disabled: disabled, ref: ref, styles: sliderStyle, ...props }), !compact && _jsx("div", { style: wrapperStyle.valueLabel, children: value })] })] }));
90
- };
91
- export { Slider };
@@ -1,6 +0,0 @@
1
- import { SliderProps } from './Slider';
2
- interface VolumeSliderProps extends Omit<SliderProps, 'label'> {
3
- }
4
- declare const VolumeSlider: ({ compact, size, fullWidth, ...props }: VolumeSliderProps) => import("react/jsx-runtime").JSX.Element;
5
- export { VolumeSlider };
6
- //# sourceMappingURL=VolumeSlider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VolumeSlider.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/Sliders/VolumeSlider.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C,UAAU,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAEjE,QAAA,MAAM,YAAY,GAAI,wCAA+D,iBAAiB,4CAmCrG,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,37 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { IconVolume, IconVolume2, IconVolume3 } from '@tabler/icons-react';
3
- import { neutral } from '../../../constants/colors';
4
- import { Slider } from './Slider';
5
- import { componentSizes } from './shared/sizes';
6
- const VolumeSlider = ({ compact = false, size = 'md', fullWidth = false, ...props }) => {
7
- const selectedSize = componentSizes[size];
8
- const getIcon = () => {
9
- var _a;
10
- const iconColor = props.disabled ? neutral[100] : neutral[200];
11
- const currentValue = (_a = props.value) !== null && _a !== void 0 ? _a : 0;
12
- if (currentValue === 0)
13
- return _jsx(IconVolume3, { size: selectedSize.iconSize, color: iconColor });
14
- if (currentValue <= 50)
15
- return _jsx(IconVolume2, { size: selectedSize.iconSize, color: iconColor });
16
- return _jsx(IconVolume, { size: selectedSize.iconSize, color: iconColor });
17
- };
18
- const style = {
19
- container: {
20
- display: 'flex',
21
- alignItems: 'center',
22
- gap: '1rem',
23
- width: fullWidth ? '100%' : 'auto',
24
- padding: '0.5rem 0',
25
- },
26
- iconContainer: {
27
- display: 'flex',
28
- alignItems: 'center',
29
- justifyContent: 'center',
30
- width: `${selectedSize.iconSize / 10}rem`, // Based on 10px root font
31
- height: `${selectedSize.iconSize / 10}rem`,
32
- flexShrink: 0,
33
- },
34
- };
35
- return (_jsxs("div", { style: style.container, children: [!compact && _jsx("div", { style: style.iconContainer, children: getIcon() }), _jsx(Slider, { ...props, compact: compact, size: size, fullWidth: fullWidth })] }));
36
- };
37
- export { VolumeSlider };
@@ -1,11 +0,0 @@
1
- import { AutocompleteProps as MantineAutocompleteProps } from '@mantine/core';
2
- import { CSSObject } from '@mantine/styles';
3
- import { componentSizes } from '../Dropdowns/shared/sizes';
4
- export interface AutoCompleteProps extends MantineAutocompleteProps {
5
- size?: keyof typeof componentSizes;
6
- width?: string | number;
7
- fullWidth?: boolean;
8
- styles?: Record<string, CSSObject>;
9
- }
10
- export declare const AutoComplete: ({ size, width, fullWidth, placeholder, styles, ...props }: AutoCompleteProps) => import("react/jsx-runtime").JSX.Element;
11
- //# sourceMappingURL=AutoComplete.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInputs/AutoComplete.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuC,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB;IACjE,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,YAAY,GAAI,2DAO1B,iBAAiB,4CA8DnB,CAAC"}
@@ -1,57 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Autocomplete as MantineAutocomplete } from '@mantine/core';
3
- import { neutral } from '../../../constants/colors';
4
- import { fontBase } from '../../../constants/font';
5
- import { componentSizes } from '../Dropdowns/shared/sizes';
6
- export const AutoComplete = ({ size = 'md', width, fullWidth = false, placeholder = 'Select an option', styles, ...props }) => {
7
- const selectedSize = componentSizes[size];
8
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.minWidth}rem`;
9
- const style = {
10
- input: {
11
- height: `${selectedSize.height}rem`,
12
- fontSize: selectedSize.fontSize,
13
- padding: selectedSize.inputPadding,
14
- ...fontBase,
15
- color: neutral[300],
16
- transition: 'all 200ms ease-in-out',
17
- borderRadius: '8px',
18
- },
19
- label: {
20
- ...fontBase,
21
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
22
- color: neutral[200],
23
- },
24
- dropdown: {
25
- border: 'none',
26
- borderRadius: '8px',
27
- boxShadow: '0 10px 15px -3px rgba(0, 0, 0, 0.1)',
28
- },
29
- item: {
30
- padding: selectedSize.dropdownPadding,
31
- marginBottom: '0.5rem',
32
- ...fontBase,
33
- fontSize: selectedSize.fontSize,
34
- color: neutral[200],
35
- borderRadius: '8px',
36
- backgroundColor: 'white',
37
- '&[data-selected]': {
38
- backgroundColor: neutral[50],
39
- color: neutral[200],
40
- '&:hover': {
41
- backgroundColor: neutral[50],
42
- },
43
- },
44
- '&:hover': {
45
- backgroundColor: neutral[50],
46
- },
47
- '&:not(:hover):not([data-selected])': {
48
- backgroundColor: 'white',
49
- },
50
- },
51
- rightSection: {
52
- color: neutral[200],
53
- },
54
- ...styles,
55
- };
56
- return (_jsx(MantineAutocomplete, { w: computedWidth, size: size, styles: style, placeholder: placeholder, maxDropdownHeight: selectedSize.dropdownHeight, ...props }));
57
- };
@@ -1,12 +0,0 @@
1
- import { PasswordInputProps as MantinePasswordInputProps } from '@mantine/core';
2
- import { CSSObject } from '@mantine/styles';
3
- import { componentSizes } from './shared/sizes';
4
- type PasswordInputProps = MantinePasswordInputProps & {
5
- size?: keyof typeof componentSizes;
6
- width?: string | number;
7
- fullWidth?: boolean;
8
- styles?: Record<string, CSSObject>;
9
- };
10
- declare const PasswordInput: ({ size, width, fullWidth, styles, placeholder, ...props }: PasswordInputProps) => import("react/jsx-runtime").JSX.Element;
11
- export { PasswordInput };
12
- //# sourceMappingURL=PasswordInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInputs/PasswordInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyC,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,eAAe,CAAC;AACvH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAShD,KAAK,kBAAkB,GAAG,yBAAyB,GAAG;IACpD,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,aAAa,GAAI,2DAOpB,kBAAkB,4CAiDpB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,52 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { PasswordInput as MantinePasswordInput } from '@mantine/core';
3
- import { neutral } from '../../../constants/colors';
4
- import { fontBase } from '../../../constants/font';
5
- import { componentSizes } from './shared/sizes';
6
- // Workaround for Icon sizing since we dont have a Provider setup
7
- const mantineSize = {
8
- sm: 'lg',
9
- md: 'xl',
10
- lg: 'xl',
11
- };
12
- const PasswordInput = ({ size = 'md', width, fullWidth = false, styles, placeholder = 'Enter password', ...props }) => {
13
- const selectedSize = componentSizes[size];
14
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}rem`;
15
- const style = {
16
- input: {
17
- ...fontBase,
18
- color: neutral[200],
19
- transition: 'all 200ms ease-in-out',
20
- borderRadius: '8px',
21
- height: `${selectedSize.height}rem`,
22
- fontSize: selectedSize.fontSize,
23
- padding: '0 1rem',
24
- },
25
- label: {
26
- ...fontBase,
27
- color: neutral[200],
28
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
29
- },
30
- error: {
31
- ...fontBase,
32
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
33
- },
34
- innerInput: {
35
- ...fontBase,
36
- color: neutral[200],
37
- height: `${selectedSize.height}rem`,
38
- fontSize: selectedSize.fontSize,
39
- padding: '0 1rem',
40
- },
41
- visibilityToggle: {
42
- color: neutral[200],
43
- marginRight: '1.25rem',
44
- '&:hover': {
45
- backgroundColor: 'transparent',
46
- },
47
- },
48
- ...styles,
49
- };
50
- return (_jsx(MantinePasswordInput, { w: computedWidth, ...props, placeholder: placeholder, size: mantineSize[size], styles: style }));
51
- };
52
- export { PasswordInput };
@@ -1,7 +0,0 @@
1
- import { TextInputProps } from '@mantine/core';
2
- interface SearchBarProps extends TextInputProps {
3
- fullWidth?: boolean;
4
- }
5
- declare const SearchBar: ({ width, fullWidth, size, styles, ...props }: SearchBarProps) => import("react/jsx-runtime").JSX.Element;
6
- export { SearchBar };
7
- //# sourceMappingURL=SearchBar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInputs/SearchBar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAM/C,UAAU,cAAe,SAAQ,cAAc;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,SAAS,GAAI,8CAA6D,cAAc,4CA4B7F,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,23 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { TextInput } from './TextInput';
3
- import { neutral } from '../../../constants/colors';
4
- import { fontBase } from '../../../constants/font';
5
- import { componentSizes } from './shared/sizes';
6
- const SearchBar = ({ width, fullWidth = false, size = 'md', styles, ...props }) => {
7
- const selectedSize = componentSizes[size || 'md'];
8
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}rem`;
9
- const style = {
10
- input: {
11
- ...fontBase,
12
- fontSize: selectedSize.fontSize,
13
- color: neutral[200],
14
- border: `1px solid ${neutral[100]}`,
15
- borderRadius: '8px',
16
- height: `${selectedSize.height}rem`,
17
- transition: 'all 200ms ease-in-out',
18
- },
19
- ...styles,
20
- };
21
- return (_jsx(TextInput, { placeholder: "Search", width: computedWidth, styles: style, icon: _jsx("i", { className: "fas fa-search", style: { fontSize: 14, marginLeft: '0.25rem' } }), size: 'lg', fullWidth: fullWidth, ...props }));
22
- };
23
- export { SearchBar };
@@ -1,12 +0,0 @@
1
- import { TextareaProps as MantineTextareaProps } from '@mantine/core';
2
- import { CSSObject } from '@mantine/styles';
3
- import { componentSizes } from './shared/sizes';
4
- type TextAreaProps = MantineTextareaProps & {
5
- size?: keyof typeof componentSizes;
6
- width?: string | number;
7
- fullWidth?: boolean;
8
- styles?: Record<string, CSSObject>;
9
- };
10
- declare const TextArea: ({ size, width, fullWidth, styles, ...props }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
11
- export { TextArea };
12
- //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInputs/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,aAAa,IAAI,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,KAAK,aAAa,GAAG,oBAAoB,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,QAAQ,GAAI,8CAA6D,aAAa,4CAqC3F,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,33 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Textarea as MantineTextarea } from '@mantine/core';
3
- import { neutral } from '../../../constants/colors';
4
- import { fontBase } from '../../../constants/font';
5
- import { componentSizes } from './shared/sizes';
6
- const TextArea = ({ size = 'md', width, fullWidth = false, styles, ...props }) => {
7
- const selectedSize = componentSizes[size];
8
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}rem`;
9
- const style = {
10
- input: {
11
- minHeight: `${selectedSize.height}rem`,
12
- fontSize: selectedSize.fontSize,
13
- padding: '0.75rem 1rem',
14
- ...fontBase,
15
- color: neutral[200],
16
- transition: 'all 200ms ease-in-out',
17
- borderRadius: '8px',
18
- resize: 'vertical',
19
- },
20
- label: {
21
- ...fontBase,
22
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
23
- color: neutral[200],
24
- },
25
- error: {
26
- ...fontBase,
27
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
28
- },
29
- ...styles,
30
- };
31
- return (_jsx(MantineTextarea, { ...props, size: size, styles: style, w: computedWidth, minRows: props.minRows || selectedSize.minRows, maxRows: props.maxRows || selectedSize.maxRows }));
32
- };
33
- export { TextArea };
@@ -1,12 +0,0 @@
1
- import { TextInputProps as MantineTextInputProps } from '@mantine/core';
2
- import { CSSObject } from '@mantine/styles';
3
- import { componentSizes } from './shared/sizes';
4
- type TextInputProps = MantineTextInputProps & {
5
- size?: keyof typeof componentSizes;
6
- width?: string | number;
7
- fullWidth?: boolean;
8
- styles?: Record<string, CSSObject>;
9
- };
10
- declare const TextInput: ({ size, width, fullWidth, styles, ...props }: TextInputProps) => import("react/jsx-runtime").JSX.Element;
11
- export { TextInput };
12
- //# sourceMappingURL=TextInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInputs/TextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiC,cAAc,IAAI,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,KAAK,cAAc,GAAG,qBAAqB,GAAG;IAC5C,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,8CAA6D,cAAc,4CA2B7F,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,32 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { TextInput as MantineTextInput } from '@mantine/core';
3
- import { neutral } from '../../../constants/colors';
4
- import { fontBase } from '../../../constants/font';
5
- import { componentSizes } from './shared/sizes';
6
- const TextInput = ({ size = 'md', width, fullWidth = false, styles, ...props }) => {
7
- const selectedSize = componentSizes[size];
8
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}rem`;
9
- const style = {
10
- input: {
11
- height: `${selectedSize.height}rem`,
12
- fontSize: selectedSize.fontSize,
13
- padding: '0 1rem',
14
- ...fontBase,
15
- color: neutral[200],
16
- transition: 'all 200ms ease-in-out',
17
- borderRadius: '8px',
18
- },
19
- label: {
20
- ...fontBase,
21
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
22
- color: neutral[200],
23
- },
24
- error: {
25
- ...fontBase,
26
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
27
- },
28
- ...styles,
29
- };
30
- return _jsx(MantineTextInput, { w: computedWidth, ...props, size: size, styles: style });
31
- };
32
- export { TextInput };
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { SimpleGridProps } from '@mantine/core';
3
- interface AutoGridProps extends SimpleGridProps {
4
- children: React.ReactNode;
5
- }
6
- declare const AutoGrid: ({ children, ...props }: AutoGridProps) => import("react/jsx-runtime").JSX.Element;
7
- export { AutoGrid };
8
- //# sourceMappingURL=AutoGrid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AutoGrid.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/AutoGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAE5D,UAAU,aAAc,SAAQ,eAAe;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,QAAQ,GAAI,wBAAwB,aAAa,4CAEtD,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { SimpleGrid } from '@mantine/core';
3
- const AutoGrid = ({ children, ...props }) => {
4
- return _jsx(SimpleGrid, { ...props, children: children });
5
- };
6
- export { AutoGrid };
@@ -1,10 +0,0 @@
1
- import { BoxProps as MantineBoxProps } from '@mantine/core';
2
- import { CSSObject } from '@mantine/styles';
3
- interface BoxProps extends MantineBoxProps {
4
- width?: string | number;
5
- onClick?: () => void;
6
- styles?: Record<string, CSSObject>;
7
- }
8
- declare const Box: ({ width, styles, onClick, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
9
- export { Box };
10
- //# sourceMappingURL=Box.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Box.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqB,QAAQ,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,UAAU,QAAS,SAAQ,eAAe;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,QAAA,MAAM,GAAG,GAAI,sCAAsC,QAAQ,4CAE1D,CAAC;AAEF,OAAO,EAAE,GAAG,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Box as MantineBox } from '@mantine/core';
3
- const Box = ({ width, styles, onClick, ...props }) => {
4
- return _jsx(MantineBox, { w: width, styles: styles, onClick: onClick, ...props });
5
- };
6
- export { Box };
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { CardProps as MantineCardProps } from '@mantine/core';
3
- export interface CardProps extends MantineCardProps {
4
- children: React.ReactNode;
5
- animate?: boolean;
6
- }
7
- export declare const Card: ({ children, animate, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=Card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnF,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,GAAI,iCAAyC,SAAS,4CAiBtE,CAAC"}
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Card as MantineCard } from '@mantine/core';
3
- export const Card = ({ children, animate = false, ...props }) => {
4
- const hoverAnimation = {
5
- style: { transition: 'transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out' },
6
- onMouseEnter: (e) => {
7
- e.currentTarget.style.transform = 'translateY(-5px)';
8
- e.currentTarget.style.boxShadow = '0px 2px 8px 0px rgba(0, 0, 0, 0.05)';
9
- },
10
- onMouseLeave: (e) => {
11
- e.currentTarget.style.transform = 'translateY(0)';
12
- e.currentTarget.style.boxShadow = 'none';
13
- },
14
- };
15
- return (_jsx(MantineCard, { p: "1.8rem", radius: "20px", withBorder: true, ...(animate ? hoverAnimation : {}), ...props, children: children }));
16
- };
@@ -1,9 +0,0 @@
1
- import { CenterProps as MantineCenterProps } from '@mantine/core';
2
- import { CSSObject } from '@mantine/styles';
3
- interface CenterProps extends MantineCenterProps {
4
- width?: string | number;
5
- styles?: Record<string, CSSObject>;
6
- }
7
- declare const Center: ({ width, styles, ...props }: CenterProps) => import("react/jsx-runtime").JSX.Element;
8
- export { Center };
9
- //# sourceMappingURL=Center.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Center.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Center.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,UAAU,WAAY,SAAQ,kBAAkB;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,QAAA,MAAM,MAAM,GAAI,6BAA6B,WAAW,4CAEvD,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Center as MantineCenter } from '@mantine/core';
3
- const Center = ({ width, styles, ...props }) => {
4
- return _jsx(MantineCenter, { w: width, styles: styles, ...props });
5
- };
6
- export { Center };
@@ -1,10 +0,0 @@
1
- import { DividerProps as MantineDividerProps } from '@mantine/core';
2
- import { CSSObject } from '@mantine/styles';
3
- interface DividerProps extends MantineDividerProps {
4
- width?: string | number;
5
- styles?: Record<string, CSSObject>;
6
- color?: string;
7
- }
8
- declare const Divider: ({ width, styles, color, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
9
- export { Divider };
10
- //# sourceMappingURL=Divider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Divider.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,YAAY,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,UAAU,YAAa,SAAQ,mBAAmB;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,OAAO,GAAI,oCAA2D,YAAY,4CAEvF,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Divider as MantineDivider } from '@mantine/core';
3
- import { neutral } from '../../constants/colors';
4
- const Divider = ({ width = '100%', styles, color = neutral[50], ...props }) => {
5
- return _jsx(MantineDivider, { color: color, w: width, styles: styles, ...props });
6
- };
7
- export { Divider };