powell-react 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/.storybook/main.ts +28 -0
- package/.storybook/preview.scss +13 -0
- package/.storybook/preview.tsx +24 -0
- package/README.md +0 -321
- package/dist/cjs/index.js +1 -72407
- package/dist/cjs/types/src/components/Button/Button.d.ts +6 -0
- package/dist/cjs/types/src/components/Button/index.d.ts +1 -0
- package/dist/cjs/types/src/components/index.d.ts +1 -0
- package/dist/cjs/types/src/index.d.ts +1 -0
- package/dist/cjs/types/{api → src/powell/api}/PowellProvider.d.ts +2 -2
- package/dist/cjs/types/src/powell/api/configService.d.ts +2 -0
- package/dist/cjs/types/{api → src/powell/api}/powellDefaults.d.ts +1 -1
- package/dist/cjs/types/{api → src/powell/api}/primereact.d.ts +0 -14
- package/dist/cjs/types/{components → src/powell/components}/AutoComplete/AutoComplete.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/Button/Button.d.ts +3 -3
- package/dist/{esm/types → cjs/types/src/powell}/components/CascadeSelect/CascadeSelect.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/Chips/Chips.d.ts +3 -3
- package/dist/{esm/types → cjs/types/src/powell}/components/ColorPicker/ColorPicker.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/Dropdown/Dropdown.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/Editor/Editor.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/FormContainer/FormContainer.d.ts +1 -1
- package/dist/cjs/types/{components → src/powell/components}/FormContainer/FormContext.d.ts +2 -2
- package/dist/{esm/types → cjs/types/src/powell}/components/InputMask/InputMask.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/InputNumber/InputNumber.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/InputOtp/InputOtp.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/InputPassword/InputPassword.d.ts +3 -3
- package/dist/{esm/types → cjs/types/src/powell}/components/InputSwitch/InputSwitch.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/InputText/InputText.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/InputTextarea/InputTextarea.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/Knob/Knob.d.ts +3 -3
- package/dist/cjs/types/{components → src/powell/components}/ListBox/ListBox.d.ts +3 -3
- package/dist/{esm/types → cjs/types/src/powell}/components/Mention/Mention.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/MultiSelect/MultiSelect.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/MultiStateCheckbox/MultiStateCheckbox.d.ts +3 -3
- package/dist/cjs/types/{components → src/powell/components}/RadioGroup/RadioGroup.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/Rating/Rating.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/SelectButton/SelectButton.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/components/Slider/Slider.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/ToggleButton/ToggleButton.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/TreeSelect/TreeSelect.d.ts +4 -4
- package/dist/cjs/types/{components → src/powell/components}/TriStateCheckbox/TriStateCheckbox.d.ts +4 -4
- package/dist/{esm/types → cjs/types/src/powell}/hooks/useApplyConfig.d.ts +2 -2
- package/dist/cjs/types/{hooks → src/powell/hooks}/useFormContext.d.ts +1 -1
- package/dist/cjs/types/{hooks → src/powell/hooks}/usePowellConfig.d.ts +1 -1
- package/dist/cjs/types/{models → src/powell/models}/config.d.ts +2 -2
- package/dist/cjs/types/{models → src/powell/models}/forms.d.ts +2 -2
- package/dist/{esm/types → cjs/types/src/powell}/utils/utilsService.d.ts +3 -3
- package/dist/cjs/types/vite.config.d.ts +2 -0
- package/dist/esm/index.js +1 -72377
- package/dist/esm/types/src/components/Button/Button.d.ts +6 -0
- package/dist/esm/types/src/components/Button/index.d.ts +1 -0
- package/dist/esm/types/src/components/index.d.ts +1 -0
- package/dist/esm/types/src/index.d.ts +1 -0
- package/dist/esm/types/{api → src/powell/api}/PowellProvider.d.ts +2 -2
- package/dist/esm/types/src/powell/api/configService.d.ts +2 -0
- package/dist/esm/types/{api → src/powell/api}/powellDefaults.d.ts +1 -1
- package/dist/esm/types/{api → src/powell/api}/primereact.d.ts +0 -14
- package/dist/esm/types/{components → src/powell/components}/AutoComplete/AutoComplete.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/Button/Button.d.ts +3 -3
- package/dist/{cjs/types → esm/types/src/powell}/components/CascadeSelect/CascadeSelect.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/Chips/Chips.d.ts +3 -3
- package/dist/{cjs/types → esm/types/src/powell}/components/ColorPicker/ColorPicker.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/Dropdown/Dropdown.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/Editor/Editor.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/FormContainer/FormContainer.d.ts +1 -1
- package/dist/esm/types/{components → src/powell/components}/FormContainer/FormContext.d.ts +2 -2
- package/dist/{cjs/types → esm/types/src/powell}/components/InputMask/InputMask.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/InputNumber/InputNumber.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/InputOtp/InputOtp.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/InputPassword/InputPassword.d.ts +3 -3
- package/dist/{cjs/types → esm/types/src/powell}/components/InputSwitch/InputSwitch.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/InputText/InputText.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/InputTextarea/InputTextarea.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/Knob/Knob.d.ts +3 -3
- package/dist/esm/types/{components → src/powell/components}/ListBox/ListBox.d.ts +3 -3
- package/dist/{cjs/types → esm/types/src/powell}/components/Mention/Mention.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/MultiSelect/MultiSelect.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/MultiStateCheckbox/MultiStateCheckbox.d.ts +3 -3
- package/dist/esm/types/{components → src/powell/components}/RadioGroup/RadioGroup.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/Rating/Rating.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/SelectButton/SelectButton.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/components/Slider/Slider.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/ToggleButton/ToggleButton.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/TreeSelect/TreeSelect.d.ts +4 -4
- package/dist/esm/types/{components → src/powell/components}/TriStateCheckbox/TriStateCheckbox.d.ts +4 -4
- package/dist/{cjs/types → esm/types/src/powell}/hooks/useApplyConfig.d.ts +2 -2
- package/dist/esm/types/{hooks → src/powell/hooks}/useFormContext.d.ts +1 -1
- package/dist/esm/types/{hooks → src/powell/hooks}/usePowellConfig.d.ts +1 -1
- package/dist/esm/types/{models → src/powell/models}/config.d.ts +2 -2
- package/dist/esm/types/{models → src/powell/models}/forms.d.ts +2 -2
- package/dist/{cjs/types → esm/types/src/powell}/utils/utilsService.d.ts +3 -3
- package/dist/esm/types/vite.config.d.ts +2 -0
- package/package.json +46 -57
- package/rollup.config.mjs +95 -0
- package/src/components/Button/Button.scss +43 -0
- package/src/components/Button/Button.stories.tsx +13 -0
- package/src/components/Button/Button.tsx +19 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/powell/api/PowellProvider.tsx +37 -0
- package/src/powell/api/configService.ts +4 -0
- package/src/powell/api/forms.ts +145 -0
- package/src/powell/api/index.ts +5 -0
- package/src/powell/api/powellDefaults.ts +11 -0
- package/src/powell/api/primereact.ts +1945 -0
- package/src/powell/components/AutoComplete/AutoComplete.scss +126 -0
- package/src/powell/components/AutoComplete/AutoComplete.tsx +190 -0
- package/src/powell/components/AutoComplete/index.ts +1 -0
- package/src/powell/components/Button/Button.tsx +90 -0
- package/src/powell/components/Button/index.ts +1 -0
- package/src/powell/components/CascadeSelect/CascadeSelect.scss +126 -0
- package/src/powell/components/CascadeSelect/CascadeSelect.tsx +190 -0
- package/src/powell/components/CascadeSelect/index.ts +1 -0
- package/src/powell/components/Checkbox/Checkbox.scss +32 -0
- package/src/powell/components/Checkbox/Checkbox.tsx +147 -0
- package/src/powell/components/Checkbox/index.ts +1 -0
- package/src/powell/components/Chips/Chips.scss +126 -0
- package/src/powell/components/Chips/Chips.tsx +190 -0
- package/src/powell/components/Chips/index.ts +1 -0
- package/src/powell/components/ColorPicker/ColorPicker.scss +126 -0
- package/src/powell/components/ColorPicker/ColorPicker.tsx +186 -0
- package/src/powell/components/ColorPicker/index.ts +1 -0
- package/src/powell/components/Dropdown/Dropdown.scss +126 -0
- package/src/powell/components/Dropdown/Dropdown.tsx +190 -0
- package/src/powell/components/Dropdown/index.ts +1 -0
- package/src/powell/components/Editor/Editor.scss +126 -0
- package/src/powell/components/Editor/Editor.tsx +183 -0
- package/src/powell/components/Editor/index.ts +1 -0
- package/src/powell/components/FormContainer/FormContainer.tsx +49 -0
- package/src/powell/components/FormContainer/FormContext.tsx +18 -0
- package/src/powell/components/FormContainer/index.ts +2 -0
- package/src/powell/components/InputMask/InputMask.scss +126 -0
- package/src/powell/components/InputMask/InputMask.tsx +190 -0
- package/src/powell/components/InputMask/index.ts +1 -0
- package/src/powell/components/InputNumber/InputNumber.scss +126 -0
- package/src/powell/components/InputNumber/InputNumber.tsx +190 -0
- package/src/powell/components/InputNumber/index.ts +1 -0
- package/src/powell/components/InputOtp/InputOtp.scss +126 -0
- package/src/powell/components/InputOtp/InputOtp.tsx +154 -0
- package/src/powell/components/InputOtp/index.ts +1 -0
- package/src/powell/components/InputPassword/InputPassword.scss +126 -0
- package/src/powell/components/InputPassword/InputPassword.tsx +189 -0
- package/src/powell/components/InputPassword/index.ts +1 -0
- package/src/powell/components/InputSwitch/InputSwitch.scss +32 -0
- package/src/powell/components/InputSwitch/InputSwitch.tsx +144 -0
- package/src/powell/components/InputSwitch/index.ts +1 -0
- package/src/powell/components/InputText/InputText.scss +126 -0
- package/src/powell/components/InputText/InputText.tsx +190 -0
- package/src/powell/components/InputText/index.ts +1 -0
- package/src/powell/components/InputTextarea/InputTextarea.scss +126 -0
- package/src/powell/components/InputTextarea/InputTextarea.tsx +187 -0
- package/src/powell/components/InputTextarea/index.ts +1 -0
- package/src/powell/components/Knob/Knob.scss +32 -0
- package/src/powell/components/Knob/Knob.tsx +134 -0
- package/src/powell/components/Knob/index.ts +1 -0
- package/src/powell/components/ListBox/ListBox.scss +32 -0
- package/src/powell/components/ListBox/ListBox.tsx +135 -0
- package/src/powell/components/ListBox/index.ts +1 -0
- package/src/powell/components/Mention/Mention.scss +126 -0
- package/src/powell/components/Mention/Mention.tsx +186 -0
- package/src/powell/components/Mention/index.ts +1 -0
- package/src/powell/components/MultiSelect/MultiSelect.scss +126 -0
- package/src/powell/components/MultiSelect/MultiSelect.tsx +190 -0
- package/src/powell/components/MultiSelect/index.ts +1 -0
- package/src/powell/components/MultiStateCheckbox/MultiStateCheckbox.scss +32 -0
- package/src/powell/components/MultiStateCheckbox/MultiStateCheckbox.tsx +143 -0
- package/src/powell/components/MultiStateCheckbox/index.ts +1 -0
- package/src/powell/components/RadioGroup/RadioGroup.scss +32 -0
- package/src/powell/components/RadioGroup/RadioGroup.tsx +167 -0
- package/src/powell/components/RadioGroup/index.ts +1 -0
- package/src/powell/components/Rating/Rating.scss +32 -0
- package/src/powell/components/Rating/Rating.tsx +135 -0
- package/src/powell/components/Rating/index.ts +1 -0
- package/src/powell/components/SelectButton/SelectButton.scss +32 -0
- package/src/powell/components/SelectButton/SelectButton.tsx +144 -0
- package/src/powell/components/SelectButton/index.ts +1 -0
- package/src/powell/components/Slider/Slider.scss +32 -0
- package/src/powell/components/Slider/Slider.tsx +135 -0
- package/src/powell/components/Slider/index.ts +1 -0
- package/src/powell/components/ToggleButton/ToggleButton.scss +32 -0
- package/src/powell/components/ToggleButton/ToggleButton.tsx +144 -0
- package/src/powell/components/ToggleButton/index.ts +1 -0
- package/src/powell/components/TreeSelect/TreeSelect.scss +126 -0
- package/src/powell/components/TreeSelect/TreeSelect.tsx +190 -0
- package/src/powell/components/TreeSelect/index.ts +1 -0
- package/src/powell/components/TriStateCheckbox/TriStateCheckbox.scss +32 -0
- package/src/powell/components/TriStateCheckbox/TriStateCheckbox.tsx +144 -0
- package/src/powell/components/TriStateCheckbox/index.ts +1 -0
- package/src/powell/hooks/index.ts +3 -0
- package/src/powell/hooks/useApplyConfig.ts +36 -0
- package/src/powell/hooks/useFormContext.ts +14 -0
- package/src/powell/hooks/usePowellConfig.ts +64 -0
- package/src/powell/index.ts +29 -0
- package/src/powell/models/common.ts +7 -0
- package/src/powell/models/config.ts +85 -0
- package/src/powell/models/forms.ts +33 -0
- package/src/powell/models/index.ts +3 -0
- package/src/powell/styles/common.scss +9 -0
- package/src/powell/styles/mixins.scss +0 -0
- package/src/powell/themes/arya-blue.css +1 -0
- package/src/powell/themes/arya-green.css +1 -0
- package/src/powell/themes/arya-orange.css +1 -0
- package/src/powell/themes/arya-purple.css +1 -0
- package/src/powell/themes/bootstrap4-dark-blue.css +1 -0
- package/src/powell/themes/bootstrap4-dark-purple.css +1 -0
- package/src/powell/themes/bootstrap4-light-blue.css +1 -0
- package/src/powell/themes/bootstrap4-light-purple.css +1 -0
- package/src/powell/themes/fluent-light.css +1 -0
- package/src/powell/themes/lara-dark-amber.css +1 -0
- package/src/powell/themes/lara-dark-blue.css +1 -0
- package/src/powell/themes/lara-dark-cyan.css +1 -0
- package/src/powell/themes/lara-dark-green.css +1 -0
- package/src/powell/themes/lara-dark-indigo.css +1 -0
- package/src/powell/themes/lara-dark-pink.css +1 -0
- package/src/powell/themes/lara-dark-purple.css +1 -0
- package/src/powell/themes/lara-dark-teal.css +1 -0
- package/src/powell/themes/lara-light-amber.css +1 -0
- package/src/powell/themes/lara-light-blue.css +1 -0
- package/src/powell/themes/lara-light-cyan.css +1 -0
- package/src/powell/themes/lara-light-green.css +1 -0
- package/src/powell/themes/lara-light-indigo.css +1 -0
- package/src/powell/themes/lara-light-pink.css +1 -0
- package/src/powell/themes/lara-light-purple.css +1 -0
- package/src/powell/themes/lara-light-teal.css +1 -0
- package/src/powell/themes/luna-amber.css +1 -0
- package/src/powell/themes/luna-blue.css +1 -0
- package/src/powell/themes/luna-green.css +1 -0
- package/src/powell/themes/luna-pink.css +1 -0
- package/src/powell/themes/md-dark-deeppurple.css +1 -0
- package/src/powell/themes/md-dark-indigo.css +1 -0
- package/src/powell/themes/md-light-deeppurple.css +1 -0
- package/src/powell/themes/md-light-indigo.css +1 -0
- package/src/powell/themes/mdc-dark-deeppurple.css +1 -0
- package/src/powell/themes/mdc-dark-indigo.css +1 -0
- package/src/powell/themes/mdc-light-deeppurple.css +1 -0
- package/src/powell/themes/mdc-light-indigo.css +1 -0
- package/src/powell/themes/mira.css +1 -0
- package/src/powell/themes/nano.css +1 -0
- package/src/powell/themes/nova-accent.css +1 -0
- package/src/powell/themes/nova-alt.css +1 -0
- package/src/powell/themes/nova.css +1 -0
- package/src/powell/themes/rhea.css +1 -0
- package/src/powell/themes/saga-blue.css +1 -0
- package/src/powell/themes/saga-green.css +1 -0
- package/src/powell/themes/saga-orange.css +1 -0
- package/src/powell/themes/saga-purple.css +1 -0
- package/src/powell/themes/soho-dark.css +1 -0
- package/src/powell/themes/soho-light.css +1 -0
- package/src/powell/themes/tailwind-light.css +1 -0
- package/src/powell/themes/vela-blue.css +1 -0
- package/src/powell/themes/vela-green.css +1 -0
- package/src/powell/themes/vela-orange.css +1 -0
- package/src/powell/themes/vela-purple.css +1 -0
- package/src/powell/themes/viva-dark.css +1 -0
- package/src/powell/themes/viva-light.css +1 -0
- package/src/powell/utils/globalState.ts +96 -0
- package/src/powell/utils/index.ts +2 -0
- package/src/powell/utils/utilsService.tsx +55 -0
- package/src/stories/Button.stories.tsx +16 -0
- package/tsconfig.json +55 -0
- package/vite.config.ts +14 -0
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/api/configService.d.ts +0 -2
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/api/configService.d.ts +0 -2
- package/dist/index.d.ts +0 -495
- /package/dist/cjs/types/{api → src/powell/api}/forms.d.ts +0 -0
- /package/dist/cjs/types/{api → src/powell/api}/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/AutoComplete/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Button/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/CascadeSelect/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Checkbox/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Chips/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/ColorPicker/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Dropdown/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Editor/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/FormContainer/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/InputMask/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/InputNumber/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/InputOtp/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/InputPassword/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/InputSwitch/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/InputText/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/InputTextarea/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Knob/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/ListBox/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Mention/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/MultiSelect/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/MultiStateCheckbox/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/RadioGroup/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Rating/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/SelectButton/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/Slider/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/ToggleButton/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/TreeSelect/index.d.ts +0 -0
- /package/dist/cjs/types/{components → src/powell/components}/TriStateCheckbox/index.d.ts +0 -0
- /package/dist/cjs/types/{hooks → src/powell/hooks}/index.d.ts +0 -0
- /package/dist/cjs/types/{index.d.ts → src/powell/index.d.ts} +0 -0
- /package/dist/cjs/types/{models → src/powell/models}/common.d.ts +0 -0
- /package/dist/cjs/types/{models → src/powell/models}/index.d.ts +0 -0
- /package/dist/cjs/types/{utils → src/powell/utils}/globalState.d.ts +0 -0
- /package/dist/cjs/types/{utils → src/powell/utils}/index.d.ts +0 -0
- /package/dist/esm/types/{api → src/powell/api}/forms.d.ts +0 -0
- /package/dist/esm/types/{api → src/powell/api}/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/AutoComplete/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Button/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/CascadeSelect/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Checkbox/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Chips/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/ColorPicker/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Dropdown/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Editor/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/FormContainer/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/InputMask/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/InputNumber/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/InputOtp/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/InputPassword/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/InputSwitch/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/InputText/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/InputTextarea/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Knob/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/ListBox/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Mention/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/MultiSelect/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/MultiStateCheckbox/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/RadioGroup/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Rating/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/SelectButton/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/Slider/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/ToggleButton/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/TreeSelect/index.d.ts +0 -0
- /package/dist/esm/types/{components → src/powell/components}/TriStateCheckbox/index.d.ts +0 -0
- /package/dist/esm/types/{hooks → src/powell/hooks}/index.d.ts +0 -0
- /package/dist/esm/types/{index.d.ts → src/powell/index.d.ts} +0 -0
- /package/dist/esm/types/{models → src/powell/models}/common.d.ts +0 -0
- /package/dist/esm/types/{models → src/powell/models}/index.d.ts +0 -0
- /package/dist/esm/types/{utils → src/powell/utils}/globalState.d.ts +0 -0
- /package/dist/esm/types/{utils → src/powell/utils}/index.d.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Button';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Button';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './components';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PropsWithChildren } from "react";
|
2
|
-
import { PowellConfig } from "@models";
|
2
|
+
import { PowellConfig } from "@powell/models";
|
3
3
|
export declare const PowellProvider: (props: PropsWithChildren<{
|
4
4
|
config?: PowellConfig;
|
5
|
-
}>) => import("react
|
5
|
+
}>) => import("react").JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { PowellConfig } from "@models";
|
1
|
+
import { PowellConfig } from "@powell/models";
|
2
2
|
export declare const powellDefaults: PowellConfig;
|
@@ -5,7 +5,6 @@ import { Checkbox, CheckboxChangeEvent, CheckboxContext, CheckboxPassThroughMeth
|
|
5
5
|
import { Chips, ChipsAddEvent, ChipsChangeEvent, ChipsPassThroughMethodOptions, ChipsPassThroughOptions, ChipsPassThroughType, ChipsProps, ChipsRemovableOptions, ChipsRemoveEvent, ChipsState } from "primereact/chips";
|
6
6
|
import { ColorPicker, ColorPickerChangeEvent, ColorPickerHSBType, ColorPickerPassThroughMethodOptions, ColorPickerPassThroughOptions, ColorPickerPassThroughTransitionType, ColorPickerPassThroughType, ColorPickerProps, ColorPickerRGBType, ColorPickerState } from "primereact/colorpicker";
|
7
7
|
import { Dropdown, DropdownChangeEvent, DropdownContext, DropdownFilterEvent, DropdownPassThroughMethodOptions, DropdownPassThroughOptions, DropdownPassThroughTransitionType, DropdownPassThroughType, DropdownProps, DropdownState } from "primereact/dropdown";
|
8
|
-
import { Editor, EditorPassThroughMethodOptions, EditorPassThroughOptions, EditorPassThroughType, EditorProps, EditorSelectionChangeEvent, EditorTextChangeEvent } from "primereact/editor";
|
9
8
|
import { FloatLabel, FloatLabelPassThroughMethodOptions, FloatLabelPassThroughOptions, FloatLabelPassThroughType, FloatLabelProps } from "primereact/floatlabel";
|
10
9
|
import { InputIcon, InputIconPassThroughMethodOptions, InputIconPassThroughOptions, InputIconPassThroughType, InputIconProps } from 'primereact/inputicon';
|
11
10
|
import { IconField, IconFieldContext, IconFieldPassThroughMethodOptions, IconFieldPassThroughOptions, IconFieldPassThroughType, IconFieldProps } from "primereact/iconfield";
|
@@ -72,7 +71,6 @@ import { PanelMenu, PanelMenuContext, PanelMenuExpandedKeys, PanelMenuHeaderItem
|
|
72
71
|
import { Steps, StepsPassThroughOptions, StepsPassThroughType, StepsProps, StepsSelectEvent, StepsThroughMethodOptions } from "primereact/steps";
|
73
72
|
import { TabMenu, TabMenuContext, TabMenuPassThroughOptions, TabMenuPassThroughType, TabMenuProps, TabMenuState, TabMenuTabChangeEvent, TabMenuThroughMethodOptions } from "primereact/tabmenu";
|
74
73
|
import { TieredMenu, TieredMenuContext, TieredMenuPassThroughMethodOptions, TieredMenuPassThroughOptions, TieredMenuPassThroughTransitionType, TieredMenuPassThroughType, TieredMenuProps, TieredMenuState } from "primereact/tieredmenu";
|
75
|
-
import { Chart, ChartPassThroughMethodOptions, ChartPassThroughOptions, ChartPassThroughType, ChartProps } from "primereact/chart";
|
76
74
|
import { Message, MessagePassThroughMethodOptions, MessagePassThroughOptions, MessagePassThroughType, MessageProps } from "primereact/message";
|
77
75
|
import { Messages, MessagesMessage, MessagesPassThroughMethodOptions, MessagesPassThroughOptions, MessagesPassThroughTransitionType, MessagesPassThroughType, MessagesProps } from "primereact/messages";
|
78
76
|
import { Toast, ToastMessage, ToastMessageOptions, ToastPassThroughMethodOptions, ToastPassThroughOptions, ToastPassThroughTransitionType, ToastPassThroughType, ToastProps, ToastState } from "primereact/toast";
|
@@ -160,13 +158,6 @@ export type { DropdownPassThroughOptions as $DropdownPassThroughOptions };
|
|
160
158
|
export type { DropdownPassThroughTransitionType as $DropdownPassThroughTransitionType };
|
161
159
|
export type { DropdownPassThroughType as $DropdownPassThroughType };
|
162
160
|
export type { DropdownState as $DropdownState };
|
163
|
-
export { Editor as $Editor };
|
164
|
-
export type { EditorProps as $EditorProps };
|
165
|
-
export type { EditorPassThroughMethodOptions as $EditorPassThroughMethodOptions };
|
166
|
-
export type { EditorPassThroughOptions as $EditorPassThroughOptions };
|
167
|
-
export type { EditorPassThroughType as $EditorPassThroughType };
|
168
|
-
export type { EditorSelectionChangeEvent as $EditorSelectionChangeEvent };
|
169
|
-
export type { EditorTextChangeEvent as $EditorTextChangeEvent };
|
170
161
|
export { FloatLabel as $FloatLabel };
|
171
162
|
export type { FloatLabelProps as $FloatLabelProps };
|
172
163
|
export type { FloatLabelPassThroughMethodOptions as $FloatLabelPassThroughMethodOptions };
|
@@ -810,11 +801,6 @@ export type { TieredMenuPassThroughMethodOptions as $TieredMenuPassThroughMethod
|
|
810
801
|
export type { TieredMenuPassThroughTransitionType as $TieredMenuPassThroughTransitionType };
|
811
802
|
export type { TieredMenuPassThroughType as $TieredMenuPassThroughType };
|
812
803
|
export type { TieredMenuProps as $TieredMenuProps };
|
813
|
-
export { Chart as $Chart };
|
814
|
-
export type { ChartProps as $ChartProps };
|
815
|
-
export type { ChartPassThroughMethodOptions as $ChartPassThroughMethodOptions };
|
816
|
-
export type { ChartPassThroughOptions as $ChartPassThroughOptions };
|
817
|
-
export type { ChartPassThroughType as $ChartPassThroughType };
|
818
804
|
export { Message as $Message };
|
819
805
|
export type { MessagePassThroughMethodOptions as $MessagePassThroughMethodOptions };
|
820
806
|
export type { MessagePassThroughOptions as $MessagePassThroughOptions };
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $AutoCompleteProps, $IconFieldProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $AutoCompleteProps, $IconFieldProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/AutoComplete/AutoComplete.scss';
|
6
6
|
interface AutoCompleteProps extends $AutoCompleteProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface AutoCompleteProps extends $AutoCompleteProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const AutoComplete: (props: AutoCompleteProps) => import("react
|
23
|
+
export declare const AutoComplete: (props: AutoCompleteProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MouseEvent } from "react";
|
2
|
-
import { $ButtonProps } from "@api";
|
3
|
-
import { ButtonAppearance } from "@models";
|
2
|
+
import { $ButtonProps } from "@powell/api";
|
3
|
+
import { ButtonAppearance } from "@powell/models";
|
4
4
|
type ButtonState = 'default' | 'loading' | 'next';
|
5
5
|
interface ButtonOnClickAsyncEvent {
|
6
6
|
loadingCallback: (ok?: boolean) => void;
|
@@ -18,5 +18,5 @@ interface ButtonProps extends Omit<$ButtonProps, "loading" | "link" | "text" | "
|
|
18
18
|
state?: ButtonState;
|
19
19
|
onStateChange?: (state: ButtonState) => void;
|
20
20
|
}
|
21
|
-
export declare const Button: import("react").MemoExoticComponent<(props: ButtonProps) => import("react
|
21
|
+
export declare const Button: import("react").MemoExoticComponent<(props: ButtonProps) => import("react").JSX.Element>;
|
22
22
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $CascadeSelectProps, $IconFieldProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $CascadeSelectProps, $IconFieldProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/CascadeSelect/CascadeSelect.scss';
|
6
6
|
interface CascadeSelectProps extends $CascadeSelectProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface CascadeSelectProps extends $CascadeSelectProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const CascadeSelect: (props: CascadeSelectProps) => import("react
|
23
|
+
export declare const CascadeSelect: (props: CascadeSelectProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $CheckboxProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $CheckboxProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/Checkbox/Checkbox.scss';
|
6
6
|
interface CheckboxProps extends Omit<$CheckboxProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -17,5 +17,5 @@ interface CheckboxProps extends Omit<$CheckboxProps, 'checked'> {
|
|
17
17
|
hint?: string;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const Checkbox: (props: CheckboxProps) => import("react
|
20
|
+
export declare const Checkbox: (props: CheckboxProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, SafeAny, Size } from "@models";
|
3
|
-
import { $ChipsChangeEvent, $ChipsProps, $IconFieldProps } from "@api";
|
2
|
+
import { Addon, LabelPosition, SafeAny, Size } from "@powell/models";
|
3
|
+
import { $ChipsChangeEvent, $ChipsProps, $IconFieldProps } from "@powell/api";
|
4
4
|
import '@components/Chips/Chips.scss';
|
5
5
|
interface ChipsProps extends $ChipsProps {
|
6
6
|
name?: string;
|
@@ -19,5 +19,5 @@ interface ChipsProps extends $ChipsProps {
|
|
19
19
|
iconPosition?: $IconFieldProps["iconPosition"];
|
20
20
|
labelPosition?: LabelPosition;
|
21
21
|
}
|
22
|
-
export declare const Chips: (props: ChipsProps) => import("react
|
22
|
+
export declare const Chips: (props: ChipsProps) => import("react").JSX.Element;
|
23
23
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $ColorPickerProps, $IconFieldProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $ColorPickerProps, $IconFieldProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/ColorPicker/ColorPicker.scss';
|
6
6
|
interface ColorPickerProps extends $ColorPickerProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface ColorPickerProps extends $ColorPickerProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const ColorPicker: (props: ColorPickerProps) => import("react
|
23
|
+
export declare const ColorPicker: (props: ColorPickerProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $DropdownProps, $IconFieldProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $DropdownProps, $IconFieldProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/Dropdown/Dropdown.scss';
|
6
6
|
interface DropdownProps extends $DropdownProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface DropdownProps extends $DropdownProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const Dropdown: (props: DropdownProps) => import("react
|
23
|
+
export declare const Dropdown: (props: DropdownProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition } from "@models";
|
3
|
-
import { $EditorProps, $IconFieldProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition } from "@powell/models";
|
3
|
+
import { $EditorProps, $IconFieldProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/Editor/Editor.scss';
|
6
6
|
interface EditorProps extends $EditorProps {
|
7
7
|
name?: string;
|
@@ -19,5 +19,5 @@ interface EditorProps extends $EditorProps {
|
|
19
19
|
iconPosition?: $IconFieldProps["iconPosition"];
|
20
20
|
labelPosition?: LabelPosition;
|
21
21
|
}
|
22
|
-
export declare const Editor: (props: EditorProps) => import("react
|
22
|
+
export declare const Editor: (props: EditorProps) => import("react").JSX.Element;
|
23
23
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { $FormikConfig, $FormikContextType, $FormikValues } from "@api";
|
1
|
+
import { $FormikConfig, $FormikContextType, $FormikValues } from "@powell/api";
|
2
2
|
interface FormContainerProps<T extends $FormikValues> extends $FormikConfig<T> {
|
3
3
|
onInit?: (context: $FormikContextType<T>) => void;
|
4
4
|
className?: string;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { PropsWithChildren } from "react";
|
2
|
-
import { $FormikConfig, $FormikValues } from "@api";
|
2
|
+
import { $FormikConfig, $FormikValues } from "@powell/api";
|
3
3
|
export declare const FormContext: import("react").Context<$FormikConfig<$FormikValues> | undefined>;
|
4
|
-
export declare const FormProvider: <T extends $FormikValues>(props: PropsWithChildren<$FormikConfig<T>>) => import("react
|
4
|
+
export declare const FormProvider: <T extends $FormikValues>(props: PropsWithChildren<$FormikConfig<T>>) => import("react").JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $IconFieldProps, $InputMaskProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $InputMaskProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/InputMask/InputMask.scss';
|
6
6
|
interface InputMaskProps extends $InputMaskProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface InputMaskProps extends $InputMaskProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const InputMask: (props: InputMaskProps) => import("react
|
23
|
+
export declare const InputMask: (props: InputMaskProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $IconFieldProps, $InputNumberProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $InputNumberProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/InputNumber/InputNumber.scss';
|
6
6
|
interface InputNumberProps extends $InputNumberProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface InputNumberProps extends $InputNumberProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const InputNumber: (props: InputNumberProps) => import("react
|
23
|
+
export declare const InputNumber: (props: InputNumberProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, Size } from "@models";
|
3
|
-
import { $InputOtpProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition, Size } from "@powell/models";
|
3
|
+
import { $InputOtpProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/InputOtp/InputOtp.scss';
|
6
6
|
interface InputOtpProps extends $InputOtpProps {
|
7
7
|
name?: string;
|
@@ -17,5 +17,5 @@ interface InputOtpProps extends $InputOtpProps {
|
|
17
17
|
inputSize?: Size;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const InputOtp: (props: InputOtpProps) => import("react
|
20
|
+
export declare const InputOtp: (props: InputOtpProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
package/dist/cjs/types/{components → src/powell/components}/InputPassword/InputPassword.d.ts
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, SafeAny, Size } from "@models";
|
3
|
-
import { $IconFieldProps, $PasswordProps } from "@api";
|
2
|
+
import { Addon, LabelPosition, SafeAny, Size } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $PasswordProps } from "@powell/api";
|
4
4
|
import '@components/InputPassword/InputPassword.scss';
|
5
5
|
interface InputPasswordProps extends $PasswordProps {
|
6
6
|
name?: string;
|
@@ -19,5 +19,5 @@ interface InputPasswordProps extends $PasswordProps {
|
|
19
19
|
iconPosition?: $IconFieldProps["iconPosition"];
|
20
20
|
labelPosition?: LabelPosition;
|
21
21
|
}
|
22
|
-
export declare const InputPassword: (props: InputPasswordProps) => import("react
|
22
|
+
export declare const InputPassword: (props: InputPasswordProps) => import("react").JSX.Element;
|
23
23
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $InputSwitchProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $InputSwitchProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/InputSwitch/InputSwitch.scss';
|
6
6
|
interface InputSwitchProps extends Omit<$InputSwitchProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -17,5 +17,5 @@ interface InputSwitchProps extends Omit<$InputSwitchProps, 'checked'> {
|
|
17
17
|
hint?: string;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const InputSwitch: (props: InputSwitchProps) => import("react
|
20
|
+
export declare const InputSwitch: (props: InputSwitchProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $IconFieldProps, $InputTextProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $InputTextProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/InputText/InputText.scss';
|
6
6
|
interface InputTextProps extends $InputTextProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface InputTextProps extends $InputTextProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const InputText: (props: InputTextProps) => import("react
|
23
|
+
export declare const InputText: (props: InputTextProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
package/dist/cjs/types/{components → src/powell/components}/InputTextarea/InputTextarea.d.ts
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition } from "@models";
|
3
|
-
import { $IconFieldProps, $InputTextareaProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $InputTextareaProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/InputTextarea/InputTextarea.scss';
|
6
6
|
interface InputTextareaProps extends $InputTextareaProps {
|
7
7
|
name?: string;
|
@@ -19,5 +19,5 @@ interface InputTextareaProps extends $InputTextareaProps {
|
|
19
19
|
iconPosition?: $IconFieldProps["iconPosition"];
|
20
20
|
labelPosition?: LabelPosition;
|
21
21
|
}
|
22
|
-
export declare const InputTextarea: (props: InputTextareaProps) => import("react
|
22
|
+
export declare const InputTextarea: (props: InputTextareaProps) => import("react").JSX.Element;
|
23
23
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, SafeAny } from "@models";
|
3
|
-
import { $KnobProps } from "@api";
|
2
|
+
import { FixLabelPosition, SafeAny } from "@powell/models";
|
3
|
+
import { $KnobProps } from "@powell/api";
|
4
4
|
import '@components/Knob/Knob.scss';
|
5
5
|
interface KnobProps extends Omit<$KnobProps, 'checked'> {
|
6
6
|
checked?: boolean;
|
@@ -16,5 +16,5 @@ interface KnobProps extends Omit<$KnobProps, 'checked'> {
|
|
16
16
|
hint?: string;
|
17
17
|
labelPosition?: FixLabelPosition;
|
18
18
|
}
|
19
|
-
export declare const Knob: (props: KnobProps) => import("react
|
19
|
+
export declare const Knob: (props: KnobProps) => import("react").JSX.Element;
|
20
20
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, SafeAny } from "@models";
|
3
|
-
import { $ListBoxProps } from "@api";
|
2
|
+
import { FixLabelPosition, SafeAny } from "@powell/models";
|
3
|
+
import { $ListBoxProps } from "@powell/api";
|
4
4
|
import '@components/ListBox/ListBox.scss';
|
5
5
|
interface ListBoxProps extends Omit<$ListBoxProps, 'checked'> {
|
6
6
|
checked?: boolean;
|
@@ -16,5 +16,5 @@ interface ListBoxProps extends Omit<$ListBoxProps, 'checked'> {
|
|
16
16
|
hint?: string;
|
17
17
|
labelPosition?: FixLabelPosition;
|
18
18
|
}
|
19
|
-
export declare const ListBox: (props: ListBoxProps) => import("react
|
19
|
+
export declare const ListBox: (props: ListBoxProps) => import("react").JSX.Element;
|
20
20
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $IconFieldProps, $MentionProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $MentionProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/Mention/Mention.scss';
|
6
6
|
interface MentionProps extends $MentionProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface MentionProps extends $MentionProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const Mention: (props: MentionProps) => import("react
|
23
|
+
export declare const Mention: (props: MentionProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $IconFieldProps, $MultiSelectProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $MultiSelectProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/MultiSelect/MultiSelect.scss';
|
6
6
|
interface MultiSelectProps extends $MultiSelectProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface MultiSelectProps extends $MultiSelectProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const MultiSelect: (props: MultiSelectProps) => import("react
|
23
|
+
export declare const MultiSelect: (props: MultiSelectProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition, SafeAny } from "@models";
|
3
|
-
import { $MultiStateCheckboxProps } from "@api";
|
2
|
+
import { FixLabelPosition, SafeAny } from "@powell/models";
|
3
|
+
import { $MultiStateCheckboxProps } from "@powell/api";
|
4
4
|
import '@components/MultiStateCheckbox/MultiStateCheckbox.scss';
|
5
5
|
interface MultiStateCheckboxProps extends Omit<$MultiStateCheckboxProps, 'checked'> {
|
6
6
|
checked?: boolean;
|
@@ -16,5 +16,5 @@ interface MultiStateCheckboxProps extends Omit<$MultiStateCheckboxProps, 'checke
|
|
16
16
|
hint?: string;
|
17
17
|
labelPosition?: FixLabelPosition;
|
18
18
|
}
|
19
|
-
export declare const MultiStateCheckbox: (props: MultiStateCheckboxProps) => import("react
|
19
|
+
export declare const MultiStateCheckbox: (props: MultiStateCheckboxProps) => import("react").JSX.Element;
|
20
20
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $RadioButtonProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $RadioButtonProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/RadioGroup/RadioGroup.scss';
|
6
6
|
interface RadioGroupProps extends Omit<$RadioButtonProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -20,5 +20,5 @@ interface RadioGroupProps extends Omit<$RadioButtonProps, 'checked'> {
|
|
20
20
|
optionLabel?: string;
|
21
21
|
optionValue?: string;
|
22
22
|
}
|
23
|
-
export declare const RadioGroup: (props: RadioGroupProps) => import("react
|
23
|
+
export declare const RadioGroup: (props: RadioGroupProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $RatingProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $RatingProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/Rating/Rating.scss';
|
6
6
|
interface RatingProps extends Omit<$RatingProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -17,5 +17,5 @@ interface RatingProps extends Omit<$RatingProps, 'checked'> {
|
|
17
17
|
hint?: string;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const Rating: (props: RatingProps) => import("react
|
20
|
+
export declare const Rating: (props: RatingProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $SelectButtonProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $SelectButtonProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/SelectButton/SelectButton.scss';
|
6
6
|
interface SelectButtonProps extends Omit<$SelectButtonProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -17,5 +17,5 @@ interface SelectButtonProps extends Omit<$SelectButtonProps, 'checked'> {
|
|
17
17
|
hint?: string;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const SelectButton: (props: SelectButtonProps) => import("react
|
20
|
+
export declare const SelectButton: (props: SelectButtonProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $SliderProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $SliderProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/Slider/Slider.scss';
|
6
6
|
interface SliderProps extends Omit<$SliderProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -17,5 +17,5 @@ interface SliderProps extends Omit<$SliderProps, 'checked'> {
|
|
17
17
|
hint?: string;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const Slider: (props: SliderProps) => import("react
|
20
|
+
export declare const Slider: (props: SliderProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $ToggleButtonProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $ToggleButtonProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/ToggleButton/ToggleButton.scss';
|
6
6
|
interface ToggleButtonProps extends Omit<$ToggleButtonProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -17,5 +17,5 @@ interface ToggleButtonProps extends Omit<$ToggleButtonProps, 'checked'> {
|
|
17
17
|
hint?: string;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const ToggleButton: (props: ToggleButtonProps) => import("react
|
20
|
+
export declare const ToggleButton: (props: ToggleButtonProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $IconFieldProps, $TreeSelectProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { Addon, LabelPosition, Size } from "@powell/models";
|
3
|
+
import { $IconFieldProps, $TreeSelectProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/TreeSelect/TreeSelect.scss';
|
6
6
|
interface TreeSelectProps extends $TreeSelectProps {
|
7
7
|
name?: string;
|
@@ -20,5 +20,5 @@ interface TreeSelectProps extends $TreeSelectProps {
|
|
20
20
|
iconPosition?: $IconFieldProps["iconPosition"];
|
21
21
|
labelPosition?: LabelPosition;
|
22
22
|
}
|
23
|
-
export declare const TreeSelect: (props: TreeSelectProps) => import("react
|
23
|
+
export declare const TreeSelect: (props: TreeSelectProps) => import("react").JSX.Element;
|
24
24
|
export {};
|
package/dist/cjs/types/{components → src/powell/components}/TriStateCheckbox/TriStateCheckbox.d.ts
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
3
|
-
import { $TriStateCheckboxProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
2
|
+
import { FixLabelPosition } from "@powell/models";
|
3
|
+
import { $TriStateCheckboxProps } from "@powell/api";
|
4
|
+
import { SafeAny } from "@powell/models";
|
5
5
|
import '@components/TriStateCheckbox/TriStateCheckbox.scss';
|
6
6
|
interface TriStateCheckboxProps extends Omit<$TriStateCheckboxProps, 'checked'> {
|
7
7
|
checked?: boolean;
|
@@ -17,5 +17,5 @@ interface TriStateCheckboxProps extends Omit<$TriStateCheckboxProps, 'checked'>
|
|
17
17
|
hint?: string;
|
18
18
|
labelPosition?: FixLabelPosition;
|
19
19
|
}
|
20
|
-
export declare const TriStateCheckbox: (props: TriStateCheckboxProps) => import("react
|
20
|
+
export declare const TriStateCheckbox: (props: TriStateCheckboxProps) => import("react").JSX.Element;
|
21
21
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PowellConfig } from "@models";
|
1
|
+
import { PowellConfig } from "@powell/models";
|
2
2
|
interface ApplyConfigOptions {
|
3
3
|
isFixLabel?: boolean;
|
4
4
|
sizable?: boolean;
|
@@ -12,6 +12,6 @@ interface CommonConfigProps {
|
|
12
12
|
export declare const useApplyConfig: <T extends CommonConfigProps>(props: T, options?: ApplyConfigOptions) => T & {
|
13
13
|
rtl: boolean | undefined;
|
14
14
|
showRequiredStar: boolean | undefined;
|
15
|
-
labelPosition: import("@models").LabelPosition | undefined;
|
15
|
+
labelPosition: import("@powell/models").LabelPosition | undefined;
|
16
16
|
};
|
17
17
|
export {};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { $FormikContextType, $FormikValues } from "@api";
|
1
|
+
import { $FormikContextType, $FormikValues } from "@powell/api";
|
2
2
|
export declare const useFormContext: () => $FormikContextType<$FormikValues> | null;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { PowellConfig } from "@models";
|
1
|
+
import { PowellConfig } from "@powell/models";
|
2
2
|
export declare const usePowellConfig: () => [config: PowellConfig, (c: Partial<PowellConfig>) => any];
|