@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.
- package/dist/bundle.css +1 -1
- package/dist/bundle.js +190 -151
- package/dist/components/fullCalendar/_fullCalendarProvider.d.ts +9 -1
- package/dist/components/fullCalendar/_fullCalendarProvider.d.ts.map +1 -1
- package/dist/components/fullCalendar/_fullCalendarProvider.js +2 -0
- package/dist/components/fullCalendar/dayCalendar/dayCalendarEvent/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/dayCalendar/dayCalendarEvent/index.js +16 -12
- package/dist/components/fullCalendar/dayCalendar/dayCalendarRow/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/dayCalendar/dayCalendarRow/index.js +16 -1
- package/dist/components/fullCalendar/fullCalendarHeader/index.js +3 -3
- package/dist/components/fullCalendar/index.d.ts +62 -48
- package/dist/components/fullCalendar/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/index.js +26 -36
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarEvent/index.js +8 -4
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/monthlyCalendar/monthlyCalendarTableTd/index.js +17 -1
- package/dist/components/fullCalendar/weekCalendar/weekCalendarEvent/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/weekCalendar/weekCalendarEvent/index.js +16 -12
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.d.ts.map +1 -1
- package/dist/components/fullCalendar/weekCalendar/weekCalendarTableTd/index.js +17 -6
- package/dist/components/imageUpload/index.js +1 -1
- package/dist/components/input/index.d.ts.map +1 -1
- package/dist/components/multiSelect/index.js +1 -1
- package/dist/components/radio/radioGroup/index.js +1 -1
- package/dist/components/richText/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- 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 = "
|
|
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 = "
|
|
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 = "
|
|
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 = "
|
|
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.
|
|
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
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
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",
|