@uipath/apollo-wind 0.9.0 → 0.10.0-pr257.2a4b17b

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 (145) hide show
  1. package/dist/components/forms/field-renderer.cjs +120 -69
  2. package/dist/components/forms/field-renderer.js +120 -69
  3. package/dist/components/forms/form-designer.cjs +2352 -1488
  4. package/dist/components/forms/form-designer.js +2353 -1489
  5. package/dist/components/forms/form-examples.cjs +10 -10
  6. package/dist/components/forms/form-examples.js +10 -10
  7. package/dist/components/forms/form-state-viewer.cjs +988 -433
  8. package/dist/components/forms/form-state-viewer.js +988 -433
  9. package/dist/components/forms/metadata-form.cjs +446 -170
  10. package/dist/components/forms/metadata-form.js +446 -170
  11. package/dist/components/forms/schema-viewer.cjs +173 -80
  12. package/dist/components/forms/schema-viewer.js +173 -80
  13. package/dist/components/ui/accordion.cjs +131 -27
  14. package/dist/components/ui/accordion.js +131 -27
  15. package/dist/components/ui/alert-dialog.cjs +273 -45
  16. package/dist/components/ui/alert-dialog.js +273 -45
  17. package/dist/components/ui/alert.cjs +106 -17
  18. package/dist/components/ui/alert.js +106 -17
  19. package/dist/components/ui/avatar.cjs +100 -15
  20. package/dist/components/ui/avatar.js +100 -15
  21. package/dist/components/ui/badge.cjs +36 -6
  22. package/dist/components/ui/badge.js +36 -6
  23. package/dist/components/ui/breadcrumb.cjs +258 -52
  24. package/dist/components/ui/breadcrumb.js +258 -52
  25. package/dist/components/ui/button-group.cjs +119 -19
  26. package/dist/components/ui/button-group.js +119 -19
  27. package/dist/components/ui/button.cjs +48 -8
  28. package/dist/components/ui/button.js +48 -8
  29. package/dist/components/ui/calendar.cjs +88 -30
  30. package/dist/components/ui/calendar.js +88 -30
  31. package/dist/components/ui/card.cjs +199 -30
  32. package/dist/components/ui/card.js +199 -30
  33. package/dist/components/ui/checkbox.cjs +42 -8
  34. package/dist/components/ui/checkbox.js +42 -8
  35. package/dist/components/ui/combobox.cjs +150 -53
  36. package/dist/components/ui/combobox.js +150 -53
  37. package/dist/components/ui/command.cjs +291 -53
  38. package/dist/components/ui/command.js +291 -53
  39. package/dist/components/ui/context-menu.cjs +370 -72
  40. package/dist/components/ui/context-menu.js +370 -72
  41. package/dist/components/ui/data-table.cjs +76 -39
  42. package/dist/components/ui/data-table.js +76 -39
  43. package/dist/components/ui/date-picker.cjs +179 -68
  44. package/dist/components/ui/date-picker.js +179 -68
  45. package/dist/components/ui/datetime-picker.cjs +225 -104
  46. package/dist/components/ui/datetime-picker.js +225 -104
  47. package/dist/components/ui/dialog.cjs +290 -78
  48. package/dist/components/ui/dialog.js +290 -78
  49. package/dist/components/ui/drawer.cjs +220 -39
  50. package/dist/components/ui/drawer.js +220 -39
  51. package/dist/components/ui/dropdown-menu.cjs +376 -73
  52. package/dist/components/ui/dropdown-menu.js +376 -73
  53. package/dist/components/ui/editable-cell.cjs +106 -42
  54. package/dist/components/ui/editable-cell.js +106 -42
  55. package/dist/components/ui/empty-state.cjs +106 -33
  56. package/dist/components/ui/empty-state.js +106 -33
  57. package/dist/components/ui/file-upload.cjs +405 -187
  58. package/dist/components/ui/file-upload.d.ts +3 -1
  59. package/dist/components/ui/file-upload.js +405 -187
  60. package/dist/components/ui/hover-card.cjs +46 -7
  61. package/dist/components/ui/hover-card.js +46 -7
  62. package/dist/components/ui/index.cjs +4 -4
  63. package/dist/components/ui/input.cjs +39 -6
  64. package/dist/components/ui/input.js +39 -6
  65. package/dist/components/ui/label.cjs +34 -5
  66. package/dist/components/ui/label.js +34 -5
  67. package/dist/components/ui/layout/column.cjs +209 -41
  68. package/dist/components/ui/layout/column.js +209 -41
  69. package/dist/components/ui/layout/grid.cjs +275 -60
  70. package/dist/components/ui/layout/grid.js +275 -60
  71. package/dist/components/ui/layout/row.cjs +209 -41
  72. package/dist/components/ui/layout/row.js +209 -41
  73. package/dist/components/ui/menubar.cjs +540 -106
  74. package/dist/components/ui/menubar.js +540 -106
  75. package/dist/components/ui/multi-select.cjs +289 -135
  76. package/dist/components/ui/multi-select.js +289 -135
  77. package/dist/components/ui/navigation-menu.cjs +244 -47
  78. package/dist/components/ui/navigation-menu.js +244 -47
  79. package/dist/components/ui/pagination.cjs +301 -65
  80. package/dist/components/ui/pagination.js +301 -65
  81. package/dist/components/ui/popover.cjs +48 -9
  82. package/dist/components/ui/popover.js +48 -9
  83. package/dist/components/ui/progress.cjs +48 -8
  84. package/dist/components/ui/progress.js +48 -8
  85. package/dist/components/ui/radio-group.cjs +74 -12
  86. package/dist/components/ui/radio-group.js +74 -12
  87. package/dist/components/ui/resizable.cjs +75 -10
  88. package/dist/components/ui/resizable.js +75 -10
  89. package/dist/components/ui/scroll-area.cjs +113 -21
  90. package/dist/components/ui/scroll-area.js +113 -21
  91. package/dist/components/ui/search.cjs +280 -98
  92. package/dist/components/ui/search.js +280 -98
  93. package/dist/components/ui/select.cjs +334 -68
  94. package/dist/components/ui/select.js +334 -68
  95. package/dist/components/ui/separator.cjs +48 -7
  96. package/dist/components/ui/separator.js +48 -7
  97. package/dist/components/ui/sheet.cjs +236 -50
  98. package/dist/components/ui/sheet.js +236 -50
  99. package/dist/components/ui/skeleton.cjs +31 -5
  100. package/dist/components/ui/skeleton.js +31 -5
  101. package/dist/components/ui/slider.cjs +71 -21
  102. package/dist/components/ui/slider.js +71 -21
  103. package/dist/components/ui/sonner.cjs +43 -15
  104. package/dist/components/ui/sonner.js +43 -15
  105. package/dist/components/ui/spinner.cjs +83 -21
  106. package/dist/components/ui/spinner.js +83 -21
  107. package/dist/components/ui/stats-card.cjs +169 -60
  108. package/dist/components/ui/stats-card.js +169 -60
  109. package/dist/components/ui/stepper.cjs +126 -57
  110. package/dist/components/ui/stepper.js +126 -57
  111. package/dist/components/ui/switch.cjs +42 -8
  112. package/dist/components/ui/switch.js +42 -8
  113. package/dist/components/ui/table.cjs +267 -42
  114. package/dist/components/ui/table.js +267 -42
  115. package/dist/components/ui/tabs.cjs +100 -15
  116. package/dist/components/ui/tabs.js +100 -15
  117. package/dist/components/ui/textarea.cjs +34 -5
  118. package/dist/components/ui/textarea.js +34 -5
  119. package/dist/components/ui/toggle-group.cjs +112 -19
  120. package/dist/components/ui/toggle-group.js +112 -19
  121. package/dist/components/ui/toggle.cjs +43 -6
  122. package/dist/components/ui/toggle.js +43 -6
  123. package/dist/components/ui/tooltip.cjs +40 -6
  124. package/dist/components/ui/tooltip.js +40 -6
  125. package/dist/examples/admin-layout-example.cjs +879 -347
  126. package/dist/examples/admin-layout-example.js +879 -347
  127. package/dist/examples/app-shell-example.cjs +14 -14
  128. package/dist/examples/app-shell-example.js +14 -14
  129. package/dist/examples/dashboard-example.cjs +495 -334
  130. package/dist/examples/dashboard-example.js +495 -334
  131. package/dist/examples/data-management-example.cjs +501 -303
  132. package/dist/examples/data-management-example.js +502 -304
  133. package/dist/examples/flow-editor-layout-example.cjs +435 -231
  134. package/dist/examples/flow-editor-layout-example.js +436 -232
  135. package/dist/examples/flow-start-example.cjs +508 -251
  136. package/dist/examples/flow-start-example.js +509 -252
  137. package/dist/examples/form-builder-example.cjs +1006 -602
  138. package/dist/examples/form-builder-example.js +1007 -603
  139. package/dist/examples/new-project-example.cjs +806 -474
  140. package/dist/examples/new-project-example.js +807 -475
  141. package/dist/examples/settings-example.cjs +792 -704
  142. package/dist/examples/settings-example.js +792 -704
  143. package/dist/examples/vscode-example.cjs +731 -236
  144. package/dist/examples/vscode-example.js +731 -236
  145. package/package.json +4 -1
