@1money/component-ui 0.0.1
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/.agents/skills/1money-component-dev/SKILL.md +224 -0
- package/.agents/skills/1money-component-dev/checklist.md +159 -0
- package/.agents/skills/1money-component-dev/references/ComponentPatterns.md +478 -0
- package/.agents/skills/1money-component-dev/references/FigmaExtractionChecklist.md +144 -0
- package/.agents/skills/1money-component-dev/references/HooksGuide.md +360 -0
- package/.agents/skills/1money-component-dev/references/SemanticColors.md +215 -0
- package/.agents/skills/1money-component-dev/references/StyleSystemAPI.md +389 -0
- package/.claude/settings.local.json +103 -0
- package/.claude/skills/1money-component-dev/SKILL.md +229 -0
- package/.claude/skills/1money-component-dev/checklist.md +159 -0
- package/.claude/skills/1money-component-dev/references/ComponentPatterns.md +478 -0
- package/.claude/skills/1money-component-dev/references/FigmaExtractionChecklist.md +144 -0
- package/.claude/skills/1money-component-dev/references/HooksGuide.md +360 -0
- package/.claude/skills/1money-component-dev/references/SemanticColors.md +215 -0
- package/.claude/skills/1money-component-dev/references/StyleSystemAPI.md +389 -0
- package/.claude/skills/1money-component-review/SKILL.md +316 -0
- package/.claude/skills/component-pipeline/SKILL.md +116 -0
- package/.claude/skills/component-pipeline/checklist.md +125 -0
- package/.hintrc +13 -0
- package/@types/global.d.ts +28 -0
- package/AGENTS.md +540 -0
- package/CLAUDE.md +1 -0
- package/LICENSE +21 -0
- package/README.md +169 -0
- package/es/components/Accordion/Accordion.d.ts +6 -0
- package/es/components/Accordion/Accordion.js +102 -0
- package/es/components/Accordion/index.d.ts +4 -0
- package/es/components/Accordion/index.js +5 -0
- package/es/components/Accordion/interface.d.ts +29 -0
- package/es/components/Accordion/interface.js +2 -0
- package/es/components/Accordion/style/Accordion.css +1 -0
- package/es/components/Accordion/style/Accordion.scss +127 -0
- package/es/components/Accordion/style/css.js +2 -0
- package/es/components/Accordion/style/index.d.ts +1 -0
- package/es/components/Accordion/style/index.js +2 -0
- package/es/components/Alert/Alert.d.ts +6 -0
- package/es/components/Alert/Alert.js +94 -0
- package/es/components/Alert/index.d.ts +4 -0
- package/es/components/Alert/index.js +5 -0
- package/es/components/Alert/interface.d.ts +40 -0
- package/es/components/Alert/interface.js +6 -0
- package/es/components/Alert/style/Alert.css +1 -0
- package/es/components/Alert/style/Alert.scss +89 -0
- package/es/components/Alert/style/css.js +3 -0
- package/es/components/Alert/style/index.d.ts +2 -0
- package/es/components/Alert/style/index.js +3 -0
- package/es/components/Button/Button.d.ts +4 -0
- package/es/components/Button/Button.js +121 -0
- package/es/components/Button/constants.d.ts +56 -0
- package/es/components/Button/constants.js +69 -0
- package/es/components/Button/index.d.ts +5 -0
- package/es/components/Button/index.js +6 -0
- package/es/components/Button/interface.d.ts +14 -0
- package/es/components/Button/interface.js +2 -0
- package/es/components/Button/style/Button.css +1 -0
- package/es/components/Button/style/Button.scss +190 -0
- package/es/components/Button/style/css.js +2 -0
- package/es/components/Button/style/index.d.ts +1 -0
- package/es/components/Button/style/index.js +2 -0
- package/es/components/Calendar/Calendar.d.ts +7 -0
- package/es/components/Calendar/Calendar.js +112 -0
- package/es/components/Calendar/index.d.ts +4 -0
- package/es/components/Calendar/index.js +5 -0
- package/es/components/Calendar/interface.d.ts +29 -0
- package/es/components/Calendar/interface.js +2 -0
- package/es/components/Calendar/style/Calendar.css +1 -0
- package/es/components/Calendar/style/Calendar.scss +377 -0
- package/es/components/Calendar/style/css.js +2 -0
- package/es/components/Calendar/style/index.d.ts +1 -0
- package/es/components/Calendar/style/index.js +2 -0
- package/es/components/Carousel/Carousel.d.ts +6 -0
- package/es/components/Carousel/Carousel.js +46 -0
- package/es/components/Carousel/index.d.ts +4 -0
- package/es/components/Carousel/index.js +5 -0
- package/es/components/Carousel/interface.d.ts +15 -0
- package/es/components/Carousel/interface.js +2 -0
- package/es/components/Carousel/style/Carousel.css +1 -0
- package/es/components/Carousel/style/Carousel.scss +63 -0
- package/es/components/Carousel/style/css.js +2 -0
- package/es/components/Carousel/style/index.d.ts +1 -0
- package/es/components/Carousel/style/index.js +2 -0
- package/es/components/Checkbox/BaseCheckbox.d.ts +6 -0
- package/es/components/Checkbox/BaseCheckbox.js +84 -0
- package/es/components/Checkbox/Checkbox.d.ts +6 -0
- package/es/components/Checkbox/Checkbox.js +120 -0
- package/es/components/Checkbox/CheckboxGroup.d.ts +5 -0
- package/es/components/Checkbox/CheckboxGroup.js +140 -0
- package/es/components/Checkbox/CheckboxGroupContext.d.ts +14 -0
- package/es/components/Checkbox/CheckboxGroupContext.js +3 -0
- package/es/components/Checkbox/constants.d.ts +7 -0
- package/es/components/Checkbox/constants.js +8 -0
- package/es/components/Checkbox/index.d.ts +10 -0
- package/es/components/Checkbox/index.js +10 -0
- package/es/components/Checkbox/interface.d.ts +77 -0
- package/es/components/Checkbox/interface.js +2 -0
- package/es/components/Checkbox/style/Checkbox.css +1 -0
- package/es/components/Checkbox/style/Checkbox.scss +235 -0
- package/es/components/Checkbox/style/css.js +2 -0
- package/es/components/Checkbox/style/index.d.ts +1 -0
- package/es/components/Checkbox/style/index.js +2 -0
- package/es/components/CoachMark/CoachMark.d.ts +4 -0
- package/es/components/CoachMark/CoachMark.js +142 -0
- package/es/components/CoachMark/index.d.ts +4 -0
- package/es/components/CoachMark/index.js +5 -0
- package/es/components/CoachMark/interface.d.ts +47 -0
- package/es/components/CoachMark/interface.js +2 -0
- package/es/components/CoachMark/style/CoachMark.css +1 -0
- package/es/components/CoachMark/style/CoachMark.scss +176 -0
- package/es/components/CoachMark/style/css.js +5 -0
- package/es/components/CoachMark/style/index.d.ts +4 -0
- package/es/components/CoachMark/style/index.js +5 -0
- package/es/components/Copy/Copy.d.ts +6 -0
- package/es/components/Copy/Copy.js +70 -0
- package/es/components/Copy/index.d.ts +4 -0
- package/es/components/Copy/index.js +5 -0
- package/es/components/Copy/interface.d.ts +20 -0
- package/es/components/Copy/interface.js +2 -0
- package/es/components/Copy/style/Copy.css +1 -0
- package/es/components/Copy/style/Copy.scss +35 -0
- package/es/components/Copy/style/css.js +2 -0
- package/es/components/Copy/style/index.d.ts +1 -0
- package/es/components/Copy/style/index.js +2 -0
- package/es/components/Divider/Divider.d.ts +4 -0
- package/es/components/Divider/Divider.js +53 -0
- package/es/components/Divider/index.d.ts +4 -0
- package/es/components/Divider/index.js +5 -0
- package/es/components/Divider/interface.d.ts +20 -0
- package/es/components/Divider/interface.js +2 -0
- package/es/components/Divider/style/Divider.css +1 -0
- package/es/components/Divider/style/Divider.scss +149 -0
- package/es/components/Divider/style/css.js +2 -0
- package/es/components/Divider/style/index.d.ts +1 -0
- package/es/components/Divider/style/index.js +2 -0
- package/es/components/Drawer/Drawer.d.ts +4 -0
- package/es/components/Drawer/Drawer.js +271 -0
- package/es/components/Drawer/constants.d.ts +15 -0
- package/es/components/Drawer/constants.js +16 -0
- package/es/components/Drawer/index.d.ts +3 -0
- package/es/components/Drawer/index.js +4 -0
- package/es/components/Drawer/interface.d.ts +79 -0
- package/es/components/Drawer/interface.js +2 -0
- package/es/components/Drawer/style/Drawer.css +1 -0
- package/es/components/Drawer/style/Drawer.scss +163 -0
- package/es/components/Drawer/style/css.js +2 -0
- package/es/components/Drawer/style/index.d.ts +1 -0
- package/es/components/Drawer/style/index.js +2 -0
- package/es/components/Dropdown/Dropdown.d.ts +5 -0
- package/es/components/Dropdown/Dropdown.js +24 -0
- package/es/components/Dropdown/index.d.ts +3 -0
- package/es/components/Dropdown/index.js +4 -0
- package/es/components/Dropdown/interface.d.ts +8 -0
- package/es/components/Dropdown/interface.js +2 -0
- package/es/components/Dropdown/style/Dropdown.css +0 -0
- package/es/components/Dropdown/style/Dropdown.scss +2 -0
- package/es/components/Dropdown/style/css.js +3 -0
- package/es/components/Dropdown/style/index.d.ts +2 -0
- package/es/components/Dropdown/style/index.js +3 -0
- package/es/components/Empty/Empty.d.ts +6 -0
- package/es/components/Empty/Empty.js +68 -0
- package/es/components/Empty/index.d.ts +4 -0
- package/es/components/Empty/index.js +5 -0
- package/es/components/Empty/interface.d.ts +11 -0
- package/es/components/Empty/interface.js +2 -0
- package/es/components/Empty/style/Empty.css +1 -0
- package/es/components/Empty/style/Empty.scss +53 -0
- package/es/components/Empty/style/css.js +3 -0
- package/es/components/Empty/style/index.d.ts +2 -0
- package/es/components/Empty/style/index.js +3 -0
- package/es/components/Flex/Flex.d.ts +5 -0
- package/es/components/Flex/Flex.js +50 -0
- package/es/components/Flex/constants.d.ts +41 -0
- package/es/components/Flex/constants.js +45 -0
- package/es/components/Flex/index.d.ts +5 -0
- package/es/components/Flex/index.js +6 -0
- package/es/components/Flex/interface.d.ts +13 -0
- package/es/components/Flex/interface.js +2 -0
- package/es/components/Flex/style/Flex.css +1 -0
- package/es/components/Flex/style/Flex.scss +70 -0
- package/es/components/Flex/style/css.js +2 -0
- package/es/components/Flex/style/index.d.ts +1 -0
- package/es/components/Flex/style/index.js +2 -0
- package/es/components/Form/Form.d.ts +4 -0
- package/es/components/Form/Form.js +73 -0
- package/es/components/Form/FormItem.d.ts +4 -0
- package/es/components/Form/FormItem.js +183 -0
- package/es/components/Form/constants.d.ts +19 -0
- package/es/components/Form/constants.js +19 -0
- package/es/components/Form/context.d.ts +5 -0
- package/es/components/Form/context.js +19 -0
- package/es/components/Form/hooks/useForm.d.ts +3 -0
- package/es/components/Form/hooks/useForm.js +541 -0
- package/es/components/Form/hooks/useFormCore.d.ts +3 -0
- package/es/components/Form/hooks/useFormCore.js +348 -0
- package/es/components/Form/index.d.ts +10 -0
- package/es/components/Form/index.js +17 -0
- package/es/components/Form/interface.d.ts +166 -0
- package/es/components/Form/interface.js +2 -0
- package/es/components/Form/style/Form.css +1 -0
- package/es/components/Form/style/Form.scss +57 -0
- package/es/components/Form/style/css.js +2 -0
- package/es/components/Form/style/index.d.ts +1 -0
- package/es/components/Form/style/index.js +2 -0
- package/es/components/Grid/Col.d.ts +4 -0
- package/es/components/Grid/Col.js +83 -0
- package/es/components/Grid/Grid.d.ts +10 -0
- package/es/components/Grid/Grid.js +15 -0
- package/es/components/Grid/Row.d.ts +4 -0
- package/es/components/Grid/Row.js +41 -0
- package/es/components/Grid/constants.d.ts +48 -0
- package/es/components/Grid/constants.js +71 -0
- package/es/components/Grid/helper.d.ts +15 -0
- package/es/components/Grid/helper.js +87 -0
- package/es/components/Grid/index.d.ts +7 -0
- package/es/components/Grid/index.js +8 -0
- package/es/components/Grid/interface.d.ts +38 -0
- package/es/components/Grid/interface.js +2 -0
- package/es/components/Grid/style/Grid.css +1 -0
- package/es/components/Grid/style/Grid.scss +184 -0
- package/es/components/Grid/style/css.js +2 -0
- package/es/components/Grid/style/index.d.ts +1 -0
- package/es/components/Grid/style/index.js +2 -0
- package/es/components/Icons/Icons.d.ts +192 -0
- package/es/components/Icons/Icons.js +192 -0
- package/es/components/Icons/Illustrations.d.ts +18 -0
- package/es/components/Icons/Illustrations.js +874 -0
- package/es/components/Icons/Logo.d.ts +36 -0
- package/es/components/Icons/Logo.js +209 -0
- package/es/components/Icons/SVGs.d.ts +265 -0
- package/es/components/Icons/SVGs.js +1918 -0
- package/es/components/Icons/Wrapper.d.ts +6 -0
- package/es/components/Icons/Wrapper.js +100 -0
- package/es/components/Icons/index.d.ts +4 -0
- package/es/components/Icons/index.js +4 -0
- package/es/components/Icons/interface.d.ts +27 -0
- package/es/components/Icons/interface.js +2 -0
- package/es/components/Icons/style/Icons.css +1 -0
- package/es/components/Icons/style/Icons.scss +85 -0
- package/es/components/Icons/style/css.js +2 -0
- package/es/components/Icons/style/index.d.ts +1 -0
- package/es/components/Icons/style/index.js +2 -0
- package/es/components/Input/Amount/Amount.d.ts +6 -0
- package/es/components/Input/Amount/Amount.js +192 -0
- package/es/components/Input/Amount/helper.d.ts +35 -0
- package/es/components/Input/Amount/helper.js +95 -0
- package/es/components/Input/Amount/index.d.ts +3 -0
- package/es/components/Input/Amount/index.js +4 -0
- package/es/components/Input/Amount/style/Amount.css +1 -0
- package/es/components/Input/Amount/style/Amount.scss +89 -0
- package/es/components/Input/Amount/style/css.js +2 -0
- package/es/components/Input/Amount/style/index.d.ts +1 -0
- package/es/components/Input/Amount/style/index.js +2 -0
- package/es/components/Input/FieldShell/FieldShell.css +1 -0
- package/es/components/Input/FieldShell/FieldShell.d.ts +19 -0
- package/es/components/Input/FieldShell/FieldShell.js +76 -0
- package/es/components/Input/FieldShell/FieldShell.scss +62 -0
- package/es/components/Input/FieldShell/index.d.ts +3 -0
- package/es/components/Input/FieldShell/index.js +3 -0
- package/es/components/Input/Input/Input.css +1 -0
- package/es/components/Input/Input/Input.d.ts +3 -0
- package/es/components/Input/Input/Input.js +158 -0
- package/es/components/Input/Input/Input.scss +131 -0
- package/es/components/Input/Input/index.d.ts +2 -0
- package/es/components/Input/Input/index.js +3 -0
- package/es/components/Input/Mask/Mask.d.ts +5 -0
- package/es/components/Input/Mask/Mask.js +337 -0
- package/es/components/Input/Mask/index.d.ts +2 -0
- package/es/components/Input/Mask/index.js +3 -0
- package/es/components/Input/OTP/OTP.css +1 -0
- package/es/components/Input/OTP/OTP.d.ts +5 -0
- package/es/components/Input/OTP/OTP.js +150 -0
- package/es/components/Input/OTP/OTP.scss +75 -0
- package/es/components/Input/OTP/index.d.ts +2 -0
- package/es/components/Input/OTP/index.js +3 -0
- package/es/components/Input/Password/Password.d.ts +5 -0
- package/es/components/Input/Password/Password.js +121 -0
- package/es/components/Input/Password/index.d.ts +2 -0
- package/es/components/Input/Password/index.js +3 -0
- package/es/components/Input/Search/Search.d.ts +5 -0
- package/es/components/Input/Search/Search.js +144 -0
- package/es/components/Input/Search/index.d.ts +2 -0
- package/es/components/Input/Search/index.js +3 -0
- package/es/components/Input/TextArea/TextArea.css +1 -0
- package/es/components/Input/TextArea/TextArea.d.ts +5 -0
- package/es/components/Input/TextArea/TextArea.js +93 -0
- package/es/components/Input/TextArea/TextArea.scss +87 -0
- package/es/components/Input/TextArea/index.d.ts +2 -0
- package/es/components/Input/TextArea/index.js +3 -0
- package/es/components/Input/Trade/Trade.css +1 -0
- package/es/components/Input/Trade/Trade.d.ts +5 -0
- package/es/components/Input/Trade/Trade.js +130 -0
- package/es/components/Input/Trade/Trade.scss +184 -0
- package/es/components/Input/Trade/index.d.ts +2 -0
- package/es/components/Input/Trade/index.js +3 -0
- package/es/components/Input/constants.d.ts +15 -0
- package/es/components/Input/constants.js +16 -0
- package/es/components/Input/index.d.ts +4 -0
- package/es/components/Input/index.js +5 -0
- package/es/components/Input/interface.d.ts +153 -0
- package/es/components/Input/interface.js +2 -0
- package/es/components/Input/style/css.js +7 -0
- package/es/components/Input/style/index.d.ts +6 -0
- package/es/components/Input/style/index.js +7 -0
- package/es/components/Input/useAmountInput.d.ts +35 -0
- package/es/components/Input/useAmountInput.js +207 -0
- package/es/components/Input/useSyncRef.d.ts +2 -0
- package/es/components/Input/useSyncRef.js +13 -0
- package/es/components/Modal/Modal.d.ts +4 -0
- package/es/components/Modal/Modal.js +383 -0
- package/es/components/Modal/constants.d.ts +58 -0
- package/es/components/Modal/constants.js +55 -0
- package/es/components/Modal/index.d.ts +4 -0
- package/es/components/Modal/index.js +5 -0
- package/es/components/Modal/interface.d.ts +37 -0
- package/es/components/Modal/interface.js +2 -0
- package/es/components/Modal/style/Modal.css +1 -0
- package/es/components/Modal/style/Modal.scss +254 -0
- package/es/components/Modal/style/css.js +2 -0
- package/es/components/Modal/style/index.d.ts +1 -0
- package/es/components/Modal/style/index.js +2 -0
- package/es/components/Navigation/Nav.d.ts +5 -0
- package/es/components/Navigation/Nav.js +198 -0
- package/es/components/Navigation/Navigation.d.ts +5 -0
- package/es/components/Navigation/Navigation.js +299 -0
- package/es/components/Navigation/NavigationLogo.d.ts +7 -0
- package/es/components/Navigation/NavigationLogo.js +36 -0
- package/es/components/Navigation/index.d.ts +5 -0
- package/es/components/Navigation/index.js +6 -0
- package/es/components/Navigation/interface.d.ts +95 -0
- package/es/components/Navigation/interface.js +2 -0
- package/es/components/Navigation/style/Nav.css +1 -0
- package/es/components/Navigation/style/Nav.scss +174 -0
- package/es/components/Navigation/style/Navigation.css +1 -0
- package/es/components/Navigation/style/Navigation.scss +443 -0
- package/es/components/Navigation/style/css.js +3 -0
- package/es/components/Navigation/style/index.d.ts +2 -0
- package/es/components/Navigation/style/index.js +3 -0
- package/es/components/Notification/Notification.d.ts +6 -0
- package/es/components/Notification/Notification.js +114 -0
- package/es/components/Notification/NotificationStatic.d.ts +4 -0
- package/es/components/Notification/NotificationStatic.js +501 -0
- package/es/components/Notification/constants.d.ts +5 -0
- package/es/components/Notification/constants.js +7 -0
- package/es/components/Notification/index.d.ts +5 -0
- package/es/components/Notification/index.js +5 -0
- package/es/components/Notification/interface.d.ts +70 -0
- package/es/components/Notification/interface.js +7 -0
- package/es/components/Notification/style/Notification.css +1 -0
- package/es/components/Notification/style/Notification.scss +200 -0
- package/es/components/Notification/style/css.js +2 -0
- package/es/components/Notification/style/index.d.ts +1 -0
- package/es/components/Notification/style/index.js +2 -0
- package/es/components/Pagination/Pagination.d.ts +5 -0
- package/es/components/Pagination/Pagination.js +137 -0
- package/es/components/Pagination/constants.d.ts +53 -0
- package/es/components/Pagination/constants.js +56 -0
- package/es/components/Pagination/index.d.ts +6 -0
- package/es/components/Pagination/index.js +7 -0
- package/es/components/Pagination/interface.d.ts +54 -0
- package/es/components/Pagination/interface.js +2 -0
- package/es/components/Pagination/style/Pagination.css +1 -0
- package/es/components/Pagination/style/Pagination.scss +95 -0
- package/es/components/Pagination/style/css.js +2 -0
- package/es/components/Pagination/style/index.d.ts +1 -0
- package/es/components/Pagination/style/index.js +2 -0
- package/es/components/Pagination/usePagination.d.ts +3 -0
- package/es/components/Pagination/usePagination.js +154 -0
- package/es/components/Popconfirm/Popconfirm.d.ts +6 -0
- package/es/components/Popconfirm/Popconfirm.js +131 -0
- package/es/components/Popconfirm/constants.d.ts +72 -0
- package/es/components/Popconfirm/constants.js +71 -0
- package/es/components/Popconfirm/index.d.ts +4 -0
- package/es/components/Popconfirm/index.js +5 -0
- package/es/components/Popconfirm/interface.d.ts +40 -0
- package/es/components/Popconfirm/interface.js +2 -0
- package/es/components/Popconfirm/style/Popconfirm.css +1 -0
- package/es/components/Popconfirm/style/Popconfirm.scss +264 -0
- package/es/components/Popconfirm/style/css.js +5 -0
- package/es/components/Popconfirm/style/index.d.ts +4 -0
- package/es/components/Popconfirm/style/index.js +5 -0
- package/es/components/Portal/Portal.d.ts +3 -0
- package/es/components/Portal/Portal.js +54 -0
- package/es/components/Portal/index.d.ts +4 -0
- package/es/components/Portal/index.js +5 -0
- package/es/components/Portal/interface.d.ts +7 -0
- package/es/components/Portal/interface.js +2 -0
- package/es/components/ProForm/ProForm.d.ts +3 -0
- package/es/components/ProForm/ProForm.js +254 -0
- package/es/components/ProForm/ProFormDependency.d.ts +3 -0
- package/es/components/ProForm/ProFormDependency.js +69 -0
- package/es/components/ProForm/ProFormGroup.d.ts +3 -0
- package/es/components/ProForm/ProFormGroup.js +78 -0
- package/es/components/ProForm/ProFormList.d.ts +3 -0
- package/es/components/ProForm/ProFormList.js +253 -0
- package/es/components/ProForm/Submitter.d.ts +6 -0
- package/es/components/ProForm/Submitter.js +67 -0
- package/es/components/ProForm/constants.d.ts +18 -0
- package/es/components/ProForm/constants.js +23 -0
- package/es/components/ProForm/context.d.ts +5 -0
- package/es/components/ProForm/context.js +26 -0
- package/es/components/ProForm/fields/ProFormCheckbox.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormCheckbox.js +11 -0
- package/es/components/ProForm/fields/ProFormCheckboxGroup.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormCheckboxGroup.js +12 -0
- package/es/components/ProForm/fields/ProFormDatePicker.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormDatePicker.js +23 -0
- package/es/components/ProForm/fields/ProFormFieldSet.d.ts +4 -0
- package/es/components/ProForm/fields/ProFormFieldSet.js +62 -0
- package/es/components/ProForm/fields/ProFormPassword.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormPassword.js +11 -0
- package/es/components/ProForm/fields/ProFormRadioGroup.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormRadioGroup.js +10 -0
- package/es/components/ProForm/fields/ProFormSelect.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormSelect.js +40 -0
- package/es/components/ProForm/fields/ProFormSlider.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormSlider.js +10 -0
- package/es/components/ProForm/fields/ProFormSwitch.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormSwitch.js +11 -0
- package/es/components/ProForm/fields/ProFormText.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormText.js +10 -0
- package/es/components/ProForm/fields/ProFormTextArea.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormTextArea.js +10 -0
- package/es/components/ProForm/fields/ProFormUpload.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormUpload.js +25 -0
- package/es/components/ProForm/fields/createProFormField.d.ts +4 -0
- package/es/components/ProForm/fields/createProFormField.js +229 -0
- package/es/components/ProForm/fields/index.d.ts +13 -0
- package/es/components/ProForm/fields/index.js +14 -0
- package/es/components/ProForm/hooks/useFieldRequest.d.ts +7 -0
- package/es/components/ProForm/hooks/useFieldRequest.js +90 -0
- package/es/components/ProForm/index.d.ts +30 -0
- package/es/components/ProForm/index.js +37 -0
- package/es/components/ProForm/interface.d.ts +240 -0
- package/es/components/ProForm/interface.js +2 -0
- package/es/components/ProForm/layouts/DrawerForm.d.ts +3 -0
- package/es/components/ProForm/layouts/DrawerForm.js +73 -0
- package/es/components/ProForm/layouts/ModalForm.d.ts +3 -0
- package/es/components/ProForm/layouts/ModalForm.js +74 -0
- package/es/components/ProForm/layouts/QueryFilter.d.ts +4 -0
- package/es/components/ProForm/layouts/QueryFilter.js +158 -0
- package/es/components/ProForm/layouts/index.d.ts +4 -0
- package/es/components/ProForm/layouts/index.js +5 -0
- package/es/components/ProForm/layouts/useOverlayForm.d.ts +17 -0
- package/es/components/ProForm/layouts/useOverlayForm.js +107 -0
- package/es/components/ProForm/style/ProForm.css +1 -0
- package/es/components/ProForm/style/ProForm.scss +118 -0
- package/es/components/ProForm/style/css.js +2 -0
- package/es/components/ProForm/style/index.d.ts +1 -0
- package/es/components/ProForm/style/index.js +2 -0
- package/es/components/ProForm/utils.d.ts +22 -0
- package/es/components/ProForm/utils.js +211 -0
- package/es/components/Progress/Progress.d.ts +6 -0
- package/es/components/Progress/Progress.js +94 -0
- package/es/components/Progress/constants.d.ts +26 -0
- package/es/components/Progress/constants.js +32 -0
- package/es/components/Progress/index.d.ts +5 -0
- package/es/components/Progress/index.js +6 -0
- package/es/components/Progress/interface.d.ts +26 -0
- package/es/components/Progress/interface.js +2 -0
- package/es/components/Progress/style/Progress.css +1 -0
- package/es/components/Progress/style/Progress.scss +120 -0
- package/es/components/Progress/style/css.js +2 -0
- package/es/components/Progress/style/index.d.ts +1 -0
- package/es/components/Progress/style/index.js +2 -0
- package/es/components/Radio/BaseRadio.d.ts +16 -0
- package/es/components/Radio/BaseRadio.js +58 -0
- package/es/components/Radio/Radio.d.ts +6 -0
- package/es/components/Radio/Radio.js +179 -0
- package/es/components/Radio/RadioGroup.d.ts +5 -0
- package/es/components/Radio/RadioGroup.js +100 -0
- package/es/components/Radio/RadioGroupContext.d.ts +22 -0
- package/es/components/Radio/RadioGroupContext.js +7 -0
- package/es/components/Radio/constants.d.ts +36 -0
- package/es/components/Radio/constants.js +63 -0
- package/es/components/Radio/index.d.ts +5 -0
- package/es/components/Radio/index.js +6 -0
- package/es/components/Radio/interface.d.ts +115 -0
- package/es/components/Radio/interface.js +2 -0
- package/es/components/Radio/style/Radio.css +1 -0
- package/es/components/Radio/style/Radio.scss +431 -0
- package/es/components/Radio/style/css.js +3 -0
- package/es/components/Radio/style/index.d.ts +2 -0
- package/es/components/Radio/style/index.js +3 -0
- package/es/components/ResizeObserver/Collection.d.ts +19 -0
- package/es/components/ResizeObserver/Collection.js +41 -0
- package/es/components/ResizeObserver/ResizeObserver.d.ts +7 -0
- package/es/components/ResizeObserver/ResizeObserver.js +31 -0
- package/es/components/ResizeObserver/SingleObserver/index.d.ts +7 -0
- package/es/components/ResizeObserver/SingleObserver/index.js +38 -0
- package/es/components/ResizeObserver/index.d.ts +7 -0
- package/es/components/ResizeObserver/index.js +6 -0
- package/es/components/ResizeObserver/interface.d.ts +16 -0
- package/es/components/ResizeObserver/interface.js +2 -0
- package/es/components/ResizeObserver/useResizeObserver.d.ts +2 -0
- package/es/components/ResizeObserver/useResizeObserver.js +70 -0
- package/es/components/ResizeObserver/utils/observerUtil.d.ts +7 -0
- package/es/components/ResizeObserver/utils/observerUtil.js +39 -0
- package/es/components/ResizeObserver/utils/reactUtil.d.ts +19 -0
- package/es/components/ResizeObserver/utils/reactUtil.js +78 -0
- package/es/components/Segment/Segment.d.ts +6 -0
- package/es/components/Segment/Segment.js +100 -0
- package/es/components/Segment/index.d.ts +4 -0
- package/es/components/Segment/index.js +5 -0
- package/es/components/Segment/interface.d.ts +23 -0
- package/es/components/Segment/interface.js +2 -0
- package/es/components/Segment/style/Segment.css +1 -0
- package/es/components/Segment/style/Segment.scss +80 -0
- package/es/components/Segment/style/css.js +2 -0
- package/es/components/Segment/style/index.d.ts +1 -0
- package/es/components/Segment/style/index.js +2 -0
- package/es/components/Select/Select.d.ts +6 -0
- package/es/components/Select/Select.js +520 -0
- package/es/components/Select/SelectFieldShell.d.ts +22 -0
- package/es/components/Select/SelectFieldShell.js +73 -0
- package/es/components/Select/SelectOptionContent.d.ts +9 -0
- package/es/components/Select/SelectOptionContent.js +36 -0
- package/es/components/Select/SelectSearchControl.d.ts +12 -0
- package/es/components/Select/SelectSearchControl.js +38 -0
- package/es/components/Select/SelectValueContent.d.ts +18 -0
- package/es/components/Select/SelectValueContent.js +99 -0
- package/es/components/Select/constants.d.ts +14 -0
- package/es/components/Select/constants.js +20 -0
- package/es/components/Select/index.d.ts +4 -0
- package/es/components/Select/index.js +5 -0
- package/es/components/Select/interface.d.ts +83 -0
- package/es/components/Select/interface.js +4 -0
- package/es/components/Select/style/Select.css +1 -0
- package/es/components/Select/style/Select.scss +480 -0
- package/es/components/Select/style/css.js +4 -0
- package/es/components/Select/style/index.d.ts +3 -0
- package/es/components/Select/style/index.js +4 -0
- package/es/components/Select/utils.d.ts +21 -0
- package/es/components/Select/utils.js +140 -0
- package/es/components/Skeleton/Skeleton.d.ts +6 -0
- package/es/components/Skeleton/Skeleton.js +49 -0
- package/es/components/Skeleton/index.d.ts +4 -0
- package/es/components/Skeleton/index.js +5 -0
- package/es/components/Skeleton/interface.d.ts +19 -0
- package/es/components/Skeleton/interface.js +2 -0
- package/es/components/Skeleton/style/Skeleton.css +1 -0
- package/es/components/Skeleton/style/Skeleton.scss +47 -0
- package/es/components/Skeleton/style/css.js +2 -0
- package/es/components/Skeleton/style/index.d.ts +1 -0
- package/es/components/Skeleton/style/index.js +2 -0
- package/es/components/Slider/Slider.d.ts +6 -0
- package/es/components/Slider/Slider.js +116 -0
- package/es/components/Slider/index.d.ts +4 -0
- package/es/components/Slider/index.js +5 -0
- package/es/components/Slider/interface.d.ts +39 -0
- package/es/components/Slider/interface.js +2 -0
- package/es/components/Slider/style/Slider.css +1 -0
- package/es/components/Slider/style/Slider.scss +182 -0
- package/es/components/Slider/style/css.js +2 -0
- package/es/components/Slider/style/index.d.ts +1 -0
- package/es/components/Slider/style/index.js +2 -0
- package/es/components/Space/Space.d.ts +5 -0
- package/es/components/Space/Space.js +78 -0
- package/es/components/Space/constants.d.ts +33 -0
- package/es/components/Space/constants.js +37 -0
- package/es/components/Space/index.d.ts +5 -0
- package/es/components/Space/index.js +6 -0
- package/es/components/Space/interface.d.ts +12 -0
- package/es/components/Space/interface.js +2 -0
- package/es/components/Space/style/Space.css +1 -0
- package/es/components/Space/style/Space.scss +40 -0
- package/es/components/Space/style/css.js +2 -0
- package/es/components/Space/style/index.d.ts +1 -0
- package/es/components/Space/style/index.js +2 -0
- package/es/components/Spinner/Spinner.d.ts +6 -0
- package/es/components/Spinner/Spinner.js +83 -0
- package/es/components/Spinner/index.d.ts +4 -0
- package/es/components/Spinner/index.js +5 -0
- package/es/components/Spinner/interface.d.ts +14 -0
- package/es/components/Spinner/interface.js +2 -0
- package/es/components/Spinner/style/Spinner.css +1 -0
- package/es/components/Spinner/style/Spinner.scss +90 -0
- package/es/components/Spinner/style/css.js +2 -0
- package/es/components/Spinner/style/index.d.ts +1 -0
- package/es/components/Spinner/style/index.js +2 -0
- package/es/components/Step/Step.d.ts +5 -0
- package/es/components/Step/Step.js +116 -0
- package/es/components/Step/constants.d.ts +59 -0
- package/es/components/Step/constants.js +65 -0
- package/es/components/Step/index.d.ts +4 -0
- package/es/components/Step/index.js +5 -0
- package/es/components/Step/interface.d.ts +22 -0
- package/es/components/Step/interface.js +2 -0
- package/es/components/Step/style/Step.css +1 -0
- package/es/components/Step/style/Step.scss +91 -0
- package/es/components/Step/style/css.js +2 -0
- package/es/components/Step/style/index.d.ts +1 -0
- package/es/components/Step/style/index.js +2 -0
- package/es/components/Switch/Switch.d.ts +6 -0
- package/es/components/Switch/Switch.js +93 -0
- package/es/components/Switch/constants.d.ts +11 -0
- package/es/components/Switch/constants.js +12 -0
- package/es/components/Switch/index.d.ts +5 -0
- package/es/components/Switch/index.js +6 -0
- package/es/components/Switch/interface.d.ts +26 -0
- package/es/components/Switch/interface.js +2 -0
- package/es/components/Switch/style/Switch.css +1 -0
- package/es/components/Switch/style/Switch.scss +126 -0
- package/es/components/Switch/style/css.js +3 -0
- package/es/components/Switch/style/index.d.ts +2 -0
- package/es/components/Switch/style/index.js +3 -0
- package/es/components/Table/Table.d.ts +10 -0
- package/es/components/Table/Table.js +164 -0
- package/es/components/Table/VirtualTable.d.ts +9 -0
- package/es/components/Table/VirtualTable.js +166 -0
- package/es/components/Table/constants.d.ts +4 -0
- package/es/components/Table/constants.js +5 -0
- package/es/components/Table/core/useTableColumns.d.ts +34 -0
- package/es/components/Table/core/useTableColumns.js +191 -0
- package/es/components/Table/core/useTableDataPipeline.d.ts +50 -0
- package/es/components/Table/core/useTableDataPipeline.js +262 -0
- package/es/components/Table/core/useTableExpand.d.ts +9 -0
- package/es/components/Table/core/useTableExpand.js +38 -0
- package/es/components/Table/core/useTableSelection.d.ts +17 -0
- package/es/components/Table/core/useTableSelection.js +144 -0
- package/es/components/Table/features/ExpandTrigger.d.ts +4 -0
- package/es/components/Table/features/ExpandTrigger.js +24 -0
- package/es/components/Table/features/SelectionColumn.d.ts +11 -0
- package/es/components/Table/features/SelectionColumn.js +41 -0
- package/es/components/Table/features/SortTrigger.d.ts +7 -0
- package/es/components/Table/features/SortTrigger.js +26 -0
- package/es/components/Table/index.d.ts +6 -0
- package/es/components/Table/index.js +7 -0
- package/es/components/Table/interface.d.ts +179 -0
- package/es/components/Table/interface.js +2 -0
- package/es/components/Table/internal/index.d.ts +3 -0
- package/es/components/Table/internal/index.js +3 -0
- package/es/components/Table/internal/kernel/Body/BodyRow.d.ts +37 -0
- package/es/components/Table/internal/kernel/Body/BodyRow.js +174 -0
- package/es/components/Table/internal/kernel/Body/ExpandedRow.d.ts +15 -0
- package/es/components/Table/internal/kernel/Body/ExpandedRow.js +56 -0
- package/es/components/Table/internal/kernel/Body/MeasureCell.d.ts +8 -0
- package/es/components/Table/internal/kernel/Body/MeasureCell.js +39 -0
- package/es/components/Table/internal/kernel/Body/MeasureRow.d.ts +10 -0
- package/es/components/Table/internal/kernel/Body/MeasureRow.js +53 -0
- package/es/components/Table/internal/kernel/Body/index.d.ts +9 -0
- package/es/components/Table/internal/kernel/Body/index.js +124 -0
- package/es/components/Table/internal/kernel/Cell/index.d.ts +39 -0
- package/es/components/Table/internal/kernel/Cell/index.js +179 -0
- package/es/components/Table/internal/kernel/Cell/useCellRender.d.ts +3 -0
- package/es/components/Table/internal/kernel/Cell/useCellRender.js +63 -0
- package/es/components/Table/internal/kernel/Cell/useHoverState.d.ts +2 -0
- package/es/components/Table/internal/kernel/Cell/useHoverState.js +15 -0
- package/es/components/Table/internal/kernel/ColGroup.d.ts +8 -0
- package/es/components/Table/internal/kernel/ColGroup.js +56 -0
- package/es/components/Table/internal/kernel/FixedHolder/index.d.ts +27 -0
- package/es/components/Table/internal/kernel/FixedHolder/index.js +181 -0
- package/es/components/Table/internal/kernel/Footer/Cell.d.ts +11 -0
- package/es/components/Table/internal/kernel/Footer/Cell.js +50 -0
- package/es/components/Table/internal/kernel/Footer/Row.d.ts +8 -0
- package/es/components/Table/internal/kernel/Footer/Row.js +20 -0
- package/es/components/Table/internal/kernel/Footer/Summary.d.ts +14 -0
- package/es/components/Table/internal/kernel/Footer/Summary.js +13 -0
- package/es/components/Table/internal/kernel/Footer/SummaryContext.d.ts +11 -0
- package/es/components/Table/internal/kernel/Footer/SummaryContext.js +4 -0
- package/es/components/Table/internal/kernel/Footer/index.d.ts +16 -0
- package/es/components/Table/internal/kernel/Footer/index.js +36 -0
- package/es/components/Table/internal/kernel/Header/Header.d.ts +9 -0
- package/es/components/Table/internal/kernel/Header/Header.js +109 -0
- package/es/components/Table/internal/kernel/Header/HeaderRow.d.ts +18 -0
- package/es/components/Table/internal/kernel/Header/HeaderRow.js +60 -0
- package/es/components/Table/internal/kernel/Panel/index.d.ts +7 -0
- package/es/components/Table/internal/kernel/Panel/index.js +15 -0
- package/es/components/Table/internal/kernel/Table.d.ts +126 -0
- package/es/components/Table/internal/kernel/Table.js +692 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +13 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +287 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +14 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.js +113 -0
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +26 -0
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.js +105 -0
- package/es/components/Table/internal/kernel/VirtualTable/context.d.ts +13 -0
- package/es/components/Table/internal/kernel/VirtualTable/context.js +5 -0
- package/es/components/Table/internal/kernel/VirtualTable/index.d.ts +17 -0
- package/es/components/Table/internal/kernel/VirtualTable/index.js +91 -0
- package/es/components/Table/internal/kernel/constant.d.ts +2 -0
- package/es/components/Table/internal/kernel/constant.js +4 -0
- package/es/components/Table/internal/kernel/context/PerfContext.d.ts +6 -0
- package/es/components/Table/internal/kernel/context/PerfContext.js +8 -0
- package/es/components/Table/internal/kernel/context/TableContext.d.ts +51 -0
- package/es/components/Table/internal/kernel/context/TableContext.js +10 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/index.d.ts +31 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/index.js +210 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +5 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +69 -0
- package/es/components/Table/internal/kernel/hooks/useExpand.d.ts +10 -0
- package/es/components/Table/internal/kernel/hooks/useExpand.js +84 -0
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +2 -0
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.js +18 -0
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +19 -0
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.js +54 -0
- package/es/components/Table/internal/kernel/hooks/useFrame.d.ts +7 -0
- package/es/components/Table/internal/kernel/hooks/useFrame.js +63 -0
- package/es/components/Table/internal/kernel/hooks/useHover.d.ts +2 -0
- package/es/components/Table/internal/kernel/hooks/useHover.js +19 -0
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +5 -0
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.js +41 -0
- package/es/components/Table/internal/kernel/hooks/useRowInfo.d.ts +11 -0
- package/es/components/Table/internal/kernel/hooks/useRowInfo.js +62 -0
- package/es/components/Table/internal/kernel/hooks/useSticky.d.ts +10 -0
- package/es/components/Table/internal/kernel/hooks/useSticky.js +33 -0
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +6 -0
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.js +31 -0
- package/es/components/Table/internal/kernel/index.d.ts +12 -0
- package/es/components/Table/internal/kernel/index.js +11 -0
- package/es/components/Table/internal/kernel/interface.d.ts +202 -0
- package/es/components/Table/internal/kernel/interface.js +2 -0
- package/es/components/Table/internal/kernel/namePathType.d.ts +13 -0
- package/es/components/Table/internal/kernel/namePathType.js +3 -0
- package/es/components/Table/internal/kernel/selector-context/Immutable.d.ts +10 -0
- package/es/components/Table/internal/kernel/selector-context/Immutable.js +73 -0
- package/es/components/Table/internal/kernel/selector-context/context.d.ts +26 -0
- package/es/components/Table/internal/kernel/selector-context/context.js +83 -0
- package/es/components/Table/internal/kernel/selector-context/index.d.ts +7 -0
- package/es/components/Table/internal/kernel/selector-context/index.js +9 -0
- package/es/components/Table/internal/kernel/selector-context/isEqual.d.ts +5 -0
- package/es/components/Table/internal/kernel/selector-context/isEqual.js +48 -0
- package/es/components/Table/internal/kernel/stickyScrollBar.d.ts +12 -0
- package/es/components/Table/internal/kernel/stickyScrollBar.js +192 -0
- package/es/components/Table/internal/kernel/sugar/Column.d.ts +10 -0
- package/es/components/Table/internal/kernel/sugar/Column.js +11 -0
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +12 -0
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.js +11 -0
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +1 -0
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.js +4 -0
- package/es/components/Table/internal/kernel/utils/dom/isVisible.d.ts +2 -0
- package/es/components/Table/internal/kernel/utils/dom/isVisible.js +28 -0
- package/es/components/Table/internal/kernel/utils/expandUtil.d.ts +4 -0
- package/es/components/Table/internal/kernel/utils/expandUtil.js +47 -0
- package/es/components/Table/internal/kernel/utils/fixUtil.d.ts +21 -0
- package/es/components/Table/internal/kernel/utils/fixUtil.js +64 -0
- package/es/components/Table/internal/kernel/utils/get.d.ts +1 -0
- package/es/components/Table/internal/kernel/utils/get.js +11 -0
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +7 -0
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.js +38 -0
- package/es/components/Table/internal/kernel/utils/legacyUtil.d.ts +5 -0
- package/es/components/Table/internal/kernel/utils/legacyUtil.js +31 -0
- package/es/components/Table/internal/kernel/utils/offsetUtil.d.ts +4 -0
- package/es/components/Table/internal/kernel/utils/offsetUtil.js +14 -0
- package/es/components/Table/internal/kernel/utils/pickAttrs.d.ts +6 -0
- package/es/components/Table/internal/kernel/utils/pickAttrs.js +33 -0
- package/es/components/Table/internal/kernel/utils/useMemo.d.ts +1 -0
- package/es/components/Table/internal/kernel/utils/useMemo.js +10 -0
- package/es/components/Table/internal/kernel/utils/valueUtil.d.ts +8 -0
- package/es/components/Table/internal/kernel/utils/valueUtil.js +30 -0
- package/es/components/Table/internal/kernel/utils/warning.d.ts +4 -0
- package/es/components/Table/internal/kernel/utils/warning.js +17 -0
- package/es/components/Table/renderers/BodyCell.d.ts +15 -0
- package/es/components/Table/renderers/BodyCell.js +40 -0
- package/es/components/Table/renderers/CellContent.d.ts +4 -0
- package/es/components/Table/renderers/CellContent.js +26 -0
- package/es/components/Table/renderers/EmptyState.d.ts +4 -0
- package/es/components/Table/renderers/EmptyState.js +15 -0
- package/es/components/Table/renderers/ExpandedRowContainer.d.ts +4 -0
- package/es/components/Table/renderers/ExpandedRowContainer.js +10 -0
- package/es/components/Table/renderers/HeaderCell.d.ts +7 -0
- package/es/components/Table/renderers/HeaderCell.js +22 -0
- package/es/components/Table/style/Table.css +1 -0
- package/es/components/Table/style/Table.scss +376 -0
- package/es/components/Table/style/css.js +10 -0
- package/es/components/Table/style/index.d.ts +9 -0
- package/es/components/Table/style/index.js +10 -0
- package/es/components/Tabs/Tabs.d.ts +6 -0
- package/es/components/Tabs/Tabs.js +111 -0
- package/es/components/Tabs/index.d.ts +4 -0
- package/es/components/Tabs/index.js +5 -0
- package/es/components/Tabs/interface.d.ts +27 -0
- package/es/components/Tabs/interface.js +2 -0
- package/es/components/Tabs/style/Tabs.css +1 -0
- package/es/components/Tabs/style/Tabs.scss +100 -0
- package/es/components/Tabs/style/css.js +2 -0
- package/es/components/Tabs/style/index.d.ts +1 -0
- package/es/components/Tabs/style/index.js +2 -0
- package/es/components/Tag/Tag.d.ts +6 -0
- package/es/components/Tag/Tag.js +80 -0
- package/es/components/Tag/constants.d.ts +18 -0
- package/es/components/Tag/constants.js +28 -0
- package/es/components/Tag/index.d.ts +5 -0
- package/es/components/Tag/index.js +6 -0
- package/es/components/Tag/interface.d.ts +15 -0
- package/es/components/Tag/interface.js +2 -0
- package/es/components/Tag/style/Tag.css +1 -0
- package/es/components/Tag/style/Tag.scss +103 -0
- package/es/components/Tag/style/css.js +2 -0
- package/es/components/Tag/style/index.d.ts +1 -0
- package/es/components/Tag/style/index.js +2 -0
- package/es/components/Tooltip/Tooltip.d.ts +6 -0
- package/es/components/Tooltip/Tooltip.js +62 -0
- package/es/components/Tooltip/index.d.ts +4 -0
- package/es/components/Tooltip/index.js +5 -0
- package/es/components/Tooltip/interface.d.ts +20 -0
- package/es/components/Tooltip/interface.js +2 -0
- package/es/components/Tooltip/style/Tooltip.css +1 -0
- package/es/components/Tooltip/style/Tooltip.scss +95 -0
- package/es/components/Tooltip/style/css.js +2 -0
- package/es/components/Tooltip/style/index.d.ts +1 -0
- package/es/components/Tooltip/style/index.js +2 -0
- package/es/components/Tour/Tour.d.ts +3 -0
- package/es/components/Tour/Tour.js +243 -0
- package/es/components/Tour/index.d.ts +4 -0
- package/es/components/Tour/index.js +5 -0
- package/es/components/Tour/interface.d.ts +46 -0
- package/es/components/Tour/interface.js +2 -0
- package/es/components/Trigger/Trigger.d.ts +5 -0
- package/es/components/Trigger/Trigger.js +151 -0
- package/es/components/Trigger/index.d.ts +3 -0
- package/es/components/Trigger/index.js +4 -0
- package/es/components/Trigger/interface.d.ts +52 -0
- package/es/components/Trigger/interface.js +2 -0
- package/es/components/Trigger/style/Trigger.css +1 -0
- package/es/components/Trigger/style/Trigger.scss +18 -0
- package/es/components/Trigger/style/css.js +2 -0
- package/es/components/Trigger/style/index.d.ts +1 -0
- package/es/components/Trigger/style/index.js +2 -0
- package/es/components/Typography/Typography.d.ts +17 -0
- package/es/components/Typography/Typography.js +201 -0
- package/es/components/Typography/constants.d.ts +33 -0
- package/es/components/Typography/constants.js +9 -0
- package/es/components/Typography/index.d.ts +4 -0
- package/es/components/Typography/index.js +5 -0
- package/es/components/Typography/interface.d.ts +72 -0
- package/es/components/Typography/interface.js +22 -0
- package/es/components/Typography/render.d.ts +328 -0
- package/es/components/Typography/render.js +106 -0
- package/es/components/Typography/style/Typography.css +1 -0
- package/es/components/Typography/style/Typography.scss +132 -0
- package/es/components/Typography/style/css.js +4 -0
- package/es/components/Typography/style/index.d.ts +3 -0
- package/es/components/Typography/style/index.js +4 -0
- package/es/components/Typography/useTypographyEnhancements.d.ts +43 -0
- package/es/components/Typography/useTypographyEnhancements.js +110 -0
- package/es/components/Typography/utils.d.ts +17 -0
- package/es/components/Typography/utils.js +88 -0
- package/es/components/Upload/Upload.d.ts +7 -0
- package/es/components/Upload/Upload.js +88 -0
- package/es/components/Upload/UploadFileBar.d.ts +6 -0
- package/es/components/Upload/UploadFileBar.js +63 -0
- package/es/components/Upload/index.d.ts +5 -0
- package/es/components/Upload/index.js +6 -0
- package/es/components/Upload/interface.d.ts +41 -0
- package/es/components/Upload/interface.js +2 -0
- package/es/components/Upload/style/Upload.css +1 -0
- package/es/components/Upload/style/Upload.scss +44 -0
- package/es/components/Upload/style/UploadFileBar.css +1 -0
- package/es/components/Upload/style/UploadFileBar.scss +94 -0
- package/es/components/Upload/style/css.js +3 -0
- package/es/components/Upload/style/index.d.ts +2 -0
- package/es/components/Upload/style/index.js +3 -0
- package/es/components/VirtualList/Filler.d.ts +21 -0
- package/es/components/VirtualList/Filler.js +56 -0
- package/es/components/VirtualList/Item.d.ts +6 -0
- package/es/components/VirtualList/Item.js +12 -0
- package/es/components/VirtualList/ScrollBar.d.ts +22 -0
- package/es/components/VirtualList/ScrollBar.js +237 -0
- package/es/components/VirtualList/VirtualList.d.ts +62 -0
- package/es/components/VirtualList/VirtualList.js +529 -0
- package/es/components/VirtualList/constants.d.ts +4 -0
- package/es/components/VirtualList/constants.js +5 -0
- package/es/components/VirtualList/hooks/useChildren.d.ts +2 -0
- package/es/components/VirtualList/hooks/useChildren.js +25 -0
- package/es/components/VirtualList/hooks/useDiffItem.d.ts +2 -0
- package/es/components/VirtualList/hooks/useDiffItem.js +16 -0
- package/es/components/VirtualList/hooks/useFrameWheel.d.ts +10 -0
- package/es/components/VirtualList/hooks/useFrameWheel.js +85 -0
- package/es/components/VirtualList/hooks/useGetSize.d.ts +7 -0
- package/es/components/VirtualList/hooks/useGetSize.js +47 -0
- package/es/components/VirtualList/hooks/useHeights.d.ts +8 -0
- package/es/components/VirtualList/hooks/useHeights.js +96 -0
- package/es/components/VirtualList/hooks/useMobileTouchMove.d.ts +2 -0
- package/es/components/VirtualList/hooks/useMobileTouchMove.js +85 -0
- package/es/components/VirtualList/hooks/useOriginScroll.d.ts +2 -0
- package/es/components/VirtualList/hooks/useOriginScroll.js +44 -0
- package/es/components/VirtualList/hooks/useScrollDrag.d.ts +3 -0
- package/es/components/VirtualList/hooks/useScrollDrag.js +76 -0
- package/es/components/VirtualList/hooks/useScrollTo.d.ts +18 -0
- package/es/components/VirtualList/hooks/useScrollTo.js +132 -0
- package/es/components/VirtualList/index.d.ts +9 -0
- package/es/components/VirtualList/index.js +5 -0
- package/es/components/VirtualList/interface.d.ts +26 -0
- package/es/components/VirtualList/interface.js +2 -0
- package/es/components/VirtualList/style/VirtualList.css +1 -0
- package/es/components/VirtualList/style/VirtualList.scss +5 -0
- package/es/components/VirtualList/style/css.js +2 -0
- package/es/components/VirtualList/style/index.d.ts +1 -0
- package/es/components/VirtualList/style/index.js +2 -0
- package/es/components/VirtualList/utils/CacheMap.d.ts +16 -0
- package/es/components/VirtualList/utils/CacheMap.js +43 -0
- package/es/components/VirtualList/utils/algorithmUtil.d.ts +23 -0
- package/es/components/VirtualList/utils/algorithmUtil.js +77 -0
- package/es/components/VirtualList/utils/isFirefox.d.ts +2 -0
- package/es/components/VirtualList/utils/isFirefox.js +4 -0
- package/es/components/VirtualList/utils/raf.d.ts +9 -0
- package/es/components/VirtualList/utils/raf.js +47 -0
- package/es/components/VirtualList/utils/scrollbarUtil.d.ts +1 -0
- package/es/components/VirtualList/utils/scrollbarUtil.js +12 -0
- package/es/index.css +1 -0
- package/es/index.d.ts +89 -0
- package/es/index.js +46 -0
- package/es/styles/_api.scss +5 -0
- package/es/styles/_settings.scss +5 -0
- package/es/styles/index.css +1 -0
- package/es/styles/index.scss +2 -0
- package/es/styles/public/_index.scss +2 -0
- package/es/styles/public/_system.scss +1 -0
- package/es/styles/public/_theme.scss +3 -0
- package/es/styles/recipes/_index.scss +1 -0
- package/es/styles/recipes/_variants.scss +110 -0
- package/es/styles/system/_index.scss +4 -0
- package/es/styles/system/_props.scss +95 -0
- package/es/styles/system/_public.scss +5 -0
- package/es/styles/system/_sx.scss +81 -0
- package/es/styles/theme/_breakpoints.scss +95 -0
- package/es/styles/theme/_functions.scss +271 -0
- package/es/styles/theme/_index.scss +6 -0
- package/es/styles/theme/_mixins.scss +37 -0
- package/es/styles/theme/_scales.scss +29 -0
- package/es/styles/theme/_values.scss +68 -0
- package/es/styles/tokens/_index.scss +11 -0
- package/es/styles/tokens/breakpoint/_index.scss +2 -0
- package/es/styles/tokens/breakpoint/_primitives.scss +8 -0
- package/es/styles/tokens/color/_index.scss +3 -0
- package/es/styles/tokens/color/_primitives.scss +42 -0
- package/es/styles/tokens/color/_semantic-color.scss +172 -0
- package/es/styles/tokens/opacity/_functions.scss +13 -0
- package/es/styles/tokens/opacity/_index.scss +3 -0
- package/es/styles/tokens/opacity/_primitives.scss +12 -0
- package/es/styles/tokens/radius/_index.scss +2 -0
- package/es/styles/tokens/radius/_primitives.scss +11 -0
- package/es/styles/tokens/shadow/_index.scss +2 -0
- package/es/styles/tokens/shadow/_primitives.scss +7 -0
- package/es/styles/tokens/sizing/_functions.scss +17 -0
- package/es/styles/tokens/sizing/_index.scss +4 -0
- package/es/styles/tokens/sizing/_primitives.scss +12 -0
- package/es/styles/tokens/sizing/_semantic-sizing.scss +11 -0
- package/es/styles/tokens/spacing/_functions.scss +51 -0
- package/es/styles/tokens/spacing/_index.scss +4 -0
- package/es/styles/tokens/spacing/_primitives.scss +22 -0
- package/es/styles/tokens/spacing/_semantic-spacing.scss +22 -0
- package/es/styles/tokens/typography/_functions.scss +31 -0
- package/es/styles/tokens/typography/_index.scss +4 -0
- package/es/styles/tokens/typography/_primitives.scss +27 -0
- package/es/styles/tokens/typography/_semantic-typography.scss +216 -0
- package/es/styles/utilities/_generator.scss +55 -0
- package/es/styles/utilities/_index.scss +14 -0
- package/es/utils/classnames.d.ts +5 -0
- package/es/utils/classnames.js +18 -0
- package/es/utils/clipboard.d.ts +2 -0
- package/es/utils/clipboard.js +50 -0
- package/es/utils/ref.d.ts +4 -0
- package/es/utils/ref.js +32 -0
- package/es/utils/uuid.d.ts +2 -0
- package/es/utils/uuid.js +16 -0
- package/jest.setup.d.ts +1 -0
- package/jest.setup.ts +1 -0
- package/lib/components/Accordion/Accordion.d.ts +6 -0
- package/lib/components/Accordion/Accordion.js +112 -0
- package/lib/components/Accordion/index.d.ts +4 -0
- package/lib/components/Accordion/index.js +33 -0
- package/lib/components/Accordion/interface.d.ts +29 -0
- package/lib/components/Accordion/interface.js +6 -0
- package/lib/components/Accordion/style/Accordion.css +1 -0
- package/lib/components/Accordion/style/Accordion.scss +127 -0
- package/lib/components/Accordion/style/css.js +4 -0
- package/lib/components/Accordion/style/index.d.ts +1 -0
- package/lib/components/Accordion/style/index.js +4 -0
- package/lib/components/Alert/Alert.d.ts +6 -0
- package/lib/components/Alert/Alert.js +103 -0
- package/lib/components/Alert/index.d.ts +4 -0
- package/lib/components/Alert/index.js +33 -0
- package/lib/components/Alert/interface.d.ts +40 -0
- package/lib/components/Alert/interface.js +12 -0
- package/lib/components/Alert/style/Alert.css +1 -0
- package/lib/components/Alert/style/Alert.scss +89 -0
- package/lib/components/Alert/style/css.js +5 -0
- package/lib/components/Alert/style/index.d.ts +2 -0
- package/lib/components/Alert/style/index.js +5 -0
- package/lib/components/Button/Button.d.ts +4 -0
- package/lib/components/Button/Button.js +131 -0
- package/lib/components/Button/constants.d.ts +56 -0
- package/lib/components/Button/constants.js +76 -0
- package/lib/components/Button/index.d.ts +5 -0
- package/lib/components/Button/index.js +45 -0
- package/lib/components/Button/interface.d.ts +14 -0
- package/lib/components/Button/interface.js +6 -0
- package/lib/components/Button/style/Button.css +1 -0
- package/lib/components/Button/style/Button.scss +190 -0
- package/lib/components/Button/style/css.js +4 -0
- package/lib/components/Button/style/index.d.ts +1 -0
- package/lib/components/Button/style/index.js +4 -0
- package/lib/components/Calendar/Calendar.d.ts +7 -0
- package/lib/components/Calendar/Calendar.js +122 -0
- package/lib/components/Calendar/index.d.ts +4 -0
- package/lib/components/Calendar/index.js +33 -0
- package/lib/components/Calendar/interface.d.ts +29 -0
- package/lib/components/Calendar/interface.js +6 -0
- package/lib/components/Calendar/style/Calendar.css +1 -0
- package/lib/components/Calendar/style/Calendar.scss +377 -0
- package/lib/components/Calendar/style/css.js +4 -0
- package/lib/components/Calendar/style/index.d.ts +1 -0
- package/lib/components/Calendar/style/index.js +4 -0
- package/lib/components/Carousel/Carousel.d.ts +6 -0
- package/lib/components/Carousel/Carousel.js +56 -0
- package/lib/components/Carousel/index.d.ts +4 -0
- package/lib/components/Carousel/index.js +33 -0
- package/lib/components/Carousel/interface.d.ts +15 -0
- package/lib/components/Carousel/interface.js +6 -0
- package/lib/components/Carousel/style/Carousel.css +1 -0
- package/lib/components/Carousel/style/Carousel.scss +63 -0
- package/lib/components/Carousel/style/css.js +4 -0
- package/lib/components/Carousel/style/index.d.ts +1 -0
- package/lib/components/Carousel/style/index.js +4 -0
- package/lib/components/Checkbox/BaseCheckbox.d.ts +6 -0
- package/lib/components/Checkbox/BaseCheckbox.js +94 -0
- package/lib/components/Checkbox/Checkbox.d.ts +6 -0
- package/lib/components/Checkbox/Checkbox.js +130 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts +5 -0
- package/lib/components/Checkbox/CheckboxGroup.js +150 -0
- package/lib/components/Checkbox/CheckboxGroupContext.d.ts +14 -0
- package/lib/components/Checkbox/CheckboxGroupContext.js +9 -0
- package/lib/components/Checkbox/constants.d.ts +7 -0
- package/lib/components/Checkbox/constants.js +14 -0
- package/lib/components/Checkbox/index.d.ts +10 -0
- package/lib/components/Checkbox/index.js +52 -0
- package/lib/components/Checkbox/interface.d.ts +77 -0
- package/lib/components/Checkbox/interface.js +6 -0
- package/lib/components/Checkbox/style/Checkbox.css +1 -0
- package/lib/components/Checkbox/style/Checkbox.scss +235 -0
- package/lib/components/Checkbox/style/css.js +4 -0
- package/lib/components/Checkbox/style/index.d.ts +1 -0
- package/lib/components/Checkbox/style/index.js +4 -0
- package/lib/components/CoachMark/CoachMark.d.ts +4 -0
- package/lib/components/CoachMark/CoachMark.js +152 -0
- package/lib/components/CoachMark/index.d.ts +4 -0
- package/lib/components/CoachMark/index.js +33 -0
- package/lib/components/CoachMark/interface.d.ts +47 -0
- package/lib/components/CoachMark/interface.js +8 -0
- package/lib/components/CoachMark/style/CoachMark.css +1 -0
- package/lib/components/CoachMark/style/CoachMark.scss +176 -0
- package/lib/components/CoachMark/style/css.js +7 -0
- package/lib/components/CoachMark/style/index.d.ts +4 -0
- package/lib/components/CoachMark/style/index.js +7 -0
- package/lib/components/Copy/Copy.d.ts +6 -0
- package/lib/components/Copy/Copy.js +80 -0
- package/lib/components/Copy/index.d.ts +4 -0
- package/lib/components/Copy/index.js +33 -0
- package/lib/components/Copy/interface.d.ts +20 -0
- package/lib/components/Copy/interface.js +6 -0
- package/lib/components/Copy/style/Copy.css +1 -0
- package/lib/components/Copy/style/Copy.scss +35 -0
- package/lib/components/Copy/style/css.js +4 -0
- package/lib/components/Copy/style/index.d.ts +1 -0
- package/lib/components/Copy/style/index.js +4 -0
- package/lib/components/Divider/Divider.d.ts +4 -0
- package/lib/components/Divider/Divider.js +62 -0
- package/lib/components/Divider/index.d.ts +4 -0
- package/lib/components/Divider/index.js +31 -0
- package/lib/components/Divider/interface.d.ts +20 -0
- package/lib/components/Divider/interface.js +6 -0
- package/lib/components/Divider/style/Divider.css +1 -0
- package/lib/components/Divider/style/Divider.scss +149 -0
- package/lib/components/Divider/style/css.js +4 -0
- package/lib/components/Divider/style/index.d.ts +1 -0
- package/lib/components/Divider/style/index.js +4 -0
- package/lib/components/Drawer/Drawer.d.ts +4 -0
- package/lib/components/Drawer/Drawer.js +281 -0
- package/lib/components/Drawer/constants.d.ts +15 -0
- package/lib/components/Drawer/constants.js +22 -0
- package/lib/components/Drawer/index.d.ts +3 -0
- package/lib/components/Drawer/index.js +46 -0
- package/lib/components/Drawer/interface.d.ts +79 -0
- package/lib/components/Drawer/interface.js +6 -0
- package/lib/components/Drawer/style/Drawer.css +1 -0
- package/lib/components/Drawer/style/Drawer.scss +163 -0
- package/lib/components/Drawer/style/css.js +4 -0
- package/lib/components/Drawer/style/index.d.ts +1 -0
- package/lib/components/Drawer/style/index.js +4 -0
- package/lib/components/Dropdown/Dropdown.d.ts +5 -0
- package/lib/components/Dropdown/Dropdown.js +31 -0
- package/lib/components/Dropdown/index.d.ts +3 -0
- package/lib/components/Dropdown/index.js +35 -0
- package/lib/components/Dropdown/interface.d.ts +8 -0
- package/lib/components/Dropdown/interface.js +6 -0
- package/lib/components/Dropdown/style/Dropdown.css +0 -0
- package/lib/components/Dropdown/style/Dropdown.scss +2 -0
- package/lib/components/Dropdown/style/css.js +5 -0
- package/lib/components/Dropdown/style/index.d.ts +2 -0
- package/lib/components/Dropdown/style/index.js +5 -0
- package/lib/components/Empty/Empty.d.ts +6 -0
- package/lib/components/Empty/Empty.js +77 -0
- package/lib/components/Empty/index.d.ts +4 -0
- package/lib/components/Empty/index.js +33 -0
- package/lib/components/Empty/interface.d.ts +11 -0
- package/lib/components/Empty/interface.js +6 -0
- package/lib/components/Empty/style/Empty.css +1 -0
- package/lib/components/Empty/style/Empty.scss +53 -0
- package/lib/components/Empty/style/css.js +5 -0
- package/lib/components/Empty/style/index.d.ts +2 -0
- package/lib/components/Empty/style/index.js +5 -0
- package/lib/components/Flex/Flex.d.ts +5 -0
- package/lib/components/Flex/Flex.js +60 -0
- package/lib/components/Flex/constants.d.ts +41 -0
- package/lib/components/Flex/constants.js +51 -0
- package/lib/components/Flex/index.d.ts +5 -0
- package/lib/components/Flex/index.js +60 -0
- package/lib/components/Flex/interface.d.ts +13 -0
- package/lib/components/Flex/interface.js +6 -0
- package/lib/components/Flex/style/Flex.css +1 -0
- package/lib/components/Flex/style/Flex.scss +70 -0
- package/lib/components/Flex/style/css.js +4 -0
- package/lib/components/Flex/style/index.d.ts +1 -0
- package/lib/components/Flex/style/index.js +4 -0
- package/lib/components/Form/Form.d.ts +4 -0
- package/lib/components/Form/Form.js +80 -0
- package/lib/components/Form/FormItem.d.ts +4 -0
- package/lib/components/Form/FormItem.js +193 -0
- package/lib/components/Form/constants.d.ts +19 -0
- package/lib/components/Form/constants.js +25 -0
- package/lib/components/Form/context.d.ts +5 -0
- package/lib/components/Form/context.js +25 -0
- package/lib/components/Form/hooks/useForm.d.ts +3 -0
- package/lib/components/Form/hooks/useForm.js +551 -0
- package/lib/components/Form/hooks/useFormCore.d.ts +3 -0
- package/lib/components/Form/hooks/useFormCore.js +355 -0
- package/lib/components/Form/index.d.ts +10 -0
- package/lib/components/Form/index.js +83 -0
- package/lib/components/Form/interface.d.ts +166 -0
- package/lib/components/Form/interface.js +6 -0
- package/lib/components/Form/style/Form.css +1 -0
- package/lib/components/Form/style/Form.scss +57 -0
- package/lib/components/Form/style/css.js +4 -0
- package/lib/components/Form/style/index.d.ts +1 -0
- package/lib/components/Form/style/index.js +4 -0
- package/lib/components/Grid/Col.d.ts +4 -0
- package/lib/components/Grid/Col.js +93 -0
- package/lib/components/Grid/Grid.d.ts +10 -0
- package/lib/components/Grid/Grid.js +21 -0
- package/lib/components/Grid/Row.d.ts +4 -0
- package/lib/components/Grid/Row.js +50 -0
- package/lib/components/Grid/constants.d.ts +48 -0
- package/lib/components/Grid/constants.js +77 -0
- package/lib/components/Grid/helper.d.ts +15 -0
- package/lib/components/Grid/helper.js +94 -0
- package/lib/components/Grid/index.d.ts +7 -0
- package/lib/components/Grid/index.js +62 -0
- package/lib/components/Grid/interface.d.ts +38 -0
- package/lib/components/Grid/interface.js +6 -0
- package/lib/components/Grid/style/Grid.css +1 -0
- package/lib/components/Grid/style/Grid.scss +184 -0
- package/lib/components/Grid/style/css.js +4 -0
- package/lib/components/Grid/style/index.d.ts +1 -0
- package/lib/components/Grid/style/index.js +4 -0
- package/lib/components/Icons/Icons.d.ts +192 -0
- package/lib/components/Icons/Icons.js +193 -0
- package/lib/components/Icons/Illustrations.d.ts +18 -0
- package/lib/components/Icons/Illustrations.js +881 -0
- package/lib/components/Icons/Logo.d.ts +36 -0
- package/lib/components/Icons/Logo.js +219 -0
- package/lib/components/Icons/SVGs.d.ts +265 -0
- package/lib/components/Icons/SVGs.js +1926 -0
- package/lib/components/Icons/Wrapper.d.ts +6 -0
- package/lib/components/Icons/Wrapper.js +109 -0
- package/lib/components/Icons/index.d.ts +4 -0
- package/lib/components/Icons/index.js +52 -0
- package/lib/components/Icons/interface.d.ts +27 -0
- package/lib/components/Icons/interface.js +6 -0
- package/lib/components/Icons/style/Icons.css +1 -0
- package/lib/components/Icons/style/Icons.scss +85 -0
- package/lib/components/Icons/style/css.js +4 -0
- package/lib/components/Icons/style/index.d.ts +1 -0
- package/lib/components/Icons/style/index.js +4 -0
- package/lib/components/Input/Amount/Amount.d.ts +6 -0
- package/lib/components/Input/Amount/Amount.js +201 -0
- package/lib/components/Input/Amount/helper.d.ts +35 -0
- package/lib/components/Input/Amount/helper.js +102 -0
- package/lib/components/Input/Amount/index.d.ts +3 -0
- package/lib/components/Input/Amount/index.js +18 -0
- package/lib/components/Input/Amount/style/Amount.css +1 -0
- package/lib/components/Input/Amount/style/Amount.scss +89 -0
- package/lib/components/Input/Amount/style/css.js +4 -0
- package/lib/components/Input/Amount/style/index.d.ts +1 -0
- package/lib/components/Input/Amount/style/index.js +4 -0
- package/lib/components/Input/FieldShell/FieldShell.css +1 -0
- package/lib/components/Input/FieldShell/FieldShell.d.ts +19 -0
- package/lib/components/Input/FieldShell/FieldShell.js +85 -0
- package/lib/components/Input/FieldShell/FieldShell.scss +62 -0
- package/lib/components/Input/FieldShell/index.d.ts +3 -0
- package/lib/components/Input/FieldShell/index.js +22 -0
- package/lib/components/Input/Input/Input.css +1 -0
- package/lib/components/Input/Input/Input.d.ts +3 -0
- package/lib/components/Input/Input/Input.js +168 -0
- package/lib/components/Input/Input/Input.scss +131 -0
- package/lib/components/Input/Input/index.d.ts +2 -0
- package/lib/components/Input/Input/index.js +22 -0
- package/lib/components/Input/Mask/Mask.d.ts +5 -0
- package/lib/components/Input/Mask/Mask.js +347 -0
- package/lib/components/Input/Mask/index.d.ts +2 -0
- package/lib/components/Input/Mask/index.js +22 -0
- package/lib/components/Input/OTP/OTP.css +1 -0
- package/lib/components/Input/OTP/OTP.d.ts +5 -0
- package/lib/components/Input/OTP/OTP.js +157 -0
- package/lib/components/Input/OTP/OTP.scss +75 -0
- package/lib/components/Input/OTP/index.d.ts +2 -0
- package/lib/components/Input/OTP/index.js +22 -0
- package/lib/components/Input/Password/Password.d.ts +5 -0
- package/lib/components/Input/Password/Password.js +131 -0
- package/lib/components/Input/Password/index.d.ts +2 -0
- package/lib/components/Input/Password/index.js +22 -0
- package/lib/components/Input/Search/Search.d.ts +5 -0
- package/lib/components/Input/Search/Search.js +154 -0
- package/lib/components/Input/Search/index.d.ts +2 -0
- package/lib/components/Input/Search/index.js +22 -0
- package/lib/components/Input/TextArea/TextArea.css +1 -0
- package/lib/components/Input/TextArea/TextArea.d.ts +5 -0
- package/lib/components/Input/TextArea/TextArea.js +103 -0
- package/lib/components/Input/TextArea/TextArea.scss +87 -0
- package/lib/components/Input/TextArea/index.d.ts +2 -0
- package/lib/components/Input/TextArea/index.js +22 -0
- package/lib/components/Input/Trade/Trade.css +1 -0
- package/lib/components/Input/Trade/Trade.d.ts +5 -0
- package/lib/components/Input/Trade/Trade.js +139 -0
- package/lib/components/Input/Trade/Trade.scss +184 -0
- package/lib/components/Input/Trade/index.d.ts +2 -0
- package/lib/components/Input/Trade/index.js +22 -0
- package/lib/components/Input/constants.d.ts +15 -0
- package/lib/components/Input/constants.js +22 -0
- package/lib/components/Input/index.d.ts +4 -0
- package/lib/components/Input/index.js +49 -0
- package/lib/components/Input/interface.d.ts +153 -0
- package/lib/components/Input/interface.js +6 -0
- package/lib/components/Input/style/css.js +9 -0
- package/lib/components/Input/style/index.d.ts +6 -0
- package/lib/components/Input/style/index.js +9 -0
- package/lib/components/Input/useAmountInput.d.ts +35 -0
- package/lib/components/Input/useAmountInput.js +214 -0
- package/lib/components/Input/useSyncRef.d.ts +2 -0
- package/lib/components/Input/useSyncRef.js +19 -0
- package/lib/components/Modal/Modal.d.ts +4 -0
- package/lib/components/Modal/Modal.js +390 -0
- package/lib/components/Modal/constants.d.ts +58 -0
- package/lib/components/Modal/constants.js +62 -0
- package/lib/components/Modal/index.d.ts +4 -0
- package/lib/components/Modal/index.js +33 -0
- package/lib/components/Modal/interface.d.ts +37 -0
- package/lib/components/Modal/interface.js +6 -0
- package/lib/components/Modal/style/Modal.css +1 -0
- package/lib/components/Modal/style/Modal.scss +254 -0
- package/lib/components/Modal/style/css.js +4 -0
- package/lib/components/Modal/style/index.d.ts +1 -0
- package/lib/components/Modal/style/index.js +4 -0
- package/lib/components/Navigation/Nav.d.ts +5 -0
- package/lib/components/Navigation/Nav.js +208 -0
- package/lib/components/Navigation/Navigation.d.ts +5 -0
- package/lib/components/Navigation/Navigation.js +309 -0
- package/lib/components/Navigation/NavigationLogo.d.ts +7 -0
- package/lib/components/Navigation/NavigationLogo.js +42 -0
- package/lib/components/Navigation/index.d.ts +5 -0
- package/lib/components/Navigation/index.js +41 -0
- package/lib/components/Navigation/interface.d.ts +95 -0
- package/lib/components/Navigation/interface.js +6 -0
- package/lib/components/Navigation/style/Nav.css +1 -0
- package/lib/components/Navigation/style/Nav.scss +174 -0
- package/lib/components/Navigation/style/Navigation.css +1 -0
- package/lib/components/Navigation/style/Navigation.scss +443 -0
- package/lib/components/Navigation/style/css.js +5 -0
- package/lib/components/Navigation/style/index.d.ts +2 -0
- package/lib/components/Navigation/style/index.js +5 -0
- package/lib/components/Notification/Notification.d.ts +6 -0
- package/lib/components/Notification/Notification.js +122 -0
- package/lib/components/Notification/NotificationStatic.d.ts +4 -0
- package/lib/components/Notification/NotificationStatic.js +515 -0
- package/lib/components/Notification/constants.d.ts +5 -0
- package/lib/components/Notification/constants.js +13 -0
- package/lib/components/Notification/index.d.ts +5 -0
- package/lib/components/Notification/index.js +52 -0
- package/lib/components/Notification/interface.d.ts +70 -0
- package/lib/components/Notification/interface.js +13 -0
- package/lib/components/Notification/style/Notification.css +1 -0
- package/lib/components/Notification/style/Notification.scss +200 -0
- package/lib/components/Notification/style/css.js +4 -0
- package/lib/components/Notification/style/index.d.ts +1 -0
- package/lib/components/Notification/style/index.js +4 -0
- package/lib/components/Pagination/Pagination.d.ts +5 -0
- package/lib/components/Pagination/Pagination.js +146 -0
- package/lib/components/Pagination/constants.d.ts +53 -0
- package/lib/components/Pagination/constants.js +63 -0
- package/lib/components/Pagination/index.d.ts +6 -0
- package/lib/components/Pagination/index.js +53 -0
- package/lib/components/Pagination/interface.d.ts +54 -0
- package/lib/components/Pagination/interface.js +6 -0
- package/lib/components/Pagination/style/Pagination.css +1 -0
- package/lib/components/Pagination/style/Pagination.scss +95 -0
- package/lib/components/Pagination/style/css.js +4 -0
- package/lib/components/Pagination/style/index.d.ts +1 -0
- package/lib/components/Pagination/style/index.js +4 -0
- package/lib/components/Pagination/usePagination.d.ts +3 -0
- package/lib/components/Pagination/usePagination.js +161 -0
- package/lib/components/Popconfirm/Popconfirm.d.ts +6 -0
- package/lib/components/Popconfirm/Popconfirm.js +141 -0
- package/lib/components/Popconfirm/constants.d.ts +72 -0
- package/lib/components/Popconfirm/constants.js +78 -0
- package/lib/components/Popconfirm/index.d.ts +4 -0
- package/lib/components/Popconfirm/index.js +33 -0
- package/lib/components/Popconfirm/interface.d.ts +40 -0
- package/lib/components/Popconfirm/interface.js +6 -0
- package/lib/components/Popconfirm/style/Popconfirm.css +1 -0
- package/lib/components/Popconfirm/style/Popconfirm.scss +264 -0
- package/lib/components/Popconfirm/style/css.js +7 -0
- package/lib/components/Popconfirm/style/index.d.ts +4 -0
- package/lib/components/Popconfirm/style/index.js +7 -0
- package/lib/components/Portal/Portal.d.ts +3 -0
- package/lib/components/Portal/Portal.js +61 -0
- package/lib/components/Portal/index.d.ts +4 -0
- package/lib/components/Portal/index.js +33 -0
- package/lib/components/Portal/interface.d.ts +7 -0
- package/lib/components/Portal/interface.js +6 -0
- package/lib/components/ProForm/ProForm.d.ts +3 -0
- package/lib/components/ProForm/ProForm.js +264 -0
- package/lib/components/ProForm/ProFormDependency.d.ts +3 -0
- package/lib/components/ProForm/ProFormDependency.js +75 -0
- package/lib/components/ProForm/ProFormGroup.d.ts +3 -0
- package/lib/components/ProForm/ProFormGroup.js +85 -0
- package/lib/components/ProForm/ProFormList.d.ts +3 -0
- package/lib/components/ProForm/ProFormList.js +260 -0
- package/lib/components/ProForm/Submitter.d.ts +6 -0
- package/lib/components/ProForm/Submitter.js +74 -0
- package/lib/components/ProForm/constants.d.ts +18 -0
- package/lib/components/ProForm/constants.js +29 -0
- package/lib/components/ProForm/context.d.ts +5 -0
- package/lib/components/ProForm/context.js +32 -0
- package/lib/components/ProForm/fields/ProFormCheckbox.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormCheckbox.js +17 -0
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.js +18 -0
- package/lib/components/ProForm/fields/ProFormDatePicker.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormDatePicker.js +29 -0
- package/lib/components/ProForm/fields/ProFormFieldSet.d.ts +4 -0
- package/lib/components/ProForm/fields/ProFormFieldSet.js +72 -0
- package/lib/components/ProForm/fields/ProFormPassword.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormPassword.js +17 -0
- package/lib/components/ProForm/fields/ProFormRadioGroup.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormRadioGroup.js +16 -0
- package/lib/components/ProForm/fields/ProFormSelect.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormSelect.js +46 -0
- package/lib/components/ProForm/fields/ProFormSlider.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormSlider.js +16 -0
- package/lib/components/ProForm/fields/ProFormSwitch.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormSwitch.js +17 -0
- package/lib/components/ProForm/fields/ProFormText.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormText.js +16 -0
- package/lib/components/ProForm/fields/ProFormTextArea.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormTextArea.js +16 -0
- package/lib/components/ProForm/fields/ProFormUpload.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormUpload.js +32 -0
- package/lib/components/ProForm/fields/createProFormField.d.ts +4 -0
- package/lib/components/ProForm/fields/createProFormField.js +237 -0
- package/lib/components/ProForm/fields/index.d.ts +13 -0
- package/lib/components/ProForm/fields/index.js +97 -0
- package/lib/components/ProForm/hooks/useFieldRequest.d.ts +7 -0
- package/lib/components/ProForm/hooks/useFieldRequest.js +98 -0
- package/lib/components/ProForm/index.d.ts +30 -0
- package/lib/components/ProForm/index.js +187 -0
- package/lib/components/ProForm/interface.d.ts +240 -0
- package/lib/components/ProForm/interface.js +6 -0
- package/lib/components/ProForm/layouts/DrawerForm.d.ts +3 -0
- package/lib/components/ProForm/layouts/DrawerForm.js +80 -0
- package/lib/components/ProForm/layouts/ModalForm.d.ts +3 -0
- package/lib/components/ProForm/layouts/ModalForm.js +81 -0
- package/lib/components/ProForm/layouts/QueryFilter.d.ts +4 -0
- package/lib/components/ProForm/layouts/QueryFilter.js +167 -0
- package/lib/components/ProForm/layouts/index.d.ts +4 -0
- package/lib/components/ProForm/layouts/index.js +34 -0
- package/lib/components/ProForm/layouts/useOverlayForm.d.ts +17 -0
- package/lib/components/ProForm/layouts/useOverlayForm.js +117 -0
- package/lib/components/ProForm/style/ProForm.css +1 -0
- package/lib/components/ProForm/style/ProForm.scss +118 -0
- package/lib/components/ProForm/style/css.js +4 -0
- package/lib/components/ProForm/style/index.d.ts +1 -0
- package/lib/components/ProForm/style/index.js +4 -0
- package/lib/components/ProForm/utils.d.ts +22 -0
- package/lib/components/ProForm/utils.js +228 -0
- package/lib/components/Progress/Progress.d.ts +6 -0
- package/lib/components/Progress/Progress.js +103 -0
- package/lib/components/Progress/constants.d.ts +26 -0
- package/lib/components/Progress/constants.js +38 -0
- package/lib/components/Progress/index.d.ts +5 -0
- package/lib/components/Progress/index.js +45 -0
- package/lib/components/Progress/interface.d.ts +26 -0
- package/lib/components/Progress/interface.js +6 -0
- package/lib/components/Progress/style/Progress.css +1 -0
- package/lib/components/Progress/style/Progress.scss +120 -0
- package/lib/components/Progress/style/css.js +4 -0
- package/lib/components/Progress/style/index.d.ts +1 -0
- package/lib/components/Progress/style/index.js +4 -0
- package/lib/components/Radio/BaseRadio.d.ts +16 -0
- package/lib/components/Radio/BaseRadio.js +65 -0
- package/lib/components/Radio/Radio.d.ts +6 -0
- package/lib/components/Radio/Radio.js +189 -0
- package/lib/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/components/Radio/RadioGroup.js +110 -0
- package/lib/components/Radio/RadioGroupContext.d.ts +22 -0
- package/lib/components/Radio/RadioGroupContext.js +13 -0
- package/lib/components/Radio/constants.d.ts +36 -0
- package/lib/components/Radio/constants.js +69 -0
- package/lib/components/Radio/index.d.ts +5 -0
- package/lib/components/Radio/index.js +41 -0
- package/lib/components/Radio/interface.d.ts +115 -0
- package/lib/components/Radio/interface.js +6 -0
- package/lib/components/Radio/style/Radio.css +1 -0
- package/lib/components/Radio/style/Radio.scss +431 -0
- package/lib/components/Radio/style/css.js +5 -0
- package/lib/components/Radio/style/index.d.ts +2 -0
- package/lib/components/Radio/style/index.js +5 -0
- package/lib/components/ResizeObserver/Collection.d.ts +19 -0
- package/lib/components/ResizeObserver/Collection.js +51 -0
- package/lib/components/ResizeObserver/ResizeObserver.d.ts +7 -0
- package/lib/components/ResizeObserver/ResizeObserver.js +41 -0
- package/lib/components/ResizeObserver/SingleObserver/index.d.ts +7 -0
- package/lib/components/ResizeObserver/SingleObserver/index.js +48 -0
- package/lib/components/ResizeObserver/index.d.ts +7 -0
- package/lib/components/ResizeObserver/index.js +30 -0
- package/lib/components/ResizeObserver/interface.d.ts +16 -0
- package/lib/components/ResizeObserver/interface.js +6 -0
- package/lib/components/ResizeObserver/useResizeObserver.d.ts +2 -0
- package/lib/components/ResizeObserver/useResizeObserver.js +79 -0
- package/lib/components/ResizeObserver/utils/observerUtil.d.ts +7 -0
- package/lib/components/ResizeObserver/utils/observerUtil.js +47 -0
- package/lib/components/ResizeObserver/utils/reactUtil.d.ts +19 -0
- package/lib/components/ResizeObserver/utils/reactUtil.js +91 -0
- package/lib/components/Segment/Segment.d.ts +6 -0
- package/lib/components/Segment/Segment.js +110 -0
- package/lib/components/Segment/index.d.ts +4 -0
- package/lib/components/Segment/index.js +33 -0
- package/lib/components/Segment/interface.d.ts +23 -0
- package/lib/components/Segment/interface.js +6 -0
- package/lib/components/Segment/style/Segment.css +1 -0
- package/lib/components/Segment/style/Segment.scss +80 -0
- package/lib/components/Segment/style/css.js +4 -0
- package/lib/components/Segment/style/index.d.ts +1 -0
- package/lib/components/Segment/style/index.js +4 -0
- package/lib/components/Select/Select.d.ts +6 -0
- package/lib/components/Select/Select.js +530 -0
- package/lib/components/Select/SelectFieldShell.d.ts +22 -0
- package/lib/components/Select/SelectFieldShell.js +79 -0
- package/lib/components/Select/SelectOptionContent.d.ts +9 -0
- package/lib/components/Select/SelectOptionContent.js +42 -0
- package/lib/components/Select/SelectSearchControl.d.ts +12 -0
- package/lib/components/Select/SelectSearchControl.js +44 -0
- package/lib/components/Select/SelectValueContent.d.ts +18 -0
- package/lib/components/Select/SelectValueContent.js +105 -0
- package/lib/components/Select/constants.d.ts +14 -0
- package/lib/components/Select/constants.js +26 -0
- package/lib/components/Select/index.d.ts +4 -0
- package/lib/components/Select/index.js +49 -0
- package/lib/components/Select/interface.d.ts +83 -0
- package/lib/components/Select/interface.js +10 -0
- package/lib/components/Select/style/Select.css +1 -0
- package/lib/components/Select/style/Select.scss +480 -0
- package/lib/components/Select/style/css.js +6 -0
- package/lib/components/Select/style/index.d.ts +3 -0
- package/lib/components/Select/style/index.js +6 -0
- package/lib/components/Select/utils.d.ts +21 -0
- package/lib/components/Select/utils.js +161 -0
- package/lib/components/Skeleton/Skeleton.d.ts +6 -0
- package/lib/components/Skeleton/Skeleton.js +58 -0
- package/lib/components/Skeleton/index.d.ts +4 -0
- package/lib/components/Skeleton/index.js +33 -0
- package/lib/components/Skeleton/interface.d.ts +19 -0
- package/lib/components/Skeleton/interface.js +6 -0
- package/lib/components/Skeleton/style/Skeleton.css +1 -0
- package/lib/components/Skeleton/style/Skeleton.scss +47 -0
- package/lib/components/Skeleton/style/css.js +4 -0
- package/lib/components/Skeleton/style/index.d.ts +1 -0
- package/lib/components/Skeleton/style/index.js +4 -0
- package/lib/components/Slider/Slider.d.ts +6 -0
- package/lib/components/Slider/Slider.js +126 -0
- package/lib/components/Slider/index.d.ts +4 -0
- package/lib/components/Slider/index.js +33 -0
- package/lib/components/Slider/interface.d.ts +39 -0
- package/lib/components/Slider/interface.js +6 -0
- package/lib/components/Slider/style/Slider.css +1 -0
- package/lib/components/Slider/style/Slider.scss +182 -0
- package/lib/components/Slider/style/css.js +4 -0
- package/lib/components/Slider/style/index.d.ts +1 -0
- package/lib/components/Slider/style/index.js +4 -0
- package/lib/components/Space/Space.d.ts +5 -0
- package/lib/components/Space/Space.js +88 -0
- package/lib/components/Space/constants.d.ts +33 -0
- package/lib/components/Space/constants.js +43 -0
- package/lib/components/Space/index.d.ts +5 -0
- package/lib/components/Space/index.js +53 -0
- package/lib/components/Space/interface.d.ts +12 -0
- package/lib/components/Space/interface.js +6 -0
- package/lib/components/Space/style/Space.css +1 -0
- package/lib/components/Space/style/Space.scss +40 -0
- package/lib/components/Space/style/css.js +4 -0
- package/lib/components/Space/style/index.d.ts +1 -0
- package/lib/components/Space/style/index.js +4 -0
- package/lib/components/Spinner/Spinner.d.ts +6 -0
- package/lib/components/Spinner/Spinner.js +91 -0
- package/lib/components/Spinner/index.d.ts +4 -0
- package/lib/components/Spinner/index.js +33 -0
- package/lib/components/Spinner/interface.d.ts +14 -0
- package/lib/components/Spinner/interface.js +8 -0
- package/lib/components/Spinner/style/Spinner.css +1 -0
- package/lib/components/Spinner/style/Spinner.scss +90 -0
- package/lib/components/Spinner/style/css.js +4 -0
- package/lib/components/Spinner/style/index.d.ts +1 -0
- package/lib/components/Spinner/style/index.js +4 -0
- package/lib/components/Step/Step.d.ts +5 -0
- package/lib/components/Step/Step.js +126 -0
- package/lib/components/Step/constants.d.ts +59 -0
- package/lib/components/Step/constants.js +72 -0
- package/lib/components/Step/index.d.ts +4 -0
- package/lib/components/Step/index.js +33 -0
- package/lib/components/Step/interface.d.ts +22 -0
- package/lib/components/Step/interface.js +6 -0
- package/lib/components/Step/style/Step.css +1 -0
- package/lib/components/Step/style/Step.scss +91 -0
- package/lib/components/Step/style/css.js +4 -0
- package/lib/components/Step/style/index.d.ts +1 -0
- package/lib/components/Step/style/index.js +4 -0
- package/lib/components/Switch/Switch.d.ts +6 -0
- package/lib/components/Switch/Switch.js +103 -0
- package/lib/components/Switch/constants.d.ts +11 -0
- package/lib/components/Switch/constants.js +18 -0
- package/lib/components/Switch/index.d.ts +5 -0
- package/lib/components/Switch/index.js +45 -0
- package/lib/components/Switch/interface.d.ts +26 -0
- package/lib/components/Switch/interface.js +6 -0
- package/lib/components/Switch/style/Switch.css +1 -0
- package/lib/components/Switch/style/Switch.scss +126 -0
- package/lib/components/Switch/style/css.js +5 -0
- package/lib/components/Switch/style/index.d.ts +2 -0
- package/lib/components/Switch/style/index.js +5 -0
- package/lib/components/Table/Table.d.ts +10 -0
- package/lib/components/Table/Table.js +173 -0
- package/lib/components/Table/VirtualTable.d.ts +9 -0
- package/lib/components/Table/VirtualTable.js +175 -0
- package/lib/components/Table/constants.d.ts +4 -0
- package/lib/components/Table/constants.js +11 -0
- package/lib/components/Table/core/useTableColumns.d.ts +34 -0
- package/lib/components/Table/core/useTableColumns.js +198 -0
- package/lib/components/Table/core/useTableDataPipeline.d.ts +50 -0
- package/lib/components/Table/core/useTableDataPipeline.js +269 -0
- package/lib/components/Table/core/useTableExpand.d.ts +9 -0
- package/lib/components/Table/core/useTableExpand.js +45 -0
- package/lib/components/Table/core/useTableSelection.d.ts +17 -0
- package/lib/components/Table/core/useTableSelection.js +151 -0
- package/lib/components/Table/features/ExpandTrigger.d.ts +4 -0
- package/lib/components/Table/features/ExpandTrigger.js +30 -0
- package/lib/components/Table/features/SelectionColumn.d.ts +11 -0
- package/lib/components/Table/features/SelectionColumn.js +47 -0
- package/lib/components/Table/features/SortTrigger.d.ts +7 -0
- package/lib/components/Table/features/SortTrigger.js +32 -0
- package/lib/components/Table/index.d.ts +6 -0
- package/lib/components/Table/index.js +47 -0
- package/lib/components/Table/interface.d.ts +179 -0
- package/lib/components/Table/interface.js +6 -0
- package/lib/components/Table/internal/index.d.ts +3 -0
- package/lib/components/Table/internal/index.js +52 -0
- package/lib/components/Table/internal/kernel/Body/BodyRow.d.ts +37 -0
- package/lib/components/Table/internal/kernel/Body/BodyRow.js +186 -0
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.d.ts +15 -0
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.js +67 -0
- package/lib/components/Table/internal/kernel/Body/MeasureCell.d.ts +8 -0
- package/lib/components/Table/internal/kernel/Body/MeasureCell.js +50 -0
- package/lib/components/Table/internal/kernel/Body/MeasureRow.d.ts +10 -0
- package/lib/components/Table/internal/kernel/Body/MeasureRow.js +64 -0
- package/lib/components/Table/internal/kernel/Body/index.d.ts +9 -0
- package/lib/components/Table/internal/kernel/Body/index.js +135 -0
- package/lib/components/Table/internal/kernel/Cell/index.d.ts +39 -0
- package/lib/components/Table/internal/kernel/Cell/index.js +190 -0
- package/lib/components/Table/internal/kernel/Cell/useCellRender.d.ts +3 -0
- package/lib/components/Table/internal/kernel/Cell/useCellRender.js +74 -0
- package/lib/components/Table/internal/kernel/Cell/useHoverState.d.ts +2 -0
- package/lib/components/Table/internal/kernel/Cell/useHoverState.js +23 -0
- package/lib/components/Table/internal/kernel/ColGroup.d.ts +8 -0
- package/lib/components/Table/internal/kernel/ColGroup.js +68 -0
- package/lib/components/Table/internal/kernel/FixedHolder/index.d.ts +27 -0
- package/lib/components/Table/internal/kernel/FixedHolder/index.js +193 -0
- package/lib/components/Table/internal/kernel/Footer/Cell.d.ts +11 -0
- package/lib/components/Table/internal/kernel/Footer/Cell.js +60 -0
- package/lib/components/Table/internal/kernel/Footer/Row.d.ts +8 -0
- package/lib/components/Table/internal/kernel/Footer/Row.js +31 -0
- package/lib/components/Table/internal/kernel/Footer/Summary.d.ts +14 -0
- package/lib/components/Table/internal/kernel/Footer/Summary.js +20 -0
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.d.ts +11 -0
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.js +13 -0
- package/lib/components/Table/internal/kernel/Footer/index.d.ts +16 -0
- package/lib/components/Table/internal/kernel/Footer/index.js +47 -0
- package/lib/components/Table/internal/kernel/Header/Header.d.ts +9 -0
- package/lib/components/Table/internal/kernel/Header/Header.js +120 -0
- package/lib/components/Table/internal/kernel/Header/HeaderRow.d.ts +18 -0
- package/lib/components/Table/internal/kernel/Header/HeaderRow.js +71 -0
- package/lib/components/Table/internal/kernel/Panel/index.d.ts +7 -0
- package/lib/components/Table/internal/kernel/Panel/index.js +25 -0
- package/lib/components/Table/internal/kernel/Table.d.ts +126 -0
- package/lib/components/Table/internal/kernel/Table.js +701 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +13 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +299 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +14 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.js +125 -0
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +26 -0
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.js +117 -0
- package/lib/components/Table/internal/kernel/VirtualTable/context.d.ts +13 -0
- package/lib/components/Table/internal/kernel/VirtualTable/context.js +12 -0
- package/lib/components/Table/internal/kernel/VirtualTable/index.d.ts +17 -0
- package/lib/components/Table/internal/kernel/VirtualTable/index.js +101 -0
- package/lib/components/Table/internal/kernel/constant.d.ts +2 -0
- package/lib/components/Table/internal/kernel/constant.js +10 -0
- package/lib/components/Table/internal/kernel/context/PerfContext.d.ts +6 -0
- package/lib/components/Table/internal/kernel/context/PerfContext.js +18 -0
- package/lib/components/Table/internal/kernel/context/TableContext.d.ts +51 -0
- package/lib/components/Table/internal/kernel/context/TableContext.js +16 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.d.ts +31 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.js +223 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +5 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +79 -0
- package/lib/components/Table/internal/kernel/hooks/useExpand.d.ts +10 -0
- package/lib/components/Table/internal/kernel/hooks/useExpand.js +95 -0
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +2 -0
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.js +29 -0
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +19 -0
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.js +64 -0
- package/lib/components/Table/internal/kernel/hooks/useFrame.d.ts +7 -0
- package/lib/components/Table/internal/kernel/hooks/useFrame.js +72 -0
- package/lib/components/Table/internal/kernel/hooks/useHover.d.ts +2 -0
- package/lib/components/Table/internal/kernel/hooks/useHover.js +30 -0
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +5 -0
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.js +51 -0
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.d.ts +11 -0
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.js +70 -0
- package/lib/components/Table/internal/kernel/hooks/useSticky.d.ts +10 -0
- package/lib/components/Table/internal/kernel/hooks/useSticky.js +44 -0
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +6 -0
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.js +38 -0
- package/lib/components/Table/internal/kernel/index.d.ts +12 -0
- package/lib/components/Table/internal/kernel/index.js +74 -0
- package/lib/components/Table/internal/kernel/interface.d.ts +202 -0
- package/lib/components/Table/internal/kernel/interface.js +6 -0
- package/lib/components/Table/internal/kernel/namePathType.d.ts +13 -0
- package/lib/components/Table/internal/kernel/namePathType.js +6 -0
- package/lib/components/Table/internal/kernel/selector-context/Immutable.d.ts +10 -0
- package/lib/components/Table/internal/kernel/selector-context/Immutable.js +82 -0
- package/lib/components/Table/internal/kernel/selector-context/context.d.ts +26 -0
- package/lib/components/Table/internal/kernel/selector-context/context.js +93 -0
- package/lib/components/Table/internal/kernel/selector-context/index.d.ts +7 -0
- package/lib/components/Table/internal/kernel/selector-context/index.js +34 -0
- package/lib/components/Table/internal/kernel/selector-context/isEqual.d.ts +5 -0
- package/lib/components/Table/internal/kernel/selector-context/isEqual.js +55 -0
- package/lib/components/Table/internal/kernel/stickyScrollBar.d.ts +12 -0
- package/lib/components/Table/internal/kernel/stickyScrollBar.js +203 -0
- package/lib/components/Table/internal/kernel/sugar/Column.d.ts +10 -0
- package/lib/components/Table/internal/kernel/sugar/Column.js +17 -0
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +12 -0
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.js +17 -0
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +1 -0
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.js +10 -0
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.d.ts +2 -0
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.js +34 -0
- package/lib/components/Table/internal/kernel/utils/expandUtil.d.ts +4 -0
- package/lib/components/Table/internal/kernel/utils/expandUtil.js +60 -0
- package/lib/components/Table/internal/kernel/utils/fixUtil.d.ts +21 -0
- package/lib/components/Table/internal/kernel/utils/fixUtil.js +70 -0
- package/lib/components/Table/internal/kernel/utils/get.d.ts +1 -0
- package/lib/components/Table/internal/kernel/utils/get.js +17 -0
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +7 -0
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.js +45 -0
- package/lib/components/Table/internal/kernel/utils/legacyUtil.d.ts +5 -0
- package/lib/components/Table/internal/kernel/utils/legacyUtil.js +40 -0
- package/lib/components/Table/internal/kernel/utils/offsetUtil.d.ts +4 -0
- package/lib/components/Table/internal/kernel/utils/offsetUtil.js +21 -0
- package/lib/components/Table/internal/kernel/utils/pickAttrs.d.ts +6 -0
- package/lib/components/Table/internal/kernel/utils/pickAttrs.js +39 -0
- package/lib/components/Table/internal/kernel/utils/useMemo.d.ts +1 -0
- package/lib/components/Table/internal/kernel/utils/useMemo.js +19 -0
- package/lib/components/Table/internal/kernel/utils/valueUtil.d.ts +8 -0
- package/lib/components/Table/internal/kernel/utils/valueUtil.js +38 -0
- package/lib/components/Table/internal/kernel/utils/warning.d.ts +4 -0
- package/lib/components/Table/internal/kernel/utils/warning.js +26 -0
- package/lib/components/Table/renderers/BodyCell.d.ts +15 -0
- package/lib/components/Table/renderers/BodyCell.js +47 -0
- package/lib/components/Table/renderers/CellContent.d.ts +4 -0
- package/lib/components/Table/renderers/CellContent.js +32 -0
- package/lib/components/Table/renderers/EmptyState.d.ts +4 -0
- package/lib/components/Table/renderers/EmptyState.js +21 -0
- package/lib/components/Table/renderers/ExpandedRowContainer.d.ts +4 -0
- package/lib/components/Table/renderers/ExpandedRowContainer.js +16 -0
- package/lib/components/Table/renderers/HeaderCell.d.ts +7 -0
- package/lib/components/Table/renderers/HeaderCell.js +28 -0
- package/lib/components/Table/style/Table.css +1 -0
- package/lib/components/Table/style/Table.scss +376 -0
- package/lib/components/Table/style/css.js +12 -0
- package/lib/components/Table/style/index.d.ts +9 -0
- package/lib/components/Table/style/index.js +12 -0
- package/lib/components/Tabs/Tabs.d.ts +6 -0
- package/lib/components/Tabs/Tabs.js +121 -0
- package/lib/components/Tabs/index.d.ts +4 -0
- package/lib/components/Tabs/index.js +33 -0
- package/lib/components/Tabs/interface.d.ts +27 -0
- package/lib/components/Tabs/interface.js +6 -0
- package/lib/components/Tabs/style/Tabs.css +1 -0
- package/lib/components/Tabs/style/Tabs.scss +100 -0
- package/lib/components/Tabs/style/css.js +4 -0
- package/lib/components/Tabs/style/index.d.ts +1 -0
- package/lib/components/Tabs/style/index.js +4 -0
- package/lib/components/Tag/Tag.d.ts +6 -0
- package/lib/components/Tag/Tag.js +89 -0
- package/lib/components/Tag/constants.d.ts +18 -0
- package/lib/components/Tag/constants.js +34 -0
- package/lib/components/Tag/index.d.ts +5 -0
- package/lib/components/Tag/index.js +45 -0
- package/lib/components/Tag/interface.d.ts +15 -0
- package/lib/components/Tag/interface.js +6 -0
- package/lib/components/Tag/style/Tag.css +1 -0
- package/lib/components/Tag/style/Tag.scss +103 -0
- package/lib/components/Tag/style/css.js +4 -0
- package/lib/components/Tag/style/index.d.ts +1 -0
- package/lib/components/Tag/style/index.js +4 -0
- package/lib/components/Tooltip/Tooltip.d.ts +6 -0
- package/lib/components/Tooltip/Tooltip.js +71 -0
- package/lib/components/Tooltip/index.d.ts +4 -0
- package/lib/components/Tooltip/index.js +33 -0
- package/lib/components/Tooltip/interface.d.ts +20 -0
- package/lib/components/Tooltip/interface.js +6 -0
- package/lib/components/Tooltip/style/Tooltip.css +1 -0
- package/lib/components/Tooltip/style/Tooltip.scss +95 -0
- package/lib/components/Tooltip/style/css.js +4 -0
- package/lib/components/Tooltip/style/index.d.ts +1 -0
- package/lib/components/Tooltip/style/index.js +4 -0
- package/lib/components/Tour/Tour.d.ts +3 -0
- package/lib/components/Tour/Tour.js +250 -0
- package/lib/components/Tour/index.d.ts +4 -0
- package/lib/components/Tour/index.js +33 -0
- package/lib/components/Tour/interface.d.ts +46 -0
- package/lib/components/Tour/interface.js +6 -0
- package/lib/components/Trigger/Trigger.d.ts +5 -0
- package/lib/components/Trigger/Trigger.js +161 -0
- package/lib/components/Trigger/index.d.ts +3 -0
- package/lib/components/Trigger/index.js +35 -0
- package/lib/components/Trigger/interface.d.ts +52 -0
- package/lib/components/Trigger/interface.js +6 -0
- package/lib/components/Trigger/style/Trigger.css +1 -0
- package/lib/components/Trigger/style/Trigger.scss +18 -0
- package/lib/components/Trigger/style/css.js +4 -0
- package/lib/components/Trigger/style/index.d.ts +1 -0
- package/lib/components/Trigger/style/index.js +4 -0
- package/lib/components/Typography/Typography.d.ts +17 -0
- package/lib/components/Typography/Typography.js +207 -0
- package/lib/components/Typography/constants.d.ts +33 -0
- package/lib/components/Typography/constants.js +15 -0
- package/lib/components/Typography/index.d.ts +4 -0
- package/lib/components/Typography/index.js +79 -0
- package/lib/components/Typography/interface.d.ts +72 -0
- package/lib/components/Typography/interface.js +28 -0
- package/lib/components/Typography/render.d.ts +328 -0
- package/lib/components/Typography/render.js +116 -0
- package/lib/components/Typography/style/Typography.css +1 -0
- package/lib/components/Typography/style/Typography.scss +132 -0
- package/lib/components/Typography/style/css.js +6 -0
- package/lib/components/Typography/style/index.d.ts +3 -0
- package/lib/components/Typography/style/index.js +6 -0
- package/lib/components/Typography/useTypographyEnhancements.d.ts +43 -0
- package/lib/components/Typography/useTypographyEnhancements.js +117 -0
- package/lib/components/Typography/utils.d.ts +17 -0
- package/lib/components/Typography/utils.js +105 -0
- package/lib/components/Upload/Upload.d.ts +7 -0
- package/lib/components/Upload/Upload.js +97 -0
- package/lib/components/Upload/UploadFileBar.d.ts +6 -0
- package/lib/components/Upload/UploadFileBar.js +72 -0
- package/lib/components/Upload/index.d.ts +5 -0
- package/lib/components/Upload/index.js +41 -0
- package/lib/components/Upload/interface.d.ts +41 -0
- package/lib/components/Upload/interface.js +6 -0
- package/lib/components/Upload/style/Upload.css +1 -0
- package/lib/components/Upload/style/Upload.scss +44 -0
- package/lib/components/Upload/style/UploadFileBar.css +1 -0
- package/lib/components/Upload/style/UploadFileBar.scss +94 -0
- package/lib/components/Upload/style/css.js +5 -0
- package/lib/components/Upload/style/index.d.ts +2 -0
- package/lib/components/Upload/style/index.js +5 -0
- package/lib/components/VirtualList/Filler.d.ts +21 -0
- package/lib/components/VirtualList/Filler.js +66 -0
- package/lib/components/VirtualList/Item.d.ts +6 -0
- package/lib/components/VirtualList/Item.js +21 -0
- package/lib/components/VirtualList/ScrollBar.d.ts +22 -0
- package/lib/components/VirtualList/ScrollBar.js +247 -0
- package/lib/components/VirtualList/VirtualList.d.ts +62 -0
- package/lib/components/VirtualList/VirtualList.js +540 -0
- package/lib/components/VirtualList/constants.d.ts +4 -0
- package/lib/components/VirtualList/constants.js +11 -0
- package/lib/components/VirtualList/hooks/useChildren.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useChildren.js +34 -0
- package/lib/components/VirtualList/hooks/useDiffItem.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useDiffItem.js +25 -0
- package/lib/components/VirtualList/hooks/useFrameWheel.d.ts +10 -0
- package/lib/components/VirtualList/hooks/useFrameWheel.js +92 -0
- package/lib/components/VirtualList/hooks/useGetSize.d.ts +7 -0
- package/lib/components/VirtualList/hooks/useGetSize.js +57 -0
- package/lib/components/VirtualList/hooks/useHeights.d.ts +8 -0
- package/lib/components/VirtualList/hooks/useHeights.js +106 -0
- package/lib/components/VirtualList/hooks/useMobileTouchMove.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useMobileTouchMove.js +91 -0
- package/lib/components/VirtualList/hooks/useOriginScroll.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useOriginScroll.js +50 -0
- package/lib/components/VirtualList/hooks/useScrollDrag.d.ts +3 -0
- package/lib/components/VirtualList/hooks/useScrollDrag.js +87 -0
- package/lib/components/VirtualList/hooks/useScrollTo.d.ts +18 -0
- package/lib/components/VirtualList/hooks/useScrollTo.js +142 -0
- package/lib/components/VirtualList/index.d.ts +9 -0
- package/lib/components/VirtualList/index.js +31 -0
- package/lib/components/VirtualList/interface.d.ts +26 -0
- package/lib/components/VirtualList/interface.js +6 -0
- package/lib/components/VirtualList/style/VirtualList.css +1 -0
- package/lib/components/VirtualList/style/VirtualList.scss +5 -0
- package/lib/components/VirtualList/style/css.js +4 -0
- package/lib/components/VirtualList/style/index.d.ts +1 -0
- package/lib/components/VirtualList/style/index.js +4 -0
- package/lib/components/VirtualList/utils/CacheMap.d.ts +16 -0
- package/lib/components/VirtualList/utils/CacheMap.js +50 -0
- package/lib/components/VirtualList/utils/algorithmUtil.d.ts +23 -0
- package/lib/components/VirtualList/utils/algorithmUtil.js +84 -0
- package/lib/components/VirtualList/utils/isFirefox.d.ts +2 -0
- package/lib/components/VirtualList/utils/isFirefox.js +11 -0
- package/lib/components/VirtualList/utils/raf.d.ts +9 -0
- package/lib/components/VirtualList/utils/raf.js +53 -0
- package/lib/components/VirtualList/utils/scrollbarUtil.d.ts +1 -0
- package/lib/components/VirtualList/utils/scrollbarUtil.js +18 -0
- package/lib/index.css +1 -0
- package/lib/index.d.ts +89 -0
- package/lib/index.js +494 -0
- package/lib/styles/_api.scss +5 -0
- package/lib/styles/_settings.scss +5 -0
- package/lib/styles/index.css +1 -0
- package/lib/styles/index.scss +2 -0
- package/lib/styles/public/_index.scss +2 -0
- package/lib/styles/public/_system.scss +1 -0
- package/lib/styles/public/_theme.scss +3 -0
- package/lib/styles/recipes/_index.scss +1 -0
- package/lib/styles/recipes/_variants.scss +110 -0
- package/lib/styles/system/_index.scss +4 -0
- package/lib/styles/system/_props.scss +95 -0
- package/lib/styles/system/_public.scss +5 -0
- package/lib/styles/system/_sx.scss +81 -0
- package/lib/styles/theme/_breakpoints.scss +95 -0
- package/lib/styles/theme/_functions.scss +271 -0
- package/lib/styles/theme/_index.scss +6 -0
- package/lib/styles/theme/_mixins.scss +37 -0
- package/lib/styles/theme/_scales.scss +29 -0
- package/lib/styles/theme/_values.scss +68 -0
- package/lib/styles/tokens/_index.scss +11 -0
- package/lib/styles/tokens/breakpoint/_index.scss +2 -0
- package/lib/styles/tokens/breakpoint/_primitives.scss +8 -0
- package/lib/styles/tokens/color/_index.scss +3 -0
- package/lib/styles/tokens/color/_primitives.scss +42 -0
- package/lib/styles/tokens/color/_semantic-color.scss +172 -0
- package/lib/styles/tokens/opacity/_functions.scss +13 -0
- package/lib/styles/tokens/opacity/_index.scss +3 -0
- package/lib/styles/tokens/opacity/_primitives.scss +12 -0
- package/lib/styles/tokens/radius/_index.scss +2 -0
- package/lib/styles/tokens/radius/_primitives.scss +11 -0
- package/lib/styles/tokens/shadow/_index.scss +2 -0
- package/lib/styles/tokens/shadow/_primitives.scss +7 -0
- package/lib/styles/tokens/sizing/_functions.scss +17 -0
- package/lib/styles/tokens/sizing/_index.scss +4 -0
- package/lib/styles/tokens/sizing/_primitives.scss +12 -0
- package/lib/styles/tokens/sizing/_semantic-sizing.scss +11 -0
- package/lib/styles/tokens/spacing/_functions.scss +51 -0
- package/lib/styles/tokens/spacing/_index.scss +4 -0
- package/lib/styles/tokens/spacing/_primitives.scss +22 -0
- package/lib/styles/tokens/spacing/_semantic-spacing.scss +22 -0
- package/lib/styles/tokens/typography/_functions.scss +31 -0
- package/lib/styles/tokens/typography/_index.scss +4 -0
- package/lib/styles/tokens/typography/_primitives.scss +27 -0
- package/lib/styles/tokens/typography/_semantic-typography.scss +216 -0
- package/lib/styles/utilities/_generator.scss +55 -0
- package/lib/styles/utilities/_index.scss +14 -0
- package/lib/utils/classnames.d.ts +5 -0
- package/lib/utils/classnames.js +25 -0
- package/lib/utils/clipboard.d.ts +2 -0
- package/lib/utils/clipboard.js +56 -0
- package/lib/utils/ref.d.ts +4 -0
- package/lib/utils/ref.js +41 -0
- package/lib/utils/uuid.d.ts +2 -0
- package/lib/utils/uuid.js +23 -0
- package/package.json +442 -0
- package/patches/primereact.patch +323 -0
- package/patches/react-pro-sidebar.patch +6421 -0
- package/public/favicon.ico +0 -0
- package/public/fonts/Aeonik/Aeonik-Air.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-AirItalic.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-Black.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-BlackItalic.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-Bold.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-BoldItalic.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-Light.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-LightItalic.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-Medium.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-MediumItalic.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-Regular.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-RegularItalic.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-Thin.ttf +0 -0
- package/public/fonts/Aeonik/Aeonik-ThinItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-Black.ttf +0 -0
- package/public/fonts/Inter/Inter-BlackItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-Bold.ttf +0 -0
- package/public/fonts/Inter/Inter-BoldItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-ExtraBold.ttf +0 -0
- package/public/fonts/Inter/Inter-ExtraBoldItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-ExtraLight.ttf +0 -0
- package/public/fonts/Inter/Inter-ExtraLightItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-Italic.ttf +0 -0
- package/public/fonts/Inter/Inter-Light.ttf +0 -0
- package/public/fonts/Inter/Inter-LightItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-Medium.ttf +0 -0
- package/public/fonts/Inter/Inter-MediumItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-Regular.ttf +0 -0
- package/public/fonts/Inter/Inter-SemiBold.ttf +0 -0
- package/public/fonts/Inter/Inter-SemiBoldItalic.ttf +0 -0
- package/public/fonts/Inter/Inter-Thin.ttf +0 -0
- package/public/fonts/Inter/Inter-ThinItalic.ttf +0 -0
- package/public/fonts/Outfit/Outfit-Black.ttf +0 -0
- package/public/fonts/Outfit/Outfit-Bold.ttf +0 -0
- package/public/fonts/Outfit/Outfit-ExtraBold.ttf +0 -0
- package/public/fonts/Outfit/Outfit-ExtraLight.ttf +0 -0
- package/public/fonts/Outfit/Outfit-Light.ttf +0 -0
- package/public/fonts/Outfit/Outfit-Medium.ttf +0 -0
- package/public/fonts/Outfit/Outfit-Regular.ttf +0 -0
- package/public/fonts/Outfit/Outfit-SemiBold.ttf +0 -0
- package/public/fonts/Outfit/Outfit-Thin.ttf +0 -0
- package/public/github-mark.svg +3 -0
- package/public/tokens/GYEN.svg +9 -0
- package/public/tokens/PYUSD.svg +9 -0
- package/public/tokens/USDT.svg +6 -0
- package/scripts/mcp-server/index.d.mts +1 -0
- package/scripts/mcp-server/index.mjs +45 -0
- package/scripts/mcp-server/resources.d.mts +1 -0
- package/scripts/mcp-server/resources.mjs +102 -0
- package/test/jsdom-global-register.d.ts +1 -0
- package/test/jsdom-global-register.js +1 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
|
+
import BigNumber from 'bignumber.js';
|
|
3
|
+
import { numericFormatter } from 'react-number-format';
|
|
4
|
+
export var DECIMAL_POINT_OFFSET = 2;
|
|
5
|
+
export var DEFAULT_PLACEHOLDER = '0';
|
|
6
|
+
export var CHAR_MINUS = '-';
|
|
7
|
+
export var CHAR_DOT = '.';
|
|
8
|
+
export var CHAR_COMMA = ',';
|
|
9
|
+
/** Fullwidth decimal/period → ASCII dot, fullwidth comma → ASCII comma */
|
|
10
|
+
var FULLWIDTH_DOT_RE = /[\u3002\uff0e\uff61]/g;
|
|
11
|
+
var FULLWIDTH_COMMA_RE = /[\uFF0C]/g;
|
|
12
|
+
var MINUS_RE = /-/g;
|
|
13
|
+
var TRAILING_DECIMALS_RE = /\.(\d+)$/;
|
|
14
|
+
export var isNumericType = function isNumericType(val) {
|
|
15
|
+
return typeof val === 'number' || typeof val === 'bigint';
|
|
16
|
+
};
|
|
17
|
+
export var normalizeNumberInput = function normalizeNumberInput(val) {
|
|
18
|
+
return val.replace(FULLWIDTH_DOT_RE, CHAR_DOT).replace(FULLWIDTH_COMMA_RE, CHAR_COMMA);
|
|
19
|
+
};
|
|
20
|
+
export var stripCommas = function stripCommas(val) {
|
|
21
|
+
return val.split(CHAR_COMMA).join('');
|
|
22
|
+
};
|
|
23
|
+
export var stripMinus = function stripMinus(val) {
|
|
24
|
+
return val.replace(MINUS_RE, '');
|
|
25
|
+
};
|
|
26
|
+
export var formatThousands = function formatThousands(val, allowNegative) {
|
|
27
|
+
return numericFormatter(val, {
|
|
28
|
+
thousandSeparator: true,
|
|
29
|
+
allowNegative: allowNegative
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
export var calcValueInRange = function calcValueInRange(val, min, max) {
|
|
33
|
+
if (val === '' || val === CHAR_MINUS || isNaN(+val)) return val;
|
|
34
|
+
var bnVal = BigNumber(val);
|
|
35
|
+
if (isNumericType(min) && bnVal.lt(BigNumber(min))) return "".concat(min);
|
|
36
|
+
if (isNumericType(max) && bnVal.gt(BigNumber(max))) return "".concat(max);
|
|
37
|
+
return val;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Normalize a raw numeric value string:
|
|
41
|
+
* - Strips leading zeros via BigNumber
|
|
42
|
+
* - Preserves negative-zero representation when applicable
|
|
43
|
+
* - Appends trailing decimal point if present in input
|
|
44
|
+
*/
|
|
45
|
+
export var normalizeValue = function normalizeValue(val, hasDecimalPoint, negative) {
|
|
46
|
+
var _a, _b, _c;
|
|
47
|
+
var decimals = (_c = (_b = (_a = val.match(TRAILING_DECIMALS_RE)) === null || _a === void 0 ? void 0 : _a[1]) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0;
|
|
48
|
+
var bn = BigNumber(val);
|
|
49
|
+
var normalized = bn.toFixed(decimals);
|
|
50
|
+
if (negative && val.trim().startsWith(CHAR_MINUS) && bn.isZero()) {
|
|
51
|
+
normalized = normalized.startsWith(CHAR_MINUS) ? normalized : "".concat(CHAR_MINUS).concat(normalized);
|
|
52
|
+
}
|
|
53
|
+
return "".concat(normalized).concat(hasDecimalPoint ? CHAR_DOT : '').trim();
|
|
54
|
+
};
|
|
55
|
+
export var truncateFractionDigits = function truncateFractionDigits(val, maxDecimals) {
|
|
56
|
+
var _val$split = val.split(CHAR_DOT),
|
|
57
|
+
_val$split2 = _slicedToArray(_val$split, 2),
|
|
58
|
+
_int = _val$split2[0],
|
|
59
|
+
decimal = _val$split2[1];
|
|
60
|
+
if (decimal != null && decimal.length > maxDecimals) {
|
|
61
|
+
return {
|
|
62
|
+
"int": _int,
|
|
63
|
+
truncated: "".concat(_int).concat(CHAR_DOT).concat(decimal.slice(0, maxDecimals)),
|
|
64
|
+
overflow: true
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
"int": _int,
|
|
69
|
+
truncated: val,
|
|
70
|
+
overflow: false
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Parse and sanitize a raw string input value.
|
|
75
|
+
* Returns `null` if the value is invalid and should be rejected.
|
|
76
|
+
*/
|
|
77
|
+
export var parseRawInput = function parseRawInput(raw, negative) {
|
|
78
|
+
var val = stripCommas(normalizeNumberInput(raw));
|
|
79
|
+
var hasDecimalPoint = val.endsWith(CHAR_DOT);
|
|
80
|
+
if (hasDecimalPoint) val = val.slice(0, -1);
|
|
81
|
+
if (!negative && val.includes(CHAR_MINUS)) return null;
|
|
82
|
+
var isStandaloneMinus = !!negative && val === CHAR_MINUS;
|
|
83
|
+
if (!isStandaloneMinus && isNaN(+val)) return null;
|
|
84
|
+
return {
|
|
85
|
+
val: val,
|
|
86
|
+
hasDecimalPoint: hasDecimalPoint,
|
|
87
|
+
isStandaloneMinus: isStandaloneMinus
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
/** Ensure a numeric value is non-negative when `negative` is not allowed. */
|
|
91
|
+
export var absValue = function absValue(val) {
|
|
92
|
+
if (typeof val === 'number') return Math.abs(val);
|
|
93
|
+
return val < BigInt(0) ? -val : val;
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvSW5wdXQvc3JjL2NvbXBvbmVudHMvSW5wdXQvQW1vdW50L2hlbHBlci50cyIsImNvbXBvbmVudHMvSW5wdXQvQW1vdW50L2hlbHBlci5qcyJdLCJuYW1lcyI6WyJCaWdOdW1iZXIiLCJudW1lcmljRm9ybWF0dGVyIiwiREVDSU1BTF9QT0lOVF9PRkZTRVQiLCJERUZBVUxUX1BMQUNFSE9MREVSIiwiQ0hBUl9NSU5VUyIsIkNIQVJfRE9UIiwiQ0hBUl9DT01NQSIsIkZVTExXSURUSF9ET1RfUkUiLCJGVUxMV0lEVEhfQ09NTUFfUkUiLCJNSU5VU19SRSIsIlRSQUlMSU5HX0RFQ0lNQUxTX1JFIiwiaXNOdW1lcmljVHlwZSIsInZhbCIsIm5vcm1hbGl6ZU51bWJlcklucHV0IiwicmVwbGFjZSIsInN0cmlwQ29tbWFzIiwic3B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uICAgIGNvbnN0IGhhc0RlY2ltYWxQb2ludCA9IHZhbC5lbmRzV2l0aChDSEFSX0RPVCk7XG4gICAgaWYgKGhhc0RlY2ltYWxQb2ludClcbiAgICAgICAgdmFsID0gdmFsLnNsaWNlKDAsIC0xKTtcbiAgICBpZiAoIW5lZ2F0aXZlICYmIHZhbC5pbmNsdWRlcyhDSEFSX01JTlVTKSlcbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgY29uc3QgaXNTdGFuZGFsb25lTWludXMgPSAhIW5lZ2F0aXZlICYmIHZhbCA9PT0gQ0hBUl9NSU5VUztcbiAgICBpZiAoIWlzU3RhbmRhbG9uZU1pbnVzICYmIGlzTmFOKCt2YWwpKVxuICAgICAgICByZXR1cm4gbnVsbDtcbiAgICByZXR1cm4geyB2YWwsIGhhc0RlY2ltYWxQb2ludCwgaXNTdGFuZGFsb25lTWludXMgfTtcbn07XG4vKiogRW5zdXJlIGEgbnVtZXJpYyB2YWx1ZSBpcyBub24tbmVnYXRpdmUgd2hlbiBgbmVnYXRpdmVgIGlzIG5vdCBhbGxvd2VkLiAqL1xuZXhwb3J0IGNvbnN0IGFic1ZhbHVlID0gKHZhbCkgPT4ge1xuICAgIGlmICh0eXBlb2YgdmFsID09PSAnbnVtYmVyJylcbiAgICAgICAgcmV0dXJuIE1hdGguYWJzKHZhbCk7XG4gICAgcmV0dXJuIHZhbCA8IEJpZ0ludCgwKSA/IC12YWwgOiB2YWw7XG59OyJdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import InputAmount from './Amount';
|
|
2
|
+
export { InputAmount } from './Amount';
|
|
3
|
+
export default InputAmount;
|
|
4
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvSW5wdXQvc3JjL2NvbXBvbmVudHMvSW5wdXQvQW1vdW50L2luZGV4LnRzIl0sIm5hbWVzIjpbIklucHV0QW1vdW50Il0sIm1hcHBpbmdzIjoiQUFBQSxPQUFPQSxXQUFXLE1BQU0sVUFBVTtBQUVsQyxTQUFTQSxXQUFXLFFBQVEsVUFBVTtBQUV0QyxlQUFlQSxXQUFXIiwiZmlsZSI6ImNvbXBvbmVudHMvSW5wdXQvQW1vdW50L2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.om-react-ui-input-amount-action{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-strong-font-weight);display:inline-flex;align-items:center;padding:0;color:var(--om-text-brand,#073387);white-space:nowrap;background:transparent;border:none;cursor:pointer}.om-react-ui-input-amount-action:disabled{color:var(--om-text-brand-secondary,#a4bbe1);cursor:not-allowed}.om-react-ui-input-amount-divider{width:1px;height:var(--om-spacing-400,16px);background-color:var(--om-border-default,#d1d2d2)}.om-react-ui-input-amount-currency{display:inline-flex;gap:var(--om-spacing-200,8px);align-items:center;padding:0;color:var(--om-text-default-tertiary,#646465);background:transparent;border:none;cursor:pointer}.om-react-ui-input-amount-currency:disabled{color:var(--om-text-disabled,#bbbdc1);cursor:not-allowed}.om-react-ui-input-amount-currency-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--om-radius-full,9999px)}.om-react-ui-input-amount-currency-icon>img{display:block;width:100%;height:100%;object-fit:cover}.om-react-ui-input-amount-currency-label{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-font-weight);white-space:nowrap}.om-react-ui-input-small .om-react-ui-input-amount-action{font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-strong-font-weight)}.om-react-ui-input-small .om-react-ui-input-amount-divider{height:var(--om-spacing-400,16px)}.om-react-ui-input-small .om-react-ui-input-amount-currency{gap:6px}.om-react-ui-input-small .om-react-ui-input-amount-currency-label{font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-font-weight)}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
@use '@/styles/api' as theme;
|
|
2
|
+
|
|
3
|
+
$component: 'input';
|
|
4
|
+
|
|
5
|
+
.#{theme.$prefix}-#{$component} {
|
|
6
|
+
// ── Amount: action button (e.g. "Use Max") ──
|
|
7
|
+
&-amount-action {
|
|
8
|
+
@include theme.typography(body, lg, $strong: true);
|
|
9
|
+
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
padding: 0;
|
|
13
|
+
color: theme.palette(text, 'brand');
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
background: transparent;
|
|
16
|
+
border: none;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
|
|
19
|
+
&:disabled {
|
|
20
|
+
color: theme.palette(text, 'brand-secondary');
|
|
21
|
+
cursor: not-allowed;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// ── Amount: vertical divider ──
|
|
26
|
+
&-amount-divider {
|
|
27
|
+
width: 1px;
|
|
28
|
+
height: theme.spacing(component-padding, 400);
|
|
29
|
+
background-color: theme.palette(border, 'default');
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// ── Amount: currency selector button ──
|
|
33
|
+
&-amount-currency {
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
gap: theme.spacing(gap, 200);
|
|
36
|
+
align-items: center;
|
|
37
|
+
padding: 0;
|
|
38
|
+
color: theme.palette(text, 'default-tertiary');
|
|
39
|
+
background: transparent;
|
|
40
|
+
border: none;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
|
|
43
|
+
&:disabled {
|
|
44
|
+
color: theme.palette(text, 'disabled');
|
|
45
|
+
cursor: not-allowed;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// ── Amount: currency icon wrapper ──
|
|
50
|
+
&-amount-currency-icon {
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
border-radius: theme.shape('full');
|
|
57
|
+
|
|
58
|
+
> img {
|
|
59
|
+
display: block;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 100%;
|
|
62
|
+
object-fit: cover;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// ── Amount: currency label text ──
|
|
67
|
+
&-amount-currency-label {
|
|
68
|
+
@include theme.typography(body, lg);
|
|
69
|
+
|
|
70
|
+
white-space: nowrap;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// ── Amount: small size overrides ──
|
|
74
|
+
&-small &-amount-action {
|
|
75
|
+
@include theme.typography(body, md, $strong: true);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-small &-amount-divider {
|
|
79
|
+
height: theme.spacing(component-padding, 400);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&-small &-amount-currency {
|
|
83
|
+
gap: 6px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&-small &-amount-currency-label {
|
|
87
|
+
@include theme.typography(body, md);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import './Amount.css';
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvSW5wdXQvQW1vdW50L3NyYy9jb21wb25lbnRzL0lucHV0L0Ftb3VudC9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLGVBQWUiLCJmaWxlIjoiY29tcG9uZW50cy9JbnB1dC9BbW91bnQvc3R5bGUvY3NzLmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './Amount.scss';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import './Amount.scss';
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvSW5wdXQvQW1vdW50L3NyYy9jb21wb25lbnRzL0lucHV0L0Ftb3VudC9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLGVBQWUiLCJmaWxlIjoiY29tcG9uZW50cy9JbnB1dC9BbW91bnQvc3R5bGUvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.om-react-ui-input{display:flex;flex-direction:column;gap:var(--om-spacing-200,8px);width:100%}.om-react-ui-input-label-row{display:inline-flex;gap:var(--om-spacing-100,4px);align-items:center}.om-react-ui-input-label{display:inline;padding:0;cursor:pointer}.om-react-ui-input-required{color:var(--om-text-danger,#ae0000)}.om-react-ui-input-error-msg{display:flex;gap:var(--om-spacing-100,4px);align-items:center;color:var(--om-text-default-tertiary,#646465)}.om-react-ui-input-error-msg-icon{flex-shrink:0}.om-react-ui-input-control-wrapper{display:flex;flex-direction:column;gap:var(--om-spacing-050,2px)}.om-react-ui-input-error .om-react-ui-input-error-msg{color:var(--om-text-danger,#ae0000)}.om-react-ui-input-warning .om-react-ui-input-error-msg{color:var(--om-text-warning,#db8600)}.om-react-ui-input-success .om-react-ui-input-error-msg{color:var(--om-text-positive,#1f5800)}.om-react-ui-input-disabled .om-react-ui-input-error-msg,.om-react-ui-input-disabled .om-react-ui-input-label{color:var(--om-text-disabled,#bbbdc1)}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { InputSize, InputStatus } from '../constants';
|
|
3
|
+
export interface FieldShellProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
prefixCls: string;
|
|
6
|
+
size: InputSize;
|
|
7
|
+
status: InputStatus;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
readOnly?: boolean;
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
info?: ReactNode;
|
|
13
|
+
errorMsg?: ReactNode;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
inputId?: string;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare const FieldShell: import("react").NamedExoticComponent<FieldShellProps>;
|
|
19
|
+
export default FieldShell;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
import { Icons } from '../../Icons';
|
|
4
|
+
import { Skeleton } from '../../Skeleton';
|
|
5
|
+
import { TypographyBody, TypographyLabel } from '../../Typography';
|
|
6
|
+
import { default as classnames, joinCls } from '../../../utils/classnames';
|
|
7
|
+
import { INPUT_ERROR_MSG_SIZE, INPUT_INFO_COLOR, INPUT_INFO_SIZE, INPUT_LABEL_COLOR, INPUT_LABEL_SIZE } from '../constants';
|
|
8
|
+
var FieldShellBase = function FieldShellBase(_ref) {
|
|
9
|
+
var children = _ref.children,
|
|
10
|
+
_ref$className = _ref.className,
|
|
11
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
12
|
+
prefixCls = _ref.prefixCls,
|
|
13
|
+
size = _ref.size,
|
|
14
|
+
status = _ref.status,
|
|
15
|
+
disabled = _ref.disabled,
|
|
16
|
+
_ref$loading = _ref.loading,
|
|
17
|
+
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
18
|
+
_ref$readOnly = _ref.readOnly,
|
|
19
|
+
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
|
|
20
|
+
label = _ref.label,
|
|
21
|
+
info = _ref.info,
|
|
22
|
+
errorMsg = _ref.errorMsg,
|
|
23
|
+
_ref$required = _ref.required,
|
|
24
|
+
required = _ref$required === void 0 ? false : _ref$required,
|
|
25
|
+
inputId = _ref.inputId;
|
|
26
|
+
var classes = classnames(prefixCls);
|
|
27
|
+
return _jsxs("div", {
|
|
28
|
+
className: classes(undefined, joinCls(classes(size), classes(status), disabled && classes('disabled'), readOnly && classes('readonly'), className)),
|
|
29
|
+
children: [(label || info) && _jsxs("div", {
|
|
30
|
+
className: classes('label-row'),
|
|
31
|
+
children: [label && (loading ? _jsx(Skeleton, {
|
|
32
|
+
width: "72px",
|
|
33
|
+
height: "18px",
|
|
34
|
+
className: classes('label-loading')
|
|
35
|
+
}) : _jsxs("label", {
|
|
36
|
+
htmlFor: inputId,
|
|
37
|
+
className: classes('label'),
|
|
38
|
+
children: [_jsx(TypographyLabel, {
|
|
39
|
+
as: "span",
|
|
40
|
+
size: INPUT_LABEL_SIZE[size],
|
|
41
|
+
color: INPUT_LABEL_COLOR,
|
|
42
|
+
strong: true,
|
|
43
|
+
children: label
|
|
44
|
+
}), required && _jsx("span", {
|
|
45
|
+
className: classes('required'),
|
|
46
|
+
children: "*"
|
|
47
|
+
})]
|
|
48
|
+
})), info && _jsx(TypographyBody, {
|
|
49
|
+
className: classes('info'),
|
|
50
|
+
size: INPUT_INFO_SIZE,
|
|
51
|
+
color: INPUT_INFO_COLOR,
|
|
52
|
+
children: info
|
|
53
|
+
})]
|
|
54
|
+
}), _jsx("div", {
|
|
55
|
+
className: classes('control-wrapper'),
|
|
56
|
+
children: children
|
|
57
|
+
}), errorMsg && _jsxs("div", {
|
|
58
|
+
className: classes('error-msg'),
|
|
59
|
+
role: status === 'error' || status === 'warning' ? 'alert' : 'status',
|
|
60
|
+
children: [status === 'error' && _jsx(Icons, {
|
|
61
|
+
className: classes('error-msg-icon'),
|
|
62
|
+
name: "error",
|
|
63
|
+
size: 16,
|
|
64
|
+
color: "danger"
|
|
65
|
+
}), _jsx(TypographyBody, {
|
|
66
|
+
as: "span",
|
|
67
|
+
size: INPUT_ERROR_MSG_SIZE,
|
|
68
|
+
color: status === 'error' ? 'danger' : undefined,
|
|
69
|
+
children: errorMsg
|
|
70
|
+
})]
|
|
71
|
+
})]
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
export var FieldShell = /*#__PURE__*/memo(FieldShellBase);
|
|
75
|
+
export default FieldShell;
|
|
76
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvSW5wdXQvRmllbGRTaGVsbC9GaWVsZFNoZWxsLmpzIiwiY29tcG9uZW50cy9JbnB1dC9zcmMvY29tcG9uZW50cy9JbnB1dC9GaWVsZFNoZWxsL0ZpZWxkU2hlbGwudHN4Il0sIm5hbWVzIjpbImpzeCIsIl9qc3giLCJqc3hzIiwiX2pzeHMiLCJtZW1vIiwiSWNvbnMiLCJTa2VsZXRvbiIsIlR5cG9ncmFwaHlCb2R5IiwiVHlwb2dyYXBoeUxhYmVsIiwiZGVmYXVsdCIsImNsYXNzbmFtZXMiLCJqb2luQ2xzIiwiSU5QVVRfRVJST1JfTVNHX1NJWkUiLCJJTlBVVF9JTkZPX0NPTE9SIiwiSU5QVVRfSU5GT19TSVpFIiwiSU5QVVRfTEFCRU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GT19DT0xPUiwgY2hpbGRyZW46IGluZm8gfSldIH0pKSwgX2pzeChcImRpdlwiLCB7IGNsYXNzTmFtZTogY2xhc3NlcygnY29udHJvbC13cmFwcGVyJyksIGNoaWxkcmVuOiBjaGlsZHJlbiB9KSwgZXJyb3JNc2cgJiYgKF9qc3hzKFwiZGl2XCIsIHsgY2xhc3NOYW1lOiBjbGFzc2VzKCdlcnJvci1tc2cnKSwgcm9sZTogc3RhdHVzID09PSAnZXJyb3InIHx8IHN0YXR1cyA9PT0gJ3dhcm5pbmcnID8gJ2FsZXJ0JyA6ICdzdGF0dXMnLCBjaGlsZHJlbjogW3N0YXR1cyA9PT0gJ2Vycm9yJyAmJiBfanN4KEljb25zLCB7IGNsYXNzTmFtZTogY2xhc3NlcygnZXJyb3ItbXNnLWljb24nKSwgbmFtZTogXCJlcnJvclwiLCBzaXplOiAxNiwgY29sb3I6IFwiZGFuZ2VyXCIgfSksIF9qc3goVHlwb2dyYXBoeUJvZHksIHsgYXM6IFwic3BhblwiLCBzaXplOiBJTlBVVF9FUlJPUl9NU0dfU0laRSwgY29sb3I6IHN0YXR1cyA9PT0gJ2Vycm9yJyA/ICdkYW5nZXInIDogdW5kZWZpbmVkLCBjaGlsZHJlbjogZXJyb3JNc2cgfSldIH0pKV0gfSkpO1xufTtcbmV4cG9ydCBjb25zdCBGaWVsZFNoZWxsID0gbWVtbyhGaWVsZFNoZWxsQmFzZSk7XG5leHBvcnQgZGVmYXVsdCBGaWVsZFNoZWxsOyIsbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@use '@/styles/api' as theme;
|
|
2
|
+
|
|
3
|
+
$component: 'input';
|
|
4
|
+
|
|
5
|
+
.#{theme.$prefix}-#{$component} {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: theme.spacing(gap, 200);
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
&-label-row {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
gap: theme.spacing(gap, 100);
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-label {
|
|
18
|
+
display: inline;
|
|
19
|
+
padding: 0;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-required {
|
|
24
|
+
color: theme.palette(text, 'danger');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-error-msg {
|
|
28
|
+
display: flex;
|
|
29
|
+
gap: theme.spacing(gap, 100);
|
|
30
|
+
align-items: center;
|
|
31
|
+
color: theme.palette(text, 'default-tertiary');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-error-msg-icon {
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-control-wrapper {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
gap: theme.spacing(gap, '050');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// ── Status: feedback colors ──
|
|
45
|
+
&-error &-error-msg {
|
|
46
|
+
color: theme.palette(text, 'danger');
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&-warning &-error-msg {
|
|
50
|
+
color: theme.palette(text, 'warning');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&-success &-error-msg {
|
|
54
|
+
color: theme.palette(text, 'positive');
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// ── Disabled: text colors ──
|
|
58
|
+
&-disabled &-label,
|
|
59
|
+
&-disabled &-error-msg {
|
|
60
|
+
color: theme.palette(text, 'disabled');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { FieldShell } from './FieldShell';
|
|
2
|
+
export { default } from './FieldShell';
|
|
3
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvSW5wdXQvc3JjL2NvbXBvbmVudHMvSW5wdXQvRmllbGRTaGVsbC9pbmRleC50cyJdLCJuYW1lcyI6WyJGaWVsZFNoZWxsIiwiZGVmYXVsdCJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsVUFBVSxRQUFRLGNBQWM7QUFDekMsU0FBU0MsT0FBTyxRQUFRLGNBQWMiLCJmaWxlIjoiY29tcG9uZW50cy9JbnB1dC9GaWVsZFNoZWxsL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.om-react-ui-input-control{display:flex;gap:var(--om-spacing-200,8px);align-items:center;box-sizing:border-box;width:100%;height:var(--om-component-height-3xl,56px);padding:0 var(--om-spacing-400,16px);background-color:var(--om-bg-default-secondary,#f8f8f8);border:1px solid var(--om-border-default,#d1d2d2);border-radius:var(--om-radius-300,12px);transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.om-react-ui-input-control:hover{border-color:var(--om-border-default-tertiary,#404042)}.om-react-ui-input-control:focus-within{border-color:var(--om-border-brand,#073387);box-shadow:0 0 0 1px var(--om-border-brand,#073387)}.om-react-ui-input-control-disabled{cursor:not-allowed}.om-react-ui-input-field{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-font-weight);flex:1 1 auto;width:100%;color:var(--om-text-default,#131313);background:transparent;border:none;outline:none}.om-react-ui-input-field::placeholder{color:var(--om-text-neutral-secondary,#9fa3a3)}.om-react-ui-input-field:not(:-moz-placeholder-shown){font-weight:500}.om-react-ui-input-field:not(:placeholder-shown){font-weight:500}.om-react-ui-input-prefix,.om-react-ui-input-suffix{display:inline-flex;gap:var(--om-spacing-200,8px);align-items:center;color:var(--om-text-default-tertiary,#646465)}.om-react-ui-input-action{display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--om-icon-default-tertiary,#646465);background:transparent;border:none;cursor:pointer}.om-react-ui-input-action:disabled{color:var(--om-icon-disabled,#d1d2d2);cursor:not-allowed}.om-react-ui-input-small .om-react-ui-input-control{height:var(--om-component-height-lg,44px);padding:0 var(--om-spacing-400,16px);border-radius:var(--om-radius-200,8px)}.om-react-ui-input-small .om-react-ui-input-field{font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-font-weight)}.om-react-ui-input-error .om-react-ui-input-control,.om-react-ui-input-error .om-react-ui-input-control:focus-within,.om-react-ui-input-error .om-react-ui-input-control:hover{border-color:var(--om-border-danger,#ae0000);box-shadow:0 0 0 1px var(--om-border-danger,#ae0000)}.om-react-ui-input-warning .om-react-ui-input-control,.om-react-ui-input-warning .om-react-ui-input-control:focus-within,.om-react-ui-input-warning .om-react-ui-input-control:hover{border-color:var(--om-border-warning,#db8600);box-shadow:none}.om-react-ui-input-success .om-react-ui-input-control,.om-react-ui-input-success .om-react-ui-input-control:focus-within,.om-react-ui-input-success .om-react-ui-input-control:hover{border-color:var(--om-border-positive,#1f5800);box-shadow:none}.om-react-ui-input-readonly .om-react-ui-input-control,.om-react-ui-input-readonly .om-react-ui-input-control:focus-within,.om-react-ui-input-readonly .om-react-ui-input-control:hover{background-color:var(--om-bg-neutral-tertiary,#f0f0f0);border-color:transparent;box-shadow:none}.om-react-ui-input-disabled .om-react-ui-input-control{background-color:var(--om-bg-disabled,#f0f0f0);border-color:var(--om-border-default,#d1d2d2);cursor:not-allowed}.om-react-ui-input-disabled .om-react-ui-input-field{color:var(--om-text-disabled,#bbbdc1)}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
6
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { memo, useId } from 'react';
|
|
12
|
+
import { useControlledState, useEventCallback } from '@1money/hooks';
|
|
13
|
+
import { Icons } from '../../Icons';
|
|
14
|
+
import { Spinner } from '../../Spinner';
|
|
15
|
+
import { default as classnames, joinCls } from '../../../utils/classnames';
|
|
16
|
+
import { FieldShell } from '../FieldShell';
|
|
17
|
+
import { useSyncRef } from '../useSyncRef';
|
|
18
|
+
import InputAmount from '../Amount';
|
|
19
|
+
import InputOTP from '../OTP';
|
|
20
|
+
import InputPassword from '../Password';
|
|
21
|
+
import InputSearch from '../Search';
|
|
22
|
+
import InputTextArea from '../TextArea';
|
|
23
|
+
import InputTrade from '../Trade';
|
|
24
|
+
import InputMask from '../Mask';
|
|
25
|
+
var InputBase = function InputBase(props) {
|
|
26
|
+
var mask = props.mask,
|
|
27
|
+
slotChar = props.slotChar,
|
|
28
|
+
unmask = props.unmask,
|
|
29
|
+
autoClear = props.autoClear,
|
|
30
|
+
onComplete = props.onComplete,
|
|
31
|
+
inputProps = __rest(props, ["mask", "slotChar", "unmask", "autoClear", "onComplete"]);
|
|
32
|
+
// Delegate to InputMask when mask pattern is provided
|
|
33
|
+
if (mask) {
|
|
34
|
+
return _jsx(InputMask, Object.assign({}, inputProps, {
|
|
35
|
+
mask: mask,
|
|
36
|
+
slotChar: slotChar,
|
|
37
|
+
unmask: unmask,
|
|
38
|
+
autoClear: autoClear,
|
|
39
|
+
onComplete: onComplete
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
var _inputProps$className = inputProps.className,
|
|
43
|
+
className = _inputProps$className === void 0 ? '' : _inputProps$className,
|
|
44
|
+
_inputProps$prefixCls = inputProps.prefixCls,
|
|
45
|
+
prefixCls = _inputProps$prefixCls === void 0 ? 'input' : _inputProps$prefixCls,
|
|
46
|
+
_inputProps$size = inputProps.size,
|
|
47
|
+
size = _inputProps$size === void 0 ? 'large' : _inputProps$size,
|
|
48
|
+
_inputProps$status = inputProps.status,
|
|
49
|
+
status = _inputProps$status === void 0 ? 'default' : _inputProps$status,
|
|
50
|
+
_inputProps$disabled = inputProps.disabled,
|
|
51
|
+
disabled = _inputProps$disabled === void 0 ? false : _inputProps$disabled,
|
|
52
|
+
_inputProps$loading = inputProps.loading,
|
|
53
|
+
loading = _inputProps$loading === void 0 ? false : _inputProps$loading,
|
|
54
|
+
label = inputProps.label,
|
|
55
|
+
info = inputProps.info,
|
|
56
|
+
errorMsg = inputProps.errorMsg,
|
|
57
|
+
required = inputProps.required,
|
|
58
|
+
_inputProps$allowClea = inputProps.allowClear,
|
|
59
|
+
allowClear = _inputProps$allowClea === void 0 ? false : _inputProps$allowClea,
|
|
60
|
+
prefix = inputProps.prefix,
|
|
61
|
+
suffix = inputProps.suffix,
|
|
62
|
+
value = inputProps.value,
|
|
63
|
+
_inputProps$defaultVa = inputProps.defaultValue,
|
|
64
|
+
defaultValue = _inputProps$defaultVa === void 0 ? '' : _inputProps$defaultVa,
|
|
65
|
+
onChange = inputProps.onChange,
|
|
66
|
+
onClear = inputProps.onClear,
|
|
67
|
+
ref = inputProps.ref,
|
|
68
|
+
externalId = inputProps.id,
|
|
69
|
+
_inputProps$readOnly = inputProps.readOnly,
|
|
70
|
+
readOnly = _inputProps$readOnly === void 0 ? false : _inputProps$readOnly,
|
|
71
|
+
rest = __rest(inputProps, ["className", "prefixCls", "size", "status", "disabled", "loading", "label", "info", "errorMsg", "required", "allowClear", "prefix", "suffix", "value", "defaultValue", "onChange", "onClear", "ref", "id", "readOnly"]);
|
|
72
|
+
var autoId = useId();
|
|
73
|
+
var inputId = externalId !== null && externalId !== void 0 ? externalId : autoId;
|
|
74
|
+
var classes = classnames(prefixCls);
|
|
75
|
+
var _useSyncRef = useSyncRef(ref),
|
|
76
|
+
_useSyncRef2 = _slicedToArray(_useSyncRef, 2),
|
|
77
|
+
inputRef = _useSyncRef2[0],
|
|
78
|
+
syncRef = _useSyncRef2[1];
|
|
79
|
+
var _useControlledState = useControlledState(defaultValue, value),
|
|
80
|
+
_useControlledState2 = _slicedToArray(_useControlledState, 2),
|
|
81
|
+
innerValue = _useControlledState2[0],
|
|
82
|
+
setInnerValue = _useControlledState2[1];
|
|
83
|
+
var ariaRequired = required ? 'true' : 'false';
|
|
84
|
+
var ariaInvalid = status === 'error' ? 'true' : 'false';
|
|
85
|
+
var handleChange = useEventCallback(function (event) {
|
|
86
|
+
var nextValue = event.target.value;
|
|
87
|
+
setInnerValue(nextValue);
|
|
88
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(nextValue, event);
|
|
89
|
+
});
|
|
90
|
+
var handleClear = useEventCallback(function () {
|
|
91
|
+
var _a;
|
|
92
|
+
setInnerValue('');
|
|
93
|
+
(_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
94
|
+
onClear === null || onClear === void 0 ? void 0 : onClear();
|
|
95
|
+
});
|
|
96
|
+
var isDisabled = disabled || loading;
|
|
97
|
+
var showClearAction = allowClear && !isDisabled && !readOnly && innerValue.length > 0;
|
|
98
|
+
return _jsx(FieldShell, {
|
|
99
|
+
className: className,
|
|
100
|
+
prefixCls: prefixCls,
|
|
101
|
+
size: size,
|
|
102
|
+
status: status,
|
|
103
|
+
disabled: isDisabled,
|
|
104
|
+
loading: loading,
|
|
105
|
+
readOnly: readOnly,
|
|
106
|
+
label: label,
|
|
107
|
+
info: info,
|
|
108
|
+
errorMsg: errorMsg,
|
|
109
|
+
required: required,
|
|
110
|
+
inputId: inputId,
|
|
111
|
+
children: _jsxs("div", {
|
|
112
|
+
className: classes('control', joinCls(isDisabled && classes('control-disabled'))),
|
|
113
|
+
children: [prefix && _jsx("span", {
|
|
114
|
+
className: classes('prefix'),
|
|
115
|
+
children: prefix
|
|
116
|
+
}), _jsx("input", Object.assign({}, rest, {
|
|
117
|
+
ref: syncRef,
|
|
118
|
+
id: inputId,
|
|
119
|
+
className: classes('field'),
|
|
120
|
+
disabled: isDisabled,
|
|
121
|
+
readOnly: readOnly,
|
|
122
|
+
value: innerValue,
|
|
123
|
+
onChange: handleChange,
|
|
124
|
+
"aria-required": ariaRequired,
|
|
125
|
+
"aria-invalid": ariaInvalid
|
|
126
|
+
})), showClearAction && _jsx("button", {
|
|
127
|
+
type: "button",
|
|
128
|
+
className: classes('action'),
|
|
129
|
+
"aria-label": "clear input",
|
|
130
|
+
onClick: handleClear,
|
|
131
|
+
children: _jsx(Icons, {
|
|
132
|
+
name: "cross",
|
|
133
|
+
size: 16
|
|
134
|
+
})
|
|
135
|
+
}), loading && _jsx(Spinner, {
|
|
136
|
+
style: {
|
|
137
|
+
width: 16,
|
|
138
|
+
height: 16
|
|
139
|
+
}
|
|
140
|
+
}), suffix && _jsx("span", {
|
|
141
|
+
className: classes('suffix'),
|
|
142
|
+
children: suffix
|
|
143
|
+
})]
|
|
144
|
+
})
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
var MemoizedInput = /*#__PURE__*/memo(InputBase);
|
|
148
|
+
export var Input = Object.assign(MemoizedInput, {
|
|
149
|
+
Password: InputPassword,
|
|
150
|
+
Search: InputSearch,
|
|
151
|
+
TextArea: InputTextArea,
|
|
152
|
+
OTP: InputOTP,
|
|
153
|
+
Trade: InputTrade,
|
|
154
|
+
Amount: InputAmount,
|
|
155
|
+
Mask: InputMask
|
|
156
|
+
});
|
|
157
|
+
export default Input;
|
|
158
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvSW5wdXQvSW5wdXQvSW5wdXQuanMiLCJjb21wb25lbnRzL0lucHV0L3NyYy9jb21wb25lbnRzL0lucHV0L0lucHV0L0lucHV0LnRzeCJdLCJuYW1lcyI6WyJfX3Jlc3QiLCJzIiwiZSIsInQiLCJwIiwiT2JqZWN0IiwicHJvdG90eXBlIiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiaW5kZXhPZiIsImdldE93blByb3BlcnR5U3ltYm9scyIsImkiLCJsZW5ndGgiLCJwcm9wZXJ0eUlzRW51bWVyYWJsZSIsImpzeCIsIl9qc3giLCJqc3hzIiwiX2pzeHMiLCJtZW1vIiwidXNlSWQiLCJ1c2VDb250cm9sbGVkU3RhdGUiLCJ1c2VFdmVudENhbGxiYWNrIiwiSWNvbnMiLCJTcGlubmVyIiwiZGVmYXVsdCIsImNsYXNzbmFtZXMiLCJqb2luQ2xzIiwiRmllbGRTaGVsbCIsInVzZVN5bmNSZWYiLCJJbnB1dEFtb3VudCIsIklucHV0T1RQIiwiSW5wdXRQYXNzd29yZCIsIklucHV0U2VhcmNoIiwiSW5wdXRUZXh0QXJlYSIsIklucHV0VHJhZGUiLCJJbnB1dE1hc2siLCJJbnB1dEJhc2UiLCJwcm9wcyIsIm1hc2siLCJzbG90Q2hhciIsInVubWFzayIsImF1dG9DbGVhciIsIm9uQ29tcGxldGUiLCJpbnB1dFByb3BzIiwiYXNzaWduIiwiX2lucHV0UHJvcHMkY2xhc3NOYW1lIiwiY2xhc3NOYW1lIiwiX2lucHV0UHJvcHMkcHJlZml4Q2xzIiwicHJlZml4Q2xzIiwiX2lucHV0UHJvcHMkc2l6ZSIsInNpemUiLCJfaW5wdXRQcm9wcyRzdGF0dXMiLCJzdGF0dXMiLCJfaW5wdXRQcm9wcyRkaXNhYmxlZCIsImRpc2F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