@vuer-ai/vuer-uikit 0.0.104 → 0.0.105

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 (42) hide show
  1. package/dist/{chunk-LDFGQSE4.mjs → chunk-HJAKKWNJ.mjs} +2 -2
  2. package/dist/{chunk-7WA7ZFVS.cjs → chunk-L6ZZKK4B.cjs} +2 -2
  3. package/dist/{chunk-5QDNFK4H.cjs → chunk-M3XTCMOA.cjs} +20 -20
  4. package/dist/{chunk-77FMULFB.mjs → chunk-SLBFCX35.mjs} +20 -20
  5. package/dist/dial/DialPanel.cjs +16 -16
  6. package/dist/dial/DialPanel.d.cts +2 -1
  7. package/dist/dial/DialPanel.d.ts +2 -1
  8. package/dist/dial/DialPanel.mjs +15 -15
  9. package/dist/dial/index.cjs +32 -32
  10. package/dist/dial/index.mjs +15 -15
  11. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +20 -20
  12. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +15 -15
  13. package/dist/dial/wrapped-inputs/DialInputs.cjs +29 -29
  14. package/dist/dial/wrapped-inputs/DialInputs.mjs +15 -15
  15. package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +16 -16
  16. package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +15 -15
  17. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +16 -16
  18. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +15 -15
  19. package/dist/dial/wrapped-inputs/index.cjs +36 -36
  20. package/dist/dial/wrapped-inputs/index.mjs +15 -15
  21. package/dist/index.cjs +82 -82
  22. package/dist/index.mjs +15 -15
  23. package/dist/ui/UIKitBadge.cjs +5 -5
  24. package/dist/ui/UIKitBadge.mjs +1 -1
  25. package/dist/ui/badge.d.cts +1 -1
  26. package/dist/ui/badge.d.ts +1 -1
  27. package/dist/ui/index.cjs +64 -64
  28. package/dist/ui/index.mjs +14 -14
  29. package/dist/ui/inputs/index.cjs +28 -28
  30. package/dist/ui/inputs/index.mjs +6 -6
  31. package/dist/ui/inputs/input.d.cts +1 -1
  32. package/dist/ui/inputs/input.d.ts +1 -1
  33. package/dist/ui/inputs/number-inputs/index.cjs +23 -23
  34. package/dist/ui/inputs/number-inputs/index.mjs +5 -5
  35. package/dist/ui/layouts/index.cjs +2 -2
  36. package/dist/ui/layouts/index.mjs +2 -2
  37. package/dist/ui/select.d.cts +1 -1
  38. package/dist/ui/select.d.ts +1 -1
  39. package/dist/ui/textarea.d.cts +1 -1
  40. package/dist/ui/textarea.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/src/dial/DialPanel.tsx +16 -14
package/dist/ui/index.mjs CHANGED
@@ -15,6 +15,13 @@ import '../chunk-JVV7W3TP.mjs';
15
15
  import '../chunk-OC4HRPZU.mjs';
16
16
  import '../chunk-N6DSPSMM.mjs';
17
17
  export { TOTAL_DURATION, borderColorClasses, colorClasses, formatDuration, leftWedgeClasses, rightWedgeClasses } from '../chunk-4U232QAX.mjs';
18
+ import '../chunk-IGTUE4NW.mjs';
19
+ import '../chunk-EPRRJR2S.mjs';
20
+ export { LiquidLayoutView } from '../chunk-THMYDDZF.mjs';
21
+ import '../chunk-4QFWMPJZ.mjs';
22
+ export { DockLayoutView } from '../chunk-M6JLGVJ7.mjs';
23
+ export { DockLayout, DockLayoutBottom, DockLayoutContent, DockLayoutLeft, DockLayoutRight, DockLayoutTop } from '../chunk-3LO3AM25.mjs';
24
+ import '../chunk-PIC2EJWA.mjs';
18
25
  import '../chunk-6NK7UMFP.mjs';
19
26
  export { LiquidToggle, ThemeColorToggle, ThemeToggles } from '../chunk-Y2H4A5AC.mjs';
20
27
  export { ThemeProvider, computeTheme, defaultThemes, useTheme } from '../chunk-FK6ZROZE.mjs';
