@taiv/ui 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 (155) hide show
  1. package/README.md +1 -0
  2. package/dist/components/Data/CheckboxTable.d.ts +21 -0
  3. package/dist/components/Data/CheckboxTable.d.ts.map +1 -0
  4. package/dist/components/Data/CheckboxTable.js +85 -0
  5. package/dist/components/Data/RemovableItemList.d.ts +10 -0
  6. package/dist/components/Data/RemovableItemList.d.ts.map +1 -0
  7. package/dist/components/Data/RemovableItemList.js +44 -0
  8. package/dist/components/Info/Modals/ConfirmationModal.d.ts +18 -0
  9. package/dist/components/Info/Modals/ConfirmationModal.d.ts.map +1 -0
  10. package/dist/components/Info/Modals/ConfirmationModal.js +76 -0
  11. package/dist/components/Info/Modals/InfoModal.d.ts +15 -0
  12. package/dist/components/Info/Modals/InfoModal.d.ts.map +1 -0
  13. package/dist/components/Info/Modals/InfoModal.js +70 -0
  14. package/dist/components/Info/Modals/Modal.d.ts +13 -0
  15. package/dist/components/Info/Modals/Modal.d.ts.map +1 -0
  16. package/dist/components/Info/Modals/Modal.js +42 -0
  17. package/dist/components/Info/Modals/ModalProvider.d.ts +5 -0
  18. package/dist/components/Info/Modals/ModalProvider.d.ts.map +1 -0
  19. package/dist/components/Info/Modals/ModalProvider.js +15 -0
  20. package/dist/components/Info/Modals/variants.d.ts +63 -0
  21. package/dist/components/Info/Modals/variants.d.ts.map +1 -0
  22. package/dist/components/Info/Modals/variants.js +63 -0
  23. package/dist/components/Info/Notifications/NotificationProvider.d.ts +2 -0
  24. package/dist/components/Info/Notifications/NotificationProvider.d.ts.map +1 -0
  25. package/dist/components/Info/Notifications/NotificationProvider.js +46 -0
  26. package/dist/components/Info/Notifications/Notifications.d.ts +16 -0
  27. package/dist/components/Info/Notifications/Notifications.d.ts.map +1 -0
  28. package/dist/components/Info/Notifications/Notifications.js +41 -0
  29. package/dist/components/Info/Notifications/variants.d.ts +39 -0
  30. package/dist/components/Info/Notifications/variants.d.ts.map +1 -0
  31. package/dist/components/Info/Notifications/variants.js +41 -0
  32. package/dist/components/Info/Tooltips/InfoTooltip.d.ts +18 -0
  33. package/dist/components/Info/Tooltips/InfoTooltip.d.ts.map +1 -0
  34. package/dist/components/Info/Tooltips/InfoTooltip.js +20 -0
  35. package/dist/components/Info/Tooltips/Tooltip.d.ts +13 -0
  36. package/dist/components/Info/Tooltips/Tooltip.d.ts.map +1 -0
  37. package/dist/components/Info/Tooltips/Tooltip.js +35 -0
  38. package/dist/components/Inputs/Buttons/Button.d.ts +11 -0
  39. package/dist/components/Inputs/Buttons/Button.d.ts.map +1 -0
  40. package/dist/components/Inputs/Buttons/Button.js +27 -0
  41. package/dist/components/Inputs/Buttons/UnstyledButton.d.ts +10 -0
  42. package/dist/components/Inputs/Buttons/UnstyledButton.d.ts.map +1 -0
  43. package/dist/components/Inputs/Buttons/UnstyledButton.js +6 -0
  44. package/dist/components/Inputs/Buttons/shared/sizes.d.ts +25 -0
  45. package/dist/components/Inputs/Buttons/shared/sizes.d.ts.map +1 -0
  46. package/dist/components/Inputs/Buttons/shared/sizes.js +7 -0
  47. package/dist/components/Inputs/Buttons/shared/variants.d.ts +141 -0
  48. package/dist/components/Inputs/Buttons/shared/variants.d.ts.map +1 -0
  49. package/dist/components/Inputs/Buttons/shared/variants.js +141 -0
  50. package/dist/components/Inputs/Controls/Checkbox.d.ts +27 -0
  51. package/dist/components/Inputs/Controls/Checkbox.d.ts.map +1 -0
  52. package/dist/components/Inputs/Controls/Checkbox.js +55 -0
  53. package/dist/components/Inputs/Controls/Toggle.d.ts +29 -0
  54. package/dist/components/Inputs/Controls/Toggle.d.ts.map +1 -0
  55. package/dist/components/Inputs/Controls/Toggle.js +42 -0
  56. package/dist/components/Inputs/Dropdowns/FontSelect.d.ts +14 -0
  57. package/dist/components/Inputs/Dropdowns/FontSelect.d.ts.map +1 -0
  58. package/dist/components/Inputs/Dropdowns/FontSelect.js +48 -0
  59. package/dist/components/Inputs/Dropdowns/MultiSelect.d.ts +12 -0
  60. package/dist/components/Inputs/Dropdowns/MultiSelect.d.ts.map +1 -0
  61. package/dist/components/Inputs/Dropdowns/MultiSelect.js +94 -0
  62. package/dist/components/Inputs/Dropdowns/Select.d.ts +11 -0
  63. package/dist/components/Inputs/Dropdowns/Select.d.ts.map +1 -0
  64. package/dist/components/Inputs/Dropdowns/Select.js +62 -0
  65. package/dist/components/Inputs/Dropdowns/shared/fontSelectList.d.ts +12 -0
  66. package/dist/components/Inputs/Dropdowns/shared/fontSelectList.d.ts.map +1 -0
  67. package/dist/components/Inputs/Dropdowns/shared/fontSelectList.js +68 -0
  68. package/dist/components/Inputs/Dropdowns/shared/sizes.d.ts +36 -0
  69. package/dist/components/Inputs/Dropdowns/shared/sizes.d.ts.map +1 -0
  70. package/dist/components/Inputs/Dropdowns/shared/sizes.js +33 -0
  71. package/dist/components/Inputs/Sliders/Slider.d.ts +16 -0
  72. package/dist/components/Inputs/Sliders/Slider.d.ts.map +1 -0
  73. package/dist/components/Inputs/Sliders/Slider.js +91 -0
  74. package/dist/components/Inputs/Sliders/VolumeSlider.d.ts +6 -0
  75. package/dist/components/Inputs/Sliders/VolumeSlider.d.ts.map +1 -0
  76. package/dist/components/Inputs/Sliders/VolumeSlider.js +37 -0
  77. package/dist/components/Inputs/Sliders/shared/sizes.d.ts +45 -0
  78. package/dist/components/Inputs/Sliders/shared/sizes.d.ts.map +1 -0
  79. package/dist/components/Inputs/Sliders/shared/sizes.js +27 -0
  80. package/dist/components/Inputs/TextInputs/AutoComplete.d.ts +11 -0
  81. package/dist/components/Inputs/TextInputs/AutoComplete.d.ts.map +1 -0
  82. package/dist/components/Inputs/TextInputs/AutoComplete.js +57 -0
  83. package/dist/components/Inputs/TextInputs/PasswordInput.d.ts +12 -0
  84. package/dist/components/Inputs/TextInputs/PasswordInput.d.ts.map +1 -0
  85. package/dist/components/Inputs/TextInputs/PasswordInput.js +52 -0
  86. package/dist/components/Inputs/TextInputs/SearchBar.d.ts +7 -0
  87. package/dist/components/Inputs/TextInputs/SearchBar.d.ts.map +1 -0
  88. package/dist/components/Inputs/TextInputs/SearchBar.js +23 -0
  89. package/dist/components/Inputs/TextInputs/TextArea.d.ts +12 -0
  90. package/dist/components/Inputs/TextInputs/TextArea.d.ts.map +1 -0
  91. package/dist/components/Inputs/TextInputs/TextArea.js +33 -0
  92. package/dist/components/Inputs/TextInputs/TextInput.d.ts +12 -0
  93. package/dist/components/Inputs/TextInputs/TextInput.d.ts.map +1 -0
  94. package/dist/components/Inputs/TextInputs/TextInput.js +32 -0
  95. package/dist/components/Inputs/TextInputs/shared/sizes.d.ts +27 -0
  96. package/dist/components/Inputs/TextInputs/shared/sizes.d.ts.map +1 -0
  97. package/dist/components/Inputs/TextInputs/shared/sizes.js +6 -0
  98. package/dist/components/Layout/Box.d.ts +10 -0
  99. package/dist/components/Layout/Box.d.ts.map +1 -0
  100. package/dist/components/Layout/Box.js +6 -0
  101. package/dist/components/Layout/Center.d.ts +9 -0
  102. package/dist/components/Layout/Center.d.ts.map +1 -0
  103. package/dist/components/Layout/Center.js +6 -0
  104. package/dist/components/Layout/Divider.d.ts +9 -0
  105. package/dist/components/Layout/Divider.d.ts.map +1 -0
  106. package/dist/components/Layout/Divider.js +7 -0
  107. package/dist/components/Layout/Frame.d.ts +12 -0
  108. package/dist/components/Layout/Frame.d.ts.map +1 -0
  109. package/dist/components/Layout/Frame.js +7 -0
  110. package/dist/components/Layout/Group.d.ts +10 -0
  111. package/dist/components/Layout/Group.d.ts.map +1 -0
  112. package/dist/components/Layout/Group.js +6 -0
  113. package/dist/components/Layout/Loader.d.ts +8 -0
  114. package/dist/components/Layout/Loader.d.ts.map +1 -0
  115. package/dist/components/Layout/Loader.js +6 -0
  116. package/dist/components/Layout/Stack.d.ts +10 -0
  117. package/dist/components/Layout/Stack.d.ts.map +1 -0
  118. package/dist/components/Layout/Stack.js +6 -0
  119. package/dist/components/Misc/Copy.d.ts +10 -0
  120. package/dist/components/Misc/Copy.d.ts.map +1 -0
  121. package/dist/components/Misc/Copy.js +18 -0
  122. package/dist/components/Misc/MediaQuery.d.ts +3 -0
  123. package/dist/components/Misc/MediaQuery.d.ts.map +1 -0
  124. package/dist/components/Misc/MediaQuery.js +2 -0
  125. package/dist/components/Misc/Transition.d.ts +4 -0
  126. package/dist/components/Misc/Transition.d.ts.map +1 -0
  127. package/dist/components/Misc/Transition.js +6 -0
  128. package/dist/components/Typography/CollapsibleText.d.ts +14 -0
  129. package/dist/components/Typography/CollapsibleText.d.ts.map +1 -0
  130. package/dist/components/Typography/CollapsibleText.js +16 -0
  131. package/dist/components/Typography/Text.d.ts +14 -0
  132. package/dist/components/Typography/Text.d.ts.map +1 -0
  133. package/dist/components/Typography/Text.js +20 -0
  134. package/dist/components/Typography/Title.d.ts +22 -0
  135. package/dist/components/Typography/Title.d.ts.map +1 -0
  136. package/dist/components/Typography/Title.js +30 -0
  137. package/dist/components/index.d.ts +38 -0
  138. package/dist/components/index.d.ts.map +1 -0
  139. package/dist/components/index.js +43 -0
  140. package/dist/constants/colors.d.ts +79 -0
  141. package/dist/constants/colors.d.ts.map +1 -0
  142. package/dist/constants/colors.js +53 -0
  143. package/dist/constants/font.d.ts +245 -0
  144. package/dist/constants/font.d.ts.map +1 -0
  145. package/dist/constants/font.js +114 -0
  146. package/dist/constants/index.d.ts +3 -0
  147. package/dist/constants/index.d.ts.map +1 -0
  148. package/dist/constants/index.js +2 -0
  149. package/dist/hooks/index.d.ts +6 -0
  150. package/dist/hooks/index.d.ts.map +1 -0
  151. package/dist/hooks/index.js +5 -0
  152. package/dist/index.d.ts +4 -0
  153. package/dist/index.d.ts.map +1 -0
  154. package/dist/index.js +3 -0
  155. package/package.json +50 -0
