@multiplatform.one/components 2.0.23 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ErrorBoundary/index.native.js.map +1 -1
- package/dist/cjs/code/Code/Code.stories.native.js.map +1 -1
- package/dist/cjs/code/Code/index.native.js.map +1 -1
- package/dist/cjs/code/CodeBlock/CodeBlock.stories.native.js.map +1 -1
- package/dist/cjs/code/CodeBlock/index.native.js.map +1 -1
- package/dist/cjs/code/Pre/index.native.js.map +1 -1
- package/dist/cjs/code/index.native.js.map +1 -1
- package/dist/cjs/forms/Button/Button.native.js.map +1 -1
- package/dist/cjs/forms/Button/SubmitButton.js +1 -1
- package/dist/cjs/forms/Button/SubmitButton.js.map +1 -1
- package/dist/cjs/forms/Button/SubmitButton.native.js +1 -1
- package/dist/cjs/forms/Button/SubmitButton.native.js.map +3 -3
- package/dist/cjs/forms/Button/SubmitButton.stories.js +17 -8
- package/dist/cjs/forms/Button/SubmitButton.stories.js.map +1 -1
- package/dist/cjs/forms/Button/SubmitButton.stories.native.js +35 -13
- package/dist/cjs/forms/Button/SubmitButton.stories.native.js.map +3 -3
- package/dist/cjs/forms/Button/index.native.js.map +1 -1
- package/dist/cjs/forms/Checkbox/Checkbox.native.js.map +1 -1
- package/dist/cjs/forms/Checkbox/FieldCheckbox.native.js.map +1 -1
- package/dist/cjs/forms/Checkbox/FieldCheckbox.stories.native.js.map +1 -1
- package/dist/cjs/forms/Checkbox/index.native.js.map +1 -1
- package/dist/cjs/forms/FormField.native.js.map +1 -1
- package/dist/cjs/forms/Input/FieldInput.native.js.map +1 -1
- package/dist/cjs/forms/Input/FieldInput.stories.native.js.map +1 -1
- package/dist/cjs/forms/Input/Input.native.js.map +1 -1
- package/dist/cjs/forms/Input/index.native.js.map +1 -1
- package/dist/cjs/forms/Progress/FieldProgress.native.js.map +1 -1
- package/dist/cjs/forms/Progress/FieldProgress.stories.native.js.map +1 -1
- package/dist/cjs/forms/Progress/Progress.native.js.map +1 -1
- package/dist/cjs/forms/Progress/index.native.js.map +1 -1
- package/dist/cjs/forms/RadioGroup/FieldRadioGroup.native.js.map +1 -1
- package/dist/cjs/forms/RadioGroup/FieldRadioGroup.stories.native.js.map +1 -1
- package/dist/cjs/forms/RadioGroup/RadioGroup.native.js.map +1 -1
- package/dist/cjs/forms/RadioGroup/index.native.js.map +1 -1
- package/dist/cjs/forms/Select/FieldSelectSimple.native.js.map +1 -1
- package/dist/cjs/forms/Select/FieldSelectSimple.stories.js +21 -14
- package/dist/cjs/forms/Select/FieldSelectSimple.stories.js.map +1 -1
- package/dist/cjs/forms/Select/FieldSelectSimple.stories.native.js +174 -40
- package/dist/cjs/forms/Select/FieldSelectSimple.stories.native.js.map +3 -3
- package/dist/cjs/forms/Select/Select.native.js.map +1 -1
- package/dist/cjs/forms/Select/SelectSimple.native.js.map +1 -1
- package/dist/cjs/forms/Select/SelectSimple.stories.native.js.map +1 -1
- package/dist/cjs/forms/Select/index.native.js.map +1 -1
- package/dist/cjs/forms/SelectButton/OptionButton.native.js.map +1 -1
- package/dist/cjs/forms/SelectButton/SelectButton.native.js.map +1 -1
- package/dist/cjs/forms/SelectButton/SelectButton.stories.native.js.map +1 -1
- package/dist/cjs/forms/SelectButton/context.native.js.map +1 -1
- package/dist/cjs/forms/SelectButton/index.native.js.map +1 -1
- package/dist/cjs/forms/Slider/FieldSlider.native.js.map +1 -1
- package/dist/cjs/forms/Slider/FieldSlider.stories.js +12 -4
- package/dist/cjs/forms/Slider/FieldSlider.stories.js.map +1 -1
- package/dist/cjs/forms/Slider/FieldSlider.stories.native.js +38 -7
- package/dist/cjs/forms/Slider/FieldSlider.stories.native.js.map +3 -3
- package/dist/cjs/forms/Slider/Slider.native.js.map +1 -1
- package/dist/cjs/forms/Slider/index.native.js.map +1 -1
- package/dist/cjs/forms/Switch/FieldSwitch.native.js.map +1 -1
- package/dist/cjs/forms/Switch/FieldSwitch.stories.js +8 -11
- package/dist/cjs/forms/Switch/FieldSwitch.stories.js.map +1 -1
- package/dist/cjs/forms/Switch/FieldSwitch.stories.native.js +31 -10
- package/dist/cjs/forms/Switch/FieldSwitch.stories.native.js.map +3 -3
- package/dist/cjs/forms/Switch/Switch.native.js.map +1 -1
- package/dist/cjs/forms/Switch/index.native.js.map +1 -1
- package/dist/cjs/forms/TextArea/FieldTextArea.native.js.map +1 -1
- package/dist/cjs/forms/TextArea/FieldTextArea.stories.js +13 -5
- package/dist/cjs/forms/TextArea/FieldTextArea.stories.js.map +1 -1
- package/dist/cjs/forms/TextArea/FieldTextArea.stories.native.js +33 -6
- package/dist/cjs/forms/TextArea/FieldTextArea.stories.native.js.map +3 -3
- package/dist/cjs/forms/TextArea/TextArea.native.js.map +1 -1
- package/dist/cjs/forms/TextArea/index.native.js.map +1 -1
- package/dist/cjs/forms/index.native.js.map +1 -1
- package/dist/cjs/forms/types.native.js.map +1 -1
- package/dist/cjs/helpers.native.js.map +1 -1
- package/dist/cjs/hooks/index.native.js.map +1 -1
- package/dist/cjs/hooks/useAnimationDriverToggle.native.js.map +1 -1
- package/dist/cjs/hooks/useAssets/index.native.js.map +1 -1
- package/dist/cjs/hooks/useClipboard.native.js.map +1 -1
- package/dist/cjs/icons/CheckRegular.native.js.map +1 -1
- package/dist/cjs/icons/MinusRegular.native.js.map +1 -1
- package/dist/cjs/icons/index.native.js.map +1 -1
- package/dist/cjs/icons/themed.native.js.map +1 -1
- package/dist/cjs/images/SimpleImage/index.native.js.map +1 -1
- package/dist/cjs/images/SimpleImage/index.stories.js +23 -6
- package/dist/cjs/images/SimpleImage/index.stories.js.map +1 -1
- package/dist/cjs/images/SimpleImage/index.stories.native.js +60 -16
- package/dist/cjs/images/SimpleImage/index.stories.native.js.map +3 -3
- package/dist/cjs/images/Svg/Svg.stories.native.js.map +1 -1
- package/dist/cjs/images/Svg/index.native.js.map +1 -1
- package/dist/cjs/images/SvgUri/index.native.js.map +1 -1
- package/dist/cjs/images/index.native.js.map +1 -1
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/layouts/Debug/DebugLayout.stories.native.js.map +1 -1
- package/dist/cjs/layouts/Debug/index.native.js.map +1 -1
- package/dist/cjs/layouts/index.native.js.map +1 -1
- package/dist/cjs/mdx/ExternalIcon/ExternalIcon.stories.native.js.map +1 -1
- package/dist/cjs/mdx/ExternalIcon/index.native.js.map +1 -1
- package/dist/cjs/mdx/HR/HR.stories.native.js.map +1 -1
- package/dist/cjs/mdx/HR/index.native.js.map +1 -1
- package/dist/cjs/mdx/LI/LI.stories.native.js.map +1 -1
- package/dist/cjs/mdx/LI/index.native.js.map +1 -1
- package/dist/cjs/mdx/MDX/MDX.stories.native.js.map +1 -1
- package/dist/cjs/mdx/MDX/index.native.js.map +1 -1
- package/dist/cjs/mdx/MDXCodeBlock/MDXCodeBlock.stories.native.js.map +1 -1
- package/dist/cjs/mdx/MDXCodeBlock/MDXCodeBlockContext.native.js.map +1 -1
- package/dist/cjs/mdx/MDXCodeBlock/index.native.js.map +1 -1
- package/dist/cjs/mdx/UL/UL.stories.js +4 -2
- package/dist/cjs/mdx/UL/UL.stories.js.map +1 -1
- package/dist/cjs/mdx/UL/UL.stories.native.js +5 -3
- package/dist/cjs/mdx/UL/UL.stories.native.js.map +3 -3
- package/dist/cjs/mdx/UL/index.native.js.map +1 -1
- package/dist/cjs/mdx/components.native.js.map +1 -1
- package/dist/cjs/mdx/hooks/index.native.js.map +1 -1
- package/dist/cjs/mdx/hooks/useCompileAndEvaluateMdx.native.js.map +1 -1
- package/dist/cjs/mdx/hooks/useCompileMdx.native.js.map +1 -1
- package/dist/cjs/mdx/hooks/useEvaluateMdx.native.js.map +1 -1
- package/dist/cjs/mdx/index.native.js.map +1 -1
- package/dist/cjs/mdx/util/rehypeHighlightCode.native.js.map +1 -1
- package/dist/cjs/mdx/util/rehypeHighlightLine.native.js.map +1 -1
- package/dist/cjs/mdx/util/rehypeHighlightWord.native.js.map +1 -1
- package/dist/cjs/mdx/util/rehypeMetaAttributes.native.js.map +1 -1
- package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.js +28 -19
- package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.js.map +1 -1
- package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.native.js +15 -2
- package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.native.js.map +3 -3
- package/dist/cjs/organize/SimpleAccordion/index.native.js.map +1 -1
- package/dist/cjs/organize/SimpleCarousel/Carousel.stories.js +6 -1
- package/dist/cjs/organize/SimpleCarousel/Carousel.stories.js.map +1 -1
- package/dist/cjs/organize/SimpleCarousel/Carousel.stories.native.js +46 -5
- package/dist/cjs/organize/SimpleCarousel/Carousel.stories.native.js.map +3 -3
- package/dist/cjs/organize/SimpleCarousel/index.native.js.map +1 -1
- package/dist/cjs/organize/SimpleInput/SimpleInput.stories.js +20 -8
- package/dist/cjs/organize/SimpleInput/SimpleInput.stories.js.map +1 -1
- package/dist/cjs/organize/SimpleInput/SimpleInput.stories.native.js +44 -47
- package/dist/cjs/organize/SimpleInput/SimpleInput.stories.native.js.map +3 -3
- package/dist/cjs/organize/SimpleInput/index.js +20 -122
- package/dist/cjs/organize/SimpleInput/index.js.map +1 -1
- package/dist/cjs/organize/SimpleInput/index.native.js +37 -113
- package/dist/cjs/organize/SimpleInput/index.native.js.map +3 -3
- package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.js +11 -6
- package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.js.map +1 -1
- package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.native.js +33 -7
- package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.native.js.map +3 -3
- package/dist/cjs/organize/SimpleListItem/index.native.js.map +1 -1
- package/dist/cjs/organize/SimpleTabs/SimpleTabs.stories.js +14 -10
- package/dist/cjs/organize/SimpleTabs/SimpleTabs.stories.js.map +1 -1
- package/dist/cjs/organize/SimpleTabs/SimpleTabs.stories.native.js +35 -11
- package/dist/cjs/organize/SimpleTabs/SimpleTabs.stories.native.js.map +3 -3
- package/dist/cjs/organize/SimpleTabs/index.native.js.map +1 -1
- package/dist/cjs/organize/index.native.js.map +1 -1
- package/dist/cjs/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js +21 -12
- package/dist/cjs/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js.map +1 -1
- package/dist/cjs/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js +60 -19
- package/dist/cjs/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js.map +3 -3
- package/dist/cjs/panels/SimpleAlertDialog/index.native.js.map +1 -1
- package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.js +28 -6
- package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.js.map +1 -1
- package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.native.js +37 -10
- package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.native.js.map +3 -3
- package/dist/cjs/panels/SimpleDialog/index.native.js.map +1 -1
- package/dist/cjs/panels/SimplePopover/SimplePopover.stories.js +7 -13
- package/dist/cjs/panels/SimplePopover/SimplePopover.stories.js.map +2 -2
- package/dist/cjs/panels/SimplePopover/SimplePopover.stories.native.js +64 -36
- package/dist/cjs/panels/SimplePopover/SimplePopover.stories.native.js.map +3 -3
- package/dist/cjs/panels/SimplePopover/index.js +5 -14
- package/dist/cjs/panels/SimplePopover/index.js.map +2 -2
- package/dist/cjs/panels/SimplePopover/index.native.js +15 -58
- package/dist/cjs/panels/SimplePopover/index.native.js.map +3 -3
- package/dist/cjs/panels/SimpleSheet/SimpleSheet.stories.js +2 -10
- package/dist/cjs/panels/SimpleSheet/SimpleSheet.stories.js.map +2 -2
- package/dist/cjs/panels/SimpleSheet/SimpleSheet.stories.native.js +22 -63
- package/dist/cjs/panels/SimpleSheet/SimpleSheet.stories.native.js.map +3 -3
- package/dist/cjs/panels/SimpleSheet/index.native.js.map +1 -1
- package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.js +14 -5
- package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.js.map +1 -1
- package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.native.js +65 -8
- package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.native.js.map +3 -3
- package/dist/cjs/panels/SimpleTooltip/index.native.js.map +1 -1
- package/dist/cjs/panels/index.native.js.map +1 -1
- package/dist/cjs/providers/AnimationDriverTogglerContextProvider.native.js.map +1 -1
- package/dist/cjs/table/Table/Table.stories.js +7 -2
- package/dist/cjs/table/Table/Table.stories.js.map +1 -1
- package/dist/cjs/table/Table/Table.stories.native.js +30 -2
- package/dist/cjs/table/Table/Table.stories.native.js.map +3 -3
- package/dist/cjs/table/Table/index.js +2 -1
- package/dist/cjs/table/Table/index.js.map +1 -1
- package/dist/cjs/table/Table/index.native.js +3 -1
- package/dist/cjs/table/Table/index.native.js.map +2 -2
- package/dist/cjs/table/TableCell/index.native.js.map +1 -1
- package/dist/cjs/table/TableCol/index.native.js.map +1 -1
- package/dist/cjs/table/TableContext.native.js.map +1 -1
- package/dist/cjs/table/index.native.js.map +1 -1
- package/dist/cjs/testSetup.native.js.map +1 -1
- package/dist/cjs/tints.native.js.map +1 -1
- package/dist/cjs/utils/setTinted.native.js.map +1 -1
- package/dist/cjs/utils/unwrapText.native.js.map +1 -1
- package/dist/esm/ErrorBoundary/index.native.js.map +1 -1
- package/dist/esm/code/Code/Code.stories.native.js.map +1 -1
- package/dist/esm/code/Code/index.native.js.map +1 -1
- package/dist/esm/code/CodeBlock/CodeBlock.stories.native.js.map +1 -1
- package/dist/esm/code/CodeBlock/index.native.js.map +1 -1
- package/dist/esm/code/Pre/index.native.js.map +1 -1
- package/dist/esm/code/index.native.js.map +1 -1
- package/dist/esm/forms/Button/Button.native.js.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.js +1 -1
- package/dist/esm/forms/Button/SubmitButton.js.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.mjs +1 -1
- package/dist/esm/forms/Button/SubmitButton.native.js +1 -1
- package/dist/esm/forms/Button/SubmitButton.native.js.map +3 -3
- package/dist/esm/forms/Button/SubmitButton.stories.js +16 -9
- package/dist/esm/forms/Button/SubmitButton.stories.js.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.stories.mjs +30 -22
- package/dist/esm/forms/Button/SubmitButton.stories.native.js +34 -14
- package/dist/esm/forms/Button/SubmitButton.stories.native.js.map +3 -3
- package/dist/esm/forms/Button/index.native.js.map +1 -1
- package/dist/esm/forms/Checkbox/Checkbox.native.js.map +1 -1
- package/dist/esm/forms/Checkbox/FieldCheckbox.native.js.map +1 -1
- package/dist/esm/forms/Checkbox/FieldCheckbox.stories.native.js.map +1 -1
- package/dist/esm/forms/Checkbox/index.native.js.map +1 -1
- package/dist/esm/forms/FormField.native.js.map +1 -1
- package/dist/esm/forms/Input/FieldInput.native.js.map +1 -1
- package/dist/esm/forms/Input/FieldInput.stories.native.js.map +1 -1
- package/dist/esm/forms/Input/Input.native.js.map +1 -1
- package/dist/esm/forms/Input/index.native.js.map +1 -1
- package/dist/esm/forms/Progress/FieldProgress.native.js.map +1 -1
- package/dist/esm/forms/Progress/FieldProgress.stories.native.js.map +1 -1
- package/dist/esm/forms/Progress/Progress.native.js.map +1 -1
- package/dist/esm/forms/Progress/index.native.js.map +1 -1
- package/dist/esm/forms/RadioGroup/FieldRadioGroup.native.js.map +1 -1
- package/dist/esm/forms/RadioGroup/FieldRadioGroup.stories.native.js.map +1 -1
- package/dist/esm/forms/RadioGroup/RadioGroup.native.js.map +1 -1
- package/dist/esm/forms/RadioGroup/index.native.js.map +1 -1
- package/dist/esm/forms/Select/FieldSelectSimple.native.js.map +1 -1
- package/dist/esm/forms/Select/FieldSelectSimple.stories.js +25 -15
- package/dist/esm/forms/Select/FieldSelectSimple.stories.js.map +1 -1
- package/dist/esm/forms/Select/FieldSelectSimple.stories.mjs +55 -38
- package/dist/esm/forms/Select/FieldSelectSimple.stories.native.js +178 -41
- package/dist/esm/forms/Select/FieldSelectSimple.stories.native.js.map +3 -3
- package/dist/esm/forms/Select/Select.native.js.map +1 -1
- package/dist/esm/forms/Select/SelectSimple.native.js.map +1 -1
- package/dist/esm/forms/Select/SelectSimple.stories.native.js.map +1 -1
- package/dist/esm/forms/Select/index.native.js.map +1 -1
- package/dist/esm/forms/SelectButton/OptionButton.native.js.map +1 -1
- package/dist/esm/forms/SelectButton/SelectButton.native.js.map +1 -1
- package/dist/esm/forms/SelectButton/SelectButton.stories.native.js.map +1 -1
- package/dist/esm/forms/SelectButton/context.native.js.map +1 -1
- package/dist/esm/forms/SelectButton/index.native.js.map +1 -1
- package/dist/esm/forms/Slider/FieldSlider.native.js.map +1 -1
- package/dist/esm/forms/Slider/FieldSlider.stories.js +12 -4
- package/dist/esm/forms/Slider/FieldSlider.stories.js.map +1 -1
- package/dist/esm/forms/Slider/FieldSlider.stories.mjs +38 -26
- package/dist/esm/forms/Slider/FieldSlider.stories.native.js +38 -7
- package/dist/esm/forms/Slider/FieldSlider.stories.native.js.map +3 -3
- package/dist/esm/forms/Slider/Slider.native.js.map +1 -1
- package/dist/esm/forms/Slider/index.native.js.map +1 -1
- package/dist/esm/forms/Switch/FieldSwitch.native.js.map +1 -1
- package/dist/esm/forms/Switch/FieldSwitch.stories.js +8 -11
- package/dist/esm/forms/Switch/FieldSwitch.stories.js.map +1 -1
- package/dist/esm/forms/Switch/FieldSwitch.stories.mjs +33 -30
- package/dist/esm/forms/Switch/FieldSwitch.stories.native.js +31 -10
- package/dist/esm/forms/Switch/FieldSwitch.stories.native.js.map +3 -3
- package/dist/esm/forms/Switch/Switch.native.js.map +1 -1
- package/dist/esm/forms/Switch/index.native.js.map +1 -1
- package/dist/esm/forms/TextArea/FieldTextArea.native.js.map +1 -1
- package/dist/esm/forms/TextArea/FieldTextArea.stories.js +13 -5
- package/dist/esm/forms/TextArea/FieldTextArea.stories.js.map +1 -1
- package/dist/esm/forms/TextArea/FieldTextArea.stories.mjs +12 -3
- package/dist/esm/forms/TextArea/FieldTextArea.stories.native.js +33 -6
- package/dist/esm/forms/TextArea/FieldTextArea.stories.native.js.map +3 -3
- package/dist/esm/forms/TextArea/TextArea.native.js.map +1 -1
- package/dist/esm/forms/TextArea/index.native.js.map +1 -1
- package/dist/esm/forms/index.native.js.map +1 -1
- package/dist/esm/helpers.native.js.map +1 -1
- package/dist/esm/hooks/index.native.js.map +1 -1
- package/dist/esm/hooks/useAnimationDriverToggle.native.js.map +1 -1
- package/dist/esm/hooks/useAssets/index.native.js.map +1 -1
- package/dist/esm/hooks/useClipboard.native.js.map +1 -1
- package/dist/esm/icons/CheckRegular.native.js.map +1 -1
- package/dist/esm/icons/MinusRegular.native.js.map +1 -1
- package/dist/esm/icons/index.native.js.map +1 -1
- package/dist/esm/icons/themed.native.js.map +1 -1
- package/dist/esm/images/SimpleImage/index.native.js.map +1 -1
- package/dist/esm/images/SimpleImage/index.stories.js +23 -6
- package/dist/esm/images/SimpleImage/index.stories.js.map +1 -1
- package/dist/esm/images/SimpleImage/index.stories.mjs +38 -25
- package/dist/esm/images/SimpleImage/index.stories.native.js +58 -15
- package/dist/esm/images/SimpleImage/index.stories.native.js.map +3 -3
- package/dist/esm/images/Svg/Svg.stories.native.js.map +1 -1
- package/dist/esm/images/Svg/index.native.js.map +1 -1
- package/dist/esm/images/SvgUri/index.native.js.map +1 -1
- package/dist/esm/images/index.native.js.map +1 -1
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/layouts/Debug/DebugLayout.stories.native.js.map +1 -1
- package/dist/esm/layouts/Debug/index.native.js.map +1 -1
- package/dist/esm/layouts/index.native.js.map +1 -1
- package/dist/esm/mdx/ExternalIcon/ExternalIcon.stories.native.js.map +1 -1
- package/dist/esm/mdx/ExternalIcon/index.native.js.map +1 -1
- package/dist/esm/mdx/HR/HR.stories.native.js.map +1 -1
- package/dist/esm/mdx/HR/index.native.js.map +1 -1
- package/dist/esm/mdx/LI/LI.stories.native.js.map +1 -1
- package/dist/esm/mdx/LI/index.native.js.map +1 -1
- package/dist/esm/mdx/MDX/MDX.stories.native.js.map +1 -1
- package/dist/esm/mdx/MDX/index.native.js.map +1 -1
- package/dist/esm/mdx/MDXCodeBlock/MDXCodeBlock.stories.native.js.map +1 -1
- package/dist/esm/mdx/MDXCodeBlock/MDXCodeBlockContext.native.js.map +1 -1
- package/dist/esm/mdx/MDXCodeBlock/index.native.js.map +1 -1
- package/dist/esm/mdx/UL/UL.stories.js +4 -2
- package/dist/esm/mdx/UL/UL.stories.js.map +1 -1
- package/dist/esm/mdx/UL/UL.stories.mjs +9 -6
- package/dist/esm/mdx/UL/UL.stories.native.js +5 -3
- package/dist/esm/mdx/UL/UL.stories.native.js.map +3 -3
- package/dist/esm/mdx/UL/index.native.js.map +1 -1
- package/dist/esm/mdx/components.native.js.map +1 -1
- package/dist/esm/mdx/hooks/index.native.js.map +1 -1
- package/dist/esm/mdx/hooks/useCompileAndEvaluateMdx.native.js.map +1 -1
- package/dist/esm/mdx/hooks/useCompileMdx.native.js.map +1 -1
- package/dist/esm/mdx/hooks/useEvaluateMdx.native.js.map +1 -1
- package/dist/esm/mdx/index.native.js.map +1 -1
- package/dist/esm/mdx/util/rehypeHighlightCode.native.js.map +1 -1
- package/dist/esm/mdx/util/rehypeHighlightLine.native.js.map +1 -1
- package/dist/esm/mdx/util/rehypeHighlightWord.native.js.map +1 -1
- package/dist/esm/mdx/util/rehypeMetaAttributes.native.js.map +1 -1
- package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.js +28 -19
- package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.js.map +1 -1
- package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.mjs +79 -67
- package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.native.js +15 -2
- package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.native.js.map +3 -3
- package/dist/esm/organize/SimpleAccordion/index.native.js.map +1 -1
- package/dist/esm/organize/SimpleCarousel/Carousel.stories.js +6 -1
- package/dist/esm/organize/SimpleCarousel/Carousel.stories.js.map +1 -1
- package/dist/esm/organize/SimpleCarousel/Carousel.stories.mjs +8 -2
- package/dist/esm/organize/SimpleCarousel/Carousel.stories.native.js +44 -4
- package/dist/esm/organize/SimpleCarousel/Carousel.stories.native.js.map +3 -3
- package/dist/esm/organize/SimpleCarousel/index.native.js.map +1 -1
- package/dist/esm/organize/SimpleInput/SimpleInput.stories.js +19 -10
- package/dist/esm/organize/SimpleInput/SimpleInput.stories.js.map +1 -1
- package/dist/esm/organize/SimpleInput/SimpleInput.stories.mjs +29 -40
- package/dist/esm/organize/SimpleInput/SimpleInput.stories.native.js +41 -44
- package/dist/esm/organize/SimpleInput/SimpleInput.stories.native.js.map +3 -3
- package/dist/esm/organize/SimpleInput/index.js +21 -123
- package/dist/esm/organize/SimpleInput/index.js.map +1 -1
- package/dist/esm/organize/SimpleInput/index.mjs +28 -107
- package/dist/esm/organize/SimpleInput/index.native.js +38 -114
- package/dist/esm/organize/SimpleInput/index.native.js.map +3 -3
- package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.js +11 -6
- package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.js.map +1 -1
- package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.mjs +13 -6
- package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.native.js +33 -7
- package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.native.js.map +3 -3
- package/dist/esm/organize/SimpleListItem/index.native.js.map +1 -1
- package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.js +14 -10
- package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.js.map +1 -1
- package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.mjs +17 -11
- package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.native.js +34 -11
- package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.native.js.map +3 -3
- package/dist/esm/organize/SimpleTabs/index.native.js.map +1 -1
- package/dist/esm/organize/index.native.js.map +1 -1
- package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js +21 -11
- package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js.map +1 -1
- package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.mjs +28 -16
- package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js +58 -17
- package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js.map +3 -3
- package/dist/esm/panels/SimpleAlertDialog/index.native.js.map +1 -1
- package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.js +28 -6
- package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.js.map +1 -1
- package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.mjs +92 -65
- package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.native.js +37 -10
- package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.native.js.map +3 -3
- package/dist/esm/panels/SimpleDialog/index.native.js.map +1 -1
- package/dist/esm/panels/SimplePopover/SimplePopover.stories.js +9 -14
- package/dist/esm/panels/SimplePopover/SimplePopover.stories.js.map +2 -2
- package/dist/esm/panels/SimplePopover/SimplePopover.stories.mjs +24 -26
- package/dist/esm/panels/SimplePopover/SimplePopover.stories.native.js +65 -38
- package/dist/esm/panels/SimplePopover/SimplePopover.stories.native.js.map +3 -3
- package/dist/esm/panels/SimplePopover/index.js +2 -4
- package/dist/esm/panels/SimplePopover/index.js.map +1 -1
- package/dist/esm/panels/SimplePopover/index.mjs +9 -6
- package/dist/esm/panels/SimplePopover/index.native.js +13 -48
- package/dist/esm/panels/SimplePopover/index.native.js.map +3 -3
- package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.js +2 -9
- package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.js.map +1 -1
- package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.mjs +11 -23
- package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.native.js +22 -62
- package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.native.js.map +3 -3
- package/dist/esm/panels/SimpleSheet/index.native.js.map +1 -1
- package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.js +14 -5
- package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.js.map +1 -1
- package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.mjs +27 -4
- package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.native.js +65 -8
- package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.native.js.map +3 -3
- package/dist/esm/panels/SimpleTooltip/index.native.js.map +1 -1
- package/dist/esm/panels/index.native.js.map +1 -1
- package/dist/esm/providers/AnimationDriverTogglerContextProvider.native.js.map +1 -1
- package/dist/esm/table/Table/Table.stories.js +7 -2
- package/dist/esm/table/Table/Table.stories.js.map +1 -1
- package/dist/esm/table/Table/Table.stories.mjs +76 -69
- package/dist/esm/table/Table/Table.stories.native.js +27 -1
- package/dist/esm/table/Table/Table.stories.native.js.map +3 -3
- package/dist/esm/table/Table/index.js +2 -1
- package/dist/esm/table/Table/index.js.map +1 -1
- package/dist/esm/table/Table/index.mjs +2 -2
- package/dist/esm/table/Table/index.native.js +2 -1
- package/dist/esm/table/Table/index.native.js.map +2 -2
- package/dist/esm/table/TableCell/index.native.js.map +1 -1
- package/dist/esm/table/TableCol/index.native.js.map +1 -1
- package/dist/esm/table/TableContext.native.js.map +1 -1
- package/dist/esm/table/index.native.js.map +1 -1
- package/dist/esm/testSetup.native.js.map +1 -1
- package/dist/esm/tints.native.js.map +1 -1
- package/dist/esm/utils/setTinted.native.js.map +1 -1
- package/dist/esm/utils/unwrapText.native.js.map +1 -1
- package/dist/jsx/ErrorBoundary/index.native.js.map +1 -1
- package/dist/jsx/code/Code/Code.stories.native.js.map +1 -1
- package/dist/jsx/code/Code/index.native.js.map +1 -1
- package/dist/jsx/code/CodeBlock/CodeBlock.stories.native.js.map +1 -1
- package/dist/jsx/code/CodeBlock/index.native.js.map +1 -1
- package/dist/jsx/code/Pre/index.native.js.map +1 -1
- package/dist/jsx/code/index.native.js.map +1 -1
- package/dist/jsx/forms/Button/Button.native.js.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.js +1 -1
- package/dist/jsx/forms/Button/SubmitButton.js.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.mjs +1 -1
- package/dist/jsx/forms/Button/SubmitButton.native.js +1 -1
- package/dist/jsx/forms/Button/SubmitButton.native.js.map +3 -3
- package/dist/jsx/forms/Button/SubmitButton.stories.js +16 -9
- package/dist/jsx/forms/Button/SubmitButton.stories.js.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.stories.mjs +30 -22
- package/dist/jsx/forms/Button/SubmitButton.stories.native.js +34 -14
- package/dist/jsx/forms/Button/SubmitButton.stories.native.js.map +3 -3
- package/dist/jsx/forms/Button/index.native.js.map +1 -1
- package/dist/jsx/forms/Checkbox/Checkbox.native.js.map +1 -1
- package/dist/jsx/forms/Checkbox/FieldCheckbox.native.js.map +1 -1
- package/dist/jsx/forms/Checkbox/FieldCheckbox.stories.native.js.map +1 -1
- package/dist/jsx/forms/Checkbox/index.native.js.map +1 -1
- package/dist/jsx/forms/FormField.native.js.map +1 -1
- package/dist/jsx/forms/Input/FieldInput.native.js.map +1 -1
- package/dist/jsx/forms/Input/FieldInput.stories.native.js.map +1 -1
- package/dist/jsx/forms/Input/Input.native.js.map +1 -1
- package/dist/jsx/forms/Input/index.native.js.map +1 -1
- package/dist/jsx/forms/Progress/FieldProgress.native.js.map +1 -1
- package/dist/jsx/forms/Progress/FieldProgress.stories.native.js.map +1 -1
- package/dist/jsx/forms/Progress/Progress.native.js.map +1 -1
- package/dist/jsx/forms/Progress/index.native.js.map +1 -1
- package/dist/jsx/forms/RadioGroup/FieldRadioGroup.native.js.map +1 -1
- package/dist/jsx/forms/RadioGroup/FieldRadioGroup.stories.native.js.map +1 -1
- package/dist/jsx/forms/RadioGroup/RadioGroup.native.js.map +1 -1
- package/dist/jsx/forms/RadioGroup/index.native.js.map +1 -1
- package/dist/jsx/forms/Select/FieldSelectSimple.native.js.map +1 -1
- package/dist/jsx/forms/Select/FieldSelectSimple.stories.js +25 -15
- package/dist/jsx/forms/Select/FieldSelectSimple.stories.js.map +1 -1
- package/dist/jsx/forms/Select/FieldSelectSimple.stories.mjs +55 -38
- package/dist/jsx/forms/Select/FieldSelectSimple.stories.native.js +178 -41
- package/dist/jsx/forms/Select/FieldSelectSimple.stories.native.js.map +3 -3
- package/dist/jsx/forms/Select/Select.native.js.map +1 -1
- package/dist/jsx/forms/Select/SelectSimple.native.js.map +1 -1
- package/dist/jsx/forms/Select/SelectSimple.stories.native.js.map +1 -1
- package/dist/jsx/forms/Select/index.native.js.map +1 -1
- package/dist/jsx/forms/SelectButton/OptionButton.native.js.map +1 -1
- package/dist/jsx/forms/SelectButton/SelectButton.native.js.map +1 -1
- package/dist/jsx/forms/SelectButton/SelectButton.stories.native.js.map +1 -1
- package/dist/jsx/forms/SelectButton/context.native.js.map +1 -1
- package/dist/jsx/forms/SelectButton/index.native.js.map +1 -1
- package/dist/jsx/forms/Slider/FieldSlider.native.js.map +1 -1
- package/dist/jsx/forms/Slider/FieldSlider.stories.js +12 -4
- package/dist/jsx/forms/Slider/FieldSlider.stories.js.map +1 -1
- package/dist/jsx/forms/Slider/FieldSlider.stories.mjs +38 -26
- package/dist/jsx/forms/Slider/FieldSlider.stories.native.js +38 -7
- package/dist/jsx/forms/Slider/FieldSlider.stories.native.js.map +3 -3
- package/dist/jsx/forms/Slider/Slider.native.js.map +1 -1
- package/dist/jsx/forms/Slider/index.native.js.map +1 -1
- package/dist/jsx/forms/Switch/FieldSwitch.native.js.map +1 -1
- package/dist/jsx/forms/Switch/FieldSwitch.stories.js +8 -11
- package/dist/jsx/forms/Switch/FieldSwitch.stories.js.map +1 -1
- package/dist/jsx/forms/Switch/FieldSwitch.stories.mjs +33 -30
- package/dist/jsx/forms/Switch/FieldSwitch.stories.native.js +31 -10
- package/dist/jsx/forms/Switch/FieldSwitch.stories.native.js.map +3 -3
- package/dist/jsx/forms/Switch/Switch.native.js.map +1 -1
- package/dist/jsx/forms/Switch/index.native.js.map +1 -1
- package/dist/jsx/forms/TextArea/FieldTextArea.native.js.map +1 -1
- package/dist/jsx/forms/TextArea/FieldTextArea.stories.js +13 -5
- package/dist/jsx/forms/TextArea/FieldTextArea.stories.js.map +1 -1
- package/dist/jsx/forms/TextArea/FieldTextArea.stories.mjs +12 -3
- package/dist/jsx/forms/TextArea/FieldTextArea.stories.native.js +33 -6
- package/dist/jsx/forms/TextArea/FieldTextArea.stories.native.js.map +3 -3
- package/dist/jsx/forms/TextArea/TextArea.native.js.map +1 -1
- package/dist/jsx/forms/TextArea/index.native.js.map +1 -1
- package/dist/jsx/forms/index.native.js.map +1 -1
- package/dist/jsx/helpers.native.js.map +1 -1
- package/dist/jsx/hooks/index.native.js.map +1 -1
- package/dist/jsx/hooks/useAnimationDriverToggle.native.js.map +1 -1
- package/dist/jsx/hooks/useAssets/index.native.js.map +1 -1
- package/dist/jsx/hooks/useClipboard.native.js.map +1 -1
- package/dist/jsx/icons/CheckRegular.native.js.map +1 -1
- package/dist/jsx/icons/MinusRegular.native.js.map +1 -1
- package/dist/jsx/icons/index.native.js.map +1 -1
- package/dist/jsx/icons/themed.native.js.map +1 -1
- package/dist/jsx/images/SimpleImage/index.native.js.map +1 -1
- package/dist/jsx/images/SimpleImage/index.stories.js +23 -6
- package/dist/jsx/images/SimpleImage/index.stories.js.map +1 -1
- package/dist/jsx/images/SimpleImage/index.stories.mjs +38 -25
- package/dist/jsx/images/SimpleImage/index.stories.native.js +58 -15
- package/dist/jsx/images/SimpleImage/index.stories.native.js.map +3 -3
- package/dist/jsx/images/Svg/Svg.stories.native.js.map +1 -1
- package/dist/jsx/images/Svg/index.native.js.map +1 -1
- package/dist/jsx/images/SvgUri/index.native.js.map +1 -1
- package/dist/jsx/images/index.native.js.map +1 -1
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/layouts/Debug/DebugLayout.stories.native.js.map +1 -1
- package/dist/jsx/layouts/Debug/index.native.js.map +1 -1
- package/dist/jsx/layouts/index.native.js.map +1 -1
- package/dist/jsx/mdx/ExternalIcon/ExternalIcon.stories.native.js.map +1 -1
- package/dist/jsx/mdx/ExternalIcon/index.native.js.map +1 -1
- package/dist/jsx/mdx/HR/HR.stories.native.js.map +1 -1
- package/dist/jsx/mdx/HR/index.native.js.map +1 -1
- package/dist/jsx/mdx/LI/LI.stories.native.js.map +1 -1
- package/dist/jsx/mdx/LI/index.native.js.map +1 -1
- package/dist/jsx/mdx/MDX/MDX.stories.native.js.map +1 -1
- package/dist/jsx/mdx/MDX/index.native.js.map +1 -1
- package/dist/jsx/mdx/MDXCodeBlock/MDXCodeBlock.stories.native.js.map +1 -1
- package/dist/jsx/mdx/MDXCodeBlock/MDXCodeBlockContext.native.js.map +1 -1
- package/dist/jsx/mdx/MDXCodeBlock/index.native.js.map +1 -1
- package/dist/jsx/mdx/UL/UL.stories.js +4 -2
- package/dist/jsx/mdx/UL/UL.stories.js.map +1 -1
- package/dist/jsx/mdx/UL/UL.stories.mjs +9 -6
- package/dist/jsx/mdx/UL/UL.stories.native.js +5 -3
- package/dist/jsx/mdx/UL/UL.stories.native.js.map +3 -3
- package/dist/jsx/mdx/UL/index.native.js.map +1 -1
- package/dist/jsx/mdx/components.native.js.map +1 -1
- package/dist/jsx/mdx/hooks/index.native.js.map +1 -1
- package/dist/jsx/mdx/hooks/useCompileAndEvaluateMdx.native.js.map +1 -1
- package/dist/jsx/mdx/hooks/useCompileMdx.native.js.map +1 -1
- package/dist/jsx/mdx/hooks/useEvaluateMdx.native.js.map +1 -1
- package/dist/jsx/mdx/index.native.js.map +1 -1
- package/dist/jsx/mdx/util/rehypeHighlightCode.native.js.map +1 -1
- package/dist/jsx/mdx/util/rehypeHighlightLine.native.js.map +1 -1
- package/dist/jsx/mdx/util/rehypeHighlightWord.native.js.map +1 -1
- package/dist/jsx/mdx/util/rehypeMetaAttributes.native.js.map +1 -1
- package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.js +28 -19
- package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.js.map +1 -1
- package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.mjs +79 -67
- package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.native.js +15 -2
- package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.native.js.map +3 -3
- package/dist/jsx/organize/SimpleAccordion/index.native.js.map +1 -1
- package/dist/jsx/organize/SimpleCarousel/Carousel.stories.js +6 -1
- package/dist/jsx/organize/SimpleCarousel/Carousel.stories.js.map +1 -1
- package/dist/jsx/organize/SimpleCarousel/Carousel.stories.mjs +8 -2
- package/dist/jsx/organize/SimpleCarousel/Carousel.stories.native.js +44 -4
- package/dist/jsx/organize/SimpleCarousel/Carousel.stories.native.js.map +3 -3
- package/dist/jsx/organize/SimpleCarousel/index.native.js.map +1 -1
- package/dist/jsx/organize/SimpleInput/SimpleInput.stories.js +19 -10
- package/dist/jsx/organize/SimpleInput/SimpleInput.stories.js.map +1 -1
- package/dist/jsx/organize/SimpleInput/SimpleInput.stories.mjs +29 -40
- package/dist/jsx/organize/SimpleInput/SimpleInput.stories.native.js +41 -44
- package/dist/jsx/organize/SimpleInput/SimpleInput.stories.native.js.map +3 -3
- package/dist/jsx/organize/SimpleInput/index.js +21 -123
- package/dist/jsx/organize/SimpleInput/index.js.map +1 -1
- package/dist/jsx/organize/SimpleInput/index.mjs +28 -107
- package/dist/jsx/organize/SimpleInput/index.native.js +38 -114
- package/dist/jsx/organize/SimpleInput/index.native.js.map +3 -3
- package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.js +11 -6
- package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.js.map +1 -1
- package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.mjs +13 -6
- package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.native.js +33 -7
- package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.native.js.map +3 -3
- package/dist/jsx/organize/SimpleListItem/index.native.js.map +1 -1
- package/dist/jsx/organize/SimpleTabs/SimpleTabs.stories.js +14 -10
- package/dist/jsx/organize/SimpleTabs/SimpleTabs.stories.js.map +1 -1
- package/dist/jsx/organize/SimpleTabs/SimpleTabs.stories.mjs +17 -11
- package/dist/jsx/organize/SimpleTabs/SimpleTabs.stories.native.js +34 -11
- package/dist/jsx/organize/SimpleTabs/SimpleTabs.stories.native.js.map +3 -3
- package/dist/jsx/organize/SimpleTabs/index.native.js.map +1 -1
- package/dist/jsx/organize/index.native.js.map +1 -1
- package/dist/jsx/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js +21 -11
- package/dist/jsx/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js.map +1 -1
- package/dist/jsx/panels/SimpleAlertDialog/SimpleAlertDialog.stories.mjs +28 -16
- package/dist/jsx/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js +58 -17
- package/dist/jsx/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js.map +3 -3
- package/dist/jsx/panels/SimpleAlertDialog/index.native.js.map +1 -1
- package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.js +28 -6
- package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.js.map +1 -1
- package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.mjs +92 -65
- package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.native.js +37 -10
- package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.native.js.map +3 -3
- package/dist/jsx/panels/SimpleDialog/index.native.js.map +1 -1
- package/dist/jsx/panels/SimplePopover/SimplePopover.stories.js +9 -14
- package/dist/jsx/panels/SimplePopover/SimplePopover.stories.js.map +2 -2
- package/dist/jsx/panels/SimplePopover/SimplePopover.stories.mjs +24 -26
- package/dist/jsx/panels/SimplePopover/SimplePopover.stories.native.js +65 -38
- package/dist/jsx/panels/SimplePopover/SimplePopover.stories.native.js.map +3 -3
- package/dist/jsx/panels/SimplePopover/index.js +2 -4
- package/dist/jsx/panels/SimplePopover/index.js.map +1 -1
- package/dist/jsx/panels/SimplePopover/index.mjs +9 -6
- package/dist/jsx/panels/SimplePopover/index.native.js +13 -48
- package/dist/jsx/panels/SimplePopover/index.native.js.map +3 -3
- package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.js +2 -9
- package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.js.map +1 -1
- package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.mjs +11 -23
- package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.native.js +22 -62
- package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.native.js.map +3 -3
- package/dist/jsx/panels/SimpleSheet/index.native.js.map +1 -1
- package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.js +14 -5
- package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.js.map +1 -1
- package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.mjs +27 -4
- package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.native.js +65 -8
- package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.native.js.map +3 -3
- package/dist/jsx/panels/SimpleTooltip/index.native.js.map +1 -1
- package/dist/jsx/panels/index.native.js.map +1 -1
- package/dist/jsx/providers/AnimationDriverTogglerContextProvider.native.js.map +1 -1
- package/dist/jsx/table/Table/Table.stories.js +7 -2
- package/dist/jsx/table/Table/Table.stories.js.map +1 -1
- package/dist/jsx/table/Table/Table.stories.mjs +76 -69
- package/dist/jsx/table/Table/Table.stories.native.js +27 -1
- package/dist/jsx/table/Table/Table.stories.native.js.map +3 -3
- package/dist/jsx/table/Table/index.js +2 -1
- package/dist/jsx/table/Table/index.js.map +1 -1
- package/dist/jsx/table/Table/index.mjs +2 -2
- package/dist/jsx/table/Table/index.native.js +2 -1
- package/dist/jsx/table/Table/index.native.js.map +2 -2
- package/dist/jsx/table/TableCell/index.native.js.map +1 -1
- package/dist/jsx/table/TableCol/index.native.js.map +1 -1
- package/dist/jsx/table/TableContext.native.js.map +1 -1
- package/dist/jsx/table/index.native.js.map +1 -1
- package/dist/jsx/testSetup.native.js.map +1 -1
- package/dist/jsx/tints.native.js.map +1 -1
- package/dist/jsx/utils/setTinted.native.js.map +1 -1
- package/dist/jsx/utils/unwrapText.native.js.map +1 -1
- package/package.json +3 -3
- package/src/forms/Button/SubmitButton.stories.tsx +24 -14
- package/src/forms/Button/SubmitButton.tsx +1 -21
- package/src/forms/FormField.tsx +1 -1
- package/src/forms/Select/FieldSelectSimple.stories.tsx +34 -24
- package/src/forms/Slider/FieldSlider.stories.tsx +13 -4
- package/src/forms/Switch/FieldSwitch.stories.tsx +9 -10
- package/src/forms/TextArea/FieldTextArea.stories.tsx +15 -5
- package/src/images/SimpleImage/index.stories.tsx +23 -5
- package/src/images/SimpleImage/index.tsx +1 -1
- package/src/mdx/UL/UL.stories.tsx +26 -1
- package/src/organize/SimpleAccordion/SimpleAccordion.stories.tsx +50 -36
- package/src/organize/SimpleCarousel/Carousel.stories.tsx +9 -3
- package/src/organize/SimpleCarousel/index.tsx +1 -1
- package/src/organize/SimpleInput/SimpleInput.stories.tsx +24 -36
- package/src/organize/SimpleInput/index.tsx +33 -174
- package/src/organize/SimpleListItem/SimpleListItem.stories.tsx +17 -7
- package/src/organize/SimpleListItem/index.tsx +2 -2
- package/src/organize/SimpleTabs/SimpleTabs.stories.tsx +22 -10
- package/src/panels/SimpleAlertDialog/SimpleAlertDialog.stories.tsx +17 -9
- package/src/panels/SimpleDialog/SimpleDialog.stories.tsx +29 -3
- package/src/panels/SimplePopover/SimplePopover.stories.tsx +11 -14
- package/src/panels/SimplePopover/index.tsx +6 -29
- package/src/panels/SimpleSheet/SimpleSheet.stories.tsx +15 -1
- package/src/panels/SimpleTooltip/SimpleTooltip.stories.tsx +17 -5
- package/src/panels/SimpleTooltip/index.tsx +1 -1
- package/src/table/Table/Table.stories.tsx +27 -1
- package/src/table/Table/index.tsx +3 -3
- package/types/forms/Button/SubmitButton.d.ts.map +1 -1
- package/types/forms/Button/SubmitButton.stories.d.ts +7 -11
- package/types/forms/Button/SubmitButton.stories.d.ts.map +1 -1
- package/types/forms/FormField.d.ts +1 -1
- package/types/forms/FormField.d.ts.map +1 -1
- package/types/forms/Select/FieldSelectSimple.stories.d.ts +2 -3
- package/types/forms/Select/FieldSelectSimple.stories.d.ts.map +1 -1
- package/types/forms/Slider/FieldSlider.stories.d.ts +5 -1
- package/types/forms/Slider/FieldSlider.stories.d.ts.map +1 -1
- package/types/forms/Switch/FieldSwitch.stories.d.ts +5 -1
- package/types/forms/Switch/FieldSwitch.stories.d.ts.map +1 -1
- package/types/forms/TextArea/FieldTextArea.stories.d.ts +14 -1
- package/types/forms/TextArea/FieldTextArea.stories.d.ts.map +1 -1
- package/types/images/SimpleImage/index.d.ts +6 -0
- package/types/images/SimpleImage/index.d.ts.map +1 -1
- package/types/images/SimpleImage/index.stories.d.ts +19 -2
- package/types/images/SimpleImage/index.stories.d.ts.map +1 -1
- package/types/mdx/UL/UL.stories.d.ts +5 -1
- package/types/mdx/UL/UL.stories.d.ts.map +1 -1
- package/types/organize/SimpleAccordion/SimpleAccordion.stories.d.ts +12 -1
- package/types/organize/SimpleAccordion/SimpleAccordion.stories.d.ts.map +1 -1
- package/types/organize/SimpleCarousel/Carousel.stories.d.ts +9 -2
- package/types/organize/SimpleCarousel/Carousel.stories.d.ts.map +1 -1
- package/types/organize/SimpleCarousel/index.d.ts +1 -2
- package/types/organize/SimpleCarousel/index.d.ts.map +1 -1
- package/types/organize/SimpleInput/SimpleInput.stories.d.ts +11 -15
- package/types/organize/SimpleInput/SimpleInput.stories.d.ts.map +1 -1
- package/types/organize/SimpleInput/index.d.ts +7 -26
- package/types/organize/SimpleInput/index.d.ts.map +1 -1
- package/types/organize/SimpleListItem/SimpleListItem.stories.d.ts +7 -2
- package/types/organize/SimpleListItem/SimpleListItem.stories.d.ts.map +1 -1
- package/types/organize/SimpleListItem/index.d.ts +2 -3
- package/types/organize/SimpleListItem/index.d.ts.map +1 -1
- package/types/organize/SimpleTabs/SimpleTabs.stories.d.ts +8 -1
- package/types/organize/SimpleTabs/SimpleTabs.stories.d.ts.map +1 -1
- package/types/panels/SimpleAlertDialog/SimpleAlertDialog.stories.d.ts +18 -6
- package/types/panels/SimpleAlertDialog/SimpleAlertDialog.stories.d.ts.map +1 -1
- package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts +35 -5
- package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts.map +1 -1
- package/types/panels/SimplePopover/SimplePopover.stories.d.ts +13 -4
- package/types/panels/SimplePopover/SimplePopover.stories.d.ts.map +1 -1
- package/types/panels/SimplePopover/index.d.ts +0 -2
- package/types/panels/SimplePopover/index.d.ts.map +1 -1
- package/types/panels/SimpleSheet/SimpleSheet.stories.d.ts +1 -1
- package/types/panels/SimpleSheet/SimpleSheet.stories.d.ts.map +1 -1
- package/types/panels/SimpleTooltip/SimpleTooltip.stories.d.ts +21 -1
- package/types/panels/SimpleTooltip/SimpleTooltip.stories.d.ts.map +1 -1
- package/types/panels/SimpleTooltip/index.d.ts +1 -2
- package/types/panels/SimpleTooltip/index.d.ts.map +1 -1
- package/types/table/Table/Table.stories.d.ts +8 -1
- package/types/table/Table/Table.stories.d.ts.map +1 -1
- package/types/table/Table/index.d.ts +21 -0
- package/types/table/Table/index.d.ts.map +1 -1
|
@@ -1,59 +1,56 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import { SimpleInput } from ".";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
function _define_property(obj, key, value) {
|
|
5
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
6
|
+
value,
|
|
7
|
+
enumerable: !0,
|
|
8
|
+
configurable: !0,
|
|
9
|
+
writable: !0
|
|
10
|
+
}) : obj[key] = value, obj;
|
|
11
|
+
}
|
|
12
|
+
function _object_spread(target) {
|
|
13
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
14
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
|
|
15
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
17
|
+
}))), ownKeys.forEach(function(key) {
|
|
18
|
+
_define_property(target, key, source[key]);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return target;
|
|
22
|
+
}
|
|
23
|
+
var meta = {
|
|
7
24
|
title: "organize/SimpleInput",
|
|
8
25
|
component: SimpleInput,
|
|
9
26
|
parameters: {
|
|
10
27
|
status: {
|
|
11
28
|
type: "beta"
|
|
12
29
|
}
|
|
30
|
+
},
|
|
31
|
+
argTypes: {
|
|
32
|
+
inputType: {
|
|
33
|
+
control: {}
|
|
34
|
+
}
|
|
13
35
|
}
|
|
14
|
-
},
|
|
15
|
-
return /* @__PURE__ */ _jsx(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, iconBefore = function() {
|
|
26
|
-
return /* @__PURE__ */ _jsx(SimpleInput, {
|
|
27
|
-
password: !0,
|
|
28
|
-
width: 800,
|
|
29
|
-
height: 50,
|
|
30
|
-
iconBefore: Key
|
|
31
|
-
});
|
|
32
|
-
}, iconAfter = function() {
|
|
33
|
-
return /* @__PURE__ */ _jsx(SimpleInput, {
|
|
34
|
-
width: 250,
|
|
35
|
-
height: 50,
|
|
36
|
-
iconAfter: Eye,
|
|
37
|
-
placeholder: "icon after input box"
|
|
38
|
-
});
|
|
39
|
-
}, circular = function() {
|
|
40
|
-
return /* @__PURE__ */ _jsx(SimpleInput, {
|
|
41
|
-
placeholder: "icon after input box",
|
|
42
|
-
circular: !0,
|
|
43
|
-
password: !0
|
|
44
|
-
});
|
|
45
|
-
}, passwordWithoutIcon = function() {
|
|
46
|
-
return /* @__PURE__ */ _jsx(SimpleInput, {
|
|
47
|
-
password: !0,
|
|
48
|
-
passwordWithoutIcon: !0
|
|
49
|
-
});
|
|
36
|
+
}, main = function(args) {
|
|
37
|
+
return /* @__PURE__ */ _jsx(SimpleInput, _object_spread({}, args));
|
|
38
|
+
}, mainArgs = {
|
|
39
|
+
inputType: "TEXT"
|
|
40
|
+
};
|
|
41
|
+
main.args = mainArgs;
|
|
42
|
+
var passwordInputType = function(args) {
|
|
43
|
+
return /* @__PURE__ */ _jsx(SimpleInput, _object_spread({}, args));
|
|
44
|
+
}, passwordInputTypeArgs = {
|
|
45
|
+
inputType: "PASSWORD",
|
|
46
|
+
secureTextEntry: !0
|
|
50
47
|
};
|
|
48
|
+
passwordInputType.args = passwordInputTypeArgs;
|
|
49
|
+
main.args = mainArgs;
|
|
50
|
+
var SimpleInput_stories_default = meta;
|
|
51
51
|
export {
|
|
52
|
-
circular,
|
|
53
52
|
SimpleInput_stories_default as default,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
password,
|
|
57
|
-
passwordWithoutIcon
|
|
53
|
+
main,
|
|
54
|
+
passwordInputType
|
|
58
55
|
};
|
|
59
56
|
//# sourceMappingURL=SimpleInput.stories.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/organize/SimpleInput/home/
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": ["SimpleInput", "
|
|
3
|
+
"sources": ["../../../../src/organize/SimpleInput/home/dharmendraboddeda/Projects/bitspur/multiplatform.one/multiplatform.one/packages/components/src/organize/SimpleInput/SimpleInput.stories.tsx"],
|
|
4
|
+
"mappings": ";AAAA,OAAkB;AAClB,SAASA,mBAAqC;;;;;;;;;;;;;;;;;;;;AAG9C,IAAMC,OAAa;EACjBC,OAAO;EACPC,WAAWH;EACXI,YAAY;IAAEC,QAAQ;MAAEC,MAAM;IAAO;EAAE;EACvCC,UAAU;IACRC,WAAW;MACTC,SAAS,CAAC;IACZ;EACF;AACF,GAEaC,OAAO,SAACC,MAAAA;SAA2B,qBAACX,aAAAA,eAAAA,CAAAA,GAAgBW,IAAAA,CAAAA;GAE3DC,WAA6B;EACjCJ,WAAW;AACb;AAEAE,KAAKC,OAAOC;AAEL,IAAMC,oBAAoB,SAACF,MAAAA;SAA2B,qBAACX,aAAAA,eAAAA,CAAAA,GAAgBW,IAAAA,CAAAA;GAExEG,wBAA0C;EAC9CN,WAAW;EACXO,iBAAiB;AACnB;AAEAF,kBAAkBF,OAAOG;AAEzBJ,KAAKC,OAAOC;AAEZ,IAAA,8BAAeX;",
|
|
5
|
+
"names": ["SimpleInput", "meta", "title", "component", "parameters", "status", "type", "argTypes", "inputType", "control", "main", "args", "mainArgs", "passwordInputType", "passwordInputTypeArgs", "secureTextEntry"]
|
|
6
6
|
}
|
|
@@ -1,129 +1,27 @@
|
|
|
1
1
|
import React, { useEffect } from "react";
|
|
2
|
-
import { Button, Input,
|
|
2
|
+
import { Button, Input, XStack } from "tamagui";
|
|
3
3
|
import { Eye, EyeOff } from "@tamagui/lucide-icons";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
function SimpleInput({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
...props
|
|
26
|
-
}) {
|
|
27
|
-
const [show, setShow] = React.useState(!1), [inputValue, setInputValue] = React.useState(value ?? ""), [borderWidth, setBorderWidth] = React.useState(1), [secureTextEntry, setSecureTextEntry] = React.useState(password), totalIcons = (iconBefore ? 1 : 0) + (iconAfter || password && !passwordWithoutIcon ? 1 : 0), inputValuePadding = iconBefore ? 0 : 24, iconPercentage = totalIcons === 1 ? "20%" : totalIcons === 2 ? "10%" : void 0, inputPercentage = iconPercentage ? "80%" : "100%";
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
inputValue && onChangeText && onChangeText(inputValue);
|
|
30
|
-
}, [inputValue]), useEffect(() => {
|
|
31
|
-
if (password) {
|
|
32
|
-
if (show) {
|
|
33
|
-
setSecureTextEntry(!1);
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
if (!show && password) {
|
|
37
|
-
setSecureTextEntry(!0);
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}, [password, show]);
|
|
42
|
-
function handleValueChange(text) {
|
|
43
|
-
setInputValue(text), onChangeText && onChangeText(text);
|
|
44
|
-
}
|
|
45
|
-
return /* @__PURE__ */ jsx(XStack, { children: /* @__PURE__ */ jsxs(
|
|
46
|
-
XGroup,
|
|
47
|
-
{
|
|
48
|
-
...props,
|
|
49
|
-
height: size,
|
|
50
|
-
borderRadius: circular ? 9999999 : props.borderRadius || size,
|
|
51
|
-
borderWidth,
|
|
52
|
-
borderColor: "$backgroundFocus",
|
|
53
|
-
minHeight: height || "$5",
|
|
54
|
-
width: width || "$20",
|
|
55
|
-
children: [
|
|
56
|
-
iconBefore && /* @__PURE__ */ jsx(
|
|
57
|
-
Button,
|
|
58
|
-
{
|
|
59
|
-
icon: iconBefore,
|
|
60
|
-
unstyled: !(iconsAsButton || iconBeforeAsButton),
|
|
61
|
-
...iconStyle,
|
|
62
|
-
justifyContent: "center",
|
|
63
|
-
alignItems: "center",
|
|
64
|
-
scaleIcon: iconBeforeScale,
|
|
65
|
-
width: iconPercentage,
|
|
66
|
-
height: "100%",
|
|
67
|
-
padding: 0
|
|
68
|
-
}
|
|
69
|
-
),
|
|
70
|
-
/* @__PURE__ */ jsx(
|
|
71
|
-
Input,
|
|
72
|
-
{
|
|
73
|
-
onChangeText: handleValueChange,
|
|
74
|
-
value: inputValue,
|
|
75
|
-
...props,
|
|
76
|
-
size,
|
|
77
|
-
onFocus: (e) => {
|
|
78
|
-
setBorderWidth(2), props.onFocus?.(e);
|
|
79
|
-
},
|
|
80
|
-
onBlur: (e) => {
|
|
81
|
-
setBorderWidth(1), props.onBlur?.(e);
|
|
82
|
-
},
|
|
83
|
-
height: "100%",
|
|
84
|
-
placeholder,
|
|
85
|
-
width: inputPercentage,
|
|
86
|
-
paddingLeft: inputValuePadding,
|
|
87
|
-
paddingRight: inputValuePadding,
|
|
88
|
-
unstyled: !0,
|
|
89
|
-
borderWidth: 0,
|
|
90
|
-
paddingHorizontal,
|
|
91
|
-
secureTextEntry
|
|
92
|
-
}
|
|
93
|
-
),
|
|
94
|
-
!!password && !passwordWithoutIcon && /* @__PURE__ */ jsx(
|
|
95
|
-
Button,
|
|
96
|
-
{
|
|
97
|
-
icon: show ? Eye : EyeOff,
|
|
98
|
-
scaleIcon: iconPasswordScale,
|
|
99
|
-
height: "100%",
|
|
100
|
-
...iconStyle,
|
|
101
|
-
width: iconPercentage,
|
|
102
|
-
onPress: (e) => {
|
|
103
|
-
setShow((prev) => !prev), setBorderWidth(2), props.onPress?.(e);
|
|
104
|
-
},
|
|
105
|
-
justifyContent: "center",
|
|
106
|
-
alignItems: "center",
|
|
107
|
-
padding: 0
|
|
108
|
-
}
|
|
109
|
-
),
|
|
110
|
-
!!iconAfter && (!password || passwordWithoutIcon) && /* @__PURE__ */ jsx(
|
|
111
|
-
Button,
|
|
112
|
-
{
|
|
113
|
-
icon: iconAfter,
|
|
114
|
-
...iconStyle,
|
|
115
|
-
justifyContent: "center",
|
|
116
|
-
alignItems: "center",
|
|
117
|
-
scaleIcon: iconBeforeScale,
|
|
118
|
-
width: iconPercentage,
|
|
119
|
-
unstyled: !(iconsAsButton || iconAfterAsButton),
|
|
120
|
-
height: "100%",
|
|
121
|
-
padding: 0
|
|
122
|
-
}
|
|
123
|
-
)
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
) });
|
|
5
|
+
function SimpleInput({ inputType = "TEXT", xStackProps, buttonProps, ...props }) {
|
|
6
|
+
const [hideText, setHideText] = React.useState(
|
|
7
|
+
!!(props?.secureTextEntry || inputType === "PASSWORD")
|
|
8
|
+
), [isValidText, setIsValidText] = React.useState(!0);
|
|
9
|
+
return useEffect(() => {
|
|
10
|
+
props.secureTextEntry ? setHideText(!0) : setHideText(!1);
|
|
11
|
+
}, [props.secureTextEntry]), /* @__PURE__ */ jsxs(XStack, { theme: isValidText ? "system" : "red", space: "$1", ...xStackProps, children: [
|
|
12
|
+
/* @__PURE__ */ jsx(Input, { ...props, secureTextEntry: hideText, onChangeText: (text) => {
|
|
13
|
+
if (inputType === "EMAIL")
|
|
14
|
+
if (/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(text))
|
|
15
|
+
setIsValidText(!0);
|
|
16
|
+
else {
|
|
17
|
+
setIsValidText(!1);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
else
|
|
21
|
+
setIsValidText(!0);
|
|
22
|
+
} }),
|
|
23
|
+
inputType === "PASSWORD" && /* @__PURE__ */ jsx(Button, { onPress: () => setHideText(!hideText), children: /* @__PURE__ */ jsx(Button.Icon, { children: hideText ? /* @__PURE__ */ jsx(EyeOff, {}) : /* @__PURE__ */ jsx(Eye, {}) }) })
|
|
24
|
+
] });
|
|
127
25
|
}
|
|
128
26
|
export {
|
|
129
27
|
SimpleInput
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/organize/SimpleInput/index.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,OAAO,SAAS,iBAAiB;AAEjC,SAAS,QAAQ,OAAe,cAAc;AAC9C,SAAS,KAAK,cAAc;AAiCxB,SACE,KADF;AAzBG,SAAS,YAAY,EAAE,YAAY,QAAQ,aAAa,aAAa,GAAG,MAAM,GAAqB;AACxG,QAAM,CAAC,UAAU,WAAW,IAAI,MAAM;AAAA,IACpC,UAAO,mBAAmB,cAAc;AAAA,EAC1C,GACM,CAAC,aAAa,cAAc,IAAI,MAAM,SAAkB,EAAI;AAElE,mBAAU,MAAM;AACd,UAAM,kBAAkB,YAAY,EAAI,IAAI,YAAY,EAAK;AAAA,EAC/D,GAAG,CAAC,MAAM,eAAe,CAAC,GAiBxB,qBAAC,UAAO,OAAO,cAAc,WAAW,OAAO,OAAM,MAAM,GAAG,aAC5D;AAAA,wBAAC,SAAO,GAAG,OAAO,iBAAiB,UAAU,cAhBvB,CAAC,SAAiB;AAC1C,UAAI,cAAc;AAEhB,YADqB,mDACH,KAAK,IAAI;AAIzB,yBAAe,EAAI;AAAA,aAJS;AAC5B,yBAAe,EAAK;AACpB;AAAA,QACF;AAAA;AAIA,uBAAe,EAAI;AAAA,IAEvB,GAIkF;AAAA,IAC7E,cAAc,cACb,oBAAC,UAAO,SAAS,MAAM,YAAY,CAAC,QAAQ,GAC1C,8BAAC,OAAO,MAAP,EAAa,qBAAW,oBAAC,UAAO,IAAK,oBAAC,OAAI,GAAG,GAChD;AAAA,KAEJ;AAEJ;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,117 +1,38 @@
|
|
|
1
1
|
import React, { useEffect } from "react";
|
|
2
|
-
import { Button, Input,
|
|
2
|
+
import { Button, Input, XStack } from "tamagui";
|
|
3
3
|
import { Eye, EyeOff } from "@tamagui/lucide-icons";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
function SimpleInput({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
iconBefore,
|
|
10
|
-
iconAfter,
|
|
11
|
-
height,
|
|
12
|
-
width,
|
|
13
|
-
iconStyle,
|
|
14
|
-
circular,
|
|
15
|
-
placeholder,
|
|
16
|
-
iconAfterScale,
|
|
17
|
-
iconBeforeScale,
|
|
18
|
-
iconPasswordScale,
|
|
19
|
-
iconAfterAsButton,
|
|
20
|
-
iconBeforeAsButton,
|
|
21
|
-
iconsAsButton,
|
|
22
|
-
passwordWithoutIcon,
|
|
23
|
-
paddingHorizontal,
|
|
24
|
-
onChangeText,
|
|
6
|
+
inputType = "TEXT",
|
|
7
|
+
xStackProps,
|
|
8
|
+
buttonProps,
|
|
25
9
|
...props
|
|
26
10
|
}) {
|
|
27
|
-
const [
|
|
28
|
-
[
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
inputValue && onChangeText && onChangeText(inputValue);
|
|
37
|
-
}, [inputValue]), useEffect(() => {
|
|
38
|
-
if (password) {
|
|
39
|
-
if (show) {
|
|
40
|
-
setSecureTextEntry(!1);
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
if (!show && password) {
|
|
44
|
-
setSecureTextEntry(!0);
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}, [password, show]);
|
|
49
|
-
function handleValueChange(text) {
|
|
50
|
-
setInputValue(text), onChangeText && onChangeText(text);
|
|
51
|
-
}
|
|
52
|
-
return /* @__PURE__ */jsx(XStack, {
|
|
53
|
-
children: /* @__PURE__ */jsxs(XGroup, {
|
|
11
|
+
const [hideText, setHideText] = React.useState(!!(props?.secureTextEntry || inputType === "PASSWORD")),
|
|
12
|
+
[isValidText, setIsValidText] = React.useState(!0);
|
|
13
|
+
return useEffect(() => {
|
|
14
|
+
props.secureTextEntry ? setHideText(!0) : setHideText(!1);
|
|
15
|
+
}, [props.secureTextEntry]), /* @__PURE__ */jsxs(XStack, {
|
|
16
|
+
theme: isValidText ? "system" : "red",
|
|
17
|
+
space: "$1",
|
|
18
|
+
...xStackProps,
|
|
19
|
+
children: [/* @__PURE__ */jsx(Input, {
|
|
54
20
|
...props,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
padding: 0
|
|
71
|
-
}), /* @__PURE__ */jsx(Input, {
|
|
72
|
-
onChangeText: handleValueChange,
|
|
73
|
-
value: inputValue,
|
|
74
|
-
...props,
|
|
75
|
-
size,
|
|
76
|
-
onFocus: e => {
|
|
77
|
-
setBorderWidth(2), props.onFocus?.(e);
|
|
78
|
-
},
|
|
79
|
-
onBlur: e => {
|
|
80
|
-
setBorderWidth(1), props.onBlur?.(e);
|
|
81
|
-
},
|
|
82
|
-
height: "100%",
|
|
83
|
-
placeholder,
|
|
84
|
-
width: inputPercentage,
|
|
85
|
-
paddingLeft: inputValuePadding,
|
|
86
|
-
paddingRight: inputValuePadding,
|
|
87
|
-
unstyled: !0,
|
|
88
|
-
borderWidth: 0,
|
|
89
|
-
paddingHorizontal,
|
|
90
|
-
secureTextEntry
|
|
91
|
-
}), !!password && !passwordWithoutIcon && /* @__PURE__ */jsx(Button, {
|
|
92
|
-
icon: show ? Eye : EyeOff,
|
|
93
|
-
scaleIcon: iconPasswordScale,
|
|
94
|
-
height: "100%",
|
|
95
|
-
...iconStyle,
|
|
96
|
-
width: iconPercentage,
|
|
97
|
-
onPress: e => {
|
|
98
|
-
setShow(prev => !prev), setBorderWidth(2), props.onPress?.(e);
|
|
99
|
-
},
|
|
100
|
-
justifyContent: "center",
|
|
101
|
-
alignItems: "center",
|
|
102
|
-
padding: 0
|
|
103
|
-
}), !!iconAfter && (!password || passwordWithoutIcon) && /* @__PURE__ */jsx(Button, {
|
|
104
|
-
icon: iconAfter,
|
|
105
|
-
...iconStyle,
|
|
106
|
-
justifyContent: "center",
|
|
107
|
-
alignItems: "center",
|
|
108
|
-
scaleIcon: iconBeforeScale,
|
|
109
|
-
width: iconPercentage,
|
|
110
|
-
unstyled: !(iconsAsButton || iconAfterAsButton),
|
|
111
|
-
height: "100%",
|
|
112
|
-
padding: 0
|
|
113
|
-
})]
|
|
114
|
-
})
|
|
21
|
+
secureTextEntry: hideText,
|
|
22
|
+
onChangeText: text => {
|
|
23
|
+
if (inputType === "EMAIL") {
|
|
24
|
+
if (/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(text)) setIsValidText(!0);else {
|
|
25
|
+
setIsValidText(!1);
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
} else setIsValidText(!0);
|
|
29
|
+
}
|
|
30
|
+
}), inputType === "PASSWORD" && /* @__PURE__ */jsx(Button, {
|
|
31
|
+
onPress: () => setHideText(!hideText),
|
|
32
|
+
children: /* @__PURE__ */jsx(Button.Icon, {
|
|
33
|
+
children: hideText ? /* @__PURE__ */jsx(EyeOff, {}) : /* @__PURE__ */jsx(Eye, {})
|
|
34
|
+
})
|
|
35
|
+
})]
|
|
115
36
|
});
|
|
116
37
|
}
|
|
117
38
|
export { SimpleInput };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { useEffect } from "react";
|
|
3
|
-
import { Button, Input,
|
|
3
|
+
import { Button, Input, XStack } from "tamagui";
|
|
4
4
|
import { Eye, EyeOff } from "@tamagui/lucide-icons";
|
|
5
5
|
function _array_like_to_array(arr, len) {
|
|
6
6
|
(len == null || len > arr.length) && (len = arr.length);
|
|
@@ -95,123 +95,47 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
function SimpleInput(_param) {
|
|
98
|
-
var
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
"iconAfter",
|
|
104
|
-
"height",
|
|
105
|
-
"width",
|
|
106
|
-
"iconStyle",
|
|
107
|
-
"circular",
|
|
108
|
-
"placeholder",
|
|
109
|
-
"iconAfterScale",
|
|
110
|
-
"iconBeforeScale",
|
|
111
|
-
"iconPasswordScale",
|
|
112
|
-
"iconAfterAsButton",
|
|
113
|
-
"iconBeforeAsButton",
|
|
114
|
-
"iconsAsButton",
|
|
115
|
-
"passwordWithoutIcon",
|
|
116
|
-
"paddingHorizontal",
|
|
117
|
-
"onChangeText"
|
|
118
|
-
]), _React_useState = _sliced_to_array(React.useState(!1), 2), show = _React_useState[0], setShow = _React_useState[1], _React_useState1 = _sliced_to_array(React.useState(value ?? ""), 2), inputValue = _React_useState1[0], setInputValue = _React_useState1[1], _React_useState2 = _sliced_to_array(React.useState(1), 2), borderWidth = _React_useState2[0], setBorderWidth = _React_useState2[1], _React_useState3 = _sliced_to_array(React.useState(password), 2), secureTextEntry = _React_useState3[0], setSecureTextEntry = _React_useState3[1], totalIcons = (iconBefore ? 1 : 0) + (iconAfter || password && !passwordWithoutIcon ? 1 : 0), inputValuePadding = iconBefore ? 0 : 24, iconPercentage = totalIcons === 1 ? "20%" : totalIcons === 2 ? "10%" : void 0, inputPercentage = iconPercentage ? "80%" : "100%";
|
|
98
|
+
var _param_inputType = _param.inputType, inputType = _param_inputType === void 0 ? "TEXT" : _param_inputType, xStackProps = _param.xStackProps, buttonProps = _param.buttonProps, props = _object_without_properties(_param, [
|
|
99
|
+
"inputType",
|
|
100
|
+
"xStackProps",
|
|
101
|
+
"buttonProps"
|
|
102
|
+
]), _React_useState = _sliced_to_array(React.useState(!!(props != null && props.secureTextEntry || inputType === "PASSWORD")), 2), hideText = _React_useState[0], setHideText = _React_useState[1], _React_useState1 = _sliced_to_array(React.useState(!0), 2), isValidText = _React_useState1[0], setIsValidText = _React_useState1[1];
|
|
119
103
|
useEffect(function() {
|
|
120
|
-
|
|
104
|
+
props.secureTextEntry ? setHideText(!0) : setHideText(!1);
|
|
121
105
|
}, [
|
|
122
|
-
|
|
123
|
-
])
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
106
|
+
props.secureTextEntry
|
|
107
|
+
]);
|
|
108
|
+
var handleInputChange = function(text) {
|
|
109
|
+
if (inputType === "EMAIL") {
|
|
110
|
+
var emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
111
|
+
if (emailPattern.test(text))
|
|
112
|
+
setIsValidText(!0);
|
|
113
|
+
else {
|
|
114
|
+
setIsValidText(!1);
|
|
131
115
|
return;
|
|
132
116
|
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
justifyContent: "center",
|
|
156
|
-
alignItems: "center",
|
|
157
|
-
scaleIcon: iconBeforeScale,
|
|
158
|
-
width: iconPercentage,
|
|
159
|
-
height: "100%",
|
|
160
|
-
padding: 0
|
|
161
|
-
})),
|
|
162
|
-
/* @__PURE__ */ _jsx(Input, _object_spread_props(_object_spread({
|
|
163
|
-
onChangeText: handleValueChange,
|
|
164
|
-
value: inputValue
|
|
165
|
-
}, props), {
|
|
166
|
-
size,
|
|
167
|
-
onFocus: function(e) {
|
|
168
|
-
var _props_onFocus;
|
|
169
|
-
setBorderWidth(2), (_props_onFocus = props.onFocus) === null || _props_onFocus === void 0 || _props_onFocus.call(props, e);
|
|
170
|
-
},
|
|
171
|
-
onBlur: function(e) {
|
|
172
|
-
var _props_onBlur;
|
|
173
|
-
setBorderWidth(1), (_props_onBlur = props.onBlur) === null || _props_onBlur === void 0 || _props_onBlur.call(props, e);
|
|
174
|
-
},
|
|
175
|
-
height: "100%",
|
|
176
|
-
placeholder,
|
|
177
|
-
width: inputPercentage,
|
|
178
|
-
paddingLeft: inputValuePadding,
|
|
179
|
-
paddingRight: inputValuePadding,
|
|
180
|
-
unstyled: !0,
|
|
181
|
-
borderWidth: 0,
|
|
182
|
-
paddingHorizontal,
|
|
183
|
-
secureTextEntry
|
|
184
|
-
})),
|
|
185
|
-
!!password && !passwordWithoutIcon && /* @__PURE__ */ _jsx(Button, _object_spread_props(_object_spread({
|
|
186
|
-
icon: show ? Eye : EyeOff,
|
|
187
|
-
scaleIcon: iconPasswordScale,
|
|
188
|
-
height: "100%"
|
|
189
|
-
}, iconStyle), {
|
|
190
|
-
width: iconPercentage,
|
|
191
|
-
onPress: function(e) {
|
|
192
|
-
var _props_onPress;
|
|
193
|
-
setShow(function(prev) {
|
|
194
|
-
return !prev;
|
|
195
|
-
}), setBorderWidth(2), (_props_onPress = props.onPress) === null || _props_onPress === void 0 || _props_onPress.call(props, e);
|
|
196
|
-
},
|
|
197
|
-
justifyContent: "center",
|
|
198
|
-
alignItems: "center",
|
|
199
|
-
padding: 0
|
|
200
|
-
})),
|
|
201
|
-
!!iconAfter && (!password || passwordWithoutIcon) && /* @__PURE__ */ _jsx(Button, _object_spread_props(_object_spread({
|
|
202
|
-
icon: iconAfter
|
|
203
|
-
}, iconStyle), {
|
|
204
|
-
justifyContent: "center",
|
|
205
|
-
alignItems: "center",
|
|
206
|
-
scaleIcon: iconBeforeScale,
|
|
207
|
-
width: iconPercentage,
|
|
208
|
-
unstyled: !(iconsAsButton || iconAfterAsButton),
|
|
209
|
-
height: "100%",
|
|
210
|
-
padding: 0
|
|
211
|
-
}))
|
|
212
|
-
]
|
|
213
|
-
}))
|
|
214
|
-
});
|
|
117
|
+
} else
|
|
118
|
+
setIsValidText(!0);
|
|
119
|
+
};
|
|
120
|
+
return /* @__PURE__ */ _jsxs(XStack, _object_spread_props(_object_spread({
|
|
121
|
+
theme: isValidText ? "system" : "red",
|
|
122
|
+
space: "$1"
|
|
123
|
+
}, xStackProps), {
|
|
124
|
+
children: [
|
|
125
|
+
/* @__PURE__ */ _jsx(Input, _object_spread_props(_object_spread({}, props), {
|
|
126
|
+
secureTextEntry: hideText,
|
|
127
|
+
onChangeText: handleInputChange
|
|
128
|
+
})),
|
|
129
|
+
inputType === "PASSWORD" && /* @__PURE__ */ _jsx(Button, {
|
|
130
|
+
onPress: function() {
|
|
131
|
+
return setHideText(!hideText);
|
|
132
|
+
},
|
|
133
|
+
children: /* @__PURE__ */ _jsx(Button.Icon, {
|
|
134
|
+
children: hideText ? /* @__PURE__ */ _jsx(EyeOff, {}) : /* @__PURE__ */ _jsx(Eye, {})
|
|
135
|
+
})
|
|
136
|
+
})
|
|
137
|
+
]
|
|
138
|
+
}));
|
|
215
139
|
}
|
|
216
140
|
export {
|
|
217
141
|
SimpleInput
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/organize/SimpleInput/home/
|
|
4
|
-
"mappings": ";
|
|
5
|
-
"names": ["React", "useEffect", "Button", "Input", "
|
|
3
|
+
"sources": ["../../../../src/organize/SimpleInput/home/dharmendraboddeda/Projects/bitspur/multiplatform.one/multiplatform.one/packages/components/src/organize/SimpleInput/index.tsx"],
|
|
4
|
+
"mappings": ";AAAA,OAAOA,SAASC,iBAAiB;AAEjC,SAASC,QAAQC,OAAeC,cAAc;AAC9C,SAASC,KAAKC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQrB,SAASC,YAAY,QAAA;yBAAA,OAAEC,WAAAA,YAAAA,qBAAAA,SAAY,SAAA,kBAAQC,cAAtB,OAAsBA,aAAaC,cAAnC,OAAmCA,aAAgBC,QAAAA,2BAAnD,QAAA;IAAEH;IAAoBC;IAAaC;MAC7BV,kBAAAA,iBAAAA,MAAMY,SACpCD,YAAAA,QAAAA,MAAOE,mBAAmBL,cAAc,WAAoB,GAAA,CAAA,GADvDM,WAAyBd,gBAAAA,CAAAA,GAAfe,cAAef,gBAAAA,CAAAA,GAGMA,mBAAAA,iBAAAA,MAAMY,SAAkB,EAAA,GAAA,CAAA,GAAvDI,cAA+BhB,iBAAAA,CAAAA,GAAlBiB,iBAAkBjB,iBAAAA,CAAAA;AAEtCC,YAAU,WAAA;AACRU,UAAME,kBAAkBE,YAAY,EAAA,IAAQA,YAAY,EAAA;EAC1D,GAAG;IAACJ,MAAME;GAAgB;AAE1B,MAAMK,oBAAoB,SAACC,MAAAA;AACzB,QAAIX,cAAc,SAAS;AACzB,UAAMY,eAAe;AACrB,UAAKA,aAAaC,KAAKF,IAAAA;AAIrBF,uBAAe,EAAA;WAJa;AAC5BA,uBAAe,EAAA;AACf;MACF;IAGF;AACEA,qBAAe,EAAA;EAEnB;AAEA,SACE,sBAACb,QAAAA,qBAAAA,eAAAA;IAAOkB,OAAON,cAAc,WAAW;IAAOO,OAAM;KAASd,WAAAA,GAAAA;;MAC5D,qBAACN,OAAAA,qBAAAA,eAAAA,CAAAA,GAAUQ,KAAAA,GAAAA;QAAOE,iBAAiBC;QAAUU,cAAcN;;MAC1DV,cAAc,cACb,qBAACN,QAAAA;QAAOuB,SAAS,WAAA;iBAAMV,YAAY,CAACD,QAAAA;;kBAClC,qBAACZ,OAAOwB,MAAI;oBAAEZ,WAAW,qBAACR,QAAAA,CAAAA,CAAAA,IAAY,qBAACD,KAAAA,CAAAA,CAAAA;;;;;AAKjD;",
|
|
5
|
+
"names": ["React", "useEffect", "Button", "Input", "XStack", "Eye", "EyeOff", "SimpleInput", "inputType", "xStackProps", "buttonProps", "props", "useState", "secureTextEntry", "hideText", "setHideText", "isValidText", "setIsValidText", "handleInputChange", "text", "emailPattern", "test", "theme", "space", "onChangeText", "onPress", "Icon"]
|
|
6
6
|
}
|