@@ -22,33 +29,26 @@ export { ThemeScript } from '../chunk-5KJP6A6C.mjs';
22
29
  export { TreeSearchBar } from '../chunk-SUEFWFPX.mjs';
23
30
  export { TreeEntryItem, TreeView } from '../chunk-VQPJ7TLB.mjs';
24
31
  import '../chunk-5UMTQHTX.mjs';
25
- import '../chunk-IGTUE4NW.mjs';
26
- import '../chunk-4QFWMPJZ.mjs';
27
- import '../chunk-EPRRJR2S.mjs';
28
- export { LiquidLayoutView } from '../chunk-THMYDDZF.mjs';
29
- import '../chunk-PIC2EJWA.mjs';
30
- export { DockLayoutView } from '../chunk-M6JLGVJ7.mjs';
31
- export { DockLayout, DockLayoutBottom, DockLayoutContent, DockLayoutLeft, DockLayoutRight, DockLayoutTop } from '../chunk-3LO3AM25.mjs';
32
32
  import '../chunk-2KQRWXNO.mjs';
33
33
  import '../chunk-AGRPGNME.mjs';
34
+ export { TimeInput } from '../chunk-JUSFLIU5.mjs';
35
+ export { Vec3Input } from '../chunk-SYX6TMCQ.mjs';
36
+ export { EulerDegInput } from '../chunk-24IUD6Q3.mjs';
37
+ export { EulerInput } from '../chunk-ZNM6PNI6.mjs';
34
38
  export { EulerRadInput } from '../chunk-IXNXSECD.mjs';
35
39
  export { InchInput } from '../chunk-3TUONMQ6.mjs';
36
40
  export { IntInput } from '../chunk-4JGGLCXT.mjs';
37
41
  export { KVectorInput } from '../chunk-4THQPG6Y.mjs';
38
42
  export { QuaternionInput } from '../chunk-VUMOJPEC.mjs';
39
- export { TimeInput } from '../chunk-JUSFLIU5.mjs';
40
- export { Vec3Input } from '../chunk-SYX6TMCQ.mjs';
43
+ export { VectorInput } from '../chunk-VEWWUO2N.mjs';
41
44
  export { CmInput } from '../chunk-PTGMHZFS.mjs';
42
45
  export { DegInput } from '../chunk-CGUQWS2I.mjs';
43
- export { EulerDegInput } from '../chunk-24IUD6Q3.mjs';
44
- export { EulerInput } from '../chunk-ZNM6PNI6.mjs';
45
- export { VectorInput } from '../chunk-VEWWUO2N.mjs';
46
- export { TextInput } from '../chunk-3VVQWVDE.mjs';
47
46
  export { ColorInput } from '../chunk-EXQQRW7T.mjs';
48
47
  export { PresetsInput } from '../chunk-6XOTWZFC.mjs';
49
48
  export { PresetsRadInput } from '../chunk-ACYZOKPT.mjs';
50
49
  export { RadInput } from '../chunk-IY36FZ5R.mjs';
51
50
  export { InputNumbers } from '../chunk-7HOEFGEO.mjs';
51
+ export { TextInput } from '../chunk-3VVQWVDE.mjs';
52
52
  import '../chunk-KHROZRRE.mjs';
53
53
  export { createSelectable } from '../chunk-TVKPO5VK.mjs';
54
54
  export { DragSelectProvider, useDragSelectContext } from '../chunk-JBQP2CBI.mjs';
@@ -82,7 +82,7 @@ export { FormLayout } from '../chunk-NRQJX772.mjs';
82
82
  export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from '../chunk-NHG2ROYB.mjs';
83
83
  export { Navigation } from '../chunk-RIJUPORK.mjs';
84
84
  export { DIAL_GIT_HASH, DIAL_PACKAGE_NAME, DIAL_PACKAGE_VERSION, DialBadge } from '../chunk-TYXRHZZG.mjs';
85
- export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from '../chunk-LDFGQSE4.mjs';
85
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from '../chunk-HJAKKWNJ.mjs';
86
86
  export { Avatar, AvatarFallback, AvatarGroup, AvatarImage } from '../chunk-MHJM7YMG.mjs';
87
87
  export { Badge, badgeVariants } from '../chunk-S6PSU47F.mjs';
