powell-react 0.0.8 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. package/README.md +0 -321
  2. package/dist/cjs/index.js +1 -72407
  3. package/dist/cjs/types/src/components/Button/Button.d.ts +6 -0
  4. package/dist/cjs/types/src/components/Button/index.d.ts +1 -0
  5. package/dist/cjs/types/src/components/index.d.ts +1 -0
  6. package/dist/cjs/types/src/index.d.ts +1 -0
  7. package/dist/cjs/types/{api → src/powell/api}/PowellProvider.d.ts +2 -2
  8. package/dist/cjs/types/src/powell/api/configService.d.ts +2 -0
  9. package/dist/cjs/types/{api → src/powell/api}/powellDefaults.d.ts +1 -1
  10. package/dist/cjs/types/{api → src/powell/api}/primereact.d.ts +0 -14
  11. package/dist/cjs/types/{components → src/powell/components}/AutoComplete/AutoComplete.d.ts +4 -4
  12. package/dist/{esm/types → cjs/types/src/powell}/components/Button/Button.d.ts +3 -3
  13. package/dist/{esm/types → cjs/types/src/powell}/components/CascadeSelect/CascadeSelect.d.ts +4 -4
  14. package/dist/{esm/types → cjs/types/src/powell}/components/Checkbox/Checkbox.d.ts +4 -4
  15. package/dist/cjs/types/{components → src/powell/components}/Chips/Chips.d.ts +3 -3
  16. package/dist/{esm/types → cjs/types/src/powell}/components/ColorPicker/ColorPicker.d.ts +4 -4
  17. package/dist/{esm/types → cjs/types/src/powell}/components/Dropdown/Dropdown.d.ts +4 -4
  18. package/dist/{esm/types → cjs/types/src/powell}/components/Editor/Editor.d.ts +4 -4
  19. package/dist/{esm/types → cjs/types/src/powell}/components/FormContainer/FormContainer.d.ts +1 -1
  20. package/dist/cjs/types/{components → src/powell/components}/FormContainer/FormContext.d.ts +2 -2
  21. package/dist/{esm/types → cjs/types/src/powell}/components/InputMask/InputMask.d.ts +4 -4
  22. package/dist/cjs/types/{components → src/powell/components}/InputNumber/InputNumber.d.ts +4 -4
  23. package/dist/cjs/types/{components → src/powell/components}/InputOtp/InputOtp.d.ts +4 -4
  24. package/dist/cjs/types/{components → src/powell/components}/InputPassword/InputPassword.d.ts +3 -3
  25. package/dist/{esm/types → cjs/types/src/powell}/components/InputSwitch/InputSwitch.d.ts +4 -4
  26. package/dist/{esm/types → cjs/types/src/powell}/components/InputText/InputText.d.ts +4 -4
  27. package/dist/cjs/types/{components → src/powell/components}/InputTextarea/InputTextarea.d.ts +4 -4
  28. package/dist/cjs/types/{components → src/powell/components}/Knob/Knob.d.ts +3 -3
  29. package/dist/cjs/types/{components → src/powell/components}/ListBox/ListBox.d.ts +3 -3
  30. package/dist/{esm/types → cjs/types/src/powell}/components/Mention/Mention.d.ts +4 -4
  31. package/dist/cjs/types/{components → src/powell/components}/MultiSelect/MultiSelect.d.ts +4 -4
  32. package/dist/cjs/types/{components → src/powell/components}/MultiStateCheckbox/MultiStateCheckbox.d.ts +3 -3
  33. package/dist/cjs/types/{components → src/powell/components}/RadioGroup/RadioGroup.d.ts +4 -4
  34. package/dist/{esm/types → cjs/types/src/powell}/components/Rating/Rating.d.ts +4 -4
  35. package/dist/cjs/types/{components → src/powell/components}/SelectButton/SelectButton.d.ts +4 -4
  36. package/dist/{esm/types → cjs/types/src/powell}/components/Slider/Slider.d.ts +4 -4
  37. package/dist/cjs/types/{components → src/powell/components}/ToggleButton/ToggleButton.d.ts +4 -4
  38. package/dist/cjs/types/{components → src/powell/components}/TreeSelect/TreeSelect.d.ts +4 -4
  39. package/dist/cjs/types/{components → src/powell/components}/TriStateCheckbox/TriStateCheckbox.d.ts +4 -4
  40. package/dist/{esm/types → cjs/types/src/powell}/hooks/useApplyConfig.d.ts +2 -2
  41. package/dist/cjs/types/{hooks → src/powell/hooks}/useFormContext.d.ts +1 -1
  42. package/dist/cjs/types/{hooks → src/powell/hooks}/usePowellConfig.d.ts +1 -1
  43. package/dist/cjs/types/{models → src/powell/models}/config.d.ts +2 -2
  44. package/dist/cjs/types/{models → src/powell/models}/forms.d.ts +2 -2
  45. package/dist/{esm/types → cjs/types/src/powell}/utils/utilsService.d.ts +3 -3
  46. package/dist/cjs/types/vite.config.d.ts +2 -0
  47. package/dist/esm/index.js +1 -72377
  48. package/dist/esm/types/src/components/Button/Button.d.ts +6 -0
  49. package/dist/esm/types/src/components/Button/index.d.ts +1 -0
  50. package/dist/esm/types/src/components/index.d.ts +1 -0
  51. package/dist/esm/types/src/index.d.ts +1 -0
  52. package/dist/esm/types/{api → src/powell/api}/PowellProvider.d.ts +2 -2
  53. package/dist/esm/types/src/powell/api/configService.d.ts +2 -0
  54. package/dist/esm/types/{api → src/powell/api}/powellDefaults.d.ts +1 -1
  55. package/dist/esm/types/{api → src/powell/api}/primereact.d.ts +0 -14
  56. package/dist/esm/types/{components → src/powell/components}/AutoComplete/AutoComplete.d.ts +4 -4
  57. package/dist/{cjs/types → esm/types/src/powell}/components/Button/Button.d.ts +3 -3
  58. package/dist/{cjs/types → esm/types/src/powell}/components/CascadeSelect/CascadeSelect.d.ts +4 -4
  59. package/dist/{cjs/types → esm/types/src/powell}/components/Checkbox/Checkbox.d.ts +4 -4
  60. package/dist/esm/types/{components → src/powell/components}/Chips/Chips.d.ts +3 -3
  61. package/dist/{cjs/types → esm/types/src/powell}/components/ColorPicker/ColorPicker.d.ts +4 -4
  62. package/dist/{cjs/types → esm/types/src/powell}/components/Dropdown/Dropdown.d.ts +4 -4
  63. package/dist/{cjs/types → esm/types/src/powell}/components/Editor/Editor.d.ts +4 -4
  64. package/dist/{cjs/types → esm/types/src/powell}/components/FormContainer/FormContainer.d.ts +1 -1
  65. package/dist/esm/types/{components → src/powell/components}/FormContainer/FormContext.d.ts +2 -2
  66. package/dist/{cjs/types → esm/types/src/powell}/components/InputMask/InputMask.d.ts +4 -4
  67. package/dist/esm/types/{components → src/powell/components}/InputNumber/InputNumber.d.ts +4 -4
  68. package/dist/esm/types/{components → src/powell/components}/InputOtp/InputOtp.d.ts +4 -4
  69. package/dist/esm/types/{components → src/powell/components}/InputPassword/InputPassword.d.ts +3 -3
  70. package/dist/{cjs/types → esm/types/src/powell}/components/InputSwitch/InputSwitch.d.ts +4 -4
  71. package/dist/{cjs/types → esm/types/src/powell}/components/InputText/InputText.d.ts +4 -4
  72. package/dist/esm/types/{components → src/powell/components}/InputTextarea/InputTextarea.d.ts +4 -4
  73. package/dist/esm/types/{components → src/powell/components}/Knob/Knob.d.ts +3 -3
  74. package/dist/esm/types/{components → src/powell/components}/ListBox/ListBox.d.ts +3 -3
  75. package/dist/{cjs/types → esm/types/src/powell}/components/Mention/Mention.d.ts +4 -4
  76. package/dist/esm/types/{components → src/powell/components}/MultiSelect/MultiSelect.d.ts +4 -4
  77. package/dist/esm/types/{components → src/powell/components}/MultiStateCheckbox/MultiStateCheckbox.d.ts +3 -3
  78. package/dist/esm/types/{components → src/powell/components}/RadioGroup/RadioGroup.d.ts +4 -4
  79. package/dist/{cjs/types → esm/types/src/powell}/components/Rating/Rating.d.ts +4 -4
  80. package/dist/esm/types/{components → src/powell/components}/SelectButton/SelectButton.d.ts +4 -4
  81. package/dist/{cjs/types → esm/types/src/powell}/components/Slider/Slider.d.ts +4 -4
  82. package/dist/esm/types/{components → src/powell/components}/ToggleButton/ToggleButton.d.ts +4 -4
  83. package/dist/esm/types/{components → src/powell/components}/TreeSelect/TreeSelect.d.ts +4 -4
  84. package/dist/esm/types/{components → src/powell/components}/TriStateCheckbox/TriStateCheckbox.d.ts +4 -4
  85. package/dist/{cjs/types → esm/types/src/powell}/hooks/useApplyConfig.d.ts +2 -2
  86. package/dist/esm/types/{hooks → src/powell/hooks}/useFormContext.d.ts +1 -1
  87. package/dist/esm/types/{hooks → src/powell/hooks}/usePowellConfig.d.ts +1 -1
  88. package/dist/esm/types/{models → src/powell/models}/config.d.ts +2 -2
  89. package/dist/esm/types/{models → src/powell/models}/forms.d.ts +2 -2
  90. package/dist/{cjs/types → esm/types/src/powell}/utils/utilsService.d.ts +3 -3
  91. package/dist/esm/types/vite.config.d.ts +2 -0
  92. package/package.json +51 -58
  93. package/dist/cjs/index.js.map +0 -1
  94. package/dist/cjs/types/api/configService.d.ts +0 -2
  95. package/dist/esm/index.js.map +0 -1
  96. package/dist/esm/types/api/configService.d.ts +0 -2
  97. package/dist/index.d.ts +0 -495
  98. /package/dist/cjs/types/{api → src/powell/api}/forms.d.ts +0 -0
  99. /package/dist/cjs/types/{api → src/powell/api}/index.d.ts +0 -0
  100. /package/dist/cjs/types/{components → src/powell/components}/AutoComplete/index.d.ts +0 -0
  101. /package/dist/cjs/types/{components → src/powell/components}/Button/index.d.ts +0 -0
  102. /package/dist/cjs/types/{components → src/powell/components}/CascadeSelect/index.d.ts +0 -0
  103. /package/dist/cjs/types/{components → src/powell/components}/Checkbox/index.d.ts +0 -0
  104. /package/dist/cjs/types/{components → src/powell/components}/Chips/index.d.ts +0 -0
  105. /package/dist/cjs/types/{components → src/powell/components}/ColorPicker/index.d.ts +0 -0
  106. /package/dist/cjs/types/{components → src/powell/components}/Dropdown/index.d.ts +0 -0
  107. /package/dist/cjs/types/{components → src/powell/components}/Editor/index.d.ts +0 -0
  108. /package/dist/cjs/types/{components → src/powell/components}/FormContainer/index.d.ts +0 -0
  109. /package/dist/cjs/types/{components → src/powell/components}/InputMask/index.d.ts +0 -0
  110. /package/dist/cjs/types/{components → src/powell/components}/InputNumber/index.d.ts +0 -0
  111. /package/dist/cjs/types/{components → src/powell/components}/InputOtp/index.d.ts +0 -0
  112. /package/dist/cjs/types/{components → src/powell/components}/InputPassword/index.d.ts +0 -0
  113. /package/dist/cjs/types/{components → src/powell/components}/InputSwitch/index.d.ts +0 -0
  114. /package/dist/cjs/types/{components → src/powell/components}/InputText/index.d.ts +0 -0
  115. /package/dist/cjs/types/{components → src/powell/components}/InputTextarea/index.d.ts +0 -0
  116. /package/dist/cjs/types/{components → src/powell/components}/Knob/index.d.ts +0 -0
  117. /package/dist/cjs/types/{components → src/powell/components}/ListBox/index.d.ts +0 -0
  118. /package/dist/cjs/types/{components → src/powell/components}/Mention/index.d.ts +0 -0
  119. /package/dist/cjs/types/{components → src/powell/components}/MultiSelect/index.d.ts +0 -0
  120. /package/dist/cjs/types/{components → src/powell/components}/MultiStateCheckbox/index.d.ts +0 -0
  121. /package/dist/cjs/types/{components → src/powell/components}/RadioGroup/index.d.ts +0 -0
  122. /package/dist/cjs/types/{components → src/powell/components}/Rating/index.d.ts +0 -0
  123. /package/dist/cjs/types/{components → src/powell/components}/SelectButton/index.d.ts +0 -0
  124. /package/dist/cjs/types/{components → src/powell/components}/Slider/index.d.ts +0 -0
  125. /package/dist/cjs/types/{components → src/powell/components}/ToggleButton/index.d.ts +0 -0
  126. /package/dist/cjs/types/{components → src/powell/components}/TreeSelect/index.d.ts +0 -0
  127. /package/dist/cjs/types/{components → src/powell/components}/TriStateCheckbox/index.d.ts +0 -0
  128. /package/dist/cjs/types/{hooks → src/powell/hooks}/index.d.ts +0 -0
  129. /package/dist/cjs/types/{index.d.ts → src/powell/index.d.ts} +0 -0
  130. /package/dist/cjs/types/{models → src/powell/models}/common.d.ts +0 -0
  131. /package/dist/cjs/types/{models → src/powell/models}/index.d.ts +0 -0
  132. /package/dist/cjs/types/{utils → src/powell/utils}/globalState.d.ts +0 -0
  133. /package/dist/cjs/types/{utils → src/powell/utils}/index.d.ts +0 -0
  134. /package/dist/esm/types/{api → src/powell/api}/forms.d.ts +0 -0
  135. /package/dist/esm/types/{api → src/powell/api}/index.d.ts +0 -0
  136. /package/dist/esm/types/{components → src/powell/components}/AutoComplete/index.d.ts +0 -0
  137. /package/dist/esm/types/{components → src/powell/components}/Button/index.d.ts +0 -0
  138. /package/dist/esm/types/{components → src/powell/components}/CascadeSelect/index.d.ts +0 -0
  139. /package/dist/esm/types/{components → src/powell/components}/Checkbox/index.d.ts +0 -0
  140. /package/dist/esm/types/{components → src/powell/components}/Chips/index.d.ts +0 -0
  141. /package/dist/esm/types/{components → src/powell/components}/ColorPicker/index.d.ts +0 -0
  142. /package/dist/esm/types/{components → src/powell/components}/Dropdown/index.d.ts +0 -0
  143. /package/dist/esm/types/{components → src/powell/components}/Editor/index.d.ts +0 -0
  144. /package/dist/esm/types/{components → src/powell/components}/FormContainer/index.d.ts +0 -0
  145. /package/dist/esm/types/{components → src/powell/components}/InputMask/index.d.ts +0 -0
  146. /package/dist/esm/types/{components → src/powell/components}/InputNumber/index.d.ts +0 -0
  147. /package/dist/esm/types/{components → src/powell/components}/InputOtp/index.d.ts +0 -0
  148. /package/dist/esm/types/{components → src/powell/components}/InputPassword/index.d.ts +0 -0
  149. /package/dist/esm/types/{components → src/powell/components}/InputSwitch/index.d.ts +0 -0
  150. /package/dist/esm/types/{components → src/powell/components}/InputText/index.d.ts +0 -0
  151. /package/dist/esm/types/{components → src/powell/components}/InputTextarea/index.d.ts +0 -0
  152. /package/dist/esm/types/{components → src/powell/components}/Knob/index.d.ts +0 -0
  153. /package/dist/esm/types/{components → src/powell/components}/ListBox/index.d.ts +0 -0
  154. /package/dist/esm/types/{components → src/powell/components}/Mention/index.d.ts +0 -0
  155. /package/dist/esm/types/{components → src/powell/components}/MultiSelect/index.d.ts +0 -0
  156. /package/dist/esm/types/{components → src/powell/components}/MultiStateCheckbox/index.d.ts +0 -0
  157. /package/dist/esm/types/{components → src/powell/components}/RadioGroup/index.d.ts +0 -0
  158. /package/dist/esm/types/{components → src/powell/components}/Rating/index.d.ts +0 -0
  159. /package/dist/esm/types/{components → src/powell/components}/SelectButton/index.d.ts +0 -0
  160. /package/dist/esm/types/{components → src/powell/components}/Slider/index.d.ts +0 -0
  161. /package/dist/esm/types/{components → src/powell/components}/ToggleButton/index.d.ts +0 -0
  162. /package/dist/esm/types/{components → src/powell/components}/TreeSelect/index.d.ts +0 -0
  163. /package/dist/esm/types/{components → src/powell/components}/TriStateCheckbox/index.d.ts +0 -0
  164. /package/dist/esm/types/{hooks → src/powell/hooks}/index.d.ts +0 -0
  165. /package/dist/esm/types/{index.d.ts → src/powell/index.d.ts} +0 -0
  166. /package/dist/esm/types/{models → src/powell/models}/common.d.ts +0 -0
  167. /package/dist/esm/types/{models → src/powell/models}/index.d.ts +0 -0
  168. /package/dist/esm/types/{utils → src/powell/utils}/globalState.d.ts +0 -0
  169. /package/dist/esm/types/{utils → src/powell/utils}/index.d.ts +0 -0