@@ -29,18 +29,57 @@ __webpack_require__.d(__webpack_exports__, {
29
29
  HoverCardContent: ()=>HoverCardContent
30
30
  });
31
31
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
32
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
32
33
  const react_hover_card_namespaceObject = require("@radix-ui/react-hover-card");
33
34
  const external_react_namespaceObject = require("react");
34
35
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
35
36
  const HoverCard = react_hover_card_namespaceObject.Root;
36
37
  const HoverCardTrigger = react_hover_card_namespaceObject.Trigger;
37
- const HoverCardContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, align = 'center', sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_hover_card_namespaceObject.Content, {
38
- ref: ref,
39
- align: align,
40
- sideOffset: sideOffset,
41
- className: (0, index_cjs_namespaceObject.cn)('z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]', className),
42
- ...props
43
- }));
38
+ const HoverCardContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
39
+ const $ = (0, compiler_runtime_namespaceObject.c)(13);
40
+ let className;
41
+ let props;
42
+ let t1;
43
+ let t2;
44
+ if ($[0] !== t0) {
45
+ ({ className, align: t1, sideOffset: t2, ...props } = t0);
46
+ $[0] = t0;
47
+ $[1] = className;
48
+ $[2] = props;
49
+ $[3] = t1;
50
+ $[4] = t2;
51
+ } else {
52
+ className = $[1];
53
+ props = $[2];
54
+ t1 = $[3];
55
+ t2 = $[4];
56
+ }
57
+ const align = void 0 === t1 ? "center" : t1;
58
+ const sideOffset = void 0 === t2 ? 4 : t2;
59
+ let t3;
60
+ if ($[5] !== className) {
61
+ t3 = (0, index_cjs_namespaceObject.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]", className);
62
+ $[5] = className;
63
+ $[6] = t3;
64
+ } else t3 = $[6];
65
+ let t4;
66
+ if ($[7] !== align || $[8] !== props || $[9] !== ref || $[10] !== sideOffset || $[11] !== t3) {
67
+ t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_hover_card_namespaceObject.Content, {
68
+ ref: ref,
69
+ align: align,
70
+ sideOffset: sideOffset,
71
+ className: t3,
72
+ ...props
73
+ });
74
+ $[7] = align;
75
+ $[8] = props;
76
+ $[9] = ref;
77
+ $[10] = sideOffset;
78
+ $[11] = t3;
79
+ $[12] = t4;
80
+ } else t4 = $[12];
81
+ return t4;
82
+ });
44
83
  HoverCardContent.displayName = react_hover_card_namespaceObject.Content.displayName;
