@multiplatform.one/components 5.0.11 → 5.0.16
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/forms/Button/SubmitButton.spec.cjs +3 -1
- package/dist/cjs/forms/Button/SubmitButton.spec.js +3 -3
- package/dist/cjs/forms/Button/SubmitButton.spec.js.map +1 -1
- package/dist/cjs/forms/Button/SubmitButton.spec.native.js +3 -2
- package/dist/cjs/forms/Button/SubmitButton.spec.native.js.map +2 -2
- package/dist/cjs/forms/Button/SubmitButton.stories.cjs +17 -14
- package/dist/cjs/forms/Button/SubmitButton.stories.js +7 -6
- package/dist/cjs/forms/Button/SubmitButton.stories.js.map +1 -1
- package/dist/cjs/forms/Button/SubmitButton.stories.native.js +10 -5
- package/dist/cjs/forms/Button/SubmitButton.stories.native.js.map +2 -2
- package/dist/cjs/images/index.cjs +2 -1
- package/dist/cjs/images/index.js +2 -1
- package/dist/cjs/images/index.js.map +1 -1
- package/dist/cjs/images/index.native.js +4 -2
- package/dist/cjs/images/index.native.js.map +1 -1
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +18 -18
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.spec.js +3 -3
- package/dist/esm/forms/Button/SubmitButton.spec.js.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.spec.mjs +3 -1
- package/dist/esm/forms/Button/SubmitButton.spec.mjs.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.spec.native.js +3 -2
- package/dist/esm/forms/Button/SubmitButton.spec.native.js.map +2 -2
- package/dist/esm/forms/Button/SubmitButton.stories.js +7 -6
- package/dist/esm/forms/Button/SubmitButton.stories.js.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.stories.mjs +17 -14
- package/dist/esm/forms/Button/SubmitButton.stories.mjs.map +1 -1
- package/dist/esm/forms/Button/SubmitButton.stories.native.js +10 -5
- package/dist/esm/forms/Button/SubmitButton.stories.native.js.map +2 -2
- package/dist/esm/images/index.js +2 -1
- package/dist/esm/images/index.js.map +1 -1
- package/dist/esm/images/index.mjs +2 -1
- package/dist/esm/images/index.mjs.map +1 -1
- package/dist/esm/images/index.native.js +2 -1
- package/dist/esm/images/index.native.js.map +1 -1
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +9 -9
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +9 -9
- package/dist/esm/index.native.js.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.spec.js +3 -3
- package/dist/jsx/forms/Button/SubmitButton.spec.js.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.spec.mjs +3 -1
- package/dist/jsx/forms/Button/SubmitButton.spec.mjs.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.spec.native.js +3 -2
- package/dist/jsx/forms/Button/SubmitButton.spec.native.js.map +2 -2
- package/dist/jsx/forms/Button/SubmitButton.stories.js +7 -6
- package/dist/jsx/forms/Button/SubmitButton.stories.js.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.stories.mjs +17 -14
- package/dist/jsx/forms/Button/SubmitButton.stories.mjs.map +1 -1
- package/dist/jsx/forms/Button/SubmitButton.stories.native.js +10 -5
- package/dist/jsx/forms/Button/SubmitButton.stories.native.js.map +2 -2
- package/dist/jsx/images/index.js +2 -1
- package/dist/jsx/images/index.js.map +1 -1
- package/dist/jsx/images/index.mjs +2 -1
- package/dist/jsx/images/index.mjs.map +1 -1
- package/dist/jsx/images/index.native.js +2 -1
- package/dist/jsx/images/index.native.js.map +1 -1
- package/dist/jsx/index.js +9 -9
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +9 -9
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/index.native.js +9 -9
- package/dist/jsx/index.native.js.map +1 -1
- package/package.json +14 -15
- package/src/forms/Button/SubmitButton.spec.tsx +5 -1
- package/src/forms/Button/SubmitButton.stories.tsx +10 -9
- package/src/images/index.ts +23 -1
- package/src/index.ts +12 -14
- package/types/ErrorBoundary/index.d.ts +12 -0
- package/types/ErrorBoundary/index.d.ts.map +1 -0
- package/types/code/Code/Code.stories.d.ts +26 -0
- package/types/code/Code/Code.stories.d.ts.map +1 -0
- package/types/code/Code/index.d.ts +33 -0
- package/types/code/Code/index.d.ts.map +1 -0
- package/types/code/CodeBlock/CodeBlock.stories.d.ts +6 -0
- package/types/code/CodeBlock/CodeBlock.stories.d.ts.map +1 -0
- package/types/code/CodeBlock/index.d.ts +8 -0
- package/types/code/CodeBlock/index.d.ts.map +1 -0
- package/types/code/Pre/index.d.ts +11 -0
- package/types/code/Pre/index.d.ts.map +1 -0
- package/types/code/index.d.ts +4 -0
- package/types/code/index.d.ts.map +1 -0
- package/types/forms/Button/Button.d.ts +23 -0
- package/types/forms/Button/Button.d.ts.map +1 -0
- package/types/forms/Button/SubmitButton.d.ts +28 -0
- package/types/forms/Button/SubmitButton.d.ts.map +1 -0
- package/types/forms/Button/SubmitButton.stories.d.ts +29 -0
- package/types/forms/Button/SubmitButton.stories.d.ts.map +1 -0
- package/types/forms/Button/index.d.ts +3 -0
- package/types/forms/Button/index.d.ts.map +1 -0
- package/types/forms/Checkbox/Checkbox.d.ts +3 -0
- package/types/forms/Checkbox/Checkbox.d.ts.map +1 -0
- package/types/forms/Checkbox/FieldCheckbox.d.ts +29 -0
- package/types/forms/Checkbox/FieldCheckbox.d.ts.map +1 -0
- package/types/forms/Checkbox/FieldCheckbox.stories.d.ts +38 -0
- package/types/forms/Checkbox/FieldCheckbox.stories.d.ts.map +1 -0
- package/types/forms/Checkbox/index.d.ts +3 -0
- package/types/forms/Checkbox/index.d.ts.map +1 -0
- package/types/forms/Form.d.ts +32 -0
- package/types/forms/Form.d.ts.map +1 -0
- package/types/forms/FormField.d.ts +36 -0
- package/types/forms/FormField.d.ts.map +1 -0
- package/types/forms/Input/FieldInput.d.ts +29 -0
- package/types/forms/Input/FieldInput.d.ts.map +1 -0
- package/types/forms/Input/FieldInput.stories.d.ts +38 -0
- package/types/forms/Input/FieldInput.stories.d.ts.map +1 -0
- package/types/forms/Input/Input.d.ts +3 -0
- package/types/forms/Input/Input.d.ts.map +1 -0
- package/types/forms/Input/index.d.ts +3 -0
- package/types/forms/Input/index.d.ts.map +1 -0
- package/types/forms/Progress/FieldProgress.d.ts +31 -0
- package/types/forms/Progress/FieldProgress.d.ts.map +1 -0
- package/types/forms/Progress/FieldProgress.stories.d.ts +38 -0
- package/types/forms/Progress/FieldProgress.stories.d.ts.map +1 -0
- package/types/forms/Progress/Progress.d.ts +3 -0
- package/types/forms/Progress/Progress.d.ts.map +1 -0
- package/types/forms/Progress/index.d.ts +3 -0
- package/types/forms/Progress/index.d.ts.map +1 -0
- package/types/forms/RadioGroup/FieldRadioGroup.d.ts +39 -0
- package/types/forms/RadioGroup/FieldRadioGroup.d.ts.map +1 -0
- package/types/forms/RadioGroup/FieldRadioGroup.stories.d.ts +38 -0
- package/types/forms/RadioGroup/FieldRadioGroup.stories.d.ts.map +1 -0
- package/types/forms/RadioGroup/RadioGroup.d.ts +3 -0
- package/types/forms/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/types/forms/RadioGroup/index.d.ts +3 -0
- package/types/forms/RadioGroup/index.d.ts.map +1 -0
- package/types/forms/Select/FieldSelectSimple.d.ts +29 -0
- package/types/forms/Select/FieldSelectSimple.d.ts.map +1 -0
- package/types/forms/Select/FieldSelectSimple.stories.d.ts +36 -0
- package/types/forms/Select/FieldSelectSimple.stories.d.ts.map +1 -0
- package/types/forms/Select/Select.d.ts +3 -0
- package/types/forms/Select/Select.d.ts.map +1 -0
- package/types/forms/Select/SelectSimple.d.ts +28 -0
- package/types/forms/Select/SelectSimple.d.ts.map +1 -0
- package/types/forms/Select/SelectSimple.stories.d.ts +22 -0
- package/types/forms/Select/SelectSimple.stories.d.ts.map +1 -0
- package/types/forms/Select/index.d.ts +4 -0
- package/types/forms/Select/index.d.ts.map +1 -0
- package/types/forms/SelectButton/OptionButton.d.ts +28 -0
- package/types/forms/SelectButton/OptionButton.d.ts.map +1 -0
- package/types/forms/SelectButton/SelectButton.d.ts +34 -0
- package/types/forms/SelectButton/SelectButton.d.ts.map +1 -0
- package/types/forms/SelectButton/SelectButton.stories.d.ts +20 -0
- package/types/forms/SelectButton/SelectButton.stories.d.ts.map +1 -0
- package/types/forms/SelectButton/context.d.ts +12 -0
- package/types/forms/SelectButton/context.d.ts.map +1 -0
- package/types/forms/SelectButton/index.d.ts +3 -0
- package/types/forms/SelectButton/index.d.ts.map +1 -0
- package/types/forms/Slider/FieldSlider.d.ts +31 -0
- package/types/forms/Slider/FieldSlider.d.ts.map +1 -0
- package/types/forms/Slider/FieldSlider.stories.d.ts +38 -0
- package/types/forms/Slider/FieldSlider.stories.d.ts.map +1 -0
- package/types/forms/Slider/Slider.d.ts +3 -0
- package/types/forms/Slider/Slider.d.ts.map +1 -0
- package/types/forms/Slider/index.d.ts +3 -0
- package/types/forms/Slider/index.d.ts.map +1 -0
- package/types/forms/Switch/FieldSwitch.d.ts +30 -0
- package/types/forms/Switch/FieldSwitch.d.ts.map +1 -0
- package/types/forms/Switch/FieldSwitch.stories.d.ts +38 -0
- package/types/forms/Switch/FieldSwitch.stories.d.ts.map +1 -0
- package/types/forms/Switch/Switch.d.ts +3 -0
- package/types/forms/Switch/Switch.d.ts.map +1 -0
- package/types/forms/Switch/index.d.ts +3 -0
- package/types/forms/Switch/index.d.ts.map +1 -0
- package/types/forms/TextArea/FieldTextArea.d.ts +29 -0
- package/types/forms/TextArea/FieldTextArea.d.ts.map +1 -0
- package/types/forms/TextArea/FieldTextArea.stories.d.ts +46 -0
- package/types/forms/TextArea/FieldTextArea.stories.d.ts.map +1 -0
- package/types/forms/TextArea/TextArea.d.ts +3 -0
- package/types/forms/TextArea/TextArea.d.ts.map +1 -0
- package/types/forms/TextArea/index.d.ts +3 -0
- package/types/forms/TextArea/index.d.ts.map +1 -0
- package/types/forms/index.d.ts +14 -0
- package/types/forms/index.d.ts.map +1 -0
- package/types/forms/types.d.ts +11 -0
- package/types/forms/types.d.ts.map +1 -0
- package/types/helpers.d.ts +3 -0
- package/types/helpers.d.ts.map +1 -0
- package/types/hooks/index.d.ts +3 -0
- package/types/hooks/index.d.ts.map +1 -0
- package/types/hooks/useAnimationDriverToggle.d.ts +7 -0
- package/types/hooks/useAnimationDriverToggle.d.ts.map +1 -0
- package/types/hooks/useAssets/index.d.ts +4 -0
- package/types/hooks/useAssets/index.d.ts.map +1 -0
- package/types/hooks/useAssets/index.native.d.ts +4 -0
- package/types/hooks/useAssets/index.native.d.ts.map +1 -0
- package/types/hooks/useClipboard.d.ts +7 -0
- package/types/hooks/useClipboard.d.ts.map +1 -0
- package/types/icons/CheckRegular.d.ts +33 -0
- package/types/icons/CheckRegular.d.ts.map +1 -0
- package/types/icons/MinusRegular.d.ts +33 -0
- package/types/icons/MinusRegular.d.ts.map +1 -0
- package/types/icons/index.d.ts +3 -0
- package/types/icons/index.d.ts.map +1 -0
- package/types/icons/themed.d.ts +24 -0
- package/types/icons/themed.d.ts.map +1 -0
- package/types/images/SimpleImage/index.d.ts +22 -0
- package/types/images/SimpleImage/index.d.ts.map +1 -0
- package/types/images/SimpleImage/index.stories.d.ts +58 -0
- package/types/images/SimpleImage/index.stories.d.ts.map +1 -0
- package/types/images/Svg/Svg.stories.d.ts +12 -0
- package/types/images/Svg/Svg.stories.d.ts.map +1 -0
- package/types/images/Svg/index.d.ts +5 -0
- package/types/images/Svg/index.d.ts.map +1 -0
- package/types/images/Svg/index.native.d.ts +3 -0
- package/types/images/Svg/index.native.d.ts.map +1 -0
- package/types/images/SvgUri/index.d.ts +25 -0
- package/types/images/SvgUri/index.d.ts.map +1 -0
- package/types/images/SvgUri/index.native.d.ts +4 -0
- package/types/images/SvgUri/index.native.d.ts.map +1 -0
- package/types/images/index.d.ts +4 -0
- package/types/images/index.d.ts.map +1 -0
- package/types/index.d.ts +16 -0
- package/types/index.d.ts.map +1 -0
- package/types/layouts/Debug/DebugLayout.stories.d.ts +31 -0
- package/types/layouts/Debug/DebugLayout.stories.d.ts.map +1 -0
- package/types/layouts/Debug/index.d.ts +41 -0
- package/types/layouts/Debug/index.d.ts.map +1 -0
- package/types/layouts/index.d.ts +2 -0
- package/types/layouts/index.d.ts.map +1 -0
- package/types/mdx/ExternalIcon/ExternalIcon.stories.d.ts +5 -0
- package/types/mdx/ExternalIcon/ExternalIcon.stories.d.ts.map +1 -0
- package/types/mdx/ExternalIcon/index.d.ts +2 -0
- package/types/mdx/ExternalIcon/index.d.ts.map +1 -0
- package/types/mdx/HR/HR.stories.d.ts +12 -0
- package/types/mdx/HR/HR.stories.d.ts.map +1 -0
- package/types/mdx/HR/index.d.ts +22 -0
- package/types/mdx/HR/index.d.ts.map +1 -0
- package/types/mdx/LI/LI.stories.d.ts +50 -0
- package/types/mdx/LI/LI.stories.d.ts.map +1 -0
- package/types/mdx/LI/index.d.ts +25 -0
- package/types/mdx/LI/index.d.ts.map +1 -0
- package/types/mdx/MDX/MDX.stories.d.ts +5 -0
- package/types/mdx/MDX/MDX.stories.d.ts.map +1 -0
- package/types/mdx/MDX/index.d.ts +29 -0
- package/types/mdx/MDX/index.d.ts.map +1 -0
- package/types/mdx/MDXCodeBlock/MDXCodeBlock.stories.d.ts +26 -0
- package/types/mdx/MDXCodeBlock/MDXCodeBlock.stories.d.ts.map +1 -0
- package/types/mdx/MDXCodeBlock/MDXCodeBlockContext.d.ts +10 -0
- package/types/mdx/MDXCodeBlock/MDXCodeBlockContext.d.ts.map +1 -0
- package/types/mdx/MDXCodeBlock/index.d.ts +27 -0
- package/types/mdx/MDXCodeBlock/index.d.ts.map +1 -0
- package/types/mdx/UL/UL.stories.d.ts +60 -0
- package/types/mdx/UL/UL.stories.d.ts.map +1 -0
- package/types/mdx/UL/index.d.ts +11 -0
- package/types/mdx/UL/index.d.ts.map +1 -0
- package/types/mdx/components.d.ts +33 -0
- package/types/mdx/components.d.ts.map +1 -0
- package/types/mdx/hooks/index.d.ts +4 -0
- package/types/mdx/hooks/index.d.ts.map +1 -0
- package/types/mdx/hooks/useCompileAndEvaluateMdx.d.ts +9 -0
- package/types/mdx/hooks/useCompileAndEvaluateMdx.d.ts.map +1 -0
- package/types/mdx/hooks/useCompileMdx.d.ts +5 -0
- package/types/mdx/hooks/useCompileMdx.d.ts.map +1 -0
- package/types/mdx/hooks/useEvaluateMdx.d.ts +5 -0
- package/types/mdx/hooks/useEvaluateMdx.d.ts.map +1 -0
- package/types/mdx/index.d.ts +9 -0
- package/types/mdx/index.d.ts.map +1 -0
- package/types/mdx/util/rehypeHighlightCode.d.ts +2 -0
- package/types/mdx/util/rehypeHighlightCode.d.ts.map +1 -0
- package/types/mdx/util/rehypeHighlightLine.d.ts +2 -0
- package/types/mdx/util/rehypeHighlightLine.d.ts.map +1 -0
- package/types/mdx/util/rehypeHighlightWord.d.ts +3 -0
- package/types/mdx/util/rehypeHighlightWord.d.ts.map +1 -0
- package/types/mdx/util/rehypeMetaAttributes.d.ts +2 -0
- package/types/mdx/util/rehypeMetaAttributes.d.ts.map +1 -0
- package/types/organize/SimpleAccordion/SimpleAccordion.stories.d.ts +13 -0
- package/types/organize/SimpleAccordion/SimpleAccordion.stories.d.ts.map +1 -0
- package/types/organize/SimpleAccordion/index.d.ts +37 -0
- package/types/organize/SimpleAccordion/index.d.ts.map +1 -0
- package/types/organize/SimpleCarousel/Carousel.stories.d.ts +40 -0
- package/types/organize/SimpleCarousel/Carousel.stories.d.ts.map +1 -0
- package/types/organize/SimpleCarousel/index.d.ts +33 -0
- package/types/organize/SimpleCarousel/index.d.ts.map +1 -0
- package/types/organize/SimpleInput/SimpleInput.stories.d.ts +13 -0
- package/types/organize/SimpleInput/SimpleInput.stories.d.ts.map +1 -0
- package/types/organize/SimpleInput/index.d.ts +28 -0
- package/types/organize/SimpleInput/index.d.ts.map +1 -0
- package/types/organize/SimpleListItem/SimpleListItem.stories.d.ts +38 -0
- package/types/organize/SimpleListItem/SimpleListItem.stories.d.ts.map +1 -0
- package/types/organize/SimpleListItem/index.d.ts +29 -0
- package/types/organize/SimpleListItem/index.d.ts.map +1 -0
- package/types/organize/SimpleParagraph/SimpleParagraph.stories.d.ts +32 -0
- package/types/organize/SimpleParagraph/SimpleParagraph.stories.d.ts.map +1 -0
- package/types/organize/SimpleParagraph/index.d.ts +26 -0
- package/types/organize/SimpleParagraph/index.d.ts.map +1 -0
- package/types/organize/SimpleTabs/SimpleTabs.stories.d.ts +40 -0
- package/types/organize/SimpleTabs/SimpleTabs.stories.d.ts.map +1 -0
- package/types/organize/SimpleTabs/index.d.ts +26 -0
- package/types/organize/SimpleTabs/index.d.ts.map +1 -0
- package/types/organize/index.d.ts +7 -0
- package/types/organize/index.d.ts.map +1 -0
- package/types/panels/SimpleAlertDialog/SimpleAlertDialog.stories.d.ts +39 -0
- package/types/panels/SimpleAlertDialog/SimpleAlertDialog.stories.d.ts.map +1 -0
- package/types/panels/SimpleAlertDialog/index.d.ts +41 -0
- package/types/panels/SimpleAlertDialog/index.d.ts.map +1 -0
- package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts +59 -0
- package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts.map +1 -0
- package/types/panels/SimpleDialog/index.d.ts +40 -0
- package/types/panels/SimpleDialog/index.d.ts.map +1 -0
- package/types/panels/SimplePopover/SimplePopover.stories.d.ts +34 -0
- package/types/panels/SimplePopover/SimplePopover.stories.d.ts.map +1 -0
- package/types/panels/SimplePopover/index.d.ts +11 -0
- package/types/panels/SimplePopover/index.d.ts.map +1 -0
- package/types/panels/SimpleSheet/SimpleSheet.stories.d.ts +25 -0
- package/types/panels/SimpleSheet/SimpleSheet.stories.d.ts.map +1 -0
- package/types/panels/SimpleSheet/index.d.ts +27 -0
- package/types/panels/SimpleSheet/index.d.ts.map +1 -0
- package/types/panels/SimpleTooltip/SimpleTooltip.stories.d.ts +45 -0
- package/types/panels/SimpleTooltip/SimpleTooltip.stories.d.ts.map +1 -0
- package/types/panels/SimpleTooltip/index.d.ts +34 -0
- package/types/panels/SimpleTooltip/index.d.ts.map +1 -0
- package/types/panels/index.d.ts +6 -0
- package/types/panels/index.d.ts.map +1 -0
- package/types/providers/AnimationDriverTogglerContextProvider.d.ts +36 -0
- package/types/providers/AnimationDriverTogglerContextProvider.d.ts.map +1 -0
- package/types/table/Table/Table.stories.d.ts +71 -0
- package/types/table/Table/Table.stories.d.ts.map +1 -0
- package/types/table/Table/index.d.ts +80 -0
- package/types/table/Table/index.d.ts.map +1 -0
- package/types/table/TableCell/index.d.ts +7 -0
- package/types/table/TableCell/index.d.ts.map +1 -0
- package/types/table/TableCol/index.d.ts +22 -0
- package/types/table/TableCol/index.d.ts.map +1 -0
- package/types/table/TableContext.d.ts +2 -0
- package/types/table/TableContext.d.ts.map +1 -0
- package/types/table/index.d.ts +4 -0
- package/types/table/index.d.ts.map +1 -0
- package/types/testSetup.d.ts +2 -0
- package/types/testSetup.d.ts.map +1 -0
- package/types/tints.d.ts +72 -0
- package/types/tints.d.ts.map +1 -0
- package/types/utils/setTinted.d.ts +5 -0
- package/types/utils/setTinted.d.ts.map +1 -0
- package/types/utils/unwrapText.d.ts +2 -0
- package/types/utils/unwrapText.d.ts.map +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Progress/FieldProgress.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 19-06-2024 09:37:30
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { DeepKeys, DeepValue, Validator } from "@tanstack/form-core";
|
|
22
|
+
import type { ProgressIndicatorProps } from "tamagui";
|
|
23
|
+
import type { FormFieldProps } from "../FormField";
|
|
24
|
+
import type { FieldComponentProps } from "../types";
|
|
25
|
+
import type { ProgressProps } from "./Progress";
|
|
26
|
+
export type FieldProgressProps<TParentData = any, TName extends DeepKeys<TParentData> = any, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = Omit<FormFieldProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children" | "field"> & Pick<ProgressProps, "id" | "value"> & Partial<Omit<FieldComponentProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children">> & {
|
|
27
|
+
progressProps?: Omit<ProgressProps, "id" | "value">;
|
|
28
|
+
indicatorProps?: ProgressIndicatorProps;
|
|
29
|
+
};
|
|
30
|
+
export declare function FieldProgress<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>>(props: FieldProgressProps<TParentData, TName, TFieldValidator, TFormValidator, TData>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=FieldProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldProgress.d.ts","sourceRoot":"","sources":["../../../src/forms/Progress/FieldProgress.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAI1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,MAAM,MAAM,kBAAkB,CAC5B,WAAW,GAAG,GAAG,EACjB,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,GAAG,GAAG,EACzC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,IACzE,IAAI,CACN,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,KAAK,CAAC,EAC1E,UAAU,GAAG,OAAO,CACrB,GACC,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,OAAO,CAAC,GACnC,OAAO,CACL,IAAI,CACF,mBAAmB,CACjB,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,EACD,UAAU,CACX,CACF,GAAG;IACF,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,OAAO,CAAC,CAAC;IACpD,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC,CAAC;AAEJ,wBAAgB,aAAa,CAC3B,WAAW,EACX,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,EACnC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAE3E,KAAK,EAAE,kBAAkB,CACvB,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,2CAkEF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Progress/FieldProgress.stories.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 19-06-2024 09:37:30
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { FieldProgressProps } from "./FieldProgress";
|
|
22
|
+
import { FieldProgress } from "./FieldProgress";
|
|
23
|
+
declare const _default: {
|
|
24
|
+
title: string;
|
|
25
|
+
component: typeof FieldProgress;
|
|
26
|
+
parameters: {
|
|
27
|
+
status: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
export declare const main: {
|
|
34
|
+
(args: any): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
args: FieldProgressProps;
|
|
36
|
+
};
|
|
37
|
+
export declare const form: () => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
//# sourceMappingURL=FieldProgress.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldProgress.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/Progress/FieldProgress.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAKH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;AAEhD,wBAQE;AAEF,eAAO,MAAM,IAAI;;;CAEhB,CAAC;AAQF,eAAO,MAAM,IAAI,+CAehB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../src/forms/Progress/Progress.ts"],"names":[],"mappings":"AAqBA,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/Progress/index.ts"],"names":[],"mappings":"AAqBA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/RadioGroup/FieldRadioGroup.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 19-06-2024 09:37:30
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { DeepKeys, DeepValue, Validator } from "@tanstack/form-core";
|
|
22
|
+
import type { RadioGroupItemProps, XStackProps } from "tamagui";
|
|
23
|
+
import type { FormFieldProps } from "../FormField";
|
|
24
|
+
import type { FieldComponentProps } from "../types";
|
|
25
|
+
import type { RadioGroupProps } from "./RadioGroup";
|
|
26
|
+
export type FieldRadioGroupProps<TParentData = any, TName extends DeepKeys<TParentData> = any, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = Omit<FormFieldProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children" | "field"> & Pick<RadioGroupProps, "children" | "value" | "onValueChange"> & Partial<Omit<FieldComponentProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children">> & {
|
|
27
|
+
radioGroupProps?: Omit<RadioGroupProps, "value" | "id" | "onValueChange" | "children">;
|
|
28
|
+
horizontal?: boolean;
|
|
29
|
+
};
|
|
30
|
+
export declare function FieldRadioGroup<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>>(props: FieldRadioGroupProps<TParentData, TName, TFieldValidator, TFormValidator, TData>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare namespace FieldRadioGroup {
|
|
32
|
+
var Item: typeof FieldRadioGroupItem;
|
|
33
|
+
}
|
|
34
|
+
export interface FormRadioGroupItemProps extends XStackProps, Pick<RadioGroupItemProps, "children" | "value" | "size"> {
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
itemProps?: Omit<RadioGroupItemProps, "children" | "value" | "size">;
|
|
37
|
+
}
|
|
38
|
+
export declare function FieldRadioGroupItem({ children, disabled, itemProps, size, value, ...stackProps }: FormRadioGroupItemProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
//# sourceMappingURL=FieldRadioGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldRadioGroup.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioGroup/FieldRadioGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAG1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,oBAAoB,CAC9B,WAAW,GAAG,GAAG,EACjB,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,GAAG,GAAG,EACzC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,IACzE,IAAI,CACN,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,KAAK,CAAC,EAC1E,UAAU,GAAG,OAAO,CACrB,GACC,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,OAAO,GAAG,eAAe,CAAC,GAC7D,OAAO,CACL,IAAI,CACF,mBAAmB,CACjB,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,EACD,UAAU,CACX,CACF,GAAG;IACF,eAAe,CAAC,EAAE,IAAI,CACpB,eAAe,EACf,OAAO,GAAG,IAAI,GAAG,eAAe,GAAG,UAAU,CAC9C,CAAC;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,wBAAgB,eAAe,CAC7B,WAAW,EACX,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,EACnC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAE3E,KAAK,EAAE,oBAAoB,CACzB,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,2CA+EF;yBAhGe,eAAe;;;AAkG/B,MAAM,WAAW,uBACf,SAAQ,WAAW,EACjB,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;CACtE;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,KAAK,EACL,GAAG,UAAU,EACd,EAAE,uBAAuB,2CASzB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/RadioGroup/FieldRadioGroup.stories.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 04-04-2024 15:50:39
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { FieldRadioGroupProps } from "./FieldRadioGroup";
|
|
22
|
+
import { FieldRadioGroup } from "./FieldRadioGroup";
|
|
23
|
+
declare const _default: {
|
|
24
|
+
title: string;
|
|
25
|
+
component: typeof FieldRadioGroup;
|
|
26
|
+
parameters: {
|
|
27
|
+
status: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
export declare const main: {
|
|
34
|
+
(args: any): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
args: FieldRadioGroupProps;
|
|
36
|
+
};
|
|
37
|
+
export declare const form: () => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
//# sourceMappingURL=FieldRadioGroup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldRadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioGroup/FieldRadioGroup.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;;;AAEpD,wBAIE;AAEF,eAAO,MAAM,IAAI;;;CAA0C,CAAC;AAW5D,eAAO,MAAM,IAAI,+CAqChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioGroup/RadioGroup.ts"],"names":[],"mappings":"AAqBA,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioGroup/index.ts"],"names":[],"mappings":"AAqBA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Select/FieldSelectSimple.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 20-06-2024 06:03:52
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { DeepKeys, DeepValue, Validator } from "@tanstack/form-core";
|
|
22
|
+
import type { FormFieldProps } from "../FormField";
|
|
23
|
+
import type { FieldComponentProps } from "../types";
|
|
24
|
+
import type { SelectSimpleProps } from "./SelectSimple";
|
|
25
|
+
export type FieldSelectSimpleProps<TParentData = any, TName extends DeepKeys<TParentData> = any, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = Omit<FormFieldProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "field"> & Pick<SelectSimpleProps, "placeholder" | "value" | "onOpenChange" | "onValueChange"> & Partial<Omit<FieldComponentProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children">> & {
|
|
26
|
+
selectProps?: Omit<SelectSimpleProps, "placeholder" | "value" | "id" | "onOpenChange" | "onValueChange">;
|
|
27
|
+
};
|
|
28
|
+
export declare function FieldSelectSimple<TParentData = any, TName extends DeepKeys<TParentData> = any, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>>(props: FieldSelectSimpleProps<TParentData, TName, TFieldValidator, TFormValidator, TData>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=FieldSelectSimple.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSelectSimple.d.ts","sourceRoot":"","sources":["../../../src/forms/Select/FieldSelectSimple.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAI1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,MAAM,sBAAsB,CAChC,WAAW,GAAG,GAAG,EACjB,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,GAAG,GAAG,EACzC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,IACzE,IAAI,CACN,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,KAAK,CAAC,EAC1E,OAAO,CACR,GACC,IAAI,CACF,iBAAiB,EACjB,aAAa,GAAG,OAAO,GAAG,cAAc,GAAG,eAAe,CAC3D,GACD,OAAO,CACL,IAAI,CACF,mBAAmB,CACjB,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,EACD,UAAU,CACX,CACF,GAAG;IACF,WAAW,CAAC,EAAE,IAAI,CAChB,iBAAiB,EACjB,aAAa,GAAG,OAAO,GAAG,IAAI,GAAG,cAAc,GAAG,eAAe,CAClE,CAAC;CACH,CAAC;AAEJ,wBAAgB,iBAAiB,CAC/B,WAAW,GAAG,GAAG,EACjB,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,GAAG,GAAG,EACzC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAE3E,KAAK,EAAE,sBAAsB,CAC3B,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,2CAkFF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Select/FieldSelectSimple.stories.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 20-06-2024 10:33:38
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import { FieldSelectSimple } from "./index";
|
|
22
|
+
declare const _default: {
|
|
23
|
+
title: string;
|
|
24
|
+
component: typeof FieldSelectSimple;
|
|
25
|
+
parameters: {
|
|
26
|
+
status: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
32
|
+
export declare const main: {
|
|
33
|
+
(args: any): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
args: {};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=FieldSelectSimple.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSelectSimple.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/Select/FieldSelectSimple.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AAE5C,wBAME;AAEF,eAAO,MAAM,IAAI;;;CAiChB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { SelectContentProps, SelectItemExtraProps, SelectItemProps, SelectLabelProps, SelectProps, SelectScrollButtonProps, SelectTriggerProps, SelectValueExtraProps, SelectViewportProps, } from "tamagui";
|
|
2
|
+
export { Select } from "tamagui";
|
|
3
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/forms/Select/Select.ts"],"names":[],"mappings":"AAqBA,YAAY,EACV,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Select/SelectSimple.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 04-04-2024 15:50:39
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { ReactNode } from "react";
|
|
22
|
+
import type { SelectTriggerProps } from "tamagui";
|
|
23
|
+
import type { SelectProps } from "./Select";
|
|
24
|
+
export type SelectSimpleProps = SelectTriggerProps & Pick<SelectProps, "onOpenChange" | "onValueChange" | "id" | "value" | "defaultValue"> & {
|
|
25
|
+
placeholder?: ReactNode;
|
|
26
|
+
};
|
|
27
|
+
export declare function SelectSimple({ children, defaultValue, id, onOpenChange, onValueChange, placeholder, value, ...triggerProps }: SelectSimpleProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=SelectSimple.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectSimple.d.ts","sourceRoot":"","sources":["../../../src/forms/Select/SelectSimple.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAO5C,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAChD,IAAI,CACF,WAAW,EACX,cAAc,GAAG,eAAe,GAAG,IAAI,GAAG,OAAO,GAAG,cAAc,CACnE,GAAG;IAAE,WAAW,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAElC,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,YAAY,EACZ,EAAE,EACF,YAAY,EACZ,aAAa,EACb,WAAW,EACX,KAAK,EACL,GAAG,YAAY,EAChB,EAAE,iBAAiB,2CA2BnB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SelectSimple } from "./SelectSimple";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof SelectSimple;
|
|
5
|
+
parameters: {
|
|
6
|
+
status: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const main: {
|
|
13
|
+
(args: any): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
args: {
|
|
15
|
+
name: string;
|
|
16
|
+
placeholder: string;
|
|
17
|
+
defaultValue: string;
|
|
18
|
+
value: string;
|
|
19
|
+
onValueChange: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=SelectSimple.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectSimple.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/Select/SelectSimple.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;;AAE9C,wBAME;AAEF,eAAO,MAAM,IAAI;;;;;;;;;CAiBhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/Select/index.ts"],"names":[],"mappings":"AAqBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/SelectButton/OptionButton.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 18-06-2024 18:02:12
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { ButtonProps } from "../Button";
|
|
22
|
+
export type OptionButtonProps = ButtonProps & {
|
|
23
|
+
index: number;
|
|
24
|
+
selectedStyle?: ButtonProps;
|
|
25
|
+
value: string;
|
|
26
|
+
};
|
|
27
|
+
export declare function OptionButton({ index, value, selectedStyle, onPress, ...buttonProps }: OptionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=OptionButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionButton.d.ts","sourceRoot":"","sources":["../../../src/forms/SelectButton/OptionButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAsB7C,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,aAAa,EACb,OAAO,EACP,GAAG,WAAW,EACf,EAAE,iBAAiB,2CAwDnB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/SelectButton/index.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 18-06-2024 18:02:12
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { ButtonProps, YStackProps } from "tamagui";
|
|
22
|
+
import type { OptionButtonProps } from "./OptionButton";
|
|
23
|
+
export type SelectButtonProps = YStackProps & {
|
|
24
|
+
onValueChange?: (value: string) => unknown;
|
|
25
|
+
selectedStyle?: ButtonProps;
|
|
26
|
+
selectedValue?: string;
|
|
27
|
+
xStack?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export declare function SelectButton({ selectedValue, xStack, selectedStyle, onValueChange, ...stackProps }: SelectButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare namespace SelectButton {
|
|
31
|
+
var OptionButton: typeof import("./OptionButton").OptionButton;
|
|
32
|
+
}
|
|
33
|
+
export type { OptionButtonProps };
|
|
34
|
+
//# sourceMappingURL=SelectButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectButton.d.ts","sourceRoot":"","sources":["../../../src/forms/SelectButton/SelectButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC5C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3C,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,aAAa,EACb,MAAM,EACN,aAAa,EACb,aAAa,EACb,GAAG,UAAU,EACd,EAAE,iBAAiB,2CA4CnB;yBAlDe,YAAY;;;AAsD5B,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SelectButton } from "./SelectButton";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof SelectButton;
|
|
5
|
+
parameters: {
|
|
6
|
+
status: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const main: {
|
|
13
|
+
(args: any): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
args: {
|
|
15
|
+
value: string;
|
|
16
|
+
selectedValue: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const x: () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=SelectButton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectButton.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/SelectButton/SelectButton.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;;AAE9C,wBAME;AAEF,eAAO,MAAM,IAAI;;;;;;CAiBhB,CAAC;AASF,eAAO,MAAM,CAAC,+CAeb,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import type { ButtonProps } from "tamagui";
|
|
3
|
+
export declare const SelectButtonContext: import("react").Context<SelectButtonContextValue>;
|
|
4
|
+
interface SelectButtonContextValue {
|
|
5
|
+
selectedIndex?: number;
|
|
6
|
+
selectedStyle?: ButtonProps;
|
|
7
|
+
setSelectedIndex?: Dispatch<SetStateAction<number | undefined>>;
|
|
8
|
+
setValues?: Dispatch<SetStateAction<Record<string, string>>>;
|
|
9
|
+
values: Record<string, string>;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/forms/SelectButton/context.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,mBAAmB,mDAE9B,CAAC;AAEH,UAAU,wBAAwB;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,gBAAgB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;IAChE,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/SelectButton/index.ts"],"names":[],"mappings":"AAqBA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Slider/FieldSlider.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 19-06-2024 09:37:30
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { DeepKeys, DeepValue, Validator } from "@tanstack/form-core";
|
|
22
|
+
import type { SliderThumbProps } from "tamagui";
|
|
23
|
+
import type { FormFieldProps } from "../FormField";
|
|
24
|
+
import type { FieldComponentProps } from "../types";
|
|
25
|
+
import type { SliderProps } from "./Slider";
|
|
26
|
+
export type FieldSliderProps<TParentData = any, TName extends DeepKeys<TParentData> = any, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = Omit<FormFieldProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children" | "field"> & Pick<SliderProps, "value" | "onValueChange"> & Partial<Omit<FieldComponentProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children">> & {
|
|
27
|
+
sliderProps?: Omit<SliderProps, "value" | "id" | "onValueChange">;
|
|
28
|
+
thumbProps?: SliderThumbProps;
|
|
29
|
+
};
|
|
30
|
+
export declare function FieldSlider<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>>(props: FieldSliderProps<TParentData, TName, TFieldValidator, TFormValidator, TData>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=FieldSlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSlider.d.ts","sourceRoot":"","sources":["../../../src/forms/Slider/FieldSlider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAG1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,gBAAgB,CAC1B,WAAW,GAAG,GAAG,EACjB,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,GAAG,GAAG,EACzC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,IACzE,IAAI,CACN,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,KAAK,CAAC,EAC1E,UAAU,GAAG,OAAO,CACrB,GACC,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,eAAe,CAAC,GAC5C,OAAO,CACL,IAAI,CACF,mBAAmB,CACjB,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,EACD,UAAU,CACX,CACF,GAAG;IACF,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,GAAG,eAAe,CAAC,CAAC;IAClE,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B,CAAC;AAEJ,wBAAgB,WAAW,CACzB,WAAW,EACX,KAAK,SAAS,QAAQ,CAAC,WAAW,CAAC,EACnC,eAAe,SACX,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,GACjD,SAAS,GAAG,SAAS,EACzB,cAAc,SACV,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,GAC/B,SAAS,GAAG,SAAS,EACzB,KAAK,SAAS,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAE3E,KAAK,EAAE,gBAAgB,CACrB,WAAW,EACX,KAAK,EACL,eAAe,EACf,cAAc,EACd,KAAK,CACN,2CAmGF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Slider/FieldSlider.stories.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 20-06-2024 06:03:52
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { FieldSliderProps } from "./FieldSlider";
|
|
22
|
+
import { FieldSlider } from "./FieldSlider";
|
|
23
|
+
declare const _default: {
|
|
24
|
+
title: string;
|
|
25
|
+
component: typeof FieldSlider;
|
|
26
|
+
parameters: {
|
|
27
|
+
status: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
export declare const main: {
|
|
34
|
+
(args: any): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
args: FieldSliderProps;
|
|
36
|
+
};
|
|
37
|
+
export declare const form: () => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
//# sourceMappingURL=FieldSlider.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSlider.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/Slider/FieldSlider.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AA2BH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;AAE5C,wBAME;AAEF,eAAO,MAAM,IAAI;;;CAEhB,CAAC;AASF,eAAO,MAAM,IAAI,+CAuBhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/forms/Slider/Slider.ts"],"names":[],"mappings":"AAqBA,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/Slider/index.ts"],"names":[],"mappings":"AAqBA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File: /src/forms/Switch/FieldSwitch.tsx
|
|
3
|
+
* Project: @multiplatform.one/components
|
|
4
|
+
* File Created: 19-06-2024 09:37:30
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2024
|
|
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
|
+
import type { DeepKeys, DeepValue, Validator } from "@tanstack/form-core";
|
|
22
|
+
import type { SwitchProps, SwitchThumbProps } from "tamagui";
|
|
23
|
+
import type { FormFieldProps } from "../FormField";
|
|
24
|
+
import type { FieldComponentProps } from "../types";
|
|
25
|
+
export type FieldSwitchProps<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = Omit<FormFieldProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children" | "field"> & Pick<SwitchProps, "checked" | "onCheckedChange"> & Partial<Omit<FieldComponentProps<TParentData, TName, TFieldValidator, TFormValidator, TData>, "children">> & {
|
|
26
|
+
switchProps?: Omit<SwitchProps, "checked" | "id" | "onCheckedChange">;
|
|
27
|
+
thumbStyle?: SwitchThumbProps;
|
|
28
|
+
};
|
|
29
|
+
export declare function FieldSwitch<TParentData = any, TName extends DeepKeys<TParentData> = any, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>>(props: FieldSwitchProps<TParentData, TName, TFieldValidator, TFormValidator, TData>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=FieldSwitch.d.ts.map
|