88
88
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-MG5TTPA7.mjs';
@@ -2,24 +2,24 @@
2
2
 
3
3
  require('../../chunk-63OJOP6W.cjs');
4
4
  require('../../chunk-DECFNBXU.cjs');
5
+ var chunkNSUFTZNC_cjs = require('../../chunk-NSUFTZNC.cjs');
6
+ var chunkHN3AMWUM_cjs = require('../../chunk-HN3AMWUM.cjs');
7
+ var chunkD5WOPTKY_cjs = require('../../chunk-D5WOPTKY.cjs');
8
+ var chunk2EG65KGO_cjs = require('../../chunk-2EG65KGO.cjs');
5
9
  var chunkAJQEHMYV_cjs = require('../../chunk-AJQEHMYV.cjs');
6
10
  var chunkPTCDBU72_cjs = require('../../chunk-PTCDBU72.cjs');
7
11
  var chunk64L2SNKA_cjs = require('../../chunk-64L2SNKA.cjs');
8
12
  var chunkJFJRNNPQ_cjs = require('../../chunk-JFJRNNPQ.cjs');
9
13
  var chunkEAXBNWXE_cjs = require('../../chunk-EAXBNWXE.cjs');
10
- var chunkNSUFTZNC_cjs = require('../../chunk-NSUFTZNC.cjs');
11
- var chunkHN3AMWUM_cjs = require('../../chunk-HN3AMWUM.cjs');
14
+ var chunkJFIAWTRH_cjs = require('../../chunk-JFIAWTRH.cjs');
12
15
  var chunkAOV3ADTV_cjs = require('../../chunk-AOV3ADTV.cjs');
13
16
  var chunkA2UZY7Y2_cjs = require('../../chunk-A2UZY7Y2.cjs');
14
- var chunkD5WOPTKY_cjs = require('../../chunk-D5WOPTKY.cjs');
15
- var chunk2EG65KGO_cjs = require('../../chunk-2EG65KGO.cjs');
16
- var chunkJFIAWTRH_cjs = require('../../chunk-JFIAWTRH.cjs');
17
- var chunk2WD4ZL27_cjs = require('../../chunk-2WD4ZL27.cjs');
18
17
  var chunkZRRCYQ53_cjs = require('../../chunk-ZRRCYQ53.cjs');
19
18
  var chunk7GJVMFKJ_cjs = require('../../chunk-7GJVMFKJ.cjs');
20
19
  var chunkJYIVDUDL_cjs = require('../../chunk-JYIVDUDL.cjs');
21
20
  var chunk5XBMFADS_cjs = require('../../chunk-5XBMFADS.cjs');
22
21
  var chunkGOGJVFRN_cjs = require('../../chunk-GOGJVFRN.cjs');
22
+ var chunk2WD4ZL27_cjs = require('../../chunk-2WD4ZL27.cjs');
23
23
  var chunkLQGXG373_cjs = require('../../chunk-LQGXG373.cjs');
24
24
  require('../../chunk-HBIZQDDS.cjs');
25
25
  require('../../chunk-QN4N4I3Z.cjs');
@@ -35,6 +35,22 @@ require('../../chunk-OHIB3TEN.cjs');
35
35
 
36
36
 
37
37
 