@@ -0,0 +1,91 @@
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 };
@@ -0,0 +1,6 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,37 @@
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 };
@@ -0,0 +1,45 @@
1
+ export declare const componentSizes: {
2
+ readonly sm: {
3
+ readonly width: 20;
4
+ readonly trackHeight: 0.4;
5
+ readonly thumbSize: 1;
6
+ readonly labelFontSize: {
7
+ fontSize: string;
8
+ lineHeight: string;
9
+ };
10
+ readonly valueFontSize: {
11
+ fontSize: string;
12
+ lineHeight: string;
13
+ };
14
+ readonly iconSize: 18;
15
+ };
16
+ readonly md: {
17
+ readonly width: 30;
18
+ readonly trackHeight: 0.5;
19
+ readonly thumbSize: 1.25;
20
+ readonly labelFontSize: {
21
+ fontSize: string;
22
+ lineHeight: string;
23
+ };
24
+ readonly valueFontSize: {
25
+ fontSize: string;
26
+ lineHeight: string;
27
+ };
28
+ readonly iconSize: 22;
29
+ };
30
+ readonly lg: {
31
+ readonly width: 40;
32
+ readonly trackHeight: 0.6;
33
+ readonly thumbSize: 1.5;
34
+ readonly labelFontSize: {
35
+ fontSize: string;
36
+ lineHeight: string;
37
+ };
38
+ readonly valueFontSize: {
39
+ fontSize: string;
40
+ lineHeight: string;
41
+ };
42
+ readonly iconSize: 26;
43
+ };
44
+ };
45
+ //# sourceMappingURL=sizes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sizes.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Sliders/shared/sizes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBjB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { inputFontSize } from '../../../../constants/font';
2
+ export const componentSizes = {
3
+ sm: {
4
+ width: 20,
5
+ trackHeight: 0.4,
6
+ thumbSize: 1,
7
+ labelFontSize: inputFontSize['sm'],
8
+ valueFontSize: inputFontSize['sm'],
9
+ iconSize: 18,
10
+ },
11
+ md: {
12
+ width: 30,
13
+ trackHeight: 0.5,
14
+ thumbSize: 1.25,
15
+ labelFontSize: inputFontSize['md'],
16
+ valueFontSize: inputFontSize['md'],
17
+ iconSize: 22,
18
+ },
19
+ lg: {
20
+ width: 40,
21
+ trackHeight: 0.6,
22
+ thumbSize: 1.5,
23
+ labelFontSize: inputFontSize['lg'],
24
+ valueFontSize: inputFontSize['lg'],
25
+ iconSize: 26,
26
+ },
27
+ };
@@ -0,0 +1,11 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,57 @@
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
+ };
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,52 @@
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 };
@@ -0,0 +1,7 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,23 @@
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 };
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,33 @@
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 };
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,32 @@
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 };
@@ -0,0 +1,27 @@
1
+ export declare const componentSizes: {
2
+ readonly sm: {
3
+ readonly width: 20;
4
+ readonly minRows: 3;
5
+ readonly maxRows: 6;
6
+ readonly fontSize: string;
7
+ readonly lineHeight: string;
8
+ readonly height: 3.2;
9
+ };
10
+ readonly md: {
11
+ readonly width: 32.8;
12
+ readonly minRows: 4;
13
+ readonly maxRows: 8;
14
+ readonly fontSize: string;
15
+ readonly lineHeight: string;
16
+ readonly height: 4;
17
+ };
18
+ readonly lg: {
19
+ readonly width: 42;
20
+ readonly minRows: 6;
21
+ readonly maxRows: 9;
22
+ readonly fontSize: string;
23
+ readonly lineHeight: string;
24
+ readonly height: 4.8;
25
+ };
26
+ };
27
+ //# sourceMappingURL=sizes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sizes.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/TextInputs/shared/sizes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { inputFontSize } from '../../../../constants/font';
2
+ export const componentSizes = {
3
+ sm: { height: 3.2, ...inputFontSize['sm'], width: 20, minRows: 3, maxRows: 6 },
4
+ md: { height: 4, ...inputFontSize['md'], width: 32.8, minRows: 4, maxRows: 8 },
5
+ lg: { height: 4.8, ...inputFontSize['lg'], width: 42, minRows: 6, maxRows: 9 },
6
+ };
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,6 @@
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 };
@@ -0,0 +1,9 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,6 @@
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 };
@@ -0,0 +1,9 @@
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
+ }
7
+ declare const Divider: ({ width, styles, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { Divider };
9
+ //# sourceMappingURL=Divider.d.ts.map
@@ -0,0 +1 @@
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;CACpC;AAED,QAAA,MAAM,OAAO,GAAI,6BAA6B,YAAY,4CAEzD,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,7 @@
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, styles, ...props }) => {
5
+ return _jsx(MantineDivider, { color: neutral[50], w: width, styles: styles, ...props });
6
+ };
7
+ export { Divider };
@@ -0,0 +1,12 @@
1
+ import { CSSObject } from '@mantine/core';
2
+ import { ReactNode } from 'react';
3
+ interface FrameProps {
4
+ title: string;
5
+ subtitle?: string;
6
+ children: ReactNode;
7
+ width?: string | number;
8
+ styles?: Record<string, CSSObject>;
9
+ }
10
+ declare const Frame: ({ title, subtitle, children, width, styles }: FrameProps) => import("react/jsx-runtime").JSX.Element;
11
+ export { Frame };
12
+ //# sourceMappingURL=Frame.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Frame.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Frame.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,QAAA,MAAM,KAAK,GAAI,8CAA8C,UAAU,4CAUtE,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Stack } from '../Layout/Stack';
3
+ import { Title } from '../Typography/Title';
4
+ const Frame = ({ title, subtitle, children, width, styles }) => {
5
+ return (_jsxs(Stack, { mt: "1.25rem", width: width || '100%', gap: "0", ...styles, children: [_jsxs(Stack, { mb: "1.25rem", gap: "0", children: [_jsx(Title, { variant: "sectionHeader", children: title }), subtitle && _jsx(Title, { variant: "sectionSubheader", children: subtitle })] }), children] }));
6
+ };
7
+ export { Frame };