@arkyn/components 3.0.1-beta.146 → 3.0.1-beta.147

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.
Files changed (28) hide show
  1. package/dist/bundle.css +1 -1
  2. package/dist/bundle.js +190 -151
  3. package/dist/components/fullCalendar/_fullCalendarProvider.d.ts +9 -1
  4. package/dist/components/fullCalendar/_fullCalendarProvider.d.ts.map +1 -1
  5. package/dist/components/fullCalendar/_fullCalendarProvider.js +2 -0
  6. package/dist/components/fullCalendar/dayCalendar/dayCalendarEvent/index.d.ts.map +1 -1
  7. package/dist/components/fullCalendar/dayCalendar/dayCalendarEvent/index.js +16 -12
  8. package/dist/components/fullCalendar/dayCalendar/dayCalendarRow/index.d.ts.map +1 -1
  9. package/dist/components/fullCalendar/dayCalendar/dayCalendarRow/index.js +16 -1
  10. package/dist/components/fullCalendar/fullCalendarHeader/index.js +3 -3
  11. package/dist/components/fullCalendar/index.d.ts +62 -48
  12. package/dist/components/fullCalendar/index.d.ts.map +1 -1
  13. package/dist/components/fullCalendar/index.js +26 -36
  14. package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.d.ts.map +1 -1
  15. package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.js +8 -4
  16. package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.d.ts.map +1 -1
  17. package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.js +17 -1
  18. package/dist/components/fullCalendar/weekCalendar/weekCalendarEvent/index.d.ts.map +1 -1
  19. package/dist/components/fullCalendar/weekCalendar/weekCalendarEvent/index.js +16 -12
  20. package/dist/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.d.ts.map +1 -1
  21. package/dist/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.js +17 -6
  22. package/dist/components/imageUpload/index.js +1 -1
  23. package/dist/components/input/index.d.ts.map +1 -1
  24. package/dist/components/multiSelect/index.js +1 -1
  25. package/dist/components/radio/radioGroup/index.js +1 -1
  26. package/dist/components/richText/index.js +1 -1
  27. package/dist/components/select/index.js +1 -1
  28. package/package.json +7 -7
@@ -70,7 +70,7 @@ import { MultiSelectSpinner } from "./multiSelectSpinner";
70
70
  * ```
71
71
  */
72
72
  function MultiSelect(props) {
73
- const { name, options, className: wrapperClassName = "", placeholder = "Selecione...", closeOnSelect = false, defaultValue = [], errorMessage: baseErrorMessage, isLoading = false, readOnly = false, isSearchable = false, id, label, optionMaxHeight, showAsterisk, leftIcon: LeftIcon, onSearch, onChange, onBlur, notFoundText = "Sem opções disponíveis", onFocus, disabled: baseDisabled = false, prefix, size = "md", value, variant = "solid", unShowFieldTemplate = false, orientation = "horizontal", } = props;
73
+ const { name, options, className: wrapperClassName = "", placeholder = "Selecione...", closeOnSelect = false, defaultValue = [], errorMessage: baseErrorMessage, isLoading = false, readOnly = false, isSearchable = false, id, label, optionMaxHeight, showAsterisk, leftIcon: LeftIcon, onSearch, onChange, onBlur, notFoundText = "Sem opções disponíveis", onFocus, disabled: baseDisabled = false, prefix, size = "md", value, variant = "solid", unShowFieldTemplate = false, orientation = "vertical", } = props;
74
74
  const { fieldErrors } = useForm();
75
75
  const multiSelectRef = useRef(null);
76
76
  const multiSelectId = id || useId();
@@ -42,7 +42,7 @@ import "./styles.css";
42
42
  * ```
43
43
  */