@@ -1,5 +1,5 @@
1
- import { $APIOptions } from "@api";
2
- import { FixLabelPosition, LabelPosition, Size } from "@models";
1
+ import { $APIOptions } from "@powell/api";
2
+ import { FixLabelPosition, LabelPosition, Size } from "@powell/models";
3
3
  export type ThemeName = "arya-blue" | "arya-green" | "arya-orange" | "arya-purple" | "bootstrap4-dark-blue" | "bootstrap4-dark-purple" | "bootstrap4-light-blue" | "bootstrap4-light-purple" | "fluent-light" | "lara-dark-amber" | "lara-dark-blue" | "lara-dark-cyan" | "lara-dark-green" | "lara-dark-indigo" | "lara-dark-pink" | "lara-dark-purple" | "lara-dark-teal" | "lara-light-amber" | "lara-light-blue" | "lara-light-cyan" | "lara-light-green" | "lara-light-indigo" | "lara-light-pink" | "lara-light-purple" | "lara-light-teal" | "luna-amber" | "luna-blue" | "luna-green" | "luna-pink" | "md-dark-deeppurple" | "md-dark-indigo" | "md-light-deeppurple" | "md-light-indigo" | "mdc-dark-deeppurple" | "mdc-dark-indigo" | "mdc-light-deeppurple" | "mdc-light-indigo" | "mira" | "nano" | "nova" | "nova-accent" | "nova-alt" | "rhea" | "saga-blue" | "saga-green" | "saga-orange" | "saga-purple" | "soho-dark" | "soho-light" | "tailwind-light" | "vela-blue" | "vela-green" | "vela-orange" | "vela-purple" | "viva-dark" | "viva-light";
