@rxdrag/website-lib-core 0.0.62 → 0.0.63

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/website-lib-core",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -24,9 +24,9 @@
24
24
  "@types/react-dom": "^19.1.0",
25
25
  "eslint": "^7.32.0",
26
26
  "typescript": "^5",
27
- "@rxdrag/tsconfig": "0.2.0",
27
+ "@rxdrag/eslint-config-custom": "0.2.12",
28
28
  "@rxdrag/slate-preview": "1.2.58",
29
- "@rxdrag/eslint-config-custom": "0.2.12"
29
+ "@rxdrag/tsconfig": "0.2.0"
30
30
  },
31
31
  "dependencies": {
32
32
  "clsx": "^2.1.0",
@@ -35,8 +35,8 @@
35
35
  "lodash-es": "^4.17.21",
36
36
  "react": "^19.1.0",
37
37
  "react-dom": "^19.1.0",
38
- "@rxdrag/rxcms-models": "0.3.88",
39
- "@rxdrag/entify-lib": "0.0.17"
38
+ "@rxdrag/entify-lib": "0.0.17",
39
+ "@rxdrag/rxcms-models": "0.3.88"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "astro": "^4.0.0 || ^5.0.0"
@@ -7,6 +7,7 @@ export const Input2 = forwardRef<HTMLInputElement, InputProps>((props, ref) => {
7
7
  label,
8
8
  name,
9
9
  required,
10
+ requiredClassName,
10
11
  className,
11
12
  labelClassName,
12
13
  inputClassName,
@@ -40,6 +41,7 @@ export const Input2 = forwardRef<HTMLInputElement, InputProps>((props, ref) => {
40
41
  )}
41
42
  >
42
43
  {label}
44
+ {required ? <span className={requiredClassName}>*</span> : ""}
43
45
  </label>
44
46
  <input
45
47
  ref={ref}
@@ -7,6 +7,7 @@ export const Textarea2 = forwardRef<HTMLTextAreaElement, TextareaProps>(
7
7
  label,
8
8
  name,
9
9
  required,
10
+ requiredClassName,
10
11
  labelClassName,
11
12
  inputClassName,
12
13
  className,
@@ -38,6 +39,7 @@ export const Textarea2 = forwardRef<HTMLTextAreaElement, TextareaProps>(
38
39
  }`}
39
40
  >
40
41
  {label}
42
+ {required ? <span className={requiredClassName}>*</span> : ""}
41
43
  </label>
42
44
  <textarea
43
45
  ref={ref}