45
84
  exports.HoverCard = __webpack_exports__.HoverCard;
46
85
  exports.HoverCardContent = __webpack_exports__.HoverCardContent;
@@ -1,15 +1,54 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { Content, Root, Trigger } from "@radix-ui/react-hover-card";
3
4
  import { forwardRef } from "react";
4
5
  import { cn } from "../../lib/index.js";
5
6
  const HoverCard = Root;
6
7
  const HoverCardTrigger = Trigger;
7
- const HoverCardContent = /*#__PURE__*/ forwardRef(({ className, align = 'center', sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ jsx(Content, {
8
- ref: ref,
9
- align: align,
10
- sideOffset: sideOffset,
11
- className: cn('z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]', className),
12
- ...props
13
- }));
8
+ const HoverCardContent = /*#__PURE__*/ forwardRef((t0, ref)=>{
9
+ const $ = c(13);
10
+ let className;
11
+ let props;
12
+ let t1;
13
+ let t2;
14
+ if ($[0] !== t0) {
15
+ ({ className, align: t1, sideOffset: t2, ...props } = t0);
16
+ $[0] = t0;
17
+ $[1] = className;
18
+ $[2] = props;
19
+ $[3] = t1;
20
+ $[4] = t2;
21
+ } else {
22
+ className = $[1];
23
+ props = $[2];
24
+ t1 = $[3];
25
+ t2 = $[4];
26
+ }
27
+ const align = void 0 === t1 ? "center" : t1;
28
+ const sideOffset = void 0 === t2 ? 4 : t2;
29
+ let t3;
30
+ if ($[5] !== className) {
31
+ t3 = cn("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]", className);
32
+ $[5] = className;
33
+ $[6] = t3;
34
+ } else t3 = $[6];
35
+ let t4;
36
+ if ($[7] !== align || $[8] !== props || $[9] !== ref || $[10] !== sideOffset || $[11] !== t3) {
37
+ t4 = /*#__PURE__*/ jsx(Content, {
38
+ ref: ref,
39
+ align: align,
40
+ sideOffset: sideOffset,
41
+ className: t3,
42
+ ...props
43
+ });
44
+ $[7] = align;
45
+ $[8] = props;
46
+ $[9] = ref;
47
+ $[10] = sideOffset;
48
+ $[11] = t3;
49
+ $[12] = t4;
50
+ } else t4 = $[12];
51
+ return t4;
52
+ });
14
53
  HoverCardContent.displayName = Content.displayName;
15
54
  export { HoverCard, HoverCardContent, HoverCardTrigger };
@@ -57,7 +57,7 @@ var __webpack_modules__ = {
57
57
  "./datetime-picker": function(module) {
58
58
  module.exports = require("./datetime-picker.cjs");
59
59
  },
60
- "@/components/ui/dialog": function(module) {
60
+ "./dialog": function(module) {
61
61
  module.exports = require("./dialog.cjs");
62
62
  },
63
63
  "./drawer": function(module) {
@@ -81,7 +81,7 @@ var __webpack_modules__ = {
81
81
  "./input": function(module) {
82
82
  module.exports = require("./input.cjs");
83
83
  },
84
- "@/components/ui/label": function(module) {
84
+ "./label": function(module) {
85
85
  module.exports = require("./label.cjs");
86
86
  },
87
87
  "./layout": function(module) {
@@ -323,7 +323,7 @@ var __webpack_exports__ = {};
323
323
  return _datetime_picker__WEBPACK_IMPORTED_MODULE_18__[key];
324
324
  }).bind(0, __WEBPACK_IMPORT_KEY__);
325
325
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
326
- var _dialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("@/components/ui/dialog");
326
+ var _dialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("./dialog");
327
327
  var __WEBPACK_REEXPORT_OBJECT__ = {};
328
328
  for(var __WEBPACK_IMPORT_KEY__ in _dialog__WEBPACK_IMPORTED_MODULE_19__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
329
329
  return _dialog__WEBPACK_IMPORTED_MODULE_19__[key];
@@ -371,7 +371,7 @@ var __webpack_exports__ = {};
371
371
  return _input__WEBPACK_IMPORTED_MODULE_26__[key];
372
372
  }).bind(0, __WEBPACK_IMPORT_KEY__);
373
373
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
374
- var _label__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("@/components/ui/label");
374
+ var _label__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("./label");
375
375
  var __WEBPACK_REEXPORT_OBJECT__ = {};
376
376
  for(var __WEBPACK_IMPORT_KEY__ in _label__WEBPACK_IMPORTED_MODULE_27__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
377
377
  return _label__WEBPACK_IMPORTED_MODULE_27__[key];
@@ -27,14 +27,47 @@ __webpack_require__.d(__webpack_exports__, {
27
27
  Input: ()=>Input
28
28
  });
29
29
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
30
31
  const external_react_namespaceObject = require("react");
31
32
  const utils_cjs_namespaceObject = require("../../lib/utils.cjs");
32
- const Input = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, type, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("input", {
33
- type: type,
34
- className: (0, utils_cjs_namespaceObject.cn)('flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', className),
35
- ref: ref,
36
- ...props
37
- }));
33
+ const Input = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
34
+ const $ = (0, compiler_runtime_namespaceObject.c)(11);
35
+ let className;
36
+ let props;
37
+ let type;
38
+ if ($[0] !== t0) {
39
+ ({ className, type, ...props } = t0);
40
+ $[0] = t0;
41
+ $[1] = className;
42
+ $[2] = props;
43
+ $[3] = type;
44
+ } else {
45
+ className = $[1];
46
+ props = $[2];
47
+ type = $[3];
48
+ }
49
+ let t1;
50
+ if ($[4] !== className) {
51
+ t1 = (0, utils_cjs_namespaceObject.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className);
52
+ $[4] = className;
53
+ $[5] = t1;
54
+ } else t1 = $[5];
55
+ let t2;
56
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1 || $[9] !== type) {
57
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("input", {
58
+ type: type,
59
+ className: t1,
60
+ ref: ref,
61
+ ...props
62
+ });
63
+ $[6] = props;
64
+ $[7] = ref;
65
+ $[8] = t1;
66
+ $[9] = type;
67
+ $[10] = t2;
68
+ } else t2 = $[10];
69
+ return t2;
70
+ });
38
71
  Input.displayName = 'Input';
39
72
  exports.Input = __webpack_exports__.Input;
40
73
  for(var __webpack_i__ in __webpack_exports__)if (-1 === [
@@ -1,11 +1,44 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { forwardRef } from "react";
3
4
  import { cn } from "../../lib/utils.js";
4
- const Input = /*#__PURE__*/ forwardRef(({ className, type, ...props }, ref)=>/*#__PURE__*/ jsx("input", {
5
- type: type,
6
- className: cn('flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', className),
7
- ref: ref,
8
- ...props
9
- }));
5
+ const Input = /*#__PURE__*/ forwardRef((t0, ref)=>{
6
+ const $ = c(11);
7
+ let className;
8
+ let props;
9
+ let type;
10
+ if ($[0] !== t0) {
11
+ ({ className, type, ...props } = t0);
12
+ $[0] = t0;
13
+ $[1] = className;
14
+ $[2] = props;
15
+ $[3] = type;
16
+ } else {
17
+ className = $[1];
18
+ props = $[2];
19
+ type = $[3];
20
+ }
21
+ let t1;
22
+ if ($[4] !== className) {
23
+ t1 = cn("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className);
24
+ $[4] = className;
25
+ $[5] = t1;
26
+ } else t1 = $[5];
27
+ let t2;
28
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1 || $[9] !== type) {
29
+ t2 = /*#__PURE__*/ jsx("input", {
30
+ type: type,
31
+ className: t1,
32
+ ref: ref,
33
+ ...props
34
+ });
35
+ $[6] = props;
36
+ $[7] = ref;
37
+ $[8] = t1;
38
+ $[9] = type;
39
+ $[10] = t2;
40
+ } else t2 = $[10];
41
+ return t2;
42
+ });
10
43
  Input.displayName = 'Input';
11
44
  export { Input };
@@ -27,16 +27,45 @@ __webpack_require__.d(__webpack_exports__, {
27
27
  Label: ()=>Label
28
28
  });
29
29
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
30
31
  const react_label_namespaceObject = require("@radix-ui/react-label");
31
32
  const external_class_variance_authority_namespaceObject = require("class-variance-authority");
32
33
  const external_react_namespaceObject = require("react");
33
34
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
34
35
  const labelVariants = (0, external_class_variance_authority_namespaceObject.cva)('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');
35
- const Label = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_label_namespaceObject.Root, {
36
- ref: ref,
37
- className: (0, index_cjs_namespaceObject.cn)(labelVariants(), className),
38
- ...props
39
- }));
36
+ const Label = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
37
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
38
+ let className;
39
+ let props;
40
+ if ($[0] !== t0) {
41
+ ({ className, ...props } = t0);
42
+ $[0] = t0;
43
+ $[1] = className;
44
+ $[2] = props;
45
+ } else {
46
+ className = $[1];
47
+ props = $[2];
48
+ }
49
+ let t1;
50
+ if ($[3] !== className) {
51
+ t1 = (0, index_cjs_namespaceObject.cn)(labelVariants(), className);
52
+ $[3] = className;
53
+ $[4] = t1;
54
+ } else t1 = $[4];
55
+ let t2;
56
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
57
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_label_namespaceObject.Root, {
58
+ ref: ref,
59
+ className: t1,
60
+ ...props
61
+ });
62
+ $[5] = props;
63
+ $[6] = ref;
64
+ $[7] = t1;
65
+ $[8] = t2;
66
+ } else t2 = $[8];
67
+ return t2;
68
+ });
40
69
  Label.displayName = react_label_namespaceObject.Root.displayName;