4
4
  type OmittedApiOptions = Omit<$APIOptions, "setAppendTo" | "setStyleContainer" | "setAutoZIndex" | "setCssTransition" | "setFilterMatchModeOptions" | "setHideOverlaysOnDocumentScrolling" | "setInputStyle" | "setLocale" | "setNonce" | "setNullSortOrder" | "setRipple" | "setZIndex" | "setPt" | "changeTheme">;
5
5
  export interface PowellConfig extends OmittedApiOptions {
@@ -1,5 +1,5 @@
1
- import { $ButtonProps } from "@api";
2
- import { ButtonAppearance, Nullable, Position, SafeAny } from "@models";
1
+ import { $ButtonProps } from "@powell/api";
2
+ import { ButtonAppearance, Nullable, Position, SafeAny } from "@powell/models";
3
3
  import { MouseEvent } from "react";
4
4
  export type LabelPosition = 'float' | 'fix-side' | 'fix-top';
5
5
  export type FixLabelPosition = Exclude<LabelPosition, 'float'>;
@@ -1,6 +1,6 @@
1
- import { AddonConfig, TransformOptions } from "@models";
2
- import { $FormikContextType, $FormikValues } from "@api";
3
- export declare const getAddonTemplate: (config?: AddonConfig) => import("react/jsx-runtime").JSX.Element;
1
+ import { AddonConfig, TransformOptions } from "@powell/models";
2
+ import { $FormikContextType, $FormikValues } from "@powell/api";
3
+ export declare const getAddonTemplate: (config?: AddonConfig) => import("react").JSX.Element;
4
4
  export declare const isRequiredField: (formContext: $FormikContextType<$FormikValues> | null, name: string | undefined) => any;
5
5
  export declare const transformer: <V = any, T = any>(options: TransformOptions<V, T>) => {
6
6
  value: V;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vite").UserConfig;
2
+ export default _default;