38
+ Object.defineProperty(exports, "TimeInput", {
39
+ enumerable: true,
40
+ get: function () { return chunkNSUFTZNC_cjs.TimeInput; }
41
+ });
42
+ Object.defineProperty(exports, "Vec3Input", {
43
+ enumerable: true,
44
+ get: function () { return chunkHN3AMWUM_cjs.Vec3Input; }
45
+ });
46
+ Object.defineProperty(exports, "EulerDegInput", {
47
+ enumerable: true,
48
+ get: function () { return chunkD5WOPTKY_cjs.EulerDegInput; }
49
+ });
50
+ Object.defineProperty(exports, "EulerInput", {
51
+ enumerable: true,
52
+ get: function () { return chunk2EG65KGO_cjs.EulerInput; }
53
+ });
38
54
  Object.defineProperty(exports, "EulerRadInput", {
39
55
  enumerable: true,
40
56
  get: function () { return chunkAJQEHMYV_cjs.EulerRadInput; }
@@ -55,13 +71,9 @@ Object.defineProperty(exports, "QuaternionInput", {
55
71
  enumerable: true,
56
72
  get: function () { return chunkEAXBNWXE_cjs.QuaternionInput; }
57
73
  });
58
- Object.defineProperty(exports, "TimeInput", {
59
- enumerable: true,
60
- get: function () { return chunkNSUFTZNC_cjs.TimeInput; }
61
- });
62
- Object.defineProperty(exports, "Vec3Input", {
74
+ Object.defineProperty(exports, "VectorInput", {
63
75
  enumerable: true,
64
- get: function () { return chunkHN3AMWUM_cjs.Vec3Input; }
76
+ get: function () { return chunkJFIAWTRH_cjs.VectorInput; }
65
77
  });
66
78
  Object.defineProperty(exports, "CmInput", {
67
79
  enumerable: true,
@@ -71,22 +83,6 @@ Object.defineProperty(exports, "DegInput", {
71
83
  enumerable: true,
72
84
  get: function () { return chunkA2UZY7Y2_cjs.DegInput; }
73
85
  });
74
- Object.defineProperty(exports, "EulerDegInput", {
75
- enumerable: true,
76
- get: function () { return chunkD5WOPTKY_cjs.EulerDegInput; }
77
- });
78
- Object.defineProperty(exports, "EulerInput", {
79
- enumerable: true,
80
- get: function () { return chunk2EG65KGO_cjs.EulerInput; }
81
- });
82
- Object.defineProperty(exports, "VectorInput", {
83
- enumerable: true,
84
- get: function () { return chunkJFIAWTRH_cjs.VectorInput; }
85
- });
86
- Object.defineProperty(exports, "TextInput", {
87
- enumerable: true,
88
- get: function () { return chunk2WD4ZL27_cjs.TextInput; }
89
- });
90
86
  Object.defineProperty(exports, "ColorInput", {
91
87
  enumerable: true,
92
88
  get: function () { return chunkZRRCYQ53_cjs.ColorInput; }
@@ -107,6 +103,10 @@ Object.defineProperty(exports, "InputNumbers", {
107
103
  enumerable: true,
108
104
  get: function () { return chunkGOGJVFRN_cjs.InputNumbers; }
109
105
  });
106
+ Object.defineProperty(exports, "TextInput", {
107
+ enumerable: true,
108
+ get: function () { return chunk2WD4ZL27_cjs.TextInput; }
109
+ });
110
110
  Object.defineProperty(exports, "Input", {
111
111
  enumerable: true,
112
112
  get: function () { return chunkLQGXG373_cjs.InputRoot; }
@@ -1,23 +1,23 @@
1
1
  import '../../chunk-2KQRWXNO.mjs';
2
2
  import '../../chunk-AGRPGNME.mjs';
3
+ export { TimeInput } from '../../chunk-JUSFLIU5.mjs';
4
+ export { Vec3Input } from '../../chunk-SYX6TMCQ.mjs';
5
+ export { EulerDegInput } from '../../chunk-24IUD6Q3.mjs';
6
+ export { EulerInput } from '../../chunk-ZNM6PNI6.mjs';
3
7
  export { EulerRadInput } from '../../chunk-IXNXSECD.mjs';
4
8
  export { InchInput } from '../../chunk-3TUONMQ6.mjs';
5
9
  export { IntInput } from '../../chunk-4JGGLCXT.mjs';
6
10
  export { KVectorInput } from '../../chunk-4THQPG6Y.mjs';
7
11
  export { QuaternionInput } from '../../chunk-VUMOJPEC.mjs';
8
- export { TimeInput } from '../../chunk-JUSFLIU5.mjs';
9
- export { Vec3Input } from '../../chunk-SYX6TMCQ.mjs';
12
+ export { VectorInput } from '../../chunk-VEWWUO2N.mjs';
10
13
  export { CmInput } from '../../chunk-PTGMHZFS.mjs';
11
14
  export { DegInput } from '../../chunk-CGUQWS2I.mjs';
12
- export { EulerDegInput } from '../../chunk-24IUD6Q3.mjs';
13
- export { EulerInput } from '../../chunk-ZNM6PNI6.mjs';
14
- export { VectorInput } from '../../chunk-VEWWUO2N.mjs';
15
- export { TextInput } from '../../chunk-3VVQWVDE.mjs';
16
15
  export { ColorInput } from '../../chunk-EXQQRW7T.mjs';
17
16
  export { PresetsInput } from '../../chunk-6XOTWZFC.mjs';
18
17
  export { PresetsRadInput } from '../../chunk-ACYZOKPT.mjs';
19
18
  export { RadInput } from '../../chunk-IY36FZ5R.mjs';
20
19
  export { InputNumbers } from '../../chunk-7HOEFGEO.mjs';
20
+ export { TextInput } from '../../chunk-3VVQWVDE.mjs';
21
21
  export { InputRoot as Input, InputRoot, InputSlot } from '../../chunk-LRSDE62T.mjs';
22
22
  import '../../chunk-CZ4GQOXG.mjs';
23
23
  import '../../chunk-F7ZHPSLA.mjs';
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const inputRootVariants: (props?: ({
7
- state?: "default" | "disabled" | "error" | null | undefined;
7
+ state?: "error" | "disabled" | "default" | null | undefined;
8
8
  size?: "sm" | "md" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface InputRootProps extends Omit<ComponentProps<"input">, "size">, VariantProps<typeof inputRootVariants> {
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const inputRootVariants: (props?: ({
7
- state?: "default" | "disabled" | "error" | null | undefined;
7
+ state?: "error" | "disabled" | "default" | null | undefined;
8
8
  size?: "sm" | "md" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface InputRootProps extends Omit<ComponentProps<"input">, "size">, VariantProps<typeof inputRootVariants> {
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
3
  require('../../../chunk-DECFNBXU.cjs');
4
+ var chunkNSUFTZNC_cjs = require('../../../chunk-NSUFTZNC.cjs');
5
+ var chunkHN3AMWUM_cjs = require('../../../chunk-HN3AMWUM.cjs');
6
+ var chunkD5WOPTKY_cjs = require('../../../chunk-D5WOPTKY.cjs');
7
+ var chunk2EG65KGO_cjs = require('../../../chunk-2EG65KGO.cjs');
4
8
  var chunkAJQEHMYV_cjs = require('../../../chunk-AJQEHMYV.cjs');
5
9
  var chunkPTCDBU72_cjs = require('../../../chunk-PTCDBU72.cjs');
6
10
  var chunk64L2SNKA_cjs = require('../../../chunk-64L2SNKA.cjs');
7
11
  var chunkJFJRNNPQ_cjs = require('../../../chunk-JFJRNNPQ.cjs');
8
12
  var chunkEAXBNWXE_cjs = require('../../../chunk-EAXBNWXE.cjs');
9
- var chunkNSUFTZNC_cjs = require('../../../chunk-NSUFTZNC.cjs');
10
- var chunkHN3AMWUM_cjs = require('../../../chunk-HN3AMWUM.cjs');
13
+ var chunkJFIAWTRH_cjs = require('../../../chunk-JFIAWTRH.cjs');
11
14
  var chunkAOV3ADTV_cjs = require('../../../chunk-AOV3ADTV.cjs');
12
15
  var chunkA2UZY7Y2_cjs = require('../../../chunk-A2UZY7Y2.cjs');
13
- var chunkD5WOPTKY_cjs = require('../../../chunk-D5WOPTKY.cjs');
14
- var chunk2EG65KGO_cjs = require('../../../chunk-2EG65KGO.cjs');
15
- var chunkJFIAWTRH_cjs = require('../../../chunk-JFIAWTRH.cjs');
16
16
  var chunk5XBMFADS_cjs = require('../../../chunk-5XBMFADS.cjs');
17
17
  require('../../../chunk-GOGJVFRN.cjs');
18
18
  require('../../../chunk-LQGXG373.cjs');
@@ -29,6 +29,22 @@ require('../../../chunk-OHIB3TEN.cjs');
29
29
 
30
30
 
31
31
 
32
+ Object.defineProperty(exports, "TimeInput", {
33
+ enumerable: true,
34
+ get: function () { return chunkNSUFTZNC_cjs.TimeInput; }
35
+ });
36
+ Object.defineProperty(exports, "Vec3Input", {
37
+ enumerable: true,
38
+ get: function () { return chunkHN3AMWUM_cjs.Vec3Input; }
39
+ });
40
+ Object.defineProperty(exports, "EulerDegInput", {
41
+ enumerable: true,
42
+ get: function () { return chunkD5WOPTKY_cjs.EulerDegInput; }
43
+ });
44
+ Object.defineProperty(exports, "EulerInput", {
45
+ enumerable: true,
46
+ get: function () { return chunk2EG65KGO_cjs.EulerInput; }
47
+ });
32
48
  Object.defineProperty(exports, "EulerRadInput", {
33
49
  enumerable: true,
34
50
  get: function () { return chunkAJQEHMYV_cjs.EulerRadInput; }
@@ -49,13 +65,9 @@ Object.defineProperty(exports, "QuaternionInput", {
49
65
  enumerable: true,
50
66
  get: function () { return chunkEAXBNWXE_cjs.QuaternionInput; }
51
67
  });
52
- Object.defineProperty(exports, "TimeInput", {
53
- enumerable: true,
54
- get: function () { return chunkNSUFTZNC_cjs.TimeInput; }
55
- });
56
- Object.defineProperty(exports, "Vec3Input", {
68
+ Object.defineProperty(exports, "VectorInput", {
57
69
  enumerable: true,
58
- get: function () { return chunkHN3AMWUM_cjs.Vec3Input; }
70
+ get: function () { return chunkJFIAWTRH_cjs.VectorInput; }
59
71
  });
60
72
  Object.defineProperty(exports, "CmInput", {
61
73
  enumerable: true,
@@ -65,18 +77,6 @@ Object.defineProperty(exports, "DegInput", {
65
77
  enumerable: true,
66
78
  get: function () { return chunkA2UZY7Y2_cjs.DegInput; }
67
79
  });
68
- Object.defineProperty(exports, "EulerDegInput", {
69
- enumerable: true,
70
- get: function () { return chunkD5WOPTKY_cjs.EulerDegInput; }
71
- });
72
- Object.defineProperty(exports, "EulerInput", {
73
- enumerable: true,
74
- get: function () { return chunk2EG65KGO_cjs.EulerInput; }
75
- });
76
- Object.defineProperty(exports, "VectorInput", {
77
- enumerable: true,
78
- get: function () { return chunkJFIAWTRH_cjs.VectorInput; }
79
- });
80
80
  Object.defineProperty(exports, "RadInput", {
81
81
  enumerable: true,
82
82
  get: function () { return chunk5XBMFADS_cjs.RadInput; }
@@ -1,16 +1,16 @@
1
1
  import '../../../chunk-AGRPGNME.mjs';
2
+ export { TimeInput } from '../../../chunk-JUSFLIU5.mjs';
3
+ export { Vec3Input } from '../../../chunk-SYX6TMCQ.mjs';
4
+ export { EulerDegInput } from '../../../chunk-24IUD6Q3.mjs';
5
+ export { EulerInput } from '../../../chunk-ZNM6PNI6.mjs';
2
6
  export { EulerRadInput } from '../../../chunk-IXNXSECD.mjs';
3
7
  export { InchInput } from '../../../chunk-3TUONMQ6.mjs';
4
8
  export { IntInput } from '../../../chunk-4JGGLCXT.mjs';
5
9
  export { KVectorInput } from '../../../chunk-4THQPG6Y.mjs';
6
10
  export { QuaternionInput } from '../../../chunk-VUMOJPEC.mjs';
7
- export { TimeInput } from '../../../chunk-JUSFLIU5.mjs';
8
- export { Vec3Input } from '../../../chunk-SYX6TMCQ.mjs';
11
+ export { VectorInput } from '../../../chunk-VEWWUO2N.mjs';
9
12
  export { CmInput } from '../../../chunk-PTGMHZFS.mjs';
10
13
  export { DegInput } from '../../../chunk-CGUQWS2I.mjs';
11
- export { EulerDegInput } from '../../../chunk-24IUD6Q3.mjs';
12
- export { EulerInput } from '../../../chunk-ZNM6PNI6.mjs';
13
- export { VectorInput } from '../../../chunk-VEWWUO2N.mjs';
14
14
  export { RadInput } from '../../../chunk-IY36FZ5R.mjs';
15
15
  import '../../../chunk-7HOEFGEO.mjs';
16
16
  import '../../../chunk-LRSDE62T.mjs';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  require('../../chunk-E6G4MTX3.cjs');
4
- require('../../chunk-WX7SLJUA.cjs');
5
4
  require('../../chunk-4AE2TOOL.cjs');
6
5
  var chunkH6MFBIRB_cjs = require('../../chunk-H6MFBIRB.cjs');
7
- require('../../chunk-SPRBKXGP.cjs');
6
+ require('../../chunk-WX7SLJUA.cjs');
8
7
  var chunkLBGZKACW_cjs = require('../../chunk-LBGZKACW.cjs');
9
8
  var chunkUULSGVNF_cjs = require('../../chunk-UULSGVNF.cjs');
9
+ require('../../chunk-SPRBKXGP.cjs');
10
10
  require('../../chunk-QN4N4I3Z.cjs');
11
11
  require('../../chunk-Q7E73DVJ.cjs');
12
12
  require('../../chunk-JR4TVE43.cjs');
@@ -1,10 +1,10 @@
1
1
  import '../../chunk-IGTUE4NW.mjs';
2
- import '../../chunk-4QFWMPJZ.mjs';
3
2
  import '../../chunk-EPRRJR2S.mjs';
4
3
  export { LiquidLayoutView } from '../../chunk-THMYDDZF.mjs';
5
- import '../../chunk-PIC2EJWA.mjs';
4
+ import '../../chunk-4QFWMPJZ.mjs';
6
5
  export { DockLayoutView } from '../../chunk-M6JLGVJ7.mjs';
7
6
  export { DockLayout, DockLayoutBottom, DockLayoutContent, DockLayoutLeft, DockLayoutRight, DockLayoutTop } from '../../chunk-3LO3AM25.mjs';
7
+ import '../../chunk-PIC2EJWA.mjs';
8
8
  import '../../chunk-F7ZHPSLA.mjs';
9
9
  import '../../chunk-3QT5VABC.mjs';
10
10
  import '../../chunk-XHJDRQD7.mjs';
@@ -21,7 +21,7 @@ declare function SelectGroup({ className, ...props }: ComponentProps<typeof Sele
21
21
  */
22
22
  declare function SelectValue({ ...props }: ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
23
23
  declare const selectTriggerVariants: (props?: ({
24
- state?: "default" | "disabled" | "error" | null | undefined;
24
+ state?: "error" | "disabled" | "default" | null | undefined;
25
25
  size?: "sm" | "md" | "lg" | null | undefined;
26
26
  font?: "standard" | "mono" | null | undefined;
27
27
  align?: "left" | "right" | "center" | null | undefined;
@@ -21,7 +21,7 @@ declare function SelectGroup({ className, ...props }: ComponentProps<typeof Sele
21
21
  */
22
22
  declare function SelectValue({ ...props }: ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
23
23
  declare const selectTriggerVariants: (props?: ({
24
- state?: "default" | "disabled" | "error" | null | undefined;
24
+ state?: "error" | "disabled" | "default" | null | undefined;
25
25
  size?: "sm" | "md" | "lg" | null | undefined;
26
26
  font?: "standard" | "mono" | null | undefined;
27
27
  align?: "left" | "right" | "center" | null | undefined;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const textareaVariants: (props?: ({
7
- state?: "default" | "error" | null | undefined;
7
+ state?: "error" | "default" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const textareaVariants: (props?: ({
7
- state?: "default" | "error" | null | undefined;
7
+ state?: "error" | "default" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuer-ai/vuer-uikit",
3
3
  "author": "Ge Yang",
4
- "version": "0.0.104",
4
+ "version": "0.0.105",
5
5
  "files": [
6
6
  "/dist",
7
7
  "/src"
@@ -19,9 +19,10 @@ import {
19
19
  interface DialSchemaRendererProps {
20
20
  schemas: DialSchema[];
21
21
  groups?: DialGroupConfig[];
22
+ layout?: LabelPositionT;
22
23
  }
23
24
 
24
- export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups: groupConfigs }) => {
25
+ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups: groupConfigs, layout }) => {
25
26
  // Create a map of group configurations for easy lookup
26
27
  const groupConfigMap: Record<string, DialGroupConfig> = {};
27
28
 
@@ -64,7 +65,8 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
64
65
  // Render a single schema item as an input component
65
66
  const renderSchemaInput = (schema: DialSchema) => {
66
67
  const { name, dtype, min, max, step, options, tags } = schema;
67
- const labelPosition = tags?.labelPosition as LabelPositionT;
68
+ // Use schema's label position if specified, otherwise fall back to panel's layout prop
69
+ const effectiveLabelPosition = (tags?.labelPosition as LabelPositionT) || layout;
68
70
  const label = schema.label || (name.charAt(0).toUpperCase() + name.slice(1));
69
71
 
70
72
  // Choose the right input component based on dtype
@@ -76,7 +78,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
76
78
  name={name}
77
79
  label={label}
78
80
  step={step}
79
- labelPosition={labelPosition}
81
+ labelPosition={effectiveLabelPosition}
80
82
  />
81
83
  );
82
84
 
@@ -87,7 +89,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
87
89
  name={name}
88
90
  label={label}
89
91
  step={step}
90
- labelPosition={labelPosition}
92
+ labelPosition={effectiveLabelPosition}
91
93
  />
92
94
  );
93
95
 
@@ -98,7 +100,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
98
100
  name={name}
99
101
  label={label}
100
102
  step={step}
101
- labelPosition={labelPosition}
103
+ labelPosition={effectiveLabelPosition}
102
104
  />
103
105
  );
104
106
 
@@ -110,7 +112,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
110
112
 
111
113
  case "boolean":
112
114
  return (
113
- <DialBooleanInput key={name} name={name} label={label} labelPosition={labelPosition} />
115
+ <DialBooleanInput key={name} name={name} label={label} labelPosition={effectiveLabelPosition} />
114
116
  );
115
117
 
116
118
  case "number-slider":
@@ -123,7 +125,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
123
125
  min={min}
124
126
  max={max}
125
127
  step={step}
126
- labelPosition={labelPosition}
128
+ labelPosition={effectiveLabelPosition}
127
129
  />
128
130
  );
129
131
 
@@ -135,7 +137,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
135
137
  name={name}
136
138
  label={label}
137
139
  step={step || 1}
138
- labelPosition={labelPosition}
140
+ labelPosition={effectiveLabelPosition}
139
141
  />
140
142
  );
141
143
 
@@ -147,7 +149,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
147
149
  name={name}
148
150
  label={label}
149
151
  step={step}
150
- labelPosition={labelPosition}
152
+ labelPosition={effectiveLabelPosition}
151
153
  />
152
154
  );
153
155
 
@@ -162,7 +164,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
162
164
  min={min}
163
165
  max={max}
164
166
  step={step}
165
- labelPosition={labelPosition}
167
+ labelPosition={effectiveLabelPosition}
166
168
  />
167
169
  );
168
170
  }
@@ -175,7 +177,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
175
177
  name={name}
176
178
  label={label}
177
179
  options={options}
178
- labelPosition={labelPosition}
180
+ labelPosition={effectiveLabelPosition}
179
181
  />
180
182
  );
181
183
  }
@@ -189,7 +191,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
189
191
  min={min}
190
192
  max={max}
191
193
  step={step}
192
- labelPosition={labelPosition}
194
+ labelPosition={effectiveLabelPosition}
193
195
  />
194
196
  );
195
197
 
@@ -206,7 +208,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
206
208
  name={name}
207
209
  label={label}
208
210
  options={options}
209
- labelPosition={labelPosition}
211
+ labelPosition={effectiveLabelPosition}
210
212
  />
211
213
  );
212
214
  }
@@ -217,7 +219,7 @@ export const DialPanel: React.FC<DialSchemaRendererProps> = ({ schemas, groups:
217
219
  name={name}
218
220
  label={label}
219
221
  placeholder={`Enter ${label.toLowerCase()}`}
220
- labelPosition={labelPosition}
222
+ labelPosition={effectiveLabelPosition}
221
223
  />
222
224
  );
223
225