41
70
  exports.Label = __webpack_exports__.Label;
42
71
  for(var __webpack_i__ in __webpack_exports__)if (-1 === [
@@ -1,13 +1,42 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { Root } from "@radix-ui/react-label";
3
4
  import { cva } from "class-variance-authority";
4
5
  import { forwardRef } from "react";
5
6
  import { cn } from "../../lib/index.js";
6
7
  const labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');
7
- const Label = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Root, {
8
- ref: ref,
9
- className: cn(labelVariants(), className),
10
- ...props
11
- }));
8
+ const Label = /*#__PURE__*/ forwardRef((t0, ref)=>{
9
+ const $ = c(9);
10
+ let className;
11
+ let props;
12
+ if ($[0] !== t0) {
13
+ ({ className, ...props } = t0);
14
+ $[0] = t0;
15
+ $[1] = className;
16
+ $[2] = props;
17
+ } else {
18
+ className = $[1];
19
+ props = $[2];
20
+ }
21
+ let t1;
22
+ if ($[3] !== className) {
23
+ t1 = cn(labelVariants(), className);
24
+ $[3] = className;
25
+ $[4] = t1;
26
+ } else t1 = $[4];
27
+ let t2;
28
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
29
+ t2 = /*#__PURE__*/ jsx(Root, {
30
+ ref: ref,
31
+ className: t1,
32
+ ...props
33
+ });
34
+ $[5] = props;
35
+ $[6] = ref;
36
+ $[7] = t1;
37
+ $[8] = t2;
38
+ } else t2 = $[8];
39
+ return t2;
40
+ });
12
41
  Label.displayName = Root.displayName;
