@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
|
@@ -32,36 +32,32 @@ export default {
|
|
|
32
32
|
},
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
export const main = (args) =>
|
|
36
|
-
<SimpleAccordion {...args}>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</AccordionItem>
|
|
62
|
-
<Accordion.Item value="pipe">
|
|
63
|
-
<Accordion.Trigger flexDirection="row" justifyContent="space-between">
|
|
64
|
-
{({ open }) => (
|
|
35
|
+
export const main = (args) => {
|
|
36
|
+
return <SimpleAccordion {...args}>{args.children}</SimpleAccordion>;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
const mainArgs = {
|
|
40
|
+
defaultValue: [],
|
|
41
|
+
onValueChange: (value) => console.log('Expanded items:', value),
|
|
42
|
+
collapsible: true,
|
|
43
|
+
disabled: false,
|
|
44
|
+
overflow: 'visible',
|
|
45
|
+
type: 'multiple',
|
|
46
|
+
|
|
47
|
+
children: (
|
|
48
|
+
<SimpleAccordion>
|
|
49
|
+
<AccordionItem trigger={() => <Text>Trigger Apple </Text>} value="apple">
|
|
50
|
+
<YStack padding="$4">
|
|
51
|
+
<Text> Apple Content</Text>
|
|
52
|
+
</YStack>
|
|
53
|
+
</AccordionItem>
|
|
54
|
+
<AccordionItem trigger={() => <Text>Trigger Banana </Text>} value="banana">
|
|
55
|
+
<YStack padding="$4">
|
|
56
|
+
<Text>Banana Content</Text>
|
|
57
|
+
</YStack>
|
|
58
|
+
</AccordionItem>
|
|
59
|
+
<AccordionItem
|
|
60
|
+
trigger={(open) => (
|
|
65
61
|
<XStack>
|
|
66
62
|
<YStack animation="quick" rotate={open ? '90deg' : '0deg'}>
|
|
67
63
|
<ChevronRight />
|
|
@@ -69,12 +65,30 @@ export const main = (args) => (
|
|
|
69
65
|
<H5 color="$color10">Folders</H5>
|
|
70
66
|
</XStack>
|
|
71
67
|
)}
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
value="orange"
|
|
69
|
+
>
|
|
74
70
|
<YStack padding="$4">
|
|
75
71
|
<Text>Orange Content</Text>
|
|
76
72
|
</YStack>
|
|
77
|
-
</
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
)
|
|
73
|
+
</AccordionItem>
|
|
74
|
+
<Accordion.Item value="pipe">
|
|
75
|
+
<Accordion.Trigger flexDirection="row" justifyContent="space-between">
|
|
76
|
+
{({ open }) => (
|
|
77
|
+
<XStack>
|
|
78
|
+
<YStack animation="quick" rotate={open ? '90deg' : '0deg'}>
|
|
79
|
+
<ChevronRight />
|
|
80
|
+
</YStack>
|
|
81
|
+
<H5 color="$color10">Folders</H5>
|
|
82
|
+
</XStack>
|
|
83
|
+
)}
|
|
84
|
+
</Accordion.Trigger>
|
|
85
|
+
<Accordion.Content>
|
|
86
|
+
<YStack padding="$4">
|
|
87
|
+
<Text>Orange Content</Text>
|
|
88
|
+
</YStack>
|
|
89
|
+
</Accordion.Content>
|
|
90
|
+
</Accordion.Item>
|
|
91
|
+
</SimpleAccordion>
|
|
92
|
+
),
|
|
93
|
+
};
|
|
94
|
+
main.args = mainArgs;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* See the License for the specific language governing permissions and
|
|
19
19
|
* limitations under the License.
|
|
20
20
|
*/
|
|
21
|
-
import { SimpleCarousel } from './index';
|
|
21
|
+
import { SimpleCarousel, CarouselProps } from './index';
|
|
22
22
|
import React from 'react';
|
|
23
23
|
import { SimpleImage } from '../../images/SimpleImage';
|
|
24
24
|
|
|
@@ -35,11 +35,17 @@ export default {
|
|
|
35
35
|
const mail = require('../../../assets/mail.png');
|
|
36
36
|
const pentagon = require('../../../assets/pentagon.svg');
|
|
37
37
|
|
|
38
|
-
export const Main = () => (
|
|
39
|
-
<SimpleCarousel speed={
|
|
38
|
+
export const Main = (args: CarouselProps) => (
|
|
39
|
+
<SimpleCarousel speed={args.speed} {...args} defaultSlide={4}>
|
|
40
40
|
<SimpleImage src={mail} height={300} resizeMode="cover" />
|
|
41
41
|
<SimpleImage src={pentagon} height={300} resizeMode="cover" />
|
|
42
42
|
<SimpleImage src={mail} height={300} resizeMode="cover" />
|
|
43
43
|
<SimpleImage src={pentagon} height={300} resizeMode="cover" />
|
|
44
44
|
</SimpleCarousel>
|
|
45
45
|
);
|
|
46
|
+
|
|
47
|
+
Main.args = {
|
|
48
|
+
speed: 3000,
|
|
49
|
+
showCenterIndicator: true,
|
|
50
|
+
showSideArrows: true,
|
|
51
|
+
};
|
|
@@ -24,7 +24,7 @@ import React, { useEffect, useState, useRef } from 'react';
|
|
|
24
24
|
import { ChevronLeft, ChevronRight } from '@tamagui/lucide-icons';
|
|
25
25
|
import type { IconProps } from '@tamagui/helpers-icon';
|
|
26
26
|
|
|
27
|
-
type CarouselProps = YStackProps & {
|
|
27
|
+
export type CarouselProps = YStackProps & {
|
|
28
28
|
children: React.ReactNode;
|
|
29
29
|
speed?: number;
|
|
30
30
|
showCenterIndicator?: boolean;
|
|
@@ -1,47 +1,35 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* File: /src/organize/SimpleInput/SimpleInput.stories.tsx
|
|
3
|
-
* Project: @multiplatform.one/components
|
|
4
|
-
* File Created: 13-10-2023 09:40:26
|
|
5
|
-
* Author: Lalit rajak
|
|
6
|
-
* -----
|
|
7
|
-
* BitSpur (c) Copyright 2021 - 2023
|
|
8
|
-
*
|
|
9
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
* you may not use this file except in compliance with the License.
|
|
11
|
-
* You may obtain a copy of the License at
|
|
12
|
-
*
|
|
13
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
*
|
|
15
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
* See the License for the specific language governing permissions and
|
|
19
|
-
* limitations under the License.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
1
|
import React from 'react';
|
|
23
|
-
import { SimpleInput } from '.';
|
|
24
|
-
import {
|
|
25
|
-
import { Key, Eye } from '@tamagui/lucide-icons';
|
|
2
|
+
import { SimpleInput, SimpleInputProps } from '.';
|
|
3
|
+
import type { Meta } from '@storybook/react';
|
|
26
4
|
|
|
27
|
-
|
|
5
|
+
const meta: Meta = {
|
|
28
6
|
title: 'organize/SimpleInput',
|
|
29
7
|
component: SimpleInput,
|
|
30
8
|
parameters: { status: { type: 'beta' } },
|
|
9
|
+
argTypes: {
|
|
10
|
+
inputType: {
|
|
11
|
+
control: {},
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export const main = (args: SimpleInputProps) => <SimpleInput {...args} />;
|
|
17
|
+
|
|
18
|
+
const mainArgs: SimpleInputProps = {
|
|
19
|
+
inputType: 'TEXT',
|
|
31
20
|
};
|
|
32
21
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</YStack>
|
|
37
|
-
);
|
|
22
|
+
main.args = mainArgs;
|
|
23
|
+
|
|
24
|
+
export const passwordInputType = (args: SimpleInputProps) => <SimpleInput {...args} />;
|
|
38
25
|
|
|
39
|
-
|
|
26
|
+
const passwordInputTypeArgs: SimpleInputProps = {
|
|
27
|
+
inputType: 'PASSWORD',
|
|
28
|
+
secureTextEntry: true,
|
|
29
|
+
};
|
|
40
30
|
|
|
41
|
-
|
|
42
|
-
<SimpleInput width={250} height={50} iconAfter={Eye} placeholder="icon after input box" />
|
|
43
|
-
);
|
|
31
|
+
passwordInputType.args = passwordInputTypeArgs;
|
|
44
32
|
|
|
45
|
-
|
|
33
|
+
main.args = mainArgs;
|
|
46
34
|
|
|
47
|
-
export
|
|
35
|
+
export default meta;
|
|
@@ -1,187 +1,46 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* File: /src/organize/SimpleInput/index.tsx
|
|
3
|
-
* Project: @multiplatform.one/components
|
|
4
|
-
* File Created: 18-10-2023 15:23:17
|
|
5
|
-
* Author: Lalit rajak
|
|
6
|
-
* -----
|
|
7
|
-
* BitSpur (c) Copyright 2021 - 2023
|
|
8
|
-
*
|
|
9
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
* you may not use this file except in compliance with the License.
|
|
11
|
-
* You may obtain a copy of the License at
|
|
12
|
-
*
|
|
13
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
*
|
|
15
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
* See the License for the specific language governing permissions and
|
|
19
|
-
* limitations under the License.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
1
|
import React, { useEffect } from 'react';
|
|
23
|
-
import type { ButtonProps,
|
|
24
|
-
import type { IconProps } from '@tamagui/helpers-icon';
|
|
2
|
+
import type { ButtonProps, InputProps, XStackProps } from 'tamagui';
|
|
25
3
|
import { Button, Input, XGroup, XStack } from 'tamagui';
|
|
26
4
|
import { Eye, EyeOff } from '@tamagui/lucide-icons';
|
|
27
5
|
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
style?: any;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
interface CustomProps {
|
|
37
|
-
password?: boolean;
|
|
38
|
-
iconBefore?: React.NamedExoticComponent<IconProps>;
|
|
39
|
-
iconAfter?: React.NamedExoticComponent<IconProps>;
|
|
40
|
-
iconStyle?: ButtonProps;
|
|
41
|
-
circular?: boolean;
|
|
42
|
-
iconBeforeScale?: number;
|
|
43
|
-
iconAfterScale?: number;
|
|
44
|
-
iconPasswordScale?: number;
|
|
45
|
-
iconsAsButton?: boolean;
|
|
46
|
-
iconBeforeAsButton?: boolean;
|
|
47
|
-
iconAfterAsButton?: boolean;
|
|
48
|
-
passwordWithoutIcon?: boolean;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type SimpleInputProps = Omit<InputProps & CustomProps & XStackProps, 'ref'>;
|
|
6
|
+
export type SimpleInputProps = InputProps & {
|
|
7
|
+
inputType?: 'EMAIL' | 'TEXT' | 'PASSWORD';
|
|
8
|
+
xStackProps?: XStackProps;
|
|
9
|
+
buttonProps?: ButtonProps;
|
|
10
|
+
};
|
|
52
11
|
|
|
53
|
-
export function SimpleInput({
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
iconAfter,
|
|
59
|
-
height,
|
|
60
|
-
width,
|
|
61
|
-
iconStyle,
|
|
62
|
-
circular,
|
|
63
|
-
placeholder,
|
|
64
|
-
iconAfterScale,
|
|
65
|
-
iconBeforeScale,
|
|
66
|
-
iconPasswordScale,
|
|
67
|
-
iconAfterAsButton,
|
|
68
|
-
iconBeforeAsButton,
|
|
69
|
-
iconsAsButton,
|
|
70
|
-
passwordWithoutIcon,
|
|
71
|
-
paddingHorizontal,
|
|
72
|
-
onChangeText,
|
|
73
|
-
...props
|
|
74
|
-
}: SimpleInputProps) {
|
|
75
|
-
const [show, setShow] = React.useState(false);
|
|
76
|
-
const [inputValue, setInputValue] = React.useState<string | undefined>(value ?? '');
|
|
77
|
-
const [borderWidth, setBorderWidth] = React.useState(1);
|
|
78
|
-
const [secureTextEntry, setSecureTextEntry] = React.useState(password);
|
|
79
|
-
const totalIcons = (iconBefore ? 1 : 0) + (iconAfter || (password && !passwordWithoutIcon) ? 1 : 0);
|
|
80
|
-
const inputValuePadding = iconBefore ? 0 : 24;
|
|
81
|
-
const iconPercentage = totalIcons === 1 ? '20%' : totalIcons === 2 ? '10%' : undefined;
|
|
82
|
-
const inputPercentage = iconPercentage ? '80%' : '100%';
|
|
83
|
-
|
|
84
|
-
useEffect(() => {
|
|
85
|
-
if (!inputValue) return;
|
|
86
|
-
if (onChangeText) onChangeText(inputValue);
|
|
87
|
-
}, [inputValue]);
|
|
12
|
+
export function SimpleInput({ inputType = 'TEXT', xStackProps, buttonProps, ...props }: SimpleInputProps) {
|
|
13
|
+
const [hideText, setHideText] = React.useState<boolean>(
|
|
14
|
+
props?.secureTextEntry || inputType === 'PASSWORD' ? true : false,
|
|
15
|
+
);
|
|
16
|
+
const [isValidText, setIsValidText] = React.useState<boolean>(true);
|
|
88
17
|
|
|
89
18
|
useEffect(() => {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
19
|
+
props.secureTextEntry ? setHideText(true) : setHideText(false);
|
|
20
|
+
}, [props.secureTextEntry]);
|
|
21
|
+
|
|
22
|
+
const handleInputChange = (text: string) => {
|
|
23
|
+
if (inputType === 'EMAIL') {
|
|
24
|
+
const emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
25
|
+
if (!emailPattern.test(text)) {
|
|
26
|
+
setIsValidText(false);
|
|
27
|
+
return;
|
|
28
|
+
} else {
|
|
29
|
+
setIsValidText(true);
|
|
30
|
+
}
|
|
31
|
+
} else {
|
|
32
|
+
setIsValidText(true);
|
|
94
33
|
}
|
|
95
|
-
|
|
96
|
-
setSecureTextEntry(!!true);
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
}, [password, show]);
|
|
100
|
-
|
|
101
|
-
function handleValueChange(text: string) {
|
|
102
|
-
setInputValue(text);
|
|
103
|
-
if (onChangeText) onChangeText(text);
|
|
104
|
-
}
|
|
34
|
+
};
|
|
105
35
|
|
|
106
36
|
return (
|
|
107
|
-
<XStack>
|
|
108
|
-
<
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
borderColor="$backgroundFocus"
|
|
115
|
-
minHeight={height || '$5'}
|
|
116
|
-
width={width || '$20'}
|
|
117
|
-
>
|
|
118
|
-
{iconBefore && (
|
|
119
|
-
<Button
|
|
120
|
-
icon={iconBefore}
|
|
121
|
-
unstyled={!(iconsAsButton || iconBeforeAsButton)}
|
|
122
|
-
{...iconStyle}
|
|
123
|
-
justifyContent="center"
|
|
124
|
-
alignItems="center"
|
|
125
|
-
scaleIcon={iconBeforeScale}
|
|
126
|
-
width={iconPercentage}
|
|
127
|
-
height="100%"
|
|
128
|
-
padding={0}
|
|
129
|
-
/>
|
|
130
|
-
)}
|
|
131
|
-
<Input
|
|
132
|
-
onChangeText={handleValueChange}
|
|
133
|
-
value={inputValue}
|
|
134
|
-
{...props}
|
|
135
|
-
size={size}
|
|
136
|
-
onFocus={(e) => {
|
|
137
|
-
setBorderWidth(2);
|
|
138
|
-
props.onFocus?.(e);
|
|
139
|
-
}}
|
|
140
|
-
onBlur={(e) => {
|
|
141
|
-
setBorderWidth(1);
|
|
142
|
-
props.onBlur?.(e);
|
|
143
|
-
}}
|
|
144
|
-
height="100%"
|
|
145
|
-
placeholder={placeholder}
|
|
146
|
-
width={inputPercentage}
|
|
147
|
-
paddingLeft={inputValuePadding}
|
|
148
|
-
paddingRight={inputValuePadding}
|
|
149
|
-
unstyled
|
|
150
|
-
borderWidth={0}
|
|
151
|
-
paddingHorizontal={paddingHorizontal}
|
|
152
|
-
secureTextEntry={secureTextEntry}
|
|
153
|
-
/>
|
|
154
|
-
{!!password && !passwordWithoutIcon && (
|
|
155
|
-
<Button
|
|
156
|
-
icon={show ? Eye : EyeOff}
|
|
157
|
-
scaleIcon={iconPasswordScale}
|
|
158
|
-
height="100%"
|
|
159
|
-
{...iconStyle}
|
|
160
|
-
width={iconPercentage}
|
|
161
|
-
onPress={(e) => {
|
|
162
|
-
setShow((prev) => !prev);
|
|
163
|
-
setBorderWidth(2);
|
|
164
|
-
props.onPress?.(e);
|
|
165
|
-
}}
|
|
166
|
-
justifyContent="center"
|
|
167
|
-
alignItems="center"
|
|
168
|
-
padding={0}
|
|
169
|
-
/>
|
|
170
|
-
)}
|
|
171
|
-
{!!iconAfter && (!password || passwordWithoutIcon) && (
|
|
172
|
-
<Button
|
|
173
|
-
icon={iconAfter}
|
|
174
|
-
{...iconStyle}
|
|
175
|
-
justifyContent="center"
|
|
176
|
-
alignItems="center"
|
|
177
|
-
scaleIcon={iconBeforeScale}
|
|
178
|
-
width={iconPercentage}
|
|
179
|
-
unstyled={!(iconsAsButton || iconAfterAsButton)}
|
|
180
|
-
height="100%"
|
|
181
|
-
padding={0}
|
|
182
|
-
/>
|
|
183
|
-
)}
|
|
184
|
-
</XGroup>
|
|
37
|
+
<XStack theme={isValidText ? 'system' : 'red'} space="$1" {...xStackProps}>
|
|
38
|
+
<Input {...props} secureTextEntry={hideText} onChangeText={handleInputChange} />
|
|
39
|
+
{inputType === 'PASSWORD' && (
|
|
40
|
+
<Button onPress={() => setHideText(!hideText)}>
|
|
41
|
+
<Button.Icon>{hideText ? <EyeOff /> : <Eye />}</Button.Icon>
|
|
42
|
+
</Button>
|
|
43
|
+
)}
|
|
185
44
|
</XStack>
|
|
186
45
|
);
|
|
187
46
|
}
|
|
@@ -20,10 +20,9 @@
|
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
import React from 'react';
|
|
23
|
-
import { SimpleList, SimpleListItem } from './index';
|
|
23
|
+
import { SimpleList, SimpleListItem, SimpleListProps, SimpleListItemProps } from './index';
|
|
24
24
|
import { ChevronRight, Star } from '@tamagui/lucide-icons';
|
|
25
25
|
import { Label, Separator, Switch, XStack, YStack } from 'tamagui';
|
|
26
|
-
|
|
27
26
|
export default {
|
|
28
27
|
title: 'organize/SimpleListItem',
|
|
29
28
|
component: SimpleList,
|
|
@@ -32,8 +31,15 @@ export default {
|
|
|
32
31
|
},
|
|
33
32
|
};
|
|
34
33
|
|
|
35
|
-
function Main() {
|
|
36
|
-
const [orientation, setOrientation] = React.useState(
|
|
34
|
+
function Main(args: SimpleListProps & SimpleListItemProps) {
|
|
35
|
+
const [orientation, setOrientation] = React.useState(args.orientation === 'horizontal');
|
|
36
|
+
React.useEffect(() => {
|
|
37
|
+
if (args.orientation === 'horizontal') {
|
|
38
|
+
setOrientation(true);
|
|
39
|
+
} else {
|
|
40
|
+
setOrientation(false);
|
|
41
|
+
}
|
|
42
|
+
}, [args.orientation]);
|
|
37
43
|
return (
|
|
38
44
|
<YStack fullscreen>
|
|
39
45
|
<XStack width={200} alignItems="center" gap="$4" alignSelf="flex-start">
|
|
@@ -41,11 +47,11 @@ function Main() {
|
|
|
41
47
|
{orientation ? 'Horizontal' : 'Vertical'}
|
|
42
48
|
</Label>
|
|
43
49
|
<Separator minHeight={20} vertical />
|
|
44
|
-
<Switch size="$2"
|
|
50
|
+
<Switch size="$2" checked={orientation} onCheckedChange={setOrientation}>
|
|
45
51
|
<Switch.Thumb animation="quick" />
|
|
46
52
|
</Switch>
|
|
47
53
|
</XStack>
|
|
48
|
-
<SimpleList orientation={orientation
|
|
54
|
+
<SimpleList orientation={args.orientation}>
|
|
49
55
|
<SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
|
|
50
56
|
<SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
|
|
51
57
|
<SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
|
|
@@ -56,4 +62,8 @@ function Main() {
|
|
|
56
62
|
);
|
|
57
63
|
}
|
|
58
64
|
|
|
59
|
-
export const main = () => <Main />;
|
|
65
|
+
export const main = (args: SimpleListProps & SimpleListItemProps) => <Main {...args} />;
|
|
66
|
+
|
|
67
|
+
main.args = {
|
|
68
|
+
orientation: 'horizontal',
|
|
69
|
+
};
|
|
@@ -23,8 +23,8 @@ import type { ListItemProps, YStackProps } from 'tamagui';
|
|
|
23
23
|
import { YGroup, ListItem, XGroup } from 'tamagui';
|
|
24
24
|
import React, { useMemo } from 'react';
|
|
25
25
|
|
|
26
|
-
type SimpleListProps = YStackProps & { orientation?: 'horizontal' | 'vertical'; bg?: any };
|
|
27
|
-
type SimpleListItemProps = ListItemProps & {};
|
|
26
|
+
export type SimpleListProps = YStackProps & { orientation?: 'horizontal' | 'vertical'; bg?: any };
|
|
27
|
+
export type SimpleListItemProps = ListItemProps & {};
|
|
28
28
|
|
|
29
29
|
const ListContext = React.createContext<SimpleListProps | null>(null);
|
|
30
30
|
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
import React from 'react';
|
|
23
23
|
import { SimpleTabs, TabsList, TabsContent } from './index';
|
|
24
24
|
import { H5, SizableText, Tabs, Separator, YStack, Switch, XStack, Text } from 'tamagui';
|
|
25
|
+
import { SimpleTabsProps } from './index';
|
|
25
26
|
|
|
26
27
|
export default {
|
|
27
28
|
title: 'organize/SimpleTabs',
|
|
@@ -33,24 +34,28 @@ export default {
|
|
|
33
34
|
},
|
|
34
35
|
};
|
|
35
36
|
|
|
36
|
-
const Main = () => {
|
|
37
|
-
const [orientation, setOrientation] = React.useState
|
|
37
|
+
export const Main = (args: SimpleTabsProps) => {
|
|
38
|
+
const [orientation, setOrientation] = React.useState(args.orientation === 'horizontal');
|
|
38
39
|
const [isHorizontal, setIsHorizontal] = React.useState(true);
|
|
39
40
|
|
|
40
41
|
React.useEffect(() => {
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
if (args.orientation === 'horizontal') {
|
|
43
|
+
setOrientation(true);
|
|
44
|
+
} else {
|
|
45
|
+
setOrientation(false);
|
|
46
|
+
}
|
|
47
|
+
}, [args.orientation]);
|
|
43
48
|
|
|
44
49
|
return (
|
|
45
50
|
<YStack gap padding="$4">
|
|
46
51
|
<XStack gap>
|
|
47
|
-
<Switch size="$3" checked={
|
|
52
|
+
<Switch size="$3" checked={orientation} onCheckedChange={setIsHorizontal}>
|
|
48
53
|
<Switch.Thumb animation="bouncy" />
|
|
49
54
|
</Switch>
|
|
50
|
-
<Text>{orientation}</Text>
|
|
55
|
+
<Text>{orientation ? 'Horizontal' : 'Vertical'}</Text>
|
|
51
56
|
</XStack>
|
|
52
|
-
<SimpleTabs orientation={orientation} defaultValue="home">
|
|
53
|
-
<TabsList justifyContent="space-between" orientation={orientation}>
|
|
57
|
+
<SimpleTabs orientation={orientation ? 'horizontal' : 'vertical'} defaultValue="home">
|
|
58
|
+
<TabsList justifyContent="space-between" orientation={orientation ? 'horizontal' : 'vertical'}>
|
|
54
59
|
<Tabs.Tab value="home" flex={1}>
|
|
55
60
|
<SizableText textAlign="center">Home</SizableText>
|
|
56
61
|
</Tabs.Tab>
|
|
@@ -61,7 +66,7 @@ const Main = () => {
|
|
|
61
66
|
<SizableText textAlign="center">Contact</SizableText>
|
|
62
67
|
</Tabs.Tab>
|
|
63
68
|
</TabsList>
|
|
64
|
-
<Separator vertical={orientation
|
|
69
|
+
<Separator vertical={!orientation} />
|
|
65
70
|
<TabsContent value="home">
|
|
66
71
|
<H5>Home</H5>
|
|
67
72
|
</TabsContent>
|
|
@@ -76,4 +81,11 @@ const Main = () => {
|
|
|
76
81
|
);
|
|
77
82
|
};
|
|
78
83
|
|
|
79
|
-
export const main = () =>
|
|
84
|
+
export const main = (args) => {
|
|
85
|
+
return <Main {...args} />;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
const mainArgs = {
|
|
89
|
+
orientation: 'horizontal',
|
|
90
|
+
};
|
|
91
|
+
main.args = mainArgs;
|
|
@@ -21,32 +21,41 @@
|
|
|
21
21
|
|
|
22
22
|
import React from 'react';
|
|
23
23
|
import { SimpleAlertDialog } from './index';
|
|
24
|
-
import type { Meta } from '@storybook/react';
|
|
25
24
|
import { AlertDialog, Button, XStack, YStack } from 'tamagui';
|
|
25
|
+
import type { AlterDialogSimpleProps } from './index';
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
export default {
|
|
28
28
|
title: 'panels/SimpleAlertDialog',
|
|
29
29
|
component: SimpleAlertDialog,
|
|
30
30
|
parameters: { status: { type: 'beta' } },
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
export const
|
|
33
|
+
export const main = (args) => (
|
|
34
34
|
<SimpleAlertDialog
|
|
35
35
|
title="Are you sure?"
|
|
36
36
|
description="This action cannot be undone"
|
|
37
37
|
cancel="Cancel"
|
|
38
38
|
accept="Delete"
|
|
39
39
|
trigger={<Button>Get Alert</Button>}
|
|
40
|
+
{...args}
|
|
40
41
|
/>
|
|
41
42
|
);
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
const mainArgs: AlterDialogSimpleProps = {
|
|
45
|
+
title: 'Are you sure?',
|
|
46
|
+
description: 'This action cannot be undone',
|
|
47
|
+
cancel: 'Cancel',
|
|
48
|
+
accept: 'Delete',
|
|
49
|
+
};
|
|
50
|
+
main.args = mainArgs;
|
|
51
|
+
export const Custom = (args) => (
|
|
44
52
|
<SimpleAlertDialog
|
|
45
53
|
title="Are you sure?"
|
|
46
|
-
description="This action cannot be undone"
|
|
47
54
|
cancel="Cancel"
|
|
48
55
|
accept="Yes, Delete"
|
|
49
56
|
trigger={<Button>Get Alert</Button>}
|
|
57
|
+
{...mainArgs}
|
|
58
|
+
{...args}
|
|
50
59
|
>
|
|
51
60
|
<YStack gap width={400}>
|
|
52
61
|
<AlertDialog.Title>Custom Alert</AlertDialog.Title>
|
|
@@ -63,7 +72,7 @@ export const Custom = () => (
|
|
|
63
72
|
</SimpleAlertDialog>
|
|
64
73
|
);
|
|
65
74
|
|
|
66
|
-
const Open = () => {
|
|
75
|
+
const Open = (args) => {
|
|
67
76
|
const [open, setOpen] = React.useState(true);
|
|
68
77
|
return (
|
|
69
78
|
<YStack>
|
|
@@ -74,12 +83,11 @@ const Open = () => {
|
|
|
74
83
|
accept="Yes, Delete"
|
|
75
84
|
open={open}
|
|
76
85
|
onOpenChange={setOpen}
|
|
86
|
+
{...args}
|
|
77
87
|
/>
|
|
78
88
|
<Button onPress={() => setOpen((prev) => !prev)}>{open ? 'close' : 'open'}</Button>
|
|
79
89
|
</YStack>
|
|
80
90
|
);
|
|
81
91
|
};
|
|
82
92
|
|
|
83
|
-
export const OpenClose = () => <Open />;
|
|
84
|
-
|
|
85
|
-
export default meta;
|
|
93
|
+
export const OpenClose = (args) => <Open {...mainArgs} {...args} />;
|