44
44
  function RadioGroup(props) {
45
- const { defaultValue = "", name, label, showAsterisk, errorMessage: baseErrorMessage, value: forceValue, onChange, size = "md", className: wrapperClassName = "", disabled = false, unShowFieldTemplate = false, orientation = "horizontal", ...rest } = props;
45
+ const { defaultValue = "", name, label, showAsterisk, errorMessage: baseErrorMessage, value: forceValue, onChange, size = "md", className: wrapperClassName = "", disabled = false, unShowFieldTemplate = false, orientation = "vertical", ...rest } = props;
46
46
  const [value, setValue] = useState(defaultValue);
47
47
  const { fieldErrors } = useForm();
48
48
  function handleChange(value) {
@@ -68,7 +68,7 @@ import "./styles.css";
68
68
  * ```
69
69
  */
70
70
  function RichText(props) {
71
- const { name, hiddenButtons, imageConfig, videoConfig, className: wrapperClassName = "", defaultValue = "[]", enforceCharacterLimit = false, onChangeCharactersCount, baseErrorMessage, maxLimit = 10000, onChange, isError: baseIsError, label, showAsterisk, id, orientation = "horizontal", unShowFieldTemplate = false, } = props;
71
+ const { name, hiddenButtons, imageConfig, videoConfig, className: wrapperClassName = "", defaultValue = "[]", enforceCharacterLimit = false, onChangeCharactersCount, baseErrorMessage, maxLimit = 10000, onChange, isError: baseIsError, label, showAsterisk, id, orientation = "vertical", unShowFieldTemplate = false, } = props;
72
72
  const editor = useMemo(() => withHistory(withReact(createEditor())), []);
73
73
  const { fieldErrors } = useForm();
74
74
  function getDefaultNodes() {
@@ -69,7 +69,7 @@ import { SelectSpinner } from "./selectSpinner";
69
69
  * ```
70
70
  */
71
71
  function Select(props) {
72
- const { name, options, className: wrapperClassName = "", placeholder = "Selecione...", closeOnSelect = true, defaultValue = "", errorMessage: baseErrorMessage, isLoading = false, readOnly = false, isSearchable = false, id, label, optionMaxHeight, showAsterisk, leftIcon: LeftIcon, onSearch, onChange, onBlur, notFoundText = "Sem opções disponíveis", onFocus, disabled: baseDisabled = false, prefix, size = "md", value, variant = "solid", orientation = "horizontal", unShowFieldTemplate = false, } = props;
72
+ const { name, options, className: wrapperClassName = "", placeholder = "Selecione...", closeOnSelect = true, defaultValue = "", errorMessage: baseErrorMessage, isLoading = false, readOnly = false, isSearchable = false, id, label, optionMaxHeight, showAsterisk, leftIcon: LeftIcon, onSearch, onChange, onBlur, notFoundText = "Sem opções disponíveis", onFocus, disabled: baseDisabled = false, prefix, size = "md", value, variant = "solid", orientation = "vertical", unShowFieldTemplate = false, } = props;
73
73
  const { fieldErrors } = useForm();
74
74
  const selectRef = useRef(null);
75
75
  const selectId = id || useId();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/components",
3
- "version": "3.0.1-beta.146",
3
+ "version": "3.0.1-beta.147",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./dist/bundle.js",
6
6
  "types": "./dist/index.d.ts",
@@ -36,12 +36,9 @@
36
36
  "typecheck": "bunx tsc --project tsconfig.json --noEmit"
37
37
  },
38
38
  "dependencies": {
39
- "@arkyn/shared": "^3.0.1-beta.136",
40
- "@arkyn/templates": "^3.0.1-beta.136",
41
39
  "@react-google-maps/api": "^2.20.8",
42
40
  "@react-input/mask": "^2.0.4",
43
41
  "@types/react-scroll": "^1.8.10",
44
- "@vitejs/plugin-react": "^6.0.1",
45
42
  "framer-motion": "^12.38.0",
46
43
  "html-react-parser": "^6.1.0",
47
44
  "mapbox-gl": "^3.23.1",
@@ -52,9 +49,11 @@
52
49
  "slate-react": "^0.124.0"
53
50
  },
54
51
  "peerDependencies": {
55
- "react": "^19.2.6",
56
- "react-dom": "^19.2.6",
57
- "lucide-react": "^1.14.0"
52
+ "@arkyn/shared": ">=3.0.1-beta.145",
53
+ "@arkyn/templates": ">=3.0.1-beta.145",
54
+ "react": ">=19.2.6",
55
+ "react-dom": ">=19.2.6",
56
+ "lucide-react": ">=1.14.0"
58
57
  },
59
58
  "devDependencies": {
60
59
  "@testing-library/jest-dom": "^6.9.1",
@@ -64,6 +63,7 @@
64
63
  "@types/node": "^25.7.0",
65
64
  "@types/react": "^19.2.14",
66
65
  "@types/react-dom": "^19.2.3",
66
+ "@vitejs/plugin-react": "^6.0.1",
67
67
  "bun-types": "^1.3.13",
68
68
  "globals": "^17.6.0",
69
69
  "jsdom": "^29.1.1",