13
42
  export { Label };
@@ -27,52 +27,220 @@ __webpack_require__.d(__webpack_exports__, {
27
27
  Column: ()=>Column
28
28
  });
29
29
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
30
31
  const external_react_namespaceObject = require("react");
31
32
  const index_cjs_namespaceObject = require("../../../lib/index.cjs");
32
33
  const external_utils_cjs_namespaceObject = require("./utils.cjs");
33
- const Column = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ children, className, style, direction = 'column', align, justify, wrap, gap, flex, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps }, ref)=>{
34
- const layoutStyles = (0, external_utils_cjs_namespaceObject.buildLayoutStyles)({
35
- direction,
36
- align,
37
- justify,
38
- wrap,
39
- gap,
40
- flex,
41
- w,
42
- h,
43
- maxW,
44
- minW,
45
- maxH,
46
- minH,
47
- overflow,
48
- overflowX,
49
- overflowY,
50
- position,
51
- p,
52
- pt,
53
- pb,
54
- pl,
55
- pr,
56
- px,
57
- py,
58
- m,
59
- mt,
60
- mb,
61
- ml,
62
- mr,
63
- mx,
64
- my
65
- });
66
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
67
- ref: ref,
68
- className: (0, index_cjs_namespaceObject.cn)(className),
69
- style: {
34
+ const Column = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
35
+ const $ = (0, compiler_runtime_namespaceObject.c)(77);
36
+ let align;
37
+ let children;
38
+ let className;
39
+ let flex;
40
+ let gap;
41
+ let h;
42
+ let htmlProps;
43
+ let justify;
44
+ let m;
45
+ let maxH;
46
+ let maxW;
47
+ let mb;
48
+ let minH;
49
+ let minW;
50
+ let ml;
51
+ let mr;
52
+ let mt;
53
+ let mx;
54
+ let my;
55
+ let overflow;
56
+ let overflowX;
57
+ let overflowY;
58
+ let p;
59
+ let pb;
60
+ let pl;
61
+ let position;
62
+ let pr;
63
+ let pt;
64
+ let px;
65
+ let py;
66
+ let style;
67
+ let t1;
68
+ let w;
69
+ let wrap;
70
+ if ($[0] !== t0) {
71
+ ({ children, className, style, direction: t1, align, justify, wrap, gap, flex, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps } = t0);
72
+ $[0] = t0;
73
+ $[1] = align;
74
+ $[2] = children;
75
+ $[3] = className;
76
+ $[4] = flex;
77
+ $[5] = gap;
78
+ $[6] = h;
79
+ $[7] = htmlProps;
80
+ $[8] = justify;
81
+ $[9] = m;
82
+ $[10] = maxH;
83
+ $[11] = maxW;
84
+ $[12] = mb;
85
+ $[13] = minH;
86
+ $[14] = minW;
87
+ $[15] = ml;
88
+ $[16] = mr;
89
+ $[17] = mt;
90
+ $[18] = mx;
91
+ $[19] = my;
92
+ $[20] = overflow;
93
+ $[21] = overflowX;
94
+ $[22] = overflowY;
95
+ $[23] = p;
96
+ $[24] = pb;
97
+ $[25] = pl;
98
+ $[26] = position;
99
+ $[27] = pr;
100
+ $[28] = pt;
101
+ $[29] = px;
102
+ $[30] = py;
103
+ $[31] = style;
104
+ $[32] = t1;
105
+ $[33] = w;
106
+ $[34] = wrap;
107
+ } else {
108
+ align = $[1];
109
+ children = $[2];
110
+ className = $[3];
111
+ flex = $[4];
112
+ gap = $[5];
113
+ h = $[6];
114
+ htmlProps = $[7];
115
+ justify = $[8];
116
+ m = $[9];
117
+ maxH = $[10];
118
+ maxW = $[11];
119
+ mb = $[12];
120
+ minH = $[13];
121
+ minW = $[14];
122
+ ml = $[15];
123
+ mr = $[16];
124
+ mt = $[17];
125
+ mx = $[18];
126
+ my = $[19];
127
+ overflow = $[20];
128
+ overflowX = $[21];
129
+ overflowY = $[22];
130
+ p = $[23];
131
+ pb = $[24];
132
+ pl = $[25];
133
+ position = $[26];
134
+ pr = $[27];
135
+ pt = $[28];
136
+ px = $[29];
137
+ py = $[30];
138
+ style = $[31];
139
+ t1 = $[32];
140
+ w = $[33];
141
+ wrap = $[34];
142
+ }
143
+ const direction = void 0 === t1 ? "column" : t1;
144
+ let t2;
145
+ if ($[35] !== align || $[36] !== direction || $[37] !== flex || $[38] !== gap || $[39] !== h || $[40] !== justify || $[41] !== m || $[42] !== maxH || $[43] !== maxW || $[44] !== mb || $[45] !== minH || $[46] !== minW || $[47] !== ml || $[48] !== mr || $[49] !== mt || $[50] !== mx || $[51] !== my || $[52] !== overflow || $[53] !== overflowX || $[54] !== overflowY || $[55] !== p || $[56] !== pb || $[57] !== pl || $[58] !== position || $[59] !== pr || $[60] !== pt || $[61] !== px || $[62] !== py || $[63] !== w || $[64] !== wrap) {
146
+ t2 = (0, external_utils_cjs_namespaceObject.buildLayoutStyles)({
147
+ direction,
148
+ align,
149
+ justify,
150
+ wrap,
151
+ gap,
152
+ flex,
153
+ w,
154
+ h,
155
+ maxW,
156
+ minW,
157
+ maxH,
158
+ minH,
159
+ overflow,
160
+ overflowX,
161
+ overflowY,
162
+ position,
163
+ p,
164
+ pt,
165
+ pb,
166
+ pl,
167
+ pr,
168
+ px,
169
+ py,
170
+ m,
171
+ mt,
172
+ mb,
173
+ ml,
174
+ mr,
175
+ mx,
176
+ my
177
+ });
178
+ $[35] = align;
179
+ $[36] = direction;
180
+ $[37] = flex;
181
+ $[38] = gap;
182
+ $[39] = h;
183
+ $[40] = justify;
184
+ $[41] = m;
185
+ $[42] = maxH;
186
+ $[43] = maxW;
187
+ $[44] = mb;
188
+ $[45] = minH;
189
+ $[46] = minW;
190
+ $[47] = ml;
191
+ $[48] = mr;
192
+ $[49] = mt;
193
+ $[50] = mx;
194
+ $[51] = my;
195
+ $[52] = overflow;
196
+ $[53] = overflowX;
197
+ $[54] = overflowY;
198
+ $[55] = p;
199
+ $[56] = pb;
200
+ $[57] = pl;
201
+ $[58] = position;
202
+ $[59] = pr;
203
+ $[60] = pt;
204
+ $[61] = px;
205
+ $[62] = py;
206
+ $[63] = w;
207
+ $[64] = wrap;
208
+ $[65] = t2;
209
+ } else t2 = $[65];
210
+ const layoutStyles = t2;
211
+ let t3;
212
+ if ($[66] !== className) {
213
+ t3 = (0, index_cjs_namespaceObject.cn)(className);
214
+ $[66] = className;
215
+ $[67] = t3;
216
+ } else t3 = $[67];
217
+ let t4;
218
+ if ($[68] !== layoutStyles || $[69] !== style) {
219
+ t4 = {
70
220
  ...layoutStyles,
71
221
  ...style
72
- },
73
- ...htmlProps,
74
- children: children
75
- });
222
+ };
223
+ $[68] = layoutStyles;
224
+ $[69] = style;
225
+ $[70] = t4;
226
+ } else t4 = $[70];
227
+ let t5;
228
+ if ($[71] !== children || $[72] !== htmlProps || $[73] !== ref || $[74] !== t3 || $[75] !== t4) {
229
+ t5 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
230
+ ref: ref,
231
+ className: t3,
232
+ style: t4,
233
+ ...htmlProps,
234
+ children: children
235
+ });
236
+ $[71] = children;
237
+ $[72] = htmlProps;
238
+ $[73] = ref;
239
+ $[74] = t3;
240
+ $[75] = t4;
241
+ $[76] = t5;
242
+ } else t5 = $[76];
243
+ return t5;
76
244
  });
77
245
  Column.displayName = 'Column';
78
246
  exports.Column = __webpack_exports__.Column;