@app-studio/web 0.1.15 → 0.2.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.
- package/dist/StyleGuideWrapper.d.ts +1 -1
- package/dist/components/Button/Button/Button.props.d.ts +1 -1
- package/dist/components/Button/examples/AutoFocusButton.d.ts +2 -2
- package/dist/components/Button/examples/BorderedButtons.d.ts +2 -2
- package/dist/components/Button/examples/ColoredButtons.d.ts +2 -2
- package/dist/components/Button/examples/DefaultButton.d.ts +2 -2
- package/dist/components/Button/examples/DisabledButton.d.ts +2 -2
- package/dist/components/Button/examples/IconButtons.d.ts +2 -2
- package/dist/components/Button/examples/LoaderButtons.d.ts +2 -0
- package/dist/components/Button/examples/ShadowButton.d.ts +2 -2
- package/dist/components/Button/examples/SizeButtons.d.ts +2 -2
- package/dist/components/Button/examples/VariantButtons.d.ts +2 -2
- package/dist/components/Button/examples/index.d.ts +9 -9
- package/dist/components/Form/Checkbox/examples/ColorScheme.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/Default.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/DisabledInput.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/ErrorCheckbox.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/FormCheckout.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/IconCheckbox.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/IndeterminateCheckbox.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/ReadOnlyInput.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/Shadow.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/SizeInput.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/StylesInput.d.ts +2 -2
- package/dist/components/Form/Checkbox/examples/index.d.ts +11 -11
- package/dist/components/Form/CountryPicker/examples/Color.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Default.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Disabled.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Error.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Form.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Formik.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/HelperText.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/ReadOnlyInput.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Shadow.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Shape.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/SizeInput.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/StylesInput.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/Variant.d.ts +2 -2
- package/dist/components/Form/CountryPicker/examples/index.d.ts +12 -12
- package/dist/components/Form/DatePicker/examples/ColorScheme.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/Default.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/DisabledInput.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/ErrorCheckbox.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/FormCheckout.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/Formik.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/ReadOnlyInput.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/Shadow.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/SizeInput.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/StylesInput.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/helperTextDatePicker.d.ts +2 -2
- package/dist/components/Form/DatePicker/examples/index.d.ts +11 -11
- package/dist/components/Form/Password/Password/Password.props.d.ts +1 -1
- package/dist/components/Form/Password/example/Default.d.ts +2 -2
- package/dist/components/Form/Password/example/DisabledInput.d.ts +2 -2
- package/dist/components/Form/Password/example/ErrorInput.d.ts +2 -2
- package/dist/components/Form/Password/example/FormikErrorInput.d.ts +2 -2
- package/dist/components/Form/Password/example/FormikHelperText.d.ts +2 -2
- package/dist/components/Form/Password/example/HelperText.d.ts +2 -2
- package/dist/components/Form/Select/examples/Color.d.ts +2 -2
- package/dist/components/Form/Select/examples/Default.d.ts +2 -2
- package/dist/components/Form/Select/examples/Disabled.d.ts +2 -2
- package/dist/components/Form/Select/examples/Error.d.ts +2 -2
- package/dist/components/Form/Select/examples/Form.d.ts +2 -2
- package/dist/components/Form/Select/examples/Formik.d.ts +2 -2
- package/dist/components/Form/Select/examples/HelperText.d.ts +2 -2
- package/dist/components/Form/Select/examples/Multiple.d.ts +2 -2
- package/dist/components/Form/Select/examples/ReadOnlyInput.d.ts +2 -2
- package/dist/components/Form/Select/examples/Shadow.d.ts +2 -2
- package/dist/components/Form/Select/examples/SizeInput.d.ts +2 -2
- package/dist/components/Form/Select/examples/StylesInput.d.ts +2 -2
- package/dist/components/Form/Switch/examples/ChildSwitch.d.ts +2 -2
- package/dist/components/Form/Switch/examples/ColorScheme.d.ts +2 -2
- package/dist/components/Form/Switch/examples/Default.d.ts +2 -2
- package/dist/components/Form/Switch/examples/DisabledInput.d.ts +2 -2
- package/dist/components/Form/Switch/examples/FormSwitch.d.ts +2 -2
- package/dist/components/Form/Switch/examples/Formik.d.ts +2 -2
- package/dist/components/Form/Switch/examples/ReadOnlyInput.d.ts +2 -2
- package/dist/components/Form/Switch/examples/Shadow.d.ts +2 -2
- package/dist/components/Form/Switch/examples/SizeInput.d.ts +2 -2
- package/dist/components/Form/Switch/examples/StylesInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/ColorScheme.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/Default.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/DisabledInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/ErrorInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/FormikErrorInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/FormikHelperText.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/HelperText.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/LabelInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/MaxRowCol.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/Placeholder.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/ReadOnlyInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/ShadowArea.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/ShapeInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/SizeInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/StylesInput.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/VariantsInputs.d.ts +2 -2
- package/dist/components/Form/TextArea/examples/index.d.ts +15 -15
- package/dist/components/Form/TextField/examples/ClearInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/ColorScheme.d.ts +2 -2
- package/dist/components/Form/TextField/examples/Default.d.ts +2 -2
- package/dist/components/Form/TextField/examples/DisabledInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/ErrorInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/FormikErrorInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/FormikHelperText.d.ts +2 -2
- package/dist/components/Form/TextField/examples/HelperText.d.ts +2 -2
- package/dist/components/Form/TextField/examples/LabelInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/LeftChild.d.ts +2 -2
- package/dist/components/Form/TextField/examples/Placeholder.d.ts +2 -2
- package/dist/components/Form/TextField/examples/ReadOnlyInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/RightChild.d.ts +2 -2
- package/dist/components/Form/TextField/examples/ShapeInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/SizeInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/StylesInput.d.ts +2 -2
- package/dist/components/Form/TextField/examples/VariantsInputs.d.ts +2 -2
- package/dist/components/Form/TextField/examples/index.d.ts +17 -17
- package/dist/components/Layout/Horizontal/examples/Default.d.ts +2 -2
- package/dist/components/Layout/Horizontal/examples/Justify.d.ts +2 -2
- package/dist/components/Layout/Horizontal/examples/Reversed.d.ts +2 -2
- package/dist/components/Layout/Horizontal/examples/Wrap.d.ts +2 -2
- package/dist/components/Layout/Horizontal/examples/index.d.ts +4 -4
- package/dist/components/Layout/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
- package/dist/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -1
- package/dist/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
- package/dist/components/Layout/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
- package/dist/components/Layout/Input/HelperText/HelperText.props.d.ts +1 -1
- package/dist/components/Layout/Input/index.d.ts +7 -7
- package/dist/components/Layout/Vertical/examples/Default.d.ts +2 -2
- package/dist/components/Layout/Vertical/examples/Justify.d.ts +2 -2
- package/dist/components/Layout/Vertical/examples/Reversed.d.ts +2 -2
- package/dist/components/Layout/Vertical/examples/Wrap.d.ts +2 -2
- package/dist/components/Link/examples/Default.d.ts +2 -2
- package/dist/components/Link/examples/IsExternal.d.ts +2 -2
- package/dist/components/Link/examples/Underline.d.ts +2 -2
- package/dist/components/Loader/Loader.d.ts +1 -1
- package/dist/components/Loader/examples/ColorLoader.d.ts +2 -2
- package/dist/components/Loader/examples/DefaultLoader.d.ts +2 -2
- package/dist/components/Loader/examples/PositionLoader.d.ts +2 -2
- package/dist/components/Loader/examples/SizeLoader.d.ts +2 -2
- package/dist/components/Loader/examples/SpeedLoader.d.ts +2 -2
- package/dist/components/Loader/examples/TextLoader.d.ts +2 -2
- package/dist/components/Loader/examples/VariantLoader.d.ts +2 -2
- package/dist/components/Loader/examples/index.d.ts +7 -7
- package/dist/components/Modal/Examples/BlurModal.d.ts +2 -2
- package/dist/components/Modal/Examples/CloseButtonModal.d.ts +2 -2
- package/dist/components/Modal/Examples/DefaultModal.d.ts +2 -2
- package/dist/components/Modal/Examples/FullScreenModal.d.ts +2 -2
- package/dist/components/Modal/Examples/ModalPosition.d.ts +2 -2
- package/dist/components/Modal/Examples/PreventCloseModal.d.ts +2 -2
- package/dist/components/Modal/Examples/ScrollModal.d.ts +2 -2
- package/dist/components/Modal/Examples/ShadowModal.d.ts +2 -2
- package/dist/components/Modal/Examples/VariantModal.d.ts +2 -2
- package/dist/components/Modal/Examples/index.d.ts +9 -9
- package/dist/features.d.ts +2 -2
- package/dist/pages/button.page.d.ts +2 -2
- package/dist/pages/center.page.d.ts +2 -2
- package/dist/pages/checkbox.page.d.ts +2 -2
- package/dist/pages/components.page.d.ts +2 -2
- package/dist/pages/countryPicker.page.d.ts +2 -2
- package/dist/pages/datePicker.page.d.ts +2 -2
- package/dist/pages/home.page.d.ts +2 -2
- package/dist/pages/horizontal.page.d.ts +2 -2
- package/dist/pages/input.page.d.ts +2 -2
- package/dist/pages/link.page.d.ts +2 -2
- package/dist/pages/loader.page.d.ts +2 -2
- package/dist/pages/modal.page.d.ts +2 -2
- package/dist/pages/password.page.d.ts +2 -2
- package/dist/pages/select.page.d.ts +2 -2
- package/dist/pages/switch.page.d.ts +2 -2
- package/dist/pages/text.page.d.ts +2 -2
- package/dist/pages/textArea.page.d.ts +2 -2
- package/dist/pages/vertical.page.d.ts +2 -2
- package/dist/routes/routes.d.ts +2 -2
- package/dist/web.cjs.development.js +1728 -1279
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +1694 -1245
- package/dist/web.esm.js.map +1 -1
- package/package.json +1 -2
- package/dist/components/Button/examples/LoadingButtons.d.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.cjs.production.min.js","sources":["../src/components/Button/Button/Button.style.ts","../src/components/Button/Button/Button.view.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.style.ts","../src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.style.ts","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.view.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.view.tsx","../src/components/Form/Password/Password/Password.view.tsx","../src/components/Form/Select/Select/Select.style.ts","../src/components/Form/Select/Select/Select.view.tsx","../src/components/Form/Select/Select/Select.state.ts","../src/components/Form/Switch/Switch/Switch.style.ts","../src/components/Form/Switch/Switch/Switch.view.tsx","../src/components/Form/TextArea/TextArea/TextArea.view.tsx","../src/components/Form/TextField/TextField/TextField.view.tsx","../src/components/Layout/Center/Center/Center.view.tsx","../src/components/Layout/Horizontal/Horizontal/Horizontal.view.tsx","../src/components/Layout/Vertical/Vertical/Vertical.view.tsx","../src/components/Link/Link/Link.style.ts","../src/components/Link/Link/Link.view.tsx","../src/components/Loader/Loader/Loader.style.ts","../src/components/Loader/Loader/Loader.view.tsx","../src/components/Modal/Modal/Modal.style.ts","../src/components/Modal/Modal.tsx","../src/components/Modal/Modal/Modal.view.tsx","../src/components/Text/Text/Text.style.ts","../src/components/Text/Text/Text.view.tsx","../src/components/Button/Button.tsx","../src/components/Button/Button/Button.state.ts","../src/components/Layout/Center/Center.tsx","../src/components/Form/Checkbox/Checkbox.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.state.ts","../src/components/Form/CountryPicker/CountryPicker.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.state.ts","../src/components/Form/DatePicker/DatePicker.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.state.ts","../src/components/Layout/Horizontal/Horizontal.tsx","../src/components/Link/Link.tsx","../src/components/Link/Link/Link.state.ts","../src/components/Loader/Loader.tsx","../src/components/Form/Password/Password.tsx","../src/components/Form/Password/Password/Password.state.ts","../src/components/Form/Select/Select.tsx","../src/components/Form/Switch/Switch.tsx","../src/components/Form/Switch/Switch/Switch.state.ts","../src/components/Text/Text.tsx","../src/components/Form/TextArea/TextArea.tsx","../src/components/Form/TextArea/TextArea/TextArea.state.ts","../src/components/Form/TextField/TextField.tsx","../src/components/Form/TextField/TextField/TextField.state.ts","../src/components/Layout/Vertical/Vertical.tsx"],"sourcesContent":["import { CSSProperties } from 'react';\n\nimport { Shape, Size } from './Button.type';\n\nexport const ButtonSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 79,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 12,\n paddingRight: 12,\n fontWeight: 600,\n fontSize: 'xs',\n lineHeight: 16,\n letterSpacing: 1.25,\n },\n sm: {\n width: 128,\n paddingTop: 10,\n paddingBottom: 10,\n paddingLeft: 16,\n paddingRight: 16,\n fontWeight: 600,\n fontSize: 'sm',\n lineHeight: 20,\n letterSpacing: 1.25,\n },\n md: {\n width: 144,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 18,\n paddingRight: 18,\n fontWeight: 600,\n fontSize: 'md',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n lg: {\n width: 178,\n paddingTop: 14,\n paddingBottom: 14,\n paddingLeft: 22,\n paddingRight: 22,\n fontWeight: 600,\n fontSize: 'lg',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n xl: {\n width: 220,\n paddingTop: 16,\n paddingBottom: 16,\n paddingLeft: 26,\n paddingRight: 26,\n fontWeight: 600,\n fontSize: 'xl',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n};\n\nexport const ButtonShapes: Record<Shape, number | string> = {\n sharp: 0,\n rounded: 4,\n pillShaped: 24,\n};\n\nexport const IconSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 24,\n height: 24,\n padding: 12,\n },\n sm: {\n width: 24,\n height: 24,\n padding: 15,\n },\n md: {\n width: 36,\n height: 36,\n padding: 15,\n },\n lg: {\n width: 36,\n height: 36,\n padding: 18,\n },\n xl: {\n width: 36,\n height: 36,\n padding: 24,\n },\n};\n","import React, { CSSProperties } from 'react';\nimport { Element } from 'app-studio';\nimport { Link } from 'src/components';\n\nimport { ButtonProps } from './Button.props';\nimport { ButtonShapes, ButtonSizes, IconSizes } from './Button.style';\nimport { Variant } from './Button.type';\n\nconst ButtonView: React.FC<ButtonProps> = ({\n icon,\n shadow,\n children,\n ariaLabel,\n externalHref,\n isAuto = false,\n isFilled = false,\n isIconRounded = false,\n isLoading = false,\n isDisabled = false,\n size = 'md',\n variant = 'filled',\n iconPosition = 'left',\n colorScheme = 'theme.primary',\n shape = 'rounded',\n onClick = () => {},\n ...props\n}) => {\n const isActive = !(isDisabled || isLoading);\n\n const defaultNativeProps = { disabled: !isActive };\n\n const buttonColor = isActive ? colorScheme : 'theme.disabled';\n\n const ButtonVariants: Record<Variant, CSSProperties> = {\n filled: {\n backgroundColor: buttonColor,\n color: 'color.white',\n },\n outline: {\n backgroundColor: 'transparent',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: colorScheme,\n color: buttonColor,\n },\n link: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n textDecorationLine: 'underline',\n },\n ghost: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n },\n };\n\n const buttonSizeStyles = ButtonSizes[size];\n\n const buttonVariant = ButtonVariants[variant];\n\n const scaleWidth = {\n width: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width,\n };\n\n const changePadding = {\n padding: isIconRounded ? IconSizes[size].padding : ButtonSizes[size].padding,\n };\n\n const content = (\n <>\n {icon && iconPosition === 'left' && !isLoading && icon}\n {children}\n {icon && iconPosition === 'right' && !isLoading && icon}\n </>\n );\n\n return (\n <Element\n gap={8}\n as=\"button\"\n role=\"button\"\n border=\"none\"\n color=\"color.white\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n ariaLabel={ariaLabel}\n backgroundColor={buttonColor}\n borderRadius={ButtonShapes[shape]}\n onClick={props.onClick ?? onClick}\n cursor={isActive ? 'pointer' : 'default'}\n {...defaultNativeProps} // set default native html button properties\n {...buttonSizeStyles} // set default width, paddings and fonts\n {...buttonVariant} // changes default background color, color and border\n {...scaleWidth} //changes the actual fixed width when isAuto or isFilled are true\n {...changePadding} // changes the actual padding when variant equals to circled\n {...shadow}\n {...props}\n >\n {variant === 'link' && externalHref ? (\n <Link href={externalHref} textDecorationColor={colorScheme} colorScheme={colorScheme} isExternal>\n {content}\n </Link>\n ) : (\n content\n )}\n </Element>\n );\n};\n\nexport default ButtonView;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Checkbox.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 8, width: 8 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n '2xl': { height: 36, width: 36 },\n '3xl': { height: 42, width: 42 },\n '4xl': { height: 48, width: 48 },\n '5xl': { height: 54, width: 54 },\n '6xl': { height: 60, width: 60 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 6,\n sm: 12,\n md: 18,\n lg: 24,\n xl: 30,\n '2xl': 36,\n '3xl': 42,\n '4xl': 48,\n '5xl': 54,\n '6xl': 60,\n};\n","import React from 'react';\nimport { Typography } from 'app-studio';\nimport { Center } from 'src/components';\nimport { Label } from 'src/components/Form/Label/Label';\nimport { CheckSvg, IndeterminateSvg } from 'src/components/Svg';\n\nimport { CheckboxViewProps } from './Checkbox.props';\nimport { IconSizes, Sizes } from './Checkbox.style';\n\nconst CheckboxView: React.FC<CheckboxViewProps> = ({\n id,\n icon,\n name,\n label,\n isChecked,\n onChange,\n onValueChange,\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n error = false,\n isSelected = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isIndeterminate = false,\n defaultIsSelected = false,\n setIsSelected = () => {},\n setIsHovered = () => {},\n styles = { checkbox: {}, label: {} },\n ...props\n}) => {\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleChange = () => {\n if (!isReadOnly && !isDisabled) {\n if (isChecked === undefined) {\n setIsSelected(!isSelected);\n } else {\n if (onChange) onChange(!isChecked);\n if (onValueChange) onValueChange(!isChecked);\n }\n }\n };\n\n const checkboxStyle = {\n container: {\n gap: 10,\n display: 'flex',\n alignItems: 'center',\n height: 'fit-content',\n width: 'fit-content',\n color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer',\n ...styles['label'],\n },\n checkbox: {\n ...(isDisabled\n ? { backgroundColor: 'theme.disabled' }\n : ((isChecked || isSelected) && !isIndeterminate) || isIndeterminate\n ? { backgroundColor: colorScheme }\n : {\n borderWidth: 2,\n borderColor: error ? 'theme.error' : isHovered ? 'color.gray.500' : 'color.gray.300',\n borderStyle: 'solid',\n }),\n borderRadius: 3,\n filter: isHovered ? 'brightness(0.9)' : undefined,\n ...Sizes[size],\n ...shadow,\n ...styles['checkbox'],\n },\n };\n\n return (\n <Label\n htmlFor={id}\n as=\"div\"\n onClick={handleChange}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n size={Typography.fontSizes[size]}\n {...checkboxStyle.container}\n {...props}\n >\n <Center {...checkboxStyle.checkbox}>\n {isIndeterminate ? (\n <IndeterminateSvg />\n ) : (\n (isChecked || isSelected) && (icon ?? <CheckSvg size={IconSizes[size]} />)\n )}\n </Center>\n {label}\n </Label>\n );\n};\n\nexport default CheckboxView;\n","import { Size } from './CountryPicker.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n\nexport const LabelSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useEffect, useState } from 'react';\nimport { Element, Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldIcons, FieldLabel, FieldWrapper } from 'src/components/Layout/Input';\nimport { ArrowDownSvg } from 'src/components/Svg/ArrowDown';\nimport { ArrowUpSvg } from 'src/components/Svg/ArrowUp';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerViewProps, DropDownItemProps, DropDownProps } from './CountryPicker.props';\nimport { IconSizes } from './CountryPicker.style';\nimport { Country } from './CountryPicker.type';\n\nconst CountryList: React.FC<DropDownProps> = (props) => <Element as=\"ul\" {...props} />;\n\nconst CountrySelector: React.FC<any> = (props) => <Input type=\"country\" {...props} />;\n\nconst CountryItem: React.FC<DropDownItemProps> = (props) => <Element as=\"li\" {...props} />;\n\nexport const DropDownItem: React.FC<DropDownItemProps> = ({\n option,\n size = 'md',\n callback = () => {},\n styles = { text: {} },\n}) => {\n const [isHovered, setIsHovered] = useState(false);\n\n const handleOptionClick = (event: any) => {\n event.stopPropagation();\n callback(option);\n };\n const handleHover = () => setIsHovered(!isHovered);\n return (\n <CountryItem\n margin={0}\n role=\"DropDownItem\"\n listStyleType=\"none\"\n paddingVertical={6}\n paddingHorizontal={12}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n onClick={handleOptionClick}\n fontSize={Typography.fontSizes[size]}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...styles['text']}\n >\n {option}\n </CountryItem>\n );\n};\n\nexport const DropDown: React.FC<DropDownProps> = ({\n size,\n styles = { dropDown: {} },\n options,\n callback = () => {},\n}) => {\n const handleCallback = (option: string) => callback(option);\n return (\n <CountryList\n role=\"dropDown\"\n margin={0}\n padding={0}\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflow=\"auto\"\n maxHeight=\"300px\"\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n boxShadow=\"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px\"\n {...styles['dropDown']}\n >\n {options.map((option: Country) => (\n <DropDownItem\n key={option.code}\n size={size}\n option={option.name}\n callback={handleCallback}\n {...styles['text']}\n />\n ))}\n </CountryList>\n );\n};\n\nconst CountryPickerView: React.FC<CountryPickerViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isHovered = false,\n isFocused = false,\n isAutoFocus = false,\n isDisabled = false,\n isReadOnly = false,\n shadow = {},\n newOptions = [],\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n onChange,\n onBlur = () => {},\n setHide = () => {},\n setNewOptions = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n setSelected = () => {},\n styles = {\n text: {},\n icon: {},\n label: {},\n dropDown: {},\n helperText: {},\n box: {},\n },\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleCallback = (option: string) => {\n setHide(!hide);\n setSelected(option);\n };\n\n const handleClick = () => {\n if (!isDisabled && !isReadOnly) {\n setHide(!hide);\n }\n };\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const selectedCountry = event.target.value;\n const filteredCountries = countryList.filter((country) =>\n country.name.toLowerCase().startsWith(selectedCountry.toLowerCase())\n );\n if (hide) setHide(false);\n setSelected(event.target.value);\n setNewOptions(filteredCountries);\n if (onChange) onChange(event);\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n useEffect(() => {\n if (onChange) onChange(selected); // Call onChange when selectedCountry changes\n }, [onChange, selected]);\n\n const isWithLabel = !!(isFocused && label);\n\n const fieldStyles = {\n margin: 0,\n paddingVerical: 8,\n paddingHorizonatl: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: { focus: { outline: 'none' } },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles} onClick={handleClick}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <CountrySelector\n id={id}\n name={name}\n placeholder={placeholder}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n onBlur={handleBlur}\n onFocus={handleFocus}\n {...fieldStyles}\n {...props}\n value={selected}\n onChange={handleChange}\n />\n </FieldWrapper>\n <FieldIcons>\n {hide ? (\n <ArrowDownSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n ) : (\n <ArrowUpSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={newOptions} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default CountryPickerView;\n","import React from 'react';\nimport { Input, Typography } from 'app-studio';\nimport { FieldContainer } from 'src/components/Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from 'src/components/Layout/Input/FieldContent/FieldContent';\nimport { FieldLabel } from 'src/components/Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from 'src/components/Layout/Input/FieldWrapper/FieldWrapper';\n\nimport { DatePickerViewProps } from './DatePicker.props';\n\nconst DatePickerContent = (props: any) => <Input type=\"date\" {...props} />;\n\nconst DatePickerView: React.FC<DatePickerViewProps> = ({\n id,\n icon,\n name,\n label,\n date,\n children,\n helperText,\n shadow = {},\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n styles = { box: {}, label: {}, helperText: {}, text: {}, field: {} },\n error = false,\n isHovered = false,\n isFocused = false,\n isDisabled = false,\n isReadOnly = false,\n setDate = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n onChange,\n onChangeText,\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleDateChange = (event: any) => {\n if (typeof event === 'string') {\n setDate(event);\n if (onChangeText) onChangeText(event);\n } else {\n setDate(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n backgroundColor: 'transparent',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={date}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <DatePickerContent\n id={id}\n name={name}\n value={date}\n onFocus={handleFocus}\n onChange={handleDateChange}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...fieldStyles}\n {...(onChangeText && { onChangeText: handleDateChange })}\n {...props}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default DatePickerView;\n","import React from 'react';\nimport { TextField, View } from 'src/components';\n\nimport { PasswordViewProps } from './Password.props';\n\nconst PasswordView: React.FC<PasswordViewProps> = ({\n name,\n visibleIcon,\n hiddenIcon,\n isDisabled = false,\n isVisible = false,\n setIsVisible = () => {},\n ...props\n}) => (\n <TextField\n name={name}\n type={isVisible ? 'text' : 'password'}\n rightChild={\n <View\n onClick={() => {\n if (!isDisabled) setIsVisible(!isVisible);\n }}\n >\n {isVisible ? visibleIcon : hiddenIcon}\n </View>\n }\n isClearable={false}\n {...props}\n />\n);\n\nexport default PasswordView;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Select.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useCallback } from 'react';\nimport { Element } from 'app-studio';\nimport { Typography } from 'app-studio';\nimport { Horizontal, Text } from 'src/components';\nimport { FieldContainer } from 'src/components/Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from 'src/components/Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from 'src/components/Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from 'src/components/Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from 'src/components/Layout/Input/FieldWrapper/FieldWrapper';\nimport { ArrowDownSvg, ArrowUpSvg, CloseSvg } from 'src/components/Svg';\n\nimport {\n DropDownProps,\n HiddenSelectProps,\n ItemProps,\n MultiSelectProps,\n SelectBoxProps,\n SelectViewProps,\n} from './Select.props';\nimport { useItemState } from './Select.state';\nimport { IconSizes } from './Select.style';\n\nconst Item: React.FC<ItemProps> = ({ isHovered, setIsHovered, option, size = 'md', callback = () => {}, ...props }) => {\n const handleOptionClick = (option: string) => callback(option);\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Element\n as=\"li\"\n margin={0}\n paddingVertical={8}\n paddingHorizontal={12}\n listStyleType=\"none\"\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n fontSize={Typography.fontSizes[size]}\n onClick={() => handleOptionClick(option)}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...props}\n >\n {option}\n </Element>\n );\n};\n\nconst SelectBox: React.FC<SelectBoxProps> = ({\n size = 'md',\n styles = { field: {}, text: {} },\n selected,\n isDisabled,\n placeholder,\n removeOption = () => {},\n}) => {\n const fieldStyles = {\n margin: 0,\n width: '95%',\n heigth: '100%',\n border: 'none',\n paddingVertical: 8,\n paddingHorizontal: 0,\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n ...styles['text'],\n };\n\n return (\n <Text {...fieldStyles}>\n {(selected === '' || (selected && selected.length === 0)) && !!placeholder ? (\n placeholder\n ) : (\n <>\n {typeof selected === 'string'\n ? selected\n : selected &&\n selected.length > 0 && (\n <Horizontal gap={6}>\n {selected.map((option) => (\n <MultiSelect key={option} option={option} removeOption={removeOption} />\n ))}\n </Horizontal>\n )}\n </>\n )}\n </Text>\n );\n};\n\nconst HiddenSelect: React.FC<HiddenSelectProps> = ({\n id,\n name,\n selected,\n onChange,\n isMulti = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n ...props\n}) => {\n const handleChange = (event: any) => {\n if (onChange) onChange(event);\n };\n return (\n <Element\n id={id}\n name={name}\n as=\"select\"\n opacity={0}\n width={0}\n height={0}\n position=\"absolute\"\n value={selected}\n disabled={isDisabled}\n readOnly={isReadOnly}\n onChange={handleChange}\n multiple={isMulti}\n {...props}\n >\n {options.map((option) => {\n return (\n <option key={option} value={option}>\n {option}\n </option>\n );\n })}\n </Element>\n );\n};\n\nconst DropDown: React.FC<DropDownProps> = ({ size, styles = { dropDown: {} }, options, callback = () => {} }) => {\n const itemStates = useItemState();\n const handleCallback = (option: string) => callback(option);\n const shadow =\n typeof document !== undefined\n ? {\n boxShadow:\n 'rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px',\n }\n : {\n elevation: 2,\n shadowColor: 'rgba(0, 0, 0, 0.07)',\n shadowOffset: {\n width: 0,\n height: 1,\n },\n shadowOpacity: 1,\n shadowRadius: 1,\n };\n return (\n <Element\n as=\"ul\"\n role=\"dropdown\"\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflowY=\"auto\"\n marginTop={5}\n marginLeft={0}\n marginRight={0}\n marginBottom={0}\n padding={0}\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n justifyContent=\"space-evenly\"\n {...shadow}\n {...styles['dropDown']}\n >\n {options.map((option) => (\n <Item key={option} size={size} option={option} callback={handleCallback} {...itemStates} {...styles['text']} />\n ))}\n </Element>\n );\n};\n\nexport const MultiSelect: React.FC<MultiSelectProps> = ({ option, size = 'md', removeOption = () => {}, ...props }) => {\n const handleClick = () => removeOption(option);\n\n return (\n <Horizontal\n gap={10}\n padding={6}\n borderRadius={4}\n alignItems=\"center\"\n fontSize={Typography.fontSizes[size]}\n backgroundColor=\"trueGray.300\"\n onClick={(event: any) => event.stopPropagation()}\n {...props}\n >\n <Text size={size}>{option}</Text>\n <CloseSvg role=\"close-button\" color=\"inherit\" size={IconSizes[size]} onClick={handleClick} />\n </Horizontal>\n );\n};\n\nconst SelectView: React.FC<SelectViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isMulti = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n shape = 'default',\n variant = 'default',\n styles = {\n text: {},\n icon: {},\n dropDown: {},\n selectBox: {},\n label: {},\n helperText: {},\n },\n onChange = () => {},\n setHide = () => {},\n setSelected = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.stopPropagation();\n setHide(!hide);\n setIsFocused(!isFocused);\n };\n\n const handleCallback = useCallback(\n (option: string) => {\n setHide(!hide);\n if (isMulti && Array.isArray(selected)) {\n !selected.includes(option) && setSelected([...selected, option]);\n } else {\n setSelected(option);\n }\n },\n\n [hide, isMulti, selected]\n );\n\n const handleRemoveOption = (selectedOption: string) => {\n if (Array.isArray(selected) && selected.includes(selectedOption)) {\n const newSelected = selected.filter((option) => option !== selectedOption);\n setSelected(newSelected.length === 0 ? [] : newSelected);\n }\n };\n\n return (\n <FieldContainer\n role=\"SelectBox\"\n helperText={helperText}\n error={error}\n styles={styles}\n onClick={isDisabled || isReadOnly ? () => {} : handleClick}\n >\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <HiddenSelect\n id={id}\n name={name}\n options={options}\n onChange={onChange}\n selected={selected}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isMulti={isMulti}\n onFocus={handleFocus}\n {...props}\n />\n <SelectBox\n size={size}\n styles={styles}\n selected={selected}\n isDisabled={isDisabled}\n placeholder={placeholder}\n removeOption={handleRemoveOption}\n />\n </FieldWrapper>\n <FieldIcons>\n {!isReadOnly && !isDisabled && (\n <>\n {hide ? (\n <ArrowDownSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n ) : (\n <ArrowUpSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n )}\n </>\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={options} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default SelectView;\n","import React from 'react';\n\nimport { SelectProps } from './Select.props';\n\nexport const useSelectState = ({ placeholder, isMulti, options }: SelectProps) => {\n const defaultSelected = placeholder ? (isMulti ? [] : '') : options[0];\n\n const [hide, setHide] = React.useState(true);\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [selected, setSelected] = React.useState<string | Array<string>>(defaultSelected);\n return { selected, setSelected, hide, setHide, isHovered, setIsHovered, isFocused, setIsFocused };\n};\n\nexport const useItemState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Switch.type';\n\nexport const KnobSizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 9, width: 9 },\n md: { height: 12, width: 12 },\n lg: { height: 15, width: 15 },\n xl: { height: 18, width: 18 },\n '2xl': { height: 21, width: 21 },\n '3xl': { height: 24, width: 24 },\n '4xl': { height: 27, width: 27 },\n '5xl': { height: 30, width: 30 },\n '6xl': { height: 33, width: 33 },\n};\n\nexport const SliderSizes: Record<Size, CSSProperties> = {\n xs: {\n height: 16,\n width: 28,\n },\n sm: {\n height: 20,\n width: 36,\n },\n md: {\n height: 24,\n width: 44,\n },\n lg: {\n height: 28,\n width: 52,\n },\n xl: {\n height: 32,\n width: 60,\n },\n '2xl': {\n height: 36,\n width: 68,\n },\n '3xl': {\n height: 40,\n width: 76,\n },\n '4xl': {\n height: 44,\n width: 84,\n },\n '5xl': {\n height: 48,\n width: 92,\n },\n '6xl': {\n height: 52,\n width: 100,\n },\n};\n\nexport const SliderPadding: Record<Size, Record<string, number>> = {\n xs: { paddingVertical: 0, paddingHorizontal: 2 },\n sm: { paddingVertical: 0, paddingHorizontal: 3 },\n md: { paddingVertical: 0, paddingHorizontal: 5 },\n lg: { paddingVertical: 0, paddingHorizontal: 6 },\n xl: { paddingVertical: 0, paddingHorizontal: 8 },\n '2xl': { paddingVertical: 0, paddingHorizontal: 9 },\n '3xl': { paddingVertical: 0, paddingHorizontal: 10 },\n '4xl': { paddingVertical: 0, paddingHorizontal: 13 },\n '5xl': { paddingVertical: 0, paddingHorizontal: 15 },\n '6xl': { paddingVertical: 0, paddingHorizontal: 16 },\n};\n","import React from 'react';\nimport { Input } from 'app-studio';\nimport { Label } from 'src/components/Form/Label/Label';\nimport { View } from 'src/components/Layout/View/View';\n\nimport { SwitchViewProps } from './Switch.props';\nimport { KnobSizes, SliderPadding, SliderSizes } from './Switch.style';\n\nconst SwitchContent = (props: any) => <Input type=\"checkbox\" {...props} />;\n\nconst SwitchView: React.FC<SwitchViewProps> = ({\n id,\n name,\n inActiveChild,\n activeChild,\n shadow = {},\n size = 'sm',\n colorScheme = 'theme.primary',\n on = false,\n isHovered = false,\n isChecked = false,\n isDisabled = false,\n isReadOnly = false,\n onChange,\n onValueChange,\n setOn = () => {},\n setIsHovered = () => {},\n styles = { slider: {}, circle: {} },\n ...props\n}) => {\n const handleToggle = (event: any) => {\n if (!isReadOnly) {\n setOn(!on);\n if (onChange) onChange(event);\n }\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Label htmlFor={id} onMouseEnter={handleHover} onMouseLeave={handleHover}>\n <SwitchContent\n id={id}\n name={name}\n opacity={0}\n width={0}\n height={0}\n checked={on}\n onChange={handleToggle}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...(onValueChange && { onValueChange: handleToggle })}\n {...props}\n />\n {/* Slide */}\n <View\n display=\"flex\"\n cursor=\"pointer\"\n alignItems=\"center\"\n borderRadius={24}\n filter={isHovered && on ? 'brightness(0.9)' : 'brightness(1)'}\n transition=\"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)\"\n backgroundColor={isDisabled ? 'disabled' : on ? colorScheme : 'lightgray'}\n justifyContent={activeChild ? 'space-between' : on ? 'flex-end' : 'flex-start'}\n {...shadow}\n {...SliderPadding[size]}\n {...SliderSizes[size]}\n {...styles['slider']}\n >\n {activeChild && on && <View>{activeChild}</View>}\n <View borderRadius=\"50%\" backgroundColor=\"white\" {...KnobSizes[size]} {...styles['circle']} />\n {inActiveChild && !on && <View>{inActiveChild}</View>}\n </View>\n </Label>\n );\n};\n\nexport default SwitchView;\n","import React, { useMemo } from 'react';\nimport { Element, Typography } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldLabel, FieldWrapper } from 'src/components/Layout/Input';\n\nimport { TextAreaViewProps } from './TextArea.props';\n\nconst TextAreaView: React.FC<TextAreaViewProps> = ({\n id,\n name,\n hint,\n error,\n value,\n label,\n shadow,\n inputValue,\n helperText,\n placeholder,\n defaultValue,\n size = 'sm',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n isHovered = false,\n isFocused = false,\n isEditable = false,\n isReadOnly = false,\n isDisabled = false,\n isAutoFocus = false,\n isMultiline = false,\n maxRows = 3,\n maxCols = 30,\n onBlur = () => {},\n onChange,\n onFocus,\n onChangeText,\n setHint = () => {},\n setInputValue = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n styles = { box: {}, text: {}, label: {}, helperText: {}, field: {} },\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <Element\n as=\"textarea\"\n id={id}\n name={name}\n rows={maxRows}\n cols={maxCols}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n editable={isEditable}\n placeholder={hint}\n onBlur={handleBlur}\n onFocus={handleFocus}\n onChange={handleChange}\n multiline={isMultiline}\n {...fieldStyles}\n {...props}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextAreaView;\n","import React, { useMemo } from 'react';\nimport { Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer } from 'src/components/Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from 'src/components/Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from 'src/components/Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from 'src/components/Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from 'src/components/Layout/Input/FieldWrapper/FieldWrapper';\nimport { CloseSvg } from 'src/components/Svg';\n\nimport { TextFieldViewProps } from './TextField.props';\n\nconst TextFieldInput = (props: any) => <Input type=\"text\" {...props} />;\n\nconst TextFieldView: React.FC<TextFieldViewProps> = ({\n id,\n name,\n label,\n value,\n hint,\n inputValue,\n onChange,\n leftChild,\n rightChild,\n helperText,\n placeholder,\n onChangeText,\n shadow = {},\n styles = { box: {}, field: {}, label: {}, helperText: {}, text: {} },\n size = 'md',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n error = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isClearable = true,\n isAutoFocus = false,\n setHint = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n setInputValue = () => {},\n onClick = () => {},\n onFocus,\n onBlur = () => {},\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n padddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n //Web\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const handleClear = () => {\n setInputValue('');\n //Web\n if (onChange) {\n onBlur({ target: { name } });\n onChange({ target: { name, value: '' } });\n }\n //for ios and android\n if (typeof document === 'undefined' && onChangeText) onChangeText('');\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n {leftChild}\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <TextFieldInput\n id={id}\n name={name}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n placeholder={hint}\n onFocus={handleFocus}\n onBlur={handleBlur}\n autoComplete=\"off\"\n {...fieldStyles}\n {...props}\n onChange={handleChange}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n {(rightChild || (isClearable && inputValue)) && (\n <FieldIcons>\n {rightChild && <>{rightChild}</>}\n {isClearable && inputValue && !isReadOnly && !isDisabled && (\n <CloseSvg size={Typography.fontSizes[size]} color={IconColor} onClick={handleClear} />\n )}\n </FieldIcons>\n )}\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextFieldView;\n","import React from 'react';\nimport { View } from 'src/components/Layout/View/View';\n\nimport { CenterProps } from './Center.props';\n\nconst CenterView: React.FC<CenterProps> = ({ children, wrap, ...props }) => (\n <View display=\"flex\" justifyContent=\"center\" alignItems=\"center\" flexWrap={wrap} {...props}>\n {children}\n </View>\n);\n\nexport default CenterView;\n","import React from 'react';\nimport { View } from 'src/components';\n\nimport { HorizontalProps } from './Horizontal.props';\n\nconst HorizontalView: React.FC<HorizontalProps> = ({\n children,\n wrap = 'wrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'row-reverse' : 'row'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\n\nexport default HorizontalView;\n","import React from 'react';\nimport { View } from 'app-studio';\n\nimport { VerticalProps } from './Vertical.props';\n\nconst VerticalView: React.FC<VerticalProps> = ({\n children,\n wrap = 'nowrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'column-reverse' : 'column'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\nexport default VerticalView;\n","import { Size } from './Link.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n '2xl': 24,\n '3xl': 30,\n '4xl': 36,\n '5xl': 48,\n '6xl': 64,\n};\n","import React from 'react';\nimport { Element } from 'app-studio';\nimport { Link as ReactRouterLink } from 'react-router-dom';\nimport { Horizontal } from 'src/components';\nimport { ExternalLinkSvg } from 'src/components/Svg';\n\nimport { LinkViewProps } from './Link.props';\nimport { IconSizes } from './Link.style';\n\nconst LinkView: React.FC<LinkViewProps> = ({\n children,\n href = '/',\n iconSize = 'sm',\n underline = 'default',\n isHovered = false,\n isExternal = false,\n colorScheme = '#0072F5',\n styles = { icon: {}, text: {} },\n setIsHovered = () => {},\n ...props\n}) => {\n const handleHover = () => {\n if (underline === 'hover') setIsHovered(true);\n };\n return (\n <ReactRouterLink to={href} target={isExternal ? '_blank' : '_self'}>\n <Element\n color={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n textDecoration={isHovered || underline === 'underline' ? 'underline !important' : 'none'}\n {...styles.text}\n {...props}\n >\n <Horizontal gap={3} alignItems=\"center\" wrap=\"nowrap\">\n {children}\n {isExternal && <ExternalLinkSvg color={colorScheme} size={IconSizes[iconSize]} style={styles.icon} />}\n </Horizontal>\n </Element>\n </ReactRouterLink>\n );\n};\n\nexport default LinkView;\n","import { Size, Speed } from './Loader.type';\n\nexport const DefaultEllipsisSpeeds: Record<Speed, number> = {\n fast: 0.4,\n normal: 0.6,\n slow: 0.8,\n};\n\nexport const DefaultSizes: Record<Size, number> = {\n xs: 14,\n sm: 18,\n md: 22,\n lg: 26,\n xl: 30,\n '2xl': 40,\n '3xl': 50,\n '4xl': 60,\n '5xl': 70,\n '6xl': 80,\n};\nexport const DefaultSpeeds: Record<Speed, number> = {\n fast: 50,\n normal: 100,\n slow: 300,\n};\n","import React, { useEffect, useState } from 'react';\nimport { useTheme } from 'app-studio';\nimport { Center, View } from 'src/components';\n\nimport { DefaultSpinnerProps, DottedProps, LoaderProps, QuarterProps } from '../Loader/Loader.props';\n\nimport { DefaultSizes, DefaultSpeeds } from './Loader.style';\n\nconst DefaultSpinner: React.FC<DefaultSpinnerProps> = ({\n size = 'md',\n speed = 'normal',\n color = 'theme.loading',\n ...props\n}) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke={colorStyle}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M21 12a9 9 0 11-6.219-8.56\"></path>\n </g>\n </svg>\n );\n};\n\nconst Dotted: React.FC<DottedProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"10\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"25\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"40\" cy=\"25\" r=\"4\" fill={colorStyle} />\n </svg>\n );\n};\n\nconst Quarter: React.FC<QuarterProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke={colorStyle} strokeWidth=\"5\" strokeDasharray=\"1,10\" />\n </svg>\n );\n};\nconst LoaderView: React.FC<LoaderProps> = ({\n size,\n children,\n textColor,\n loaderColor,\n type = 'default',\n speed = 'normal',\n textPosition = 'right',\n ...props\n}) => {\n const style = { size, speed, color: loaderColor };\n\n const variants = {\n default: <DefaultSpinner {...style} />,\n dotted: <Dotted {...style} />,\n quarter: <Quarter {...style} />,\n };\n\n return (\n <Center gap={10} flexDirection={textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'} {...props}>\n {(textPosition === 'left' || textPosition === 'top') && children && <View color={textColor}>{children}</View>}\n {variants[type]}\n {(textPosition === 'right' || textPosition === 'bottom') && children && <View color={textColor}>{children}</View>}\n </Center>\n );\n};\n\nexport default LoaderView;\n","import { CSSProperties } from 'react';\n\nimport { Position, Shape, Size } from './Modal.type';\n\nexport const ContainerShapes: Record<Shape, CSSProperties> = {\n sharp: { borderRadius: 0 },\n rounded: { borderRadius: 4 },\n};\nexport const OverlayAlignments: Record<Position, CSSProperties> = {\n center: { justifyContent: 'center', alignItems: 'center' },\n top: { justifyContent: 'center' },\n right: { justifyContent: 'flex-end', alignItems: 'center' },\n bottom: { justifyContent: 'center', alignItems: 'flex-end' },\n left: { alignItems: 'center' },\n};\n\nexport const HeaderIconSizes: Record<Size, number> = {\n xs: 12,\n sm: 16,\n md: 20,\n lg: 24,\n xl: 28,\n};\n","import React from 'react';\n\nimport { ModalType } from './Modal/Modal.props';\nimport { ModalBody, ModalContainer, ModalFooter, ModalHeader, ModalOverlay } from './Modal/Modal.view';\n\n/**\n * It is a custom content overlay that appears on top of the main screen.\n */\n// eslint-disable-next-line react/prop-types\nexport const Modal: ModalType = ({ children }) => <>{children}</>;\n\nModal.Overlay = ModalOverlay;\nModal.Container = ModalContainer;\nModal.Header = ModalHeader;\nModal.Body = ModalBody;\nModal.Footer = ModalFooter;\n\nexport default Modal;\n","import React, { useEffect } from 'react';\nimport { Center, Vertical } from 'src/components';\nimport { Horizontal } from 'src/components';\nimport { Button } from 'src/components';\nimport { View } from 'src/components/Layout/View/View';\nimport { CloseSvg } from 'src/components/Svg';\nimport { useModalStore } from 'src/store/useModalStore';\n\nimport { BodyProps, ContainerProps, FooterProps, HeaderProps, OverlayProps } from '../Modal/Modal.props';\nimport { ContainerShapes, OverlayAlignments } from '../Modal/Modal.style';\nimport { HeaderIconSizes } from '../Modal/Modal.style';\n\nexport const ModalOverlay: React.FC<OverlayProps> = ({\n children,\n blur,\n isOpen = false,\n isClosePrevented = false,\n onClose = () => {},\n position = 'center',\n ...props\n}) => {\n const setOpen = useModalStore((state: any) => state.setOpen);\n const setOnClose = useModalStore((state: any) => state.setOnClose);\n\n useEffect(() => {\n setOnClose(onClose);\n if (isOpen) setOpen();\n });\n\n if (!isOpen) return null;\n\n const handleClick = () => {\n if (!isClosePrevented) onClose();\n };\n\n return (\n <Center\n position=\"fixed\"\n top={0}\n left={0}\n width=\"100%\"\n height=\"100%\"\n zIndex={1000}\n onClick={handleClick}\n visibility={isOpen ? 'visible' : 'hidden'}\n >\n <View\n cursor=\"pointer\"\n position=\"absolute\"\n top={0}\n left={0}\n zIndex={1000}\n width=\"100vw\"\n height=\"100vh\"\n display=\"flex\"\n backgroundColor=\"blackAlpha.500\"\n backdropFilter={blur ? `blur(${blur}px)` : undefined}\n onClick={handleClick}\n {...OverlayAlignments[position]}\n {...props}\n >\n {children}\n </View>\n </Center>\n );\n};\n\nexport const ModalContainer: React.FC<ContainerProps> = ({\n children,\n shadow,\n isFullScreen = false,\n shape = 'rounded',\n ...props\n}) => {\n const defaultShadow =\n typeof document !== undefined\n ? {\n boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.3)',\n }\n : {\n elevation: 5,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 8,\n };\n\n const handleClick = (event: any) => event.stopPropagation();\n return (\n <Vertical\n cursor=\"default\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n width={isFullScreen ? '100%' : 600}\n height={isFullScreen ? '100%' : 'fit-content'}\n onClick={handleClick}\n {...(shadow ? shadow : defaultShadow)}\n {...ContainerShapes[shape]}\n {...props}\n >\n {children}\n </Vertical>\n );\n};\n\nexport const ModalHeader: React.FC<HeaderProps> = ({\n children,\n buttonColor = 'theme.primary',\n iconSize = 'md',\n buttonPosition = 'right',\n ...props\n}) => {\n const onClose = useModalStore((state: any) => state.onClose);\n\n const buttonIcon = (\n <Button\n onClick={onClose}\n colorScheme=\"transparent\"\n icon={<CloseSvg size={HeaderIconSizes[iconSize]} color={buttonColor} />}\n padding={0}\n margin={0}\n filter=\"none\"\n isAuto\n />\n );\n\n return (\n <Horizontal\n justifyContent={buttonPosition === 'none' ? 'center' : 'space-between'}\n alignItems=\"center\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {buttonPosition === 'left' && buttonIcon}\n {children}\n {buttonPosition === 'right' && buttonIcon}\n </Horizontal>\n );\n};\n\nexport const ModalBody: React.FC<BodyProps> = ({ children, ...props }) => {\n const defaultBorder = {\n borderBottomWidth: 2,\n borderTopWidth: 2,\n borderColor: 'rgba(250, 250, 250, 1)',\n borderStyle: 'solid',\n };\n return (\n <View overflowY=\"auto\" paddingVertical={15} paddingHorizontal={20} {...defaultBorder} {...props}>\n {children}\n </View>\n );\n};\n\nexport const ModalFooter: React.FC<FooterProps> = ({ children, ...props }) => {\n return (\n <Horizontal\n marginTop=\"auto\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import { Headings } from './Text.type';\n\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n h1: {\n fontSize: 96,\n lineHeight: 112,\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n lineHeight: 71,\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n lineHeight: 57,\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n lineHeight: 40,\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n lineHeight: 28,\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n lineHeight: 24,\n letterSpacing: 0.15,\n },\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Element, Typography } from 'app-studio';\n\nimport { ContentProps, TextProps, TruncateTextProps } from './Text.props';\nimport { HeadingSizes } from './Text.style';\n\nconst TextContent: React.FC<ContentProps> = ({ children, isSub, isSup }) => (\n <>\n {typeof children === 'string' ? (\n <>\n {isSub && <sup>{children}</sup>}\n {isSup && <sup>{children}</sup>}\n {!isSub && !isSup && <>{children}</>}\n </>\n ) : (\n children\n )}\n </>\n);\n\nconst TruncateText: React.FC<TruncateTextProps> = ({ text, maxLines = 1 }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const [content, setContent] = useState(text);\n\n useEffect(() => {\n let textContent = content;\n const textNode = containerRef.current;\n\n if (textNode) {\n const contentHeight = textNode.offsetHeight;\n\n const comLineHeight = getComputedStyle(textNode).lineHeight;\n\n const lineHeight: number = comLineHeight !== 'normal' ? parseFloat(comLineHeight) : 20;\n\n const maxHeight = Math.ceil(lineHeight * maxLines);\n\n if (contentHeight > maxHeight) {\n textContent = textContent.slice(0, -1);\n } else if (contentHeight === maxHeight) {\n if (content.length !== text.length) {\n textContent = textContent.slice(0, -3) + '...';\n }\n }\n\n setContent(textContent);\n }\n }, [maxLines, text, containerRef, content]);\n\n return <div ref={containerRef}>{content}</div>;\n};\n\nconst TextView: React.FC<TextProps> = ({\n children,\n heading,\n maxLines,\n isItalic = false,\n isUnderlined = false,\n isSub = false,\n isSup = false,\n isStriked = false,\n isTruncated = false,\n weight = 'normal',\n size = 'md',\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n\n const noLineBreak = isSub || isSup ? { display: 'inline' } : {};\n\n const fontSize = Typography.fontSizes[size];\n\n return (\n <Element\n role=\"text\"\n fontSize={fontSize}\n lineHeight={Typography.lineHeights[size]}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}\n {...noLineBreak}\n {...headingStyles}\n {...props}\n >\n {isTruncated && maxLines && typeof children === 'string' ? (\n <TruncateText text={children} maxLines={maxLines} />\n ) : (\n <TextContent isSub={isSub} isSup={isSup} {...props}>\n {children}\n </TextContent>\n )}\n </Element>\n );\n};\n\nexport default TextView;\n","import React from 'react';\n\nimport { ButtonProps } from './Button/Button.props';\nimport { useButtonState } from './Button/Button.state';\nimport ButtonView from './Button/Button.view';\n\nconst ButtonComponent: React.FC<ButtonProps> = (props) => {\n const { isHovered, setIsHovered } = useButtonState();\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <ButtonView\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n filter={isHovered ? 'brightness(0.85)' : 'brightness(1)'}\n {...props}\n />\n );\n};\n\n/**\n * Buttons allow us to trigger an event or an action with a single click.\n */\nexport const Button = ButtonComponent;\n","import React from 'react';\n\nexport const useButtonState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import React from 'react';\n\nimport { CenterProps } from './Center/Center.props';\nimport CenterView from './Center/Center.view';\n\n/**\n * The Center component is a React functional component that provides a centered layout for its children using flexbox.\n */\nconst CenterComponent: React.FC<CenterProps> = (props) => <CenterView {...props} />;\n\nexport const Center = CenterComponent;\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox/Checkbox.props';\nimport { useCheckboxState } from './Checkbox/Checkbox.state';\nimport CheckboxView from './Checkbox/Checkbox.view';\n\nconst CheckboxComponent: React.FC<CheckboxProps> = (props) => {\n const checkboxStates = useCheckboxState(props);\n return <CheckboxView {...checkboxStates} {...props} />;\n};\n\n/**\n * Checkbox allows users to select one or more options from a list of choices.\n */\nexport const Checkbox = CheckboxComponent;\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox.props';\n\nexport const useCheckboxState = ({ defaultIsSelected = false }: CheckboxProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isSelected, setIsSelected] = React.useState<boolean>(defaultIsSelected);\n\n return {\n isHovered,\n setIsHovered,\n isSelected,\n setIsSelected,\n };\n};\n","import React from 'react';\n\nimport { CountryPickerProps } from './CountryPicker/CountryPicker.props';\nimport { useCountryPickerState } from './CountryPicker/CountryPicker.state';\nimport CountryPickerView from './CountryPicker/CountryPicker.view';\n\nconst CountryPickerComponent: React.FC<CountryPickerProps> = (props) => {\n const countryPickerStates = useCountryPickerState(props);\n\n return <CountryPickerView {...countryPickerStates} {...props} />;\n};\n\n/**\n * Country picker allows users to select a country from a dropdown list or search field.\n */\nexport const CountryPicker = CountryPickerComponent;\n","import React from 'react';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerProps } from './CountryPicker.props';\nimport { Country } from './CountryPicker.type';\n\nexport const useCountryPickerState = ({ placeholder }: CountryPickerProps) => {\n const [newOptions, setNewOptions] = React.useState<Array<Country>>(countryList);\n const [selected, setSelected] = React.useState<string>(placeholder ?? countryList[0].name);\n\n const [hide, setHide] = React.useState(true);\n const [isFocused, setIsFocused] = React.useState(false);\n const [isHovered, setIsHovered] = React.useState(false);\n\n return {\n hide,\n setHide,\n newOptions,\n setNewOptions,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n selected,\n setSelected,\n };\n};\n","import React from 'react';\n\nimport { DatePickerProps } from './DatePicker/DatePicker.props';\nimport { useDatePickerState } from './DatePicker/DatePicker.state';\nimport DatePickerView from './DatePicker/DatePicker.view';\n\nconst DatePickerComponent: React.FC<DatePickerProps> = (props) => {\n const datePickerStates = useDatePickerState();\n return <DatePickerView {...datePickerStates} {...props} />;\n};\n\n/**\n * Date picker allows users to select a date from a calendar view.\n */\nexport const DatePicker = DatePickerComponent;\n","import React from 'react';\nimport format from 'date-fns/format';\n\nexport const useDatePickerState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [date, setDate] = React.useState(format(new Date(), 'yyyy-MM-dd'));\n\n return {\n date,\n setDate,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n };\n};\n","import React from 'react';\n\nimport { HorizontalProps } from './Horizontal/Horizontal.props';\nimport HorizontalView from './Horizontal/Horizontal.view';\n\n/**\n * Horizontal layout aligns all the elements in a container on the horizontal axis.\n */\nconst HorizontalComponent: React.FC<HorizontalProps> = (props) => <HorizontalView {...props} />;\n\nexport const Horizontal = HorizontalComponent;\n","import React from 'react';\n\nimport { LinkProps } from './Link/Link.props';\nimport { useLinkState } from './Link/Link.state';\nimport LinkView from './Link/Link.view';\n\nconst LinkComponent: React.FC<LinkProps> = (props) => {\n const linkStates = useLinkState();\n return <LinkView {...linkStates} {...props} />;\n};\n\n/**\n * Link allows users to navigate from page to page. It have a similar appearance as the hyperlink.\n */\nexport const Link = LinkComponent;\n","import { useState } from 'react';\n\nexport const useLinkState = () => {\n const [isHovered, setIsHovered] = useState(false);\n return { isHovered, setIsHovered };\n};\n","import React from 'react';\n\nimport { LoaderProps } from './Loader/Loader.props';\nimport LoaderView from './Loader/Loader.view';\n\nconst LoadingComponent: React.FC<LoaderProps> = (props) => <LoaderView {...props} />;\n\n/**\n * It gives the user an insight about an action being processed. It may have an undefined waiting time or display the process length.\n */\nexport const Loading = LoadingComponent;\n","import React from 'react';\n\nimport { PasswordProps } from './Password/Password.props';\nimport { usePasswordState } from './Password/Password.state';\nimport PasswordView from './Password/Password.view';\n\nconst PasswordComponent: React.FC<PasswordProps> = (props) => {\n const passwordState = usePasswordState();\n return <PasswordView {...passwordState} {...props} />;\n};\n\n/**\n * To allow users to securely enter sensitive information\n */\nexport const Password = PasswordComponent;\n","import { useState } from 'react';\n\nexport const usePasswordState = () => {\n const [isVisible, setIsVisible] = useState(false);\n return { isVisible, setIsVisible };\n};\n","import React from 'react';\n\nimport { SelectProps } from './Select/Select.props';\nimport { useSelectState } from './Select/Select.state';\nimport SelectView from './Select/Select.view';\n\nconst SelectComponent: React.FC<SelectProps> = (props) => {\n const selectStates = useSelectState(props);\n return <SelectView {...selectStates} {...props} />;\n};\n\n/**\n * Select provides a dropdown list of options for the user to choose from.\n */\n\nexport const Select = SelectComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch/Switch.props';\nimport { useSwitchState } from './Switch/Switch.state';\nimport SwitchView from './Switch/Switch.view';\n\nconst SwitchComponent: React.FC<SwitchProps> = (props) => {\n const switchStates = useSwitchState(props);\n return <SwitchView {...switchStates} {...props} />;\n};\n\nexport const Switch = SwitchComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch.props';\n\nexport const useSwitchState = ({ isDisabled, isChecked }: SwitchProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n const [on, setOn] = React.useState(isDisabled ? !isDisabled : isChecked);\n\n return { isHovered, setIsHovered, on, setOn };\n};\n","import React from 'react';\n\nimport { TextProps } from './Text/Text.props';\nimport TextView from './Text/Text.view';\n\nconst TextComponent: React.FC<TextProps> = (props) => {\n return <TextView {...props} />;\n};\n\n/**\n * The Text component is a simple component that renders a text string or paragraphs as a DOM element in the UI. It is a <p> tag by default.\n */\nexport const Text = TextComponent;\n","import React from 'react';\n\nimport { TextAreaProps } from './TextArea/TextArea.props';\nimport { useTextAreaState } from './TextArea/TextArea.state';\nimport TextAreaView from './TextArea/TextArea.view';\n\nconst TextAreaComponent: React.FC<TextAreaProps> = (props) => {\n const textAreaState = useTextAreaState(props);\n return <TextAreaView {...textAreaState} {...props} />;\n};\n\n/**\n * Text Area is an component used to create a multi-line input field.\n */\nexport const TextArea = TextAreaComponent;\n","import { useState } from 'react';\n\nimport { TextAreaProps } from './TextArea.props';\n\nexport const useTextAreaState = ({ label, placeholder, defaultValue, value }: TextAreaProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || defaultValue || '');\n const [isFocused, setIsFocused] = useState(false);\n\n return {\n hint,\n setHint,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n isFocused,\n setIsFocused,\n };\n};\n","import React from 'react';\n\nimport { TextFieldProps } from './TextField/TextField.props';\nimport { useTextFieldState } from './TextField/TextField.state';\nimport TextFieldView from './TextField/TextField.view';\n\nconst TextFieldComponent: React.FC<TextFieldProps> = (props: TextFieldProps) => {\n const textFieldStates = useTextFieldState(props);\n return <TextFieldView {...textFieldStates} {...props} />;\n};\n/**\n * TextField is used to capture text data from users.\n */\nexport const TextField = TextFieldComponent;\n","import { useState } from 'react';\n\nimport { TextFieldProps } from './TextField.props';\n\nexport const useTextFieldState = ({ label, placeholder, value }: TextFieldProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isFocused, setIsFocused] = useState(false);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || '');\n\n return {\n hint,\n setHint,\n isFocused,\n setIsFocused,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n };\n};\n","import React from 'react';\n\nimport { VerticalProps } from './Vertical/Vertical.props';\nimport VerticalView from './Vertical/Vertical.view';\n\n/**\n * Vertical layout aligns all the elements in a container on the vertical axis.\n */\n\nconst VerticalComponent: React.FC<VerticalProps> = (props) => <VerticalView {...props} />;\n\nexport const Vertical = VerticalComponent;\n"],"names":["ButtonSizes","xs","width","paddingTop","paddingBottom","paddingLeft","paddingRight","fontWeight","fontSize","lineHeight","letterSpacing","sm","md","lg","xl","ButtonShapes","sharp","rounded","pillShaped","IconSizes","height","padding","ButtonView","_ref","icon","shadow","children","ariaLabel","externalHref","_ref$isAuto","isAuto","_ref$isFilled","isFilled","_ref$isIconRounded","isIconRounded","_ref$isLoading","isLoading","_ref$isDisabled","isDisabled","_ref$size","size","_ref$variant","variant","_ref$iconPosition","iconPosition","_ref$colorScheme","colorScheme","_ref$shape","shape","_ref$onClick","onClick","props","_objectWithoutPropertiesLoose","_excluded","isActive","defaultNativeProps","disabled","buttonColor","buttonSizeStyles","buttonVariant","filled","backgroundColor","color","outline","borderWidth","borderStyle","borderColor","link","border","textDecorationLine","ghost","scaleWidth","changePadding","content","React","Element","gap","as","role","display","alignItems","justifyContent","borderRadius","_props$onClick","cursor","Link","href","textDecorationColor","isExternal","Sizes","2xl","3xl","4xl","5xl","6xl","CheckboxView","id","name","label","isChecked","onChange","onValueChange","_ref$shadow","_ref$error","error","_ref$isSelected","isSelected","_ref$isHovered","isHovered","_ref$isReadOnly","isReadOnly","_ref$isIndeterminate","isIndeterminate","_ref$defaultIsSelecte","setIsSelected","_ref$setIsSelected","_ref$setIsHovered","setIsHovered","_ref$styles","styles","checkbox","handleHover","checkboxStyle","container","Object","assign","filter","undefined","Label","htmlFor","onMouseEnter","onMouseLeave","Typography","fontSizes","Center","IndeterminateSvg","CheckSvg","CountryList","CountrySelector","Input","type","CountryItem","DropDownItem","option","_ref$callback","callback","text","_useState","useState","margin","listStyleType","paddingVertical","paddingHorizontal","event","stopPropagation","DropDown","_ref2","_ref2$styles","dropDown","options","_ref2$callback","handleCallback","top","zIndex","overflow","maxHeight","position","flexDirection","boxShadow","map","key","code","CountryPickerView","_ref3","selected","placeholder","helperText","_ref3$hide","hide","_ref3$error","_ref3$isHovered","_ref3$isFocused","isFocused","_ref3$isAutoFocus","isAutoFocus","_ref3$isDisabled","_ref3$isReadOnly","_ref3$shadow","_ref3$newOptions","newOptions","_ref3$size","_ref3$variant","_ref3$shape","_ref3$colorScheme","_ref3$onBlur","onBlur","_ref3$setHide","setHide","_ref3$setNewOptions","setNewOptions","_ref3$setIsHovered","_ref3$setIsFocused","setIsFocused","_ref3$setSelected","setSelected","_ref3$styles","box","IconColor","getColor","useTheme","useEffect","isWithLabel","fieldStyles","paddingVerical","paddingHorizonatl","heigth","on","focus","FieldContainer","FieldContent","value","FieldWrapper","FieldLabel","readOnly","autoFocus","onFocus","selectedCountry","target","filteredCountries","countryList","country","toLowerCase","startsWith","FieldIcons","ArrowDownSvg","ArrowUpSvg","style","DatePickerContent","DatePickerView","date","field","_ref$isFocused","_ref$setDate","setDate","_ref$setIsFocused","onChangeText","handleDateChange","PasswordView","visibleIcon","hiddenIcon","_ref$isVisible","isVisible","_ref$setIsVisible","setIsVisible","TextField","rightChild","View","isClearable","Item","handleOptionClick","SelectBox","_ref2$removeOption","removeOption","_ref2$size","Text","length","Horizontal","MultiSelect","HiddenSelect","_ref3$isMulti","isMulti","_ref3$options","_excluded2","opacity","multiple","_ref4","_React$useState5","_ref4$styles","_ref4$callback","itemStates","document","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","overflowY","marginTop","marginLeft","marginRight","marginBottom","_ref5","_ref5$size","_ref5$removeOption","_excluded3","CloseSvg","SelectView","_ref6","_ref6$hide","_ref6$error","_ref6$isMulti","_ref6$isFocused","_ref6$isHovered","_ref6$isDisabled","_ref6$isReadOnly","_ref6$options","_ref6$shadow","_ref6$size","_ref6$colorScheme","_ref6$shape","_ref6$variant","_ref6$styles","selectBox","_ref6$onChange","_ref6$setHide","_ref6$setSelected","_ref6$setIsHovered","_ref6$setIsFocused","_excluded4","useCallback","Array","isArray","includes","concat","selectedOption","newSelected","KnobSizes","SliderSizes","SliderPadding","SwitchContent","SwitchView","inActiveChild","activeChild","_ref$on","_ref$isChecked","_ref$setOn","setOn","slider","circle","handleToggle","checked","transition","TextAreaView","hint","inputValue","defaultValue","_ref$isEditable","isEditable","_ref$isAutoFocus","_ref$isMultiline","isMultiline","_ref$maxRows","maxRows","_ref$maxCols","maxCols","_ref$onBlur","_ref$setHint","setHint","_ref$setInputValue","setInputValue","useMemo","handleChange","rows","cols","editable","multiline","TextFieldInput","TextFieldView","leftChild","_ref$isClearable","padddingHorizontal","autoComplete","CenterView","wrap","flexWrap","HorizontalView","_ref$wrap","_ref$justify","justify","_ref$isReversed","isReversed","VerticalView","LinkView","_ref$href","_ref$iconSize","iconSize","_ref$underline","underline","_ref$isExternal","ReactRouterLink","to","textDecoration","ExternalLinkSvg","DefaultSizes","DefaultSpeeds","fast","normal","slow","DefaultSpinner","_ref$speed","speed","_ref$color","colorStyle","sizeStyle","angle","setAngle","intervalId","setInterval","prevAngle","clearInterval","xmlns","viewBox","fill","stroke","strokeWidth","strokeLinecap","strokeLinejoin","transform","d","Dotted","_ref2$speed","_ref2$color","_useState2","cx","cy","r","Quarter","_ref3$speed","_ref3$color","_useState3","strokeDasharray","LoaderView","textColor","loaderColor","_ref4$type","_ref4$speed","_ref4$textPosition","textPosition","variants","default","dotted","quarter","ContainerShapes","OverlayAlignments","center","right","bottom","left","HeaderIconSizes","Modal","Overlay","blur","_ref$isOpen","isOpen","_ref$isClosePrevented","isClosePrevented","_ref$onClose","onClose","_ref$position","setOpen","useModalStore","state","setOnClose","handleClick","visibility","backdropFilter","Container","_ref2$isFullScreen","isFullScreen","_ref2$shape","defaultShadow","Vertical","Header","_ref3$buttonColor","_ref3$iconSize","_ref3$buttonPosition","buttonPosition","buttonIcon","Button","Body","borderBottomWidth","borderTopWidth","Footer","_excluded5","HeadingSizes","h1","h2","h3","h4","h5","h6","TextContent","isSub","isSup","TruncateText","_ref2$maxLines","maxLines","containerRef","useRef","setContent","textContent","textNode","current","contentHeight","offsetHeight","comLineHeight","getComputedStyle","parseFloat","Math","ceil","slice","ref","TextView","heading","_ref3$isItalic","isItalic","_ref3$isUnderlined","isUnderlined","_ref3$isSub","_ref3$isSup","_ref3$isStriked","isStriked","_ref3$isTruncated","isTruncated","_ref3$weight","weight","lineHeights","fontStyle","fontWeights","_React$useState","_useButtonState","defaultIsSelected","_React$useState2","checkboxStates","_React$useState3","_React$useState4","countryPickerStates","datePickerStates","format","Date","linkStates","passwordState","defaultSelected","selectStates","switchStates","_useState4","textAreaState","textFieldStates"],"mappings":"41CAIO,IAAMA,EAA2C,CACtDC,GAAI,CACFC,MAAO,GACPC,WAAY,EACZC,cAAe,EACfC,YAAa,GACbC,aAAc,GACdC,WAAY,IACZC,SAAU,KACVC,WAAY,GACZC,cAAe,MAEjBC,GAAI,CACFT,MAAO,IACPC,WAAY,GACZC,cAAe,GACfC,YAAa,G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ATF2W,EAAkC7Y,YAAS,OAUzCsD,aAV4BuV,ODA9B,OAAOvd,gBAAC4Q,oBAAiB4M,EAAmB/e,uBEFO,SAACA,GACpD,ICH4B5B,EAAM2E,EAAoB0H,EACtDzE,EACAmR,EACAO,EACAoH,EDDME,GCHgDvU,GAA1BrM,EDGc4B,GCHYyK,MAM/C,CACL2H,MANFpM,EAAwBC,kBADUlD,EAAK3E,EAAL2E,OACDA,EADmB3E,EAAXwJ,iBAQvCsL,QAPkBlN,KAQlBmC,WAPFgP,EAAkClR,YAAS,OAQzCsD,aAR4B4N,KAS5B1T,WARFiU,EAAkCzR,YAAS,OASzC/B,aAT4BwT,KAU5BrF,YATFyM,EAAoC7Y,WAASwE,GAAS,QAUpD2I,cAV8B0L,ODAhC,OAAOvd,gBAACqS,oBAAkBoL,EAAqBhf,sBECE,SAACA,GAAK,OAAKuB,gBAACmT,oBAAiB1U"}
|
|
1
|
+
{"version":3,"file":"web.cjs.production.min.js","sources":["../src/components/Link/Link/Link.state.ts","../src/components/Layout/Horizontal/Horizontal/Horizontal.view.tsx","../src/components/Layout/Horizontal/Horizontal.tsx","../src/components/Layout/Center/Center/Center.view.tsx","../src/components/Layout/Center/Center.tsx","../src/components/Svg/ArrowDown.tsx","../src/components/Svg/ArrowUp.tsx","../src/components/Svg/Check.tsx","../src/components/Svg/Close.tsx","../src/components/Svg/ExternalLink.tsx","../src/components/Svg/Indeterminate.tsx","../src/components/Link/Link/Link.style.ts","../src/components/Link/Link/Link.view.tsx","../src/components/Link/Link.tsx","../src/components/Button/Button/Button.style.ts","../src/components/Button/Button/Button.view.tsx","../src/components/Button/Button.tsx","../src/components/Button/Button/Button.state.ts","../src/components/Form/Label/Label/Label.style.ts","../src/components/Form/Label/Label/Label.view.tsx","../src/components/Form/Label/Label.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.style.ts","../src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx","../src/components/Layout/Vertical/Vertical/Vertical.view.tsx","../src/components/Layout/Vertical/Vertical.tsx","../src/components/Text/Text/Text.style.ts","../src/components/Text/Text/Text.view.tsx","../src/components/Text/Text.tsx","../src/components/Layout/Input/HelperText/HelperText.tsx","../src/components/Layout/Input/FieldContainer/FieldContainer.tsx","../src/components/Layout/configs/Input.style.ts","../src/components/Layout/Input/FieldContent/FieldContent.tsx","../src/components/Layout/Input/FieldIcons/FieldIcons.tsx","../src/components/Layout/Input/FieldLabel/FieldLabel.tsx","../src/components/Layout/Input/FieldWrapper/FieldWrapper.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.style.ts","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.view.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.view.tsx","../src/components/Form/TextField/TextField/TextField.view.tsx","../src/components/Form/TextField/TextField.tsx","../src/components/Form/TextField/TextField/TextField.state.ts","../src/components/Form/Password/Password/Password.view.tsx","../src/components/Form/Select/Select/Select.style.ts","../src/components/Form/Select/Select/Select.view.tsx","../src/components/Form/Select/Select/Select.state.ts","../src/components/Form/Switch/Switch/Switch.style.ts","../src/components/Form/Switch/Switch/Switch.view.tsx","../src/components/Form/TextArea/TextArea/TextArea.view.tsx","../src/components/Loader/Loader/Loader.style.ts","../src/components/Loader/Loader/Loader.view.tsx","../src/components/Modal/Modal/Modal.style.ts","../src/components/Modal/Modal.tsx","../src/components/Modal/Modal/Modal.view.tsx","../src/components/Form/Checkbox/Checkbox.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.state.ts","../src/components/Form/CountryPicker/CountryPicker.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.state.ts","../src/components/Form/DatePicker/DatePicker.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.state.ts","../src/components/Loader/Loader.tsx","../src/components/Form/Password/Password.tsx","../src/components/Form/Password/Password/Password.state.ts","../src/components/Form/Select/Select.tsx","../src/components/Form/Switch/Switch.tsx","../src/components/Form/Switch/Switch/Switch.state.ts","../src/components/Form/TextArea/TextArea.tsx","../src/components/Form/TextArea/TextArea/TextArea.state.ts"],"sourcesContent":["import { useState } from 'react';\n\nexport const useLinkState = () => {\n const [isHovered, setIsHovered] = useState(false);\n return { isHovered, setIsHovered };\n};\n","import React from 'react';\nimport { View } from '../../../Layout/View/View';\n\nimport { HorizontalProps } from './Horizontal.props';\n\nconst HorizontalView: React.FC<HorizontalProps> = ({\n children,\n wrap = 'wrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'row-reverse' : 'row'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\n\nexport default HorizontalView;\n","import React from 'react';\n\nimport { HorizontalProps } from './Horizontal/Horizontal.props';\nimport HorizontalView from './Horizontal/Horizontal.view';\n\n/**\n * Horizontal layout aligns all the elements in a container on the horizontal axis.\n */\nconst HorizontalComponent: React.FC<HorizontalProps> = (props) => <HorizontalView {...props} />;\n\nexport const Horizontal = HorizontalComponent;\n","import React from 'react';\n\nimport { View } from '../../View/View';\n\nimport { CenterProps } from './Center.props';\n\nconst CenterView: React.FC<CenterProps> = ({ children, wrap, ...props }) => (\n <View display=\"flex\" justifyContent=\"center\" alignItems=\"center\" flexWrap={wrap} {...props}>\n {children}\n </View>\n);\n\nexport default CenterView;\n","import React from 'react';\n\nimport { CenterProps } from './Center/Center.props';\nimport CenterView from './Center/Center.view';\n\n/**\n * The Center component is a React functional component that provides a centered layout for its children using flexbox.\n */\nconst CenterComponent: React.FC<CenterProps> = (props) => <CenterView {...props} />;\n\nexport const Center = CenterComponent;\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ArrowDownSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg viewBox=\"0 -4.5 20 20\" version=\"1.1\" fill=\"#000000\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <title>arrow_down [#338]</title> <desc>Created with Sketch.</desc>\n <defs> </defs>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"Dribbble-Light-Preview\" transform=\"translate(-220.000000, -6684.000000)\" fill=\"#000000\">\n <g id=\"icons\" transform=\"translate(56.000000, 160.000000)\">\n <path\n d=\"M164.292308,6524.36583 L164.292308,6524.36583 C163.902564,6524.77071 163.902564,6525.42619 164.292308,6525.83004 L172.555873,6534.39267 C173.33636,6535.20244 174.602528,6535.20244 175.383014,6534.39267 L183.70754,6525.76791 C184.093286,6525.36716 184.098283,6524.71997 183.717533,6524.31405 C183.328789,6523.89985 182.68821,6523.89467 182.29347,6524.30266 L174.676479,6532.19636 C174.285736,6532.60124 173.653152,6532.60124 173.262409,6532.19636 L165.705379,6524.36583 C165.315635,6523.96094 164.683051,6523.96094 164.292308,6524.36583\"\n id=\"arrow_down-[#338]\"\n ></path>\n </g>\n </g>\n </g>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ArrowUpSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg width={`${size}px`} height={`${size}px`} viewBox=\"0 -4.5 20 20\" version=\"1.1\" fill=\"#000000\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <title>arrow_up [#337]</title> <desc>Created with Sketch.</desc>\n <defs> </defs>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"Dribbble-Light-Preview\" transform=\"translate(-260.000000, -6684.000000)\" fill=\"#000000\">\n <g id=\"icons\" transform=\"translate(56.000000, 160.000000)\">\n <path\n d=\"M223.707692,6534.63378 L223.707692,6534.63378 C224.097436,6534.22888 224.097436,6533.57338 223.707692,6533.16951 L215.444127,6524.60657 C214.66364,6523.79781 213.397472,6523.79781 212.616986,6524.60657 L204.29246,6533.23165 C203.906714,6533.6324 203.901717,6534.27962 204.282467,6534.68555 C204.671211,6535.10081 205.31179,6535.10495 205.70653,6534.69695 L213.323521,6526.80297 C213.714264,6526.39807 214.346848,6526.39807 214.737591,6526.80297 L222.294621,6534.63378 C222.684365,6535.03868 223.317949,6535.03868 223.707692,6534.63378\"\n id=\"arrow_up-[#337]\"\n ></path>\n </g>\n </g>\n </g>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const CheckSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\" />\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\" stroke=\"#CCCCCC\" strokeWidth=\"0.048\" />\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M17.0001 9L10 16L7 13\" stroke={color} strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const CloseSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 1024 1024\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"#000000\"\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path\n fill={color}\n d=\"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\"\n ></path>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ExternalLinkSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n fill={color}\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 50 50\"\n xmlns=\"http://www.w3.org/2000/svg\"\n stroke={color}\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M38.288 10.297l1.414 1.415-14.99 14.99-1.414-1.414z\"></path>\n <path d=\"M40 20h-2v-8h-8v-2h10z\"></path>\n <path d=\"M35 38H15c-1.7 0-3-1.3-3-3V15c0-1.7 1.3-3 3-3h11v2H15c-.6 0-1 .4-1 1v20c0 .6.4 1 1 1h20c.6 0 1-.4 1-1V24h2v11c0 1.7-1.3 3-3 3z\"></path>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const IndeterminateSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M7 12L17 12\" stroke={color} strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></path>{' '}\n </g>\n </svg>\n </Center>\n);\n","import { Size } from './Link.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n '2xl': 24,\n '3xl': 30,\n '4xl': 36,\n '5xl': 48,\n '6xl': 64,\n};\n","import React from 'react';\nimport { Element } from 'app-studio';\nimport { Link as ReactRouterLink } from 'react-router-dom';\nimport { Horizontal } from '../../Layout/Horizontal/Horizontal';\nimport { ExternalLinkSvg } from '../../Svg';\n\nimport { LinkViewProps } from './Link.props';\nimport { IconSizes } from './Link.style';\n\nconst LinkView: React.FC<LinkViewProps> = ({\n children,\n href = '/',\n iconSize = 'sm',\n underline = 'default',\n isHovered = false,\n isExternal = false,\n colorScheme = '#0072F5',\n styles = { icon: {}, text: {} },\n setIsHovered = () => {},\n ...props\n}) => {\n const handleHover = () => {\n if (underline === 'hover') setIsHovered(true);\n };\n return (\n <ReactRouterLink to={href} target={isExternal ? '_blank' : '_self'}>\n <Element\n color={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n textDecoration={isHovered || underline === 'underline' ? 'underline !important' : 'none'}\n {...styles.text}\n {...props}\n >\n <Horizontal gap={3} alignItems=\"center\" wrap=\"nowrap\">\n {children}\n {isExternal && <ExternalLinkSvg color={colorScheme} size={IconSizes[iconSize]} style={styles.icon} />}\n </Horizontal>\n </Element>\n </ReactRouterLink>\n );\n};\n\nexport default LinkView;\n","import React from 'react';\n\nimport { LinkProps } from './Link/Link.props';\nimport { useLinkState } from './Link/Link.state';\nimport LinkView from './Link/Link.view';\n\nconst LinkComponent: React.FC<LinkProps> = (props) => {\n const linkStates = useLinkState();\n return <LinkView {...linkStates} {...props} />;\n};\n\n/**\n * Link allows users to navigate from page to page. It have a similar appearance as the hyperlink.\n */\nexport const Link = LinkComponent;\n","import { CSSProperties } from 'react';\n\nimport { Shape, Size } from './Button.type';\n\nexport const ButtonSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 79,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 12,\n paddingRight: 12,\n fontWeight: 600,\n fontSize: 'xs',\n lineHeight: 16,\n letterSpacing: 1.25,\n },\n sm: {\n width: 128,\n paddingTop: 10,\n paddingBottom: 10,\n paddingLeft: 16,\n paddingRight: 16,\n fontWeight: 600,\n fontSize: 'sm',\n lineHeight: 20,\n letterSpacing: 1.25,\n },\n md: {\n width: 144,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 18,\n paddingRight: 18,\n fontWeight: 600,\n fontSize: 'md',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n lg: {\n width: 178,\n paddingTop: 14,\n paddingBottom: 14,\n paddingLeft: 22,\n paddingRight: 22,\n fontWeight: 600,\n fontSize: 'lg',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n xl: {\n width: 220,\n paddingTop: 16,\n paddingBottom: 16,\n paddingLeft: 26,\n paddingRight: 26,\n fontWeight: 600,\n fontSize: 'xl',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n};\n\nexport const ButtonShapes: Record<Shape, number | string> = {\n sharp: 0,\n rounded: 4,\n pillShaped: 24,\n};\n\nexport const IconSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 24,\n height: 24,\n padding: 12,\n },\n sm: {\n width: 24,\n height: 24,\n padding: 15,\n },\n md: {\n width: 36,\n height: 36,\n padding: 15,\n },\n lg: {\n width: 36,\n height: 36,\n padding: 18,\n },\n xl: {\n width: 36,\n height: 36,\n padding: 24,\n },\n};\n","import React, { CSSProperties } from 'react';\nimport { Element } from 'app-studio';\n\nimport { Link } from './../../Link/Link';\nimport { ButtonProps } from './Button.props';\nimport { ButtonShapes, ButtonSizes, IconSizes } from './Button.style';\nimport { Variant } from './Button.type';\n\nconst ButtonView: React.FC<ButtonProps> = ({\n icon,\n shadow,\n children,\n ariaLabel,\n externalHref,\n isAuto = false,\n isFilled = false,\n isIconRounded = false,\n isLoader = false,\n isDisabled = false,\n size = 'md',\n variant = 'filled',\n iconPosition = 'left',\n colorScheme = 'theme.primary',\n shape = 'rounded',\n onClick = () => {},\n ...props\n}) => {\n const isActive = !(isDisabled || isLoader);\n\n const defaultNativeProps = { disabled: !isActive };\n\n const buttonColor = isActive ? colorScheme : 'theme.disabled';\n\n const ButtonVariants: Record<Variant, CSSProperties> = {\n filled: {\n backgroundColor: buttonColor,\n color: 'color.white',\n },\n outline: {\n backgroundColor: 'transparent',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: colorScheme,\n color: buttonColor,\n },\n link: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n textDecorationLine: 'underline',\n },\n ghost: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n },\n };\n\n const buttonSizeStyles = ButtonSizes[size];\n\n const buttonVariant = ButtonVariants[variant];\n\n const scaleWidth = {\n width: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width,\n };\n\n const changePadding = {\n padding: isIconRounded ? IconSizes[size].padding : ButtonSizes[size].padding,\n };\n\n const content = (\n <>\n {icon && iconPosition === 'left' && !isLoader && icon}\n {children}\n {icon && iconPosition === 'right' && !isLoader && icon}\n </>\n );\n\n return (\n <Element\n gap={8}\n as=\"button\"\n role=\"button\"\n border=\"none\"\n color=\"color.white\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n ariaLabel={ariaLabel}\n backgroundColor={buttonColor}\n borderRadius={ButtonShapes[shape]}\n onClick={props.onClick ?? onClick}\n cursor={isActive ? 'pointer' : 'default'}\n {...defaultNativeProps} // set default native html button properties\n {...buttonSizeStyles} // set default width, paddings and fonts\n {...buttonVariant} // changes default background color, color and border\n {...scaleWidth} //changes the actual fixed width when isAuto or isFilled are true\n {...changePadding} // changes the actual padding when variant equals to circled\n {...shadow}\n {...props}\n >\n {variant === 'link' && externalHref ? (\n <Link href={externalHref} textDecorationColor={colorScheme} colorScheme={colorScheme} isExternal>\n {content}\n </Link>\n ) : (\n content\n )}\n </Element>\n );\n};\n\nexport default ButtonView;\n","import React from 'react';\n\nimport { ButtonProps } from './Button/Button.props';\nimport { useButtonState } from './Button/Button.state';\nimport ButtonView from './Button/Button.view';\n\nconst ButtonComponent: React.FC<ButtonProps> = (props: any) => {\n const { isHovered, setIsHovered } = useButtonState();\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <ButtonView\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n filter={isHovered ? 'brightness(0.85)' : 'brightness(1)'}\n {...props}\n />\n );\n};\n\n/**\n * Buttons allow us to trigger an event or an action with a single click.\n */\nexport const Button = ButtonComponent;\n","import React from 'react';\n\nexport const useButtonState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import { Headings } from './Label.type';\n\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n h1: {\n fontSize: 96,\n lineHeight: 112,\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n lineHeight: 71,\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n lineHeight: 57,\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n lineHeight: 40,\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n lineHeight: 28,\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n lineHeight: 24,\n letterSpacing: 0.15,\n },\n};\n","import React from 'react';\nimport { Element, Typography } from 'app-studio';\n\nimport { LabelProps } from './Label.props';\nimport { HeadingSizes } from './Label.style';\n\nconst LabelView: React.FC<LabelProps> = ({\n children,\n heading,\n isItalic = false,\n isUnderlined = false,\n isStriked = false,\n weight = 'normal',\n size = 'sm',\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n\n return (\n <Element\n as=\"label\"\n width=\"100%\"\n fontSize={size}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}\n {...headingStyles}\n {...props}\n >\n {children}\n </Element>\n );\n};\n\nexport default LabelView;\n","import React from 'react';\n\nimport { LabelProps } from './Label/Label.props';\nimport LabelView from './Label/Label.view';\n\nconst LabelComponent: React.FC<LabelProps> = (props) => <LabelView {...props} />;\n\nexport const Label = LabelComponent;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Checkbox.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 8, width: 8 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n '2xl': { height: 36, width: 36 },\n '3xl': { height: 42, width: 42 },\n '4xl': { height: 48, width: 48 },\n '5xl': { height: 54, width: 54 },\n '6xl': { height: 60, width: 60 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 6,\n sm: 12,\n md: 18,\n lg: 24,\n xl: 30,\n '2xl': 36,\n '3xl': 42,\n '4xl': 48,\n '5xl': 54,\n '6xl': 60,\n};\n","import React from 'react';\nimport { Typography } from 'app-studio';\nimport { Center } from '../../../Layout/Center/Center';\nimport { Label } from '../../../Form/Label/Label';\nimport { CheckSvg, IndeterminateSvg } from '../../../Svg';\n\nimport { CheckboxViewProps } from './Checkbox.props';\nimport { IconSizes, Sizes } from './Checkbox.style';\n\nconst CheckboxView: React.FC<CheckboxViewProps> = ({\n id,\n icon,\n name,\n label,\n isChecked,\n onChange,\n onValueChange,\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n error = false,\n isSelected = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isIndeterminate = false,\n defaultIsSelected = false,\n setIsSelected = () => {},\n setIsHovered = () => {},\n styles = { checkbox: {}, label: {} },\n ...props\n}) => {\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleChange = () => {\n if (!isReadOnly && !isDisabled) {\n if (isChecked === undefined) {\n setIsSelected(!isSelected);\n } else {\n if (onChange) onChange(!isChecked);\n if (onValueChange) onValueChange(!isChecked);\n }\n }\n };\n\n const checkboxStyle = {\n container: {\n gap: 10,\n display: 'flex',\n alignItems: 'center',\n height: 'fit-content',\n width: 'fit-content',\n color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer',\n ...styles['label'],\n },\n checkbox: {\n ...(isDisabled\n ? { backgroundColor: 'theme.disabled' }\n : ((isChecked || isSelected) && !isIndeterminate) || isIndeterminate\n ? { backgroundColor: colorScheme }\n : {\n borderWidth: 2,\n borderColor: error ? 'theme.error' : isHovered ? 'color.gray.500' : 'color.gray.300',\n borderStyle: 'solid',\n }),\n borderRadius: 3,\n filter: isHovered ? 'brightness(0.9)' : undefined,\n ...Sizes[size],\n ...shadow,\n ...styles['checkbox'],\n },\n };\n\n return (\n <Label\n htmlFor={id}\n as=\"div\"\n onClick={handleChange}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n size={Typography.fontSizes[size]}\n {...checkboxStyle.container}\n {...props}\n >\n <Center {...checkboxStyle.checkbox}>\n {isIndeterminate ? (\n <IndeterminateSvg />\n ) : (\n (isChecked || isSelected) && (icon ?? <CheckSvg size={IconSizes[size]} />)\n )}\n </Center>\n {label}\n </Label>\n );\n};\n\nexport default CheckboxView;\n","import React from 'react';\nimport { View } from 'app-studio';\n\nimport { VerticalProps } from './Vertical.props';\n\nconst VerticalView: React.FC<VerticalProps> = ({\n children,\n wrap = 'nowrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'column-reverse' : 'column'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\nexport default VerticalView;\n","import React from 'react';\n\nimport { VerticalProps } from './Vertical/Vertical.props';\nimport VerticalView from './Vertical/Vertical.view';\n\n/**\n * Vertical layout aligns all the elements in a container on the vertical axis.\n */\n\nconst VerticalComponent: React.FC<VerticalProps> = (props) => <VerticalView {...props} />;\n\nexport const Vertical = VerticalComponent;\n","import { Headings } from './Text.type';\n\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n h1: {\n fontSize: 96,\n lineHeight: 112,\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n lineHeight: 71,\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n lineHeight: 57,\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n lineHeight: 40,\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n lineHeight: 28,\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n lineHeight: 24,\n letterSpacing: 0.15,\n },\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Element, Typography } from 'app-studio';\n\nimport { ContentProps, TextProps, TruncateTextProps } from './Text.props';\nimport { HeadingSizes } from './Text.style';\n\nconst TextContent: React.FC<ContentProps> = ({ children, isSub, isSup }) => (\n <>\n {typeof children === 'string' ? (\n <>\n {isSub && <sup>{children}</sup>}\n {isSup && <sup>{children}</sup>}\n {!isSub && !isSup && <>{children}</>}\n </>\n ) : (\n children\n )}\n </>\n);\n\nconst TruncateText: React.FC<TruncateTextProps> = ({ text, maxLines = 1 }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const [content, setContent] = useState(text);\n\n useEffect(() => {\n let textContent = content;\n const textNode = containerRef.current;\n\n if (textNode) {\n const contentHeight = textNode.offsetHeight;\n\n const comLineHeight = getComputedStyle(textNode).lineHeight;\n\n const lineHeight: number = comLineHeight !== 'normal' ? parseFloat(comLineHeight) : 20;\n\n const maxHeight = Math.ceil(lineHeight * maxLines);\n\n if (contentHeight > maxHeight) {\n textContent = textContent.slice(0, -1);\n } else if (contentHeight === maxHeight) {\n if (content.length !== text.length) {\n textContent = textContent.slice(0, -3) + '...';\n }\n }\n\n setContent(textContent);\n }\n }, [maxLines, text, containerRef, content]);\n\n return <div ref={containerRef}>{content}</div>;\n};\n\nconst TextView: React.FC<TextProps> = ({\n children,\n heading,\n maxLines,\n isItalic = false,\n isUnderlined = false,\n isSub = false,\n isSup = false,\n isStriked = false,\n isTruncated = false,\n weight = 'normal',\n size = 'md',\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n\n const noLineBreak = isSub || isSup ? { display: 'inline' } : {};\n\n const fontSize = Typography.fontSizes[size];\n\n return (\n <Element\n role=\"text\"\n fontSize={fontSize}\n lineHeight={Typography.lineHeights[size]}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}\n {...noLineBreak}\n {...headingStyles}\n {...props}\n >\n {isTruncated && maxLines && typeof children === 'string' ? (\n <TruncateText text={children} maxLines={maxLines} />\n ) : (\n <TextContent isSub={isSub} isSup={isSup} {...props}>\n {children}\n </TextContent>\n )}\n </Element>\n );\n};\n\nexport default TextView;\n","import React from 'react';\n\nimport { TextProps } from './Text/Text.props';\nimport TextView from './Text/Text.view';\n\nconst TextComponent: React.FC<TextProps> = (props) => {\n return <TextView {...props} />;\n};\n\n/**\n * The Text component is a simple component that renders a text string or paragraphs as a DOM element in the UI. It is a <p> tag by default.\n */\nexport const Text = TextComponent;\n","import React from 'react';\nimport { Text } from '../../../Text/Text';\n\nimport { HelperTextProps } from './HelperText.props';\n\nexport const HelperText: React.FC<HelperTextProps> = ({\n children,\n styles = { helperText: {} },\n error = false,\n ...props\n}) => (\n <Text\n size=\"xs\"\n marginVertical={0}\n marginHorizontal={0}\n color={error ? 'theme.error' : 'theme.text.dark'}\n {...(styles['helperText'] as any)}\n {...props}\n >\n {children}\n </Text>\n);\n","import React from 'react';\n\nimport { Vertical } from '../../Vertical/examples';\nimport { HelperText } from '../HelperText/HelperText';\n\nimport { ContainerProps } from './FieldContainer/FieldContainer.props';\n\nexport const FieldContainer: React.FC<ContainerProps> = ({ children, helperText, error = false, styles, ...props }) => (\n <Vertical gap={5} position=\"relative\" {...props}>\n {children}\n {helperText && (\n <HelperText error={error} {...styles}>\n {helperText}\n </HelperText>\n )}\n </Vertical>\n);\n","import { CSSProperties } from 'react';\n\nimport { Shape, Size, Variant } from './Input.type';\n\nexport const Shapes: Record<Shape, CSSProperties> = {\n default: { borderTopLeftRadius: 6, borderTopRightRadius: 6, borderBottomLeftRadius: 0, borderBottomRightRadius: 0 },\n sharp: { borderRadius: 0 },\n rounded: { borderRadius: 4 },\n pillShaped: { borderRadius: 24 },\n};\n\nexport const LabelSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n\nexport const InputVariants: Record<Variant, CSSProperties> = {\n outline: {\n borderWidth: 1,\n },\n default: {\n borderWidth: 0,\n borderBottomWidth: 2,\n },\n unStyled: {\n border: 'none',\n backgroundColor: 'transparent',\n },\n};\n\nexport const PadddingWithLabel = {\n paddingTop: 16,\n paddingBottom: 0,\n paddingLeft: 16,\n paddingRight: 35,\n};\n\nexport const PaddingWithoutLabel = {\n paddingVertical: 8,\n paddingLeft: 16,\n paddingRight: 35,\n};\n","import React from 'react';\nimport { Typography } from 'app-studio';\n\nimport { InputVariants, PadddingWithLabel, PaddingWithoutLabel, Shapes } from '../../configs/Input.style';\nimport { Horizontal } from '../../Horizontal/Horizontal';\n\nimport { ContentProps } from './FieldContent/FieldContent.props';\n\nexport const FieldContent: React.FC<ContentProps> = ({\n label,\n shadow,\n children,\n value,\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n isWithLabel = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n colorScheme = 'theme.primary',\n styles = { pickerBox: {} },\n ...props\n}) => {\n const isInteractive = (isHovered || isFocused) && !isDisabled;\n const color = error ? 'error' : isInteractive ? colorScheme : 'midgray';\n\n return (\n <Horizontal\n gap={10}\n width=\"100%\"\n display=\"flex\"\n wrap=\"nowrap\"\n borderStyle=\"solid\"\n alignItems=\"center\"\n borderColor={color}\n backgroundColor=\"trueGray.50\"\n transition=\"padding 0.2s ease\"\n justifyContent=\"space-between\"\n fontSize={Typography.fontSizes[size]}\n filter={isHovered ? 'brightness(0.97)' : 'brightness(1)'}\n cursor={isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'}\n {...(isWithLabel ? PadddingWithLabel : PaddingWithoutLabel)}\n {...shadow}\n {...Shapes[shape]}\n {...InputVariants[variant]}\n {...styles['box']}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import React from 'react';\nimport { Center } from '../../../Layout/Center/Center';\n\nimport { FieldIconsProps } from './FieldIcons/FieldIcons.props';\n\nexport const FieldIcons: React.FC<FieldIconsProps> = ({ children, ...props }) => (\n <Center\n gap={10}\n top=\"50%\"\n right={16}\n zIndex={500}\n wrap=\"nowrap\"\n position=\"absolute\"\n transform=\"translateY(-50%)\"\n {...props}\n >\n {children}\n </Center>\n);\n","import React from 'react';\nimport { Label } from '../../../Form/Label/Label';\n\nimport { LabelSizes } from '../../configs/Input.style';\n\nimport { LabelProps } from './FieldLabel/FieldLabel.props';\n\nexport const FieldLabel: React.FC<LabelProps> = ({\n children,\n size = 'md',\n error = false,\n color = 'theme.primary',\n styles = { label: {} },\n ...props\n}) => (\n <Label\n top={4}\n zIndex={1000}\n lineHeight={15}\n letterSpacing={0.25}\n whiteSpace=\"noWrap\"\n position=\"absolute\"\n color={error ? 'error' : color}\n fontSize={LabelSizes[size]}\n {...styles['label']}\n {...props}\n >\n {children}\n </Label>\n);\n","import React from 'react';\n\nimport { Vertical } from '../../Vertical/Vertical';\n\nimport { WrapperFieldProps } from './FieldWrapper.props';\n\nexport const FieldWrapper: React.FC<WrapperFieldProps> = ({ children, ...props }) => (\n <Vertical width=\"100%\" {...props}>\n {children}\n </Vertical>\n);\n","import { Size } from './CountryPicker.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n\nexport const LabelSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useEffect, useState } from 'react';\nimport { Element, Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldIcons, FieldLabel, FieldWrapper } from '../../../Layout/Input';\nimport { ArrowDownSvg } from '../../../Svg/ArrowDown';\nimport { ArrowUpSvg } from '../../../Svg/ArrowUp';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerViewProps, DropDownItemProps, DropDownProps } from './CountryPicker.props';\nimport { IconSizes } from './CountryPicker.style';\nimport { Country } from './CountryPicker.type';\n\nconst CountryList: React.FC<DropDownProps> = (props) => <Element as=\"ul\" {...props} />;\n\nconst CountrySelector: React.FC<any> = (props) => <Input type=\"country\" {...props} />;\n\nconst CountryItem: React.FC<DropDownItemProps> = (props) => <Element as=\"li\" {...props} />;\n\nexport const DropDownItem: React.FC<DropDownItemProps> = ({\n option,\n size = 'md',\n callback = () => {},\n styles = { text: {} },\n}) => {\n const [isHovered, setIsHovered] = useState(false);\n\n const handleOptionClick = (event: any) => {\n event.stopPropagation();\n callback(option);\n };\n const handleHover = () => setIsHovered(!isHovered);\n return (\n <CountryItem\n margin={0}\n role=\"DropDownItem\"\n listStyleType=\"none\"\n paddingVertical={6}\n paddingHorizontal={12}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n onClick={handleOptionClick}\n fontSize={Typography.fontSizes[size]}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...styles['text']}\n >\n {option}\n </CountryItem>\n );\n};\n\nexport const DropDown: React.FC<DropDownProps> = ({\n size,\n styles = { dropDown: {} },\n options,\n callback = () => {},\n}) => {\n const handleCallback = (option: string) => callback(option);\n return (\n <CountryList\n role=\"dropDown\"\n margin={0}\n padding={0}\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflow=\"auto\"\n maxHeight=\"300px\"\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n boxShadow=\"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px\"\n {...styles['dropDown']}\n >\n {options.map((option: Country) => (\n <DropDownItem\n key={option.code}\n size={size}\n option={option.name}\n callback={handleCallback}\n {...styles['text']}\n />\n ))}\n </CountryList>\n );\n};\n\nconst CountryPickerView: React.FC<CountryPickerViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isHovered = false,\n isFocused = false,\n isAutoFocus = false,\n isDisabled = false,\n isReadOnly = false,\n shadow = {},\n newOptions = [],\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n onChange,\n onBlur = () => {},\n setHide = () => {},\n setNewOptions = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n setSelected = () => {},\n styles = {\n text: {},\n icon: {},\n label: {},\n dropDown: {},\n helperText: {},\n box: {},\n },\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleCallback = (option: string) => {\n setHide(!hide);\n setSelected(option);\n };\n\n const handleClick = () => {\n if (!isDisabled && !isReadOnly) {\n setHide(!hide);\n }\n };\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const selectedCountry = event.target.value;\n const filteredCountries = countryList.filter((country) =>\n country.name.toLowerCase().startsWith(selectedCountry.toLowerCase())\n );\n if (hide) setHide(false);\n setSelected(event.target.value);\n setNewOptions(filteredCountries);\n if (onChange) onChange(event);\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n useEffect(() => {\n if (onChange) onChange(selected); // Call onChange when selectedCountry changes\n }, [onChange, selected]);\n\n const isWithLabel = !!(isFocused && label);\n\n const fieldStyles = {\n margin: 0,\n paddingVerical: 8,\n paddingHorizonatl: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: { focus: { outline: 'none' } },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles} onClick={handleClick}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <CountrySelector\n id={id}\n name={name}\n placeholder={placeholder}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n onBlur={handleBlur}\n onFocus={handleFocus}\n {...fieldStyles}\n {...props}\n value={selected}\n onChange={handleChange}\n />\n </FieldWrapper>\n <FieldIcons>\n {hide ? (\n <ArrowDownSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n ) : (\n <ArrowUpSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={newOptions} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default CountryPickerView;\n","import React from 'react';\nimport { Input, Typography } from 'app-studio';\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\n\nimport { DatePickerViewProps } from './DatePicker.props';\n\nconst DatePickerContent = (props: any) => <Input type=\"date\" {...props} />;\n\nconst DatePickerView: React.FC<DatePickerViewProps> = ({\n id,\n icon,\n name,\n label,\n date,\n children,\n helperText,\n shadow = {},\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n styles = { box: {}, label: {}, helperText: {}, text: {}, field: {} },\n error = false,\n isHovered = false,\n isFocused = false,\n isDisabled = false,\n isReadOnly = false,\n setDate = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n onChange,\n onChangeText,\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleDateChange = (event: any) => {\n if (typeof event === 'string') {\n setDate(event);\n if (onChangeText) onChangeText(event);\n } else {\n setDate(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n backgroundColor: 'transparent',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={date}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <DatePickerContent\n id={id}\n name={name}\n value={date}\n onFocus={handleFocus}\n onChange={handleDateChange}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...fieldStyles}\n {...(onChangeText && { onChangeText: handleDateChange })}\n {...props}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default DatePickerView;\n","import React, { useMemo } from 'react';\nimport { Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\nimport { CloseSvg } from '../../../Svg';\n\nimport { TextFieldViewProps } from './TextField.props';\n\nconst TextFieldInput = (props: any) => <Input type=\"text\" {...props} />;\n\nconst TextFieldView: React.FC<TextFieldViewProps> = ({\n id,\n name,\n label,\n value,\n hint,\n inputValue,\n onChange,\n leftChild,\n rightChild,\n helperText,\n placeholder,\n onChangeText,\n shadow = {},\n styles = { box: {}, field: {}, label: {}, helperText: {}, text: {} },\n size = 'md',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n error = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isClearable = true,\n isAutoFocus = false,\n setHint = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n setInputValue = () => {},\n onClick = () => {},\n onFocus,\n onBlur = () => {},\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n padddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n //Web\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const handleClear = () => {\n setInputValue('');\n //Web\n if (onChange) {\n onBlur({ target: { name } });\n onChange({ target: { name, value: '' } });\n }\n //for ios and android\n if (typeof document === 'undefined' && onChangeText) onChangeText('');\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n {leftChild}\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <TextFieldInput\n id={id}\n name={name}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n placeholder={hint}\n onFocus={handleFocus}\n onBlur={handleBlur}\n autoComplete=\"off\"\n {...fieldStyles}\n {...props}\n onChange={handleChange}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n {(rightChild || (isClearable && inputValue)) && (\n <FieldIcons>\n {rightChild && <>{rightChild}</>}\n {isClearable && inputValue && !isReadOnly && !isDisabled && (\n <CloseSvg size={Typography.fontSizes[size]} color={IconColor} onClick={handleClear} />\n )}\n </FieldIcons>\n )}\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextFieldView;\n","import React from 'react';\n\nimport { TextFieldProps } from './TextField/TextField.props';\nimport { useTextFieldState } from './TextField/TextField.state';\nimport TextFieldView from './TextField/TextField.view';\n\nconst TextFieldComponent: React.FC<TextFieldProps> = (props: TextFieldProps) => {\n const textFieldStates = useTextFieldState(props);\n return <TextFieldView {...textFieldStates} {...props} />;\n};\n/**\n * TextField is used to capture text data from users.\n */\nexport const TextField = TextFieldComponent;\n","import { useState } from 'react';\n\nimport { TextFieldProps } from './TextField.props';\n\nexport const useTextFieldState = ({ label, placeholder, value }: TextFieldProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isFocused, setIsFocused] = useState(false);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || '');\n\n return {\n hint,\n setHint,\n isFocused,\n setIsFocused,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n };\n};\n","import React from 'react';\nimport { TextField } from '../../../Form/TextField/TextField';\nimport { View } from '../../../Layout/View/View';\n\nimport { PasswordViewProps } from './Password.props';\n\nconst PasswordView: React.FC<PasswordViewProps> = ({\n name,\n visibleIcon,\n hiddenIcon,\n isDisabled = false,\n isVisible = false,\n setIsVisible = () => {},\n ...props\n}) => (\n <TextField\n name={name}\n type={isVisible ? 'text' : 'password'}\n rightChild={\n <View\n onClick={() => {\n if (!isDisabled) setIsVisible(!isVisible);\n }}\n >\n {isVisible ? visibleIcon : hiddenIcon}\n </View>\n }\n isClearable={false}\n {...props}\n />\n);\n\nexport default PasswordView;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Select.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useCallback } from 'react';\nimport { Element } from 'app-studio';\nimport { Typography } from 'app-studio';\n\nimport { Horizontal } from '../../../Layout/Horizontal/Horizontal';\nimport { Text } from '../../../Text/Text';\n\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\nimport { ArrowDownSvg, ArrowUpSvg, CloseSvg } from '../../../Svg';\n\nimport {\n DropDownProps,\n HiddenSelectProps,\n ItemProps,\n MultiSelectProps,\n SelectBoxProps,\n SelectViewProps,\n} from './Select.props';\nimport { useItemState } from './Select.state';\nimport { IconSizes } from './Select.style';\n\nconst Item: React.FC<ItemProps> = ({ isHovered, setIsHovered, option, size = 'md', callback = () => {}, ...props }) => {\n const handleOptionClick = (option: string) => callback(option);\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Element\n as=\"li\"\n margin={0}\n paddingVertical={8}\n paddingHorizontal={12}\n listStyleType=\"none\"\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n fontSize={Typography.fontSizes[size]}\n onClick={() => handleOptionClick(option)}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...props}\n >\n {option}\n </Element>\n );\n};\n\nconst SelectBox: React.FC<SelectBoxProps> = ({\n size = 'md',\n styles = { field: {}, text: {} },\n selected,\n isDisabled,\n placeholder,\n removeOption = () => {},\n}) => {\n const fieldStyles = {\n margin: 0,\n width: '95%',\n heigth: '100%',\n border: 'none',\n paddingVertical: 8,\n paddingHorizontal: 0,\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n ...styles['text'],\n };\n\n return (\n <Text {...fieldStyles}>\n {(selected === '' || (selected && selected.length === 0)) && !!placeholder ? (\n placeholder\n ) : (\n <>\n {typeof selected === 'string'\n ? selected\n : selected &&\n selected.length > 0 && (\n <Horizontal gap={6}>\n {selected.map((option) => (\n <MultiSelect key={option} option={option} removeOption={removeOption} />\n ))}\n </Horizontal>\n )}\n </>\n )}\n </Text>\n );\n};\n\nconst HiddenSelect: React.FC<HiddenSelectProps> = ({\n id,\n name,\n selected,\n onChange,\n isMulti = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n ...props\n}) => {\n const handleChange = (event: any) => {\n if (onChange) onChange(event);\n };\n return (\n <Element\n id={id}\n name={name}\n as=\"select\"\n opacity={0}\n width={0}\n height={0}\n position=\"absolute\"\n value={selected}\n disabled={isDisabled}\n readOnly={isReadOnly}\n onChange={handleChange}\n multiple={isMulti}\n {...props}\n >\n {options.map((option) => {\n return (\n <option key={option} value={option}>\n {option}\n </option>\n );\n })}\n </Element>\n );\n};\n\nconst DropDown: React.FC<DropDownProps> = ({ size, styles = { dropDown: {} }, options, callback = () => {} }) => {\n const itemStates = useItemState();\n const handleCallback = (option: string) => callback(option);\n const shadow =\n typeof document !== undefined\n ? {\n boxShadow:\n 'rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px',\n }\n : {\n elevation: 2,\n shadowColor: 'rgba(0, 0, 0, 0.07)',\n shadowOffset: {\n width: 0,\n height: 1,\n },\n shadowOpacity: 1,\n shadowRadius: 1,\n };\n return (\n <Element\n as=\"ul\"\n role=\"dropdown\"\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflowY=\"auto\"\n marginTop={5}\n marginLeft={0}\n marginRight={0}\n marginBottom={0}\n padding={0}\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n justifyContent=\"space-evenly\"\n {...shadow}\n {...styles['dropDown']}\n >\n {options.map((option) => (\n <Item key={option} size={size} option={option} callback={handleCallback} {...itemStates} {...styles['text']} />\n ))}\n </Element>\n );\n};\n\nexport const MultiSelect: React.FC<MultiSelectProps> = ({ option, size = 'md', removeOption = () => {}, ...props }) => {\n const handleClick = () => removeOption(option);\n\n return (\n <Horizontal\n gap={10}\n padding={6}\n borderRadius={4}\n alignItems=\"center\"\n fontSize={Typography.fontSizes[size]}\n backgroundColor=\"trueGray.300\"\n onClick={(event: any) => event.stopPropagation()}\n {...props}\n >\n <Text size={size}>{option}</Text>\n <CloseSvg role=\"close-button\" color=\"inherit\" size={IconSizes[size]} onClick={handleClick} />\n </Horizontal>\n );\n};\n\nconst SelectView: React.FC<SelectViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isMulti = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n shape = 'default',\n variant = 'default',\n styles = {\n text: {},\n icon: {},\n dropDown: {},\n selectBox: {},\n label: {},\n helperText: {},\n },\n onChange = () => {},\n setHide = () => {},\n setSelected = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.stopPropagation();\n setHide(!hide);\n setIsFocused(!isFocused);\n };\n\n const handleCallback = useCallback(\n (option: string) => {\n setHide(!hide);\n if (isMulti && Array.isArray(selected)) {\n !selected.includes(option) && setSelected([...selected, option]);\n } else {\n setSelected(option);\n }\n },\n\n [hide, isMulti, selected]\n );\n\n const handleRemoveOption = (selectedOption: string) => {\n if (Array.isArray(selected) && selected.includes(selectedOption)) {\n const newSelected = selected.filter((option) => option !== selectedOption);\n setSelected(newSelected.length === 0 ? [] : newSelected);\n }\n };\n\n return (\n <FieldContainer\n role=\"SelectBox\"\n helperText={helperText}\n error={error}\n styles={styles}\n onClick={isDisabled || isReadOnly ? () => {} : handleClick}\n >\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <HiddenSelect\n id={id}\n name={name}\n options={options}\n onChange={onChange}\n selected={selected}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isMulti={isMulti}\n onFocus={handleFocus}\n {...props}\n />\n <SelectBox\n size={size}\n styles={styles}\n selected={selected}\n isDisabled={isDisabled}\n placeholder={placeholder}\n removeOption={handleRemoveOption}\n />\n </FieldWrapper>\n <FieldIcons>\n {!isReadOnly && !isDisabled && (\n <>\n {hide ? (\n <ArrowDownSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n ) : (\n <ArrowUpSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n )}\n </>\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={options} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default SelectView;\n","import React from 'react';\n\nimport { SelectProps } from './Select.props';\n\nexport const useSelectState = ({ placeholder, isMulti, options }: SelectProps) => {\n const defaultSelected = placeholder ? (isMulti ? [] : '') : options[0];\n\n const [hide, setHide] = React.useState(true);\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [selected, setSelected] = React.useState<string | Array<string>>(defaultSelected);\n return { selected, setSelected, hide, setHide, isHovered, setIsHovered, isFocused, setIsFocused };\n};\n\nexport const useItemState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Switch.type';\n\nexport const KnobSizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 9, width: 9 },\n md: { height: 12, width: 12 },\n lg: { height: 15, width: 15 },\n xl: { height: 18, width: 18 },\n '2xl': { height: 21, width: 21 },\n '3xl': { height: 24, width: 24 },\n '4xl': { height: 27, width: 27 },\n '5xl': { height: 30, width: 30 },\n '6xl': { height: 33, width: 33 },\n};\n\nexport const SliderSizes: Record<Size, CSSProperties> = {\n xs: {\n height: 16,\n width: 28,\n },\n sm: {\n height: 20,\n width: 36,\n },\n md: {\n height: 24,\n width: 44,\n },\n lg: {\n height: 28,\n width: 52,\n },\n xl: {\n height: 32,\n width: 60,\n },\n '2xl': {\n height: 36,\n width: 68,\n },\n '3xl': {\n height: 40,\n width: 76,\n },\n '4xl': {\n height: 44,\n width: 84,\n },\n '5xl': {\n height: 48,\n width: 92,\n },\n '6xl': {\n height: 52,\n width: 100,\n },\n};\n\nexport const SliderPadding: Record<Size, Record<string, number>> = {\n xs: { paddingVertical: 0, paddingHorizontal: 2 },\n sm: { paddingVertical: 0, paddingHorizontal: 3 },\n md: { paddingVertical: 0, paddingHorizontal: 5 },\n lg: { paddingVertical: 0, paddingHorizontal: 6 },\n xl: { paddingVertical: 0, paddingHorizontal: 8 },\n '2xl': { paddingVertical: 0, paddingHorizontal: 9 },\n '3xl': { paddingVertical: 0, paddingHorizontal: 10 },\n '4xl': { paddingVertical: 0, paddingHorizontal: 13 },\n '5xl': { paddingVertical: 0, paddingHorizontal: 15 },\n '6xl': { paddingVertical: 0, paddingHorizontal: 16 },\n};\n","import React from 'react';\nimport { Input } from 'app-studio';\nimport { Label } from '../../../Form/Label/Label';\nimport { View } from '../../../Layout/View/View';\n\nimport { SwitchViewProps } from './Switch.props';\nimport { KnobSizes, SliderPadding, SliderSizes } from './Switch.style';\n\nconst SwitchContent = (props: any) => <Input type=\"checkbox\" {...props} />;\n\nconst SwitchView: React.FC<SwitchViewProps> = ({\n id,\n name,\n inActiveChild,\n activeChild,\n shadow = {},\n size = 'sm',\n colorScheme = 'theme.primary',\n on = false,\n isHovered = false,\n isChecked = false,\n isDisabled = false,\n isReadOnly = false,\n onChange,\n onValueChange,\n setOn = () => {},\n setIsHovered = () => {},\n styles = { slider: {}, circle: {} },\n ...props\n}) => {\n const handleToggle = (event: any) => {\n if (!isReadOnly) {\n setOn(!on);\n if (onChange) onChange(event);\n }\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Label htmlFor={id} onMouseEnter={handleHover} onMouseLeave={handleHover}>\n <SwitchContent\n id={id}\n name={name}\n opacity={0}\n width={0}\n height={0}\n checked={on}\n onChange={handleToggle}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...(onValueChange && { onValueChange: handleToggle })}\n {...props}\n />\n {/* Slide */}\n <View\n display=\"flex\"\n cursor=\"pointer\"\n alignItems=\"center\"\n borderRadius={24}\n filter={isHovered && on ? 'brightness(0.9)' : 'brightness(1)'}\n transition=\"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)\"\n backgroundColor={isDisabled ? 'disabled' : on ? colorScheme : 'lightgray'}\n justifyContent={activeChild ? 'space-between' : on ? 'flex-end' : 'flex-start'}\n {...shadow}\n {...SliderPadding[size]}\n {...SliderSizes[size]}\n {...styles['slider']}\n >\n {activeChild && on && <View>{activeChild}</View>}\n <View borderRadius=\"50%\" backgroundColor=\"white\" {...KnobSizes[size]} {...styles['circle']} />\n {inActiveChild && !on && <View>{inActiveChild}</View>}\n </View>\n </Label>\n );\n};\n\nexport default SwitchView;\n","import React, { useMemo } from 'react';\nimport { Element, Typography } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldLabel, FieldWrapper } from '../../../Layout/Input';\n\nimport { TextAreaViewProps } from './TextArea.props';\n\nconst TextAreaView: React.FC<TextAreaViewProps> = ({\n id,\n name,\n hint,\n error,\n value,\n label,\n shadow,\n inputValue,\n helperText,\n placeholder,\n defaultValue,\n size = 'sm',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n isHovered = false,\n isFocused = false,\n isEditable = false,\n isReadOnly = false,\n isDisabled = false,\n isAutoFocus = false,\n isMultiline = false,\n maxRows = 3,\n maxCols = 30,\n onBlur = () => {},\n onChange,\n onFocus,\n onChangeText,\n setHint = () => {},\n setInputValue = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n styles = { box: {}, text: {}, label: {}, helperText: {}, field: {} },\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <Element\n as=\"textarea\"\n id={id}\n name={name}\n rows={maxRows}\n cols={maxCols}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n editable={isEditable}\n placeholder={hint}\n onBlur={handleBlur}\n onFocus={handleFocus}\n onChange={handleChange}\n multiline={isMultiline}\n {...fieldStyles}\n {...props}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextAreaView;\n","import { Size, Speed } from './Loader.type';\n\nexport const DefaultEllipsisSpeeds: Record<Speed, number> = {\n fast: 0.4,\n normal: 0.6,\n slow: 0.8,\n};\n\nexport const DefaultSizes: Record<Size, number> = {\n xs: 14,\n sm: 18,\n md: 22,\n lg: 26,\n xl: 30,\n '2xl': 40,\n '3xl': 50,\n '4xl': 60,\n '5xl': 70,\n '6xl': 80,\n};\nexport const DefaultSpeeds: Record<Speed, number> = {\n fast: 50,\n normal: 100,\n slow: 300,\n};\n","import React, { useEffect, useState } from 'react';\nimport { useTheme } from 'app-studio';\nimport { Center } from '../../Layout/Center/Center';\nimport { View } from '../../Layout/View/View';\n\nimport { DefaultSpinnerProps, DottedProps, LoaderProps, QuarterProps } from '../Loader/Loader.props';\n\nimport { DefaultSizes, DefaultSpeeds } from './Loader.style';\n\nconst DefaultSpinner: React.FC<DefaultSpinnerProps> = ({\n size = 'md',\n speed = 'normal',\n color = 'theme.loading',\n ...props\n}) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke={colorStyle}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M21 12a9 9 0 11-6.219-8.56\"></path>\n </g>\n </svg>\n );\n};\n\nconst Dotted: React.FC<DottedProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"10\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"25\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"40\" cy=\"25\" r=\"4\" fill={colorStyle} />\n </svg>\n );\n};\n\nconst Quarter: React.FC<QuarterProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke={colorStyle} strokeWidth=\"5\" strokeDasharray=\"1,10\" />\n </svg>\n );\n};\nconst LoaderView: React.FC<LoaderProps> = ({\n size,\n children,\n textColor,\n loaderColor,\n type = 'default',\n speed = 'normal',\n textPosition = 'right',\n ...props\n}) => {\n const style = { size, speed, color: loaderColor };\n\n const variants = {\n default: <DefaultSpinner {...style} />,\n dotted: <Dotted {...style} />,\n quarter: <Quarter {...style} />,\n };\n\n return (\n <Center gap={10} flexDirection={textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'} {...props}>\n {(textPosition === 'left' || textPosition === 'top') && children && <View color={textColor}>{children}</View>}\n {variants[type]}\n {(textPosition === 'right' || textPosition === 'bottom') && children && <View color={textColor}>{children}</View>}\n </Center>\n );\n};\n\nexport default LoaderView;\n","import { CSSProperties } from 'react';\n\nimport { Position, Shape, Size } from './Modal.type';\n\nexport const ContainerShapes: Record<Shape, CSSProperties> = {\n sharp: { borderRadius: 0 },\n rounded: { borderRadius: 4 },\n};\nexport const OverlayAlignments: Record<Position, CSSProperties> = {\n center: { justifyContent: 'center', alignItems: 'center' },\n top: { justifyContent: 'center' },\n right: { justifyContent: 'flex-end', alignItems: 'center' },\n bottom: { justifyContent: 'center', alignItems: 'flex-end' },\n left: { alignItems: 'center' },\n};\n\nexport const HeaderIconSizes: Record<Size, number> = {\n xs: 12,\n sm: 16,\n md: 20,\n lg: 24,\n xl: 28,\n};\n","import React from 'react';\n\nimport { ModalType } from './Modal/Modal.props';\nimport { ModalBody, ModalContainer, ModalFooter, ModalHeader, ModalOverlay } from './Modal/Modal.view';\n\n/**\n * It is a custom content overlay that appears on top of the main screen.\n */\n// eslint-disable-next-line react/prop-types\nexport const Modal: ModalType = ({ children }) => <>{children}</>;\n\nModal.Overlay = ModalOverlay;\nModal.Container = ModalContainer;\nModal.Header = ModalHeader;\nModal.Body = ModalBody;\nModal.Footer = ModalFooter;\n\nexport default Modal;\n","import React, { useEffect } from 'react';\nimport { Center } from '../../Layout/Center/Center';\nimport { Vertical } from '../../Layout/Vertical/Vertical';\n\nimport { Horizontal } from '../../Layout/Horizontal/Horizontal';\nimport { Button } from '../../Button/Button';\nimport { View } from '../../Layout/View/View';\nimport { CloseSvg } from '../../Svg';\nimport { useModalStore } from 'src/store/useModalStore';\n\nimport { BodyProps, ContainerProps, FooterProps, HeaderProps, OverlayProps } from '../Modal/Modal.props';\nimport { ContainerShapes, OverlayAlignments } from '../Modal/Modal.style';\nimport { HeaderIconSizes } from '../Modal/Modal.style';\n\nexport const ModalOverlay: React.FC<OverlayProps> = ({\n children,\n blur,\n isOpen = false,\n isClosePrevented = false,\n onClose = () => {},\n position = 'center',\n ...props\n}) => {\n const setOpen = useModalStore((state: any) => state.setOpen);\n const setOnClose = useModalStore((state: any) => state.setOnClose);\n\n useEffect(() => {\n setOnClose(onClose);\n if (isOpen) setOpen();\n });\n\n if (!isOpen) return null;\n\n const handleClick = () => {\n if (!isClosePrevented) onClose();\n };\n\n return (\n <Center\n position=\"fixed\"\n top={0}\n left={0}\n width=\"100%\"\n height=\"100%\"\n zIndex={1000}\n onClick={handleClick}\n visibility={isOpen ? 'visible' : 'hidden'}\n >\n <View\n cursor=\"pointer\"\n position=\"absolute\"\n top={0}\n left={0}\n zIndex={1000}\n width=\"100vw\"\n height=\"100vh\"\n display=\"flex\"\n backgroundColor=\"blackAlpha.500\"\n backdropFilter={blur ? `blur(${blur}px)` : undefined}\n onClick={handleClick}\n {...OverlayAlignments[position]}\n {...props}\n >\n {children}\n </View>\n </Center>\n );\n};\n\nexport const ModalContainer: React.FC<ContainerProps> = ({\n children,\n shadow,\n isFullScreen = false,\n shape = 'rounded',\n ...props\n}) => {\n const defaultShadow =\n typeof document !== undefined\n ? {\n boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.3)',\n }\n : {\n elevation: 5,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 8,\n };\n\n const handleClick = (event: any) => event.stopPropagation();\n return (\n <Vertical\n cursor=\"default\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n width={isFullScreen ? '100%' : 600}\n height={isFullScreen ? '100%' : 'fit-content'}\n onClick={handleClick}\n {...(shadow ? shadow : defaultShadow)}\n {...ContainerShapes[shape]}\n {...props}\n >\n {children}\n </Vertical>\n );\n};\n\nexport const ModalHeader: React.FC<HeaderProps> = ({\n children,\n buttonColor = 'theme.primary',\n iconSize = 'md',\n buttonPosition = 'right',\n ...props\n}) => {\n const onClose = useModalStore((state: any) => state.onClose);\n\n const buttonIcon = (\n <Button\n onClick={onClose}\n colorScheme=\"transparent\"\n icon={<CloseSvg size={HeaderIconSizes[iconSize]} color={buttonColor} />}\n padding={0}\n margin={0}\n filter=\"none\"\n isAuto\n />\n );\n\n return (\n <Horizontal\n justifyContent={buttonPosition === 'none' ? 'center' : 'space-between'}\n alignItems=\"center\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {buttonPosition === 'left' && buttonIcon}\n {children}\n {buttonPosition === 'right' && buttonIcon}\n </Horizontal>\n );\n};\n\nexport const ModalBody: React.FC<BodyProps> = ({ children, ...props }) => {\n const defaultBorder = {\n borderBottomWidth: 2,\n borderTopWidth: 2,\n borderColor: 'rgba(250, 250, 250, 1)',\n borderStyle: 'solid',\n };\n return (\n <View overflowY=\"auto\" paddingVertical={15} paddingHorizontal={20} {...defaultBorder} {...props}>\n {children}\n </View>\n );\n};\n\nexport const ModalFooter: React.FC<FooterProps> = ({ children, ...props }) => {\n return (\n <Horizontal\n marginTop=\"auto\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox/Checkbox.props';\nimport { useCheckboxState } from './Checkbox/Checkbox.state';\nimport CheckboxView from './Checkbox/Checkbox.view';\n\nconst CheckboxComponent: React.FC<CheckboxProps> = (props) => {\n const checkboxStates = useCheckboxState(props);\n return <CheckboxView {...checkboxStates} {...props} />;\n};\n\n/**\n * Checkbox allows users to select one or more options from a list of choices.\n */\nexport const Checkbox = CheckboxComponent;\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox.props';\n\nexport const useCheckboxState = ({ defaultIsSelected = false }: CheckboxProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isSelected, setIsSelected] = React.useState<boolean>(defaultIsSelected);\n\n return {\n isHovered,\n setIsHovered,\n isSelected,\n setIsSelected,\n };\n};\n","import React from 'react';\n\nimport { CountryPickerProps } from './CountryPicker/CountryPicker.props';\nimport { useCountryPickerState } from './CountryPicker/CountryPicker.state';\nimport CountryPickerView from './CountryPicker/CountryPicker.view';\n\nconst CountryPickerComponent: React.FC<CountryPickerProps> = (props) => {\n const countryPickerStates = useCountryPickerState(props);\n\n return <CountryPickerView {...countryPickerStates} {...props} />;\n};\n\n/**\n * Country picker allows users to select a country from a dropdown list or search field.\n */\nexport const CountryPicker = CountryPickerComponent;\n","import React from 'react';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerProps } from './CountryPicker.props';\nimport { Country } from './CountryPicker.type';\n\nexport const useCountryPickerState = ({ placeholder }: CountryPickerProps) => {\n const [newOptions, setNewOptions] = React.useState<Array<Country>>(countryList);\n const [selected, setSelected] = React.useState<string>(placeholder ?? countryList[0].name);\n\n const [hide, setHide] = React.useState(true);\n const [isFocused, setIsFocused] = React.useState(false);\n const [isHovered, setIsHovered] = React.useState(false);\n\n return {\n hide,\n setHide,\n newOptions,\n setNewOptions,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n selected,\n setSelected,\n };\n};\n","import React from 'react';\n\nimport { DatePickerProps } from './DatePicker/DatePicker.props';\nimport { useDatePickerState } from './DatePicker/DatePicker.state';\nimport DatePickerView from './DatePicker/DatePicker.view';\n\nconst DatePickerComponent: React.FC<DatePickerProps> = (props) => {\n const datePickerStates = useDatePickerState();\n return <DatePickerView {...datePickerStates} {...props} />;\n};\n\n/**\n * Date picker allows users to select a date from a calendar view.\n */\nexport const DatePicker = DatePickerComponent;\n","import React from 'react';\nimport format from 'date-fns/format';\n\nexport const useDatePickerState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [date, setDate] = React.useState(format(new Date(), 'yyyy-MM-dd'));\n\n return {\n date,\n setDate,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n };\n};\n","import React from 'react';\n\nimport { LoaderProps } from './Loader/Loader.props';\nimport LoaderView from './Loader/Loader.view';\n\nconst LoaderComponent: React.FC<LoaderProps> = (props) => <LoaderView {...props} />;\n\n/**\n * It gives the user an insight about an action being processed. It may have an undefined waiting time or display the process length.\n */\nexport const Loader = LoaderComponent;\n","import React from 'react';\n\nimport { PasswordProps } from './Password/Password.props';\nimport { usePasswordState } from './Password/Password.state';\nimport PasswordView from './Password/Password.view';\n\nconst PasswordComponent: React.FC<PasswordProps> = (props) => {\n const passwordState = usePasswordState();\n return <PasswordView {...passwordState} {...props} />;\n};\n\n/**\n * To allow users to securely enter sensitive information\n */\nexport const Password = PasswordComponent;\n","import { useState } from 'react';\n\nexport const usePasswordState = () => {\n const [isVisible, setIsVisible] = useState(false);\n return { isVisible, setIsVisible };\n};\n","import React from 'react';\n\nimport { SelectProps } from './Select/Select.props';\nimport { useSelectState } from './Select/Select.state';\nimport SelectView from './Select/Select.view';\n\nconst SelectComponent: React.FC<SelectProps> = (props) => {\n const selectStates = useSelectState(props);\n return <SelectView {...selectStates} {...props} />;\n};\n\n/**\n * Select provides a dropdown list of options for the user to choose from.\n */\n\nexport const Select = SelectComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch/Switch.props';\nimport { useSwitchState } from './Switch/Switch.state';\nimport SwitchView from './Switch/Switch.view';\n\nconst SwitchComponent: React.FC<SwitchProps> = (props) => {\n const switchStates = useSwitchState(props);\n return <SwitchView {...switchStates} {...props} />;\n};\n\nexport const Switch = SwitchComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch.props';\n\nexport const useSwitchState = ({ isDisabled, isChecked }: SwitchProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n const [on, setOn] = React.useState(isDisabled ? !isDisabled : isChecked);\n\n return { isHovered, setIsHovered, on, setOn };\n};\n","import React from 'react';\n\nimport { TextAreaProps } from './TextArea/TextArea.props';\nimport { useTextAreaState } from './TextArea/TextArea.state';\nimport TextAreaView from './TextArea/TextArea.view';\n\nconst TextAreaComponent: React.FC<TextAreaProps> = (props) => {\n const textAreaState = useTextAreaState(props);\n return <TextAreaView {...textAreaState} {...props} />;\n};\n\n/**\n * Text Area is an component used to create a multi-line input field.\n */\nexport const TextArea = TextAreaComponent;\n","import { useState } from 'react';\n\nimport { TextAreaProps } from './TextArea.props';\n\nexport const useTextAreaState = ({ label, placeholder, defaultValue, value }: TextAreaProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || defaultValue || '');\n const [isFocused, setIsFocused] = useState(false);\n\n return {\n hint,\n setHint,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n isFocused,\n setIsFocused,\n };\n};\n"],"names":["HorizontalView","_ref","children","_ref$wrap","wrap","_ref$justify","justify","_ref$isReversed","isReversed","props","_objectWithoutPropertiesLoose","_excluded","React","View","display","flexWrap","flexDirection","justifyContent","Horizontal","CenterView","alignItems","Center","ArrowDownSvg","_ref$size","size","width","height","viewBox","version","fill","id","strokeWidth","strokeLinecap","strokeLinejoin","stroke","fillRule","transform","d","ArrowUpSvg","CheckSvg","_ref$color","color","xmlns","CloseSvg","ExternalLinkSvg","IndeterminateSvg","IconSizes","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","LinkView","_ref$href","href","_ref$iconSize","iconSize","_ref$underline","underline","_ref$isHovered","isHovered","_ref$isExternal","isExternal","_ref$colorScheme","colorScheme","_ref$styles","styles","icon","text","_ref$setIsHovered","setIsHovered","handleHover","ReactRouterLink","to","target","Element","onMouseEnter","onMouseLeave","textDecoration","gap","style","Link","_useState","linkStates","useState","ButtonSizes","paddingTop","paddingBottom","paddingLeft","paddingRight","fontWeight","fontSize","lineHeight","letterSpacing","ButtonShapes","sharp","rounded","pillShaped","padding","ButtonView","shadow","ariaLabel","externalHref","_ref$isAuto","isAuto","_ref$isFilled","isFilled","_ref$isIconRounded","isIconRounded","_ref$isLoader","isLoader","_ref$isDisabled","isDisabled","_ref$variant","variant","_ref$iconPosition","iconPosition","_ref$shape","shape","_ref$onClick","onClick","isActive","defaultNativeProps","disabled","buttonColor","buttonSizeStyles","buttonVariant","filled","backgroundColor","outline","borderWidth","borderStyle","borderColor","link","border","textDecorationLine","ghost","scaleWidth","changePadding","content","as","role","borderRadius","_props$onClick","cursor","textDecorationColor","Button","_React$useState","_useButtonState","filter","HeadingSizes","h1","h2","h3","h4","h5","h6","LabelView","heading","_ref$isItalic","isItalic","_ref$isUnderlined","isUnderlined","_ref$isStriked","isStriked","_ref$weight","weight","fontStyle","Typography","fontWeights","Label","Sizes","CheckboxView","name","label","isChecked","onChange","onValueChange","_ref$shadow","_ref$error","error","_ref$isSelected","isSelected","_ref$isReadOnly","isReadOnly","_ref$isIndeterminate","isIndeterminate","_ref$defaultIsSelecte","setIsSelected","_ref$setIsSelected","checkbox","checkboxStyle","container","Object","assign","undefined","htmlFor","fontSizes","VerticalView","Vertical","TextContent","isSub","isSup","TruncateText","_ref2","_ref2$maxLines","maxLines","containerRef","useRef","setContent","useEffect","textContent","textNode","current","contentHeight","offsetHeight","comLineHeight","getComputedStyle","parseFloat","maxHeight","Math","ceil","slice","length","ref","TextView","_ref3","_ref3$isItalic","_ref3$isUnderlined","_ref3$isSub","_ref3$isSup","_ref3$isStriked","_ref3$isTruncated","isTruncated","_ref3$weight","_ref3$size","lineHeights","Text","HelperText","helperText","marginVertical","marginHorizontal","FieldContainer","position","Shapes","default","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","LabelSizes","InputVariants","borderBottomWidth","unStyled","PadddingWithLabel","PaddingWithoutLabel","paddingVertical","FieldContent","value","_ref$isWithLabel","isWithLabel","_ref$isFocused","isFocused","pickerBox","transition","FieldIcons","top","right","zIndex","FieldLabel","whiteSpace","FieldWrapper","CountryList","CountrySelector","Input","type","CountryItem","DropDownItem","option","_ref$callback","callback","margin","listStyleType","paddingHorizontal","event","stopPropagation","DropDown","_ref2$styles","dropDown","options","_ref2$callback","handleCallback","overflow","boxShadow","map","key","code","CountryPickerView","selected","placeholder","_ref3$hide","hide","_ref3$error","_ref3$isHovered","_ref3$isFocused","_ref3$isAutoFocus","isAutoFocus","_ref3$isDisabled","_ref3$isReadOnly","_ref3$shadow","_ref3$newOptions","newOptions","_ref3$variant","_ref3$shape","_ref3$colorScheme","_ref3$onBlur","onBlur","_ref3$setHide","setHide","_ref3$setNewOptions","setNewOptions","_ref3$setIsHovered","_ref3$setIsFocused","setIsFocused","_ref3$setSelected","setSelected","_ref3$styles","box","IconColor","getColor","useTheme","fieldStyles","paddingVerical","paddingHorizonatl","heigth","on","focus","readOnly","autoFocus","onFocus","selectedCountry","filteredCountries","countryList","country","toLowerCase","startsWith","DatePickerContent","DatePickerView","date","field","_ref$setDate","setDate","_ref$setIsFocused","onChangeText","handleDateChange","TextFieldInput","TextFieldView","hint","inputValue","leftChild","rightChild","_ref$isClearable","isClearable","_ref$isAutoFocus","_ref$setHint","setHint","_ref$setInputValue","setInputValue","_ref$onBlur","useMemo","padddingHorizontal","handleChange","autoComplete","document","TextField","_useState2","_useState3","_useState4","textFieldStates","PasswordView","visibleIcon","hiddenIcon","_ref$isVisible","isVisible","_ref$setIsVisible","setIsVisible","Item","handleOptionClick","SelectBox","_ref2$removeOption","removeOption","_ref2$size","MultiSelect","HiddenSelect","_ref3$isMulti","isMulti","_ref3$options","_excluded2","opacity","multiple","_ref4","_React$useState5","_ref4$styles","_ref4$callback","itemStates","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","overflowY","marginTop","marginLeft","marginRight","marginBottom","_ref5","_ref5$size","_ref5$removeOption","_excluded3","SelectView","_ref6","_ref6$hide","_ref6$error","_ref6$isMulti","_ref6$isFocused","_ref6$isHovered","_ref6$isDisabled","_ref6$isReadOnly","_ref6$options","_ref6$shadow","_ref6$size","_ref6$colorScheme","_ref6$shape","_ref6$variant","_ref6$styles","selectBox","_ref6$onChange","_ref6$setHide","_ref6$setSelected","_ref6$setIsHovered","_ref6$setIsFocused","_excluded4","useCallback","Array","isArray","includes","concat","selectedOption","newSelected","KnobSizes","SliderSizes","SliderPadding","SwitchContent","SwitchView","inActiveChild","activeChild","_ref$on","_ref$isChecked","_ref$setOn","setOn","slider","circle","handleToggle","checked","TextAreaView","defaultValue","_ref$isEditable","isEditable","_ref$isMultiline","isMultiline","_ref$maxRows","maxRows","_ref$maxCols","maxCols","rows","cols","editable","multiline","DefaultSizes","DefaultSpeeds","fast","normal","slow","DefaultSpinner","_ref$speed","speed","colorStyle","sizeStyle","angle","setAngle","intervalId","setInterval","prevAngle","clearInterval","Dotted","_ref2$speed","_ref2$color","cx","cy","r","Quarter","_ref3$speed","_ref3$color","strokeDasharray","LoaderView","textColor","loaderColor","_ref4$type","_ref4$speed","_ref4$textPosition","textPosition","variants","dotted","quarter","ContainerShapes","OverlayAlignments","center","bottom","left","HeaderIconSizes","Modal","Overlay","blur","_ref$isOpen","isOpen","_ref$isClosePrevented","isClosePrevented","_ref$onClose","onClose","_ref$position","setOpen","useModalStore","state","setOnClose","handleClick","visibility","backdropFilter","Container","_ref2$isFullScreen","isFullScreen","_ref2$shape","defaultShadow","Header","_ref3$buttonColor","_ref3$iconSize","_ref3$buttonPosition","buttonPosition","buttonIcon","Body","borderTopWidth","Footer","_excluded5","defaultIsSelected","_React$useState2","checkboxStates","_React$useState3","_React$useState4","countryPickerStates","datePickerStates","format","Date","passwordState","defaultSelected","selectStates","switchStates","textAreaState"],"mappings":"gwBAEO,iDCGDA,EAA4C,SAA9BC,GAAA,IAClBC,EAAQD,EAARC,SAAQC,EAAAF,EACRG,KAAAA,WAAID,EAAG,OAAMA,EAAAE,EAAAJ,EACbK,QAAAA,WAAOD,EAAG,aAAYA,EAAAE,EAAAN,EACtBO,WAAAA,WAAUD,GAAQA,EACfE,EAAKC,EAAAT,EAAAU,GAAA,OAERC,gBAACC,sBACCC,QAAQ,OACRC,SAAUX,EACVY,cAAeR,EAAa,cAAg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