@process.co/ui 0.0.15 → 0.0.16
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/components/fields/index.cjs +100 -5
- package/dist/components/fields/index.cjs.map +1 -1
- package/dist/components/fields/index.js +101 -6
- package/dist/components/fields/index.js.map +1 -1
- package/dist/index.cjs +116 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +117 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
var React43 = require('react');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
var ReactDOM4 = require('react-dom');
|
|
6
|
-
var lucideReact = require('lucide-react');
|
|
7
6
|
|
|
8
7
|
function _interopNamespace(e) {
|
|
9
8
|
if (e && e.__esModule) return e;
|
|
@@ -8528,6 +8527,93 @@ var Separator2 = DropdownMenuSeparator;
|
|
|
8528
8527
|
var Sub2 = DropdownMenuSub;
|
|
8529
8528
|
var SubTrigger2 = DropdownMenuSubTrigger;
|
|
8530
8529
|
var SubContent2 = DropdownMenuSubContent;
|
|
8530
|
+
|
|
8531
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
8532
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
8533
|
+
var mergeClasses = (...classes) => classes.filter((className, index2, array) => {
|
|
8534
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index2;
|
|
8535
|
+
}).join(" ").trim();
|
|
8536
|
+
|
|
8537
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
8538
|
+
var defaultAttributes = {
|
|
8539
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8540
|
+
width: 24,
|
|
8541
|
+
height: 24,
|
|
8542
|
+
viewBox: "0 0 24 24",
|
|
8543
|
+
fill: "none",
|
|
8544
|
+
stroke: "currentColor",
|
|
8545
|
+
strokeWidth: 2,
|
|
8546
|
+
strokeLinecap: "round",
|
|
8547
|
+
strokeLinejoin: "round"
|
|
8548
|
+
};
|
|
8549
|
+
|
|
8550
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/Icon.js
|
|
8551
|
+
var Icon = React43.forwardRef(
|
|
8552
|
+
({
|
|
8553
|
+
color = "currentColor",
|
|
8554
|
+
size: size4 = 24,
|
|
8555
|
+
strokeWidth = 2,
|
|
8556
|
+
absoluteStrokeWidth,
|
|
8557
|
+
className = "",
|
|
8558
|
+
children,
|
|
8559
|
+
iconNode,
|
|
8560
|
+
...rest
|
|
8561
|
+
}, ref) => {
|
|
8562
|
+
return React43.createElement(
|
|
8563
|
+
"svg",
|
|
8564
|
+
{
|
|
8565
|
+
ref,
|
|
8566
|
+
...defaultAttributes,
|
|
8567
|
+
width: size4,
|
|
8568
|
+
height: size4,
|
|
8569
|
+
stroke: color,
|
|
8570
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size4) : strokeWidth,
|
|
8571
|
+
className: mergeClasses("lucide", className),
|
|
8572
|
+
...rest
|
|
8573
|
+
},
|
|
8574
|
+
[
|
|
8575
|
+
...iconNode.map(([tag, attrs]) => React43.createElement(tag, attrs)),
|
|
8576
|
+
...Array.isArray(children) ? children : [children]
|
|
8577
|
+
]
|
|
8578
|
+
);
|
|
8579
|
+
}
|
|
8580
|
+
);
|
|
8581
|
+
|
|
8582
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
8583
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
8584
|
+
const Component = React43.forwardRef(
|
|
8585
|
+
({ className, ...props }, ref) => React43.createElement(Icon, {
|
|
8586
|
+
ref,
|
|
8587
|
+
iconNode,
|
|
8588
|
+
className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
|
|
8589
|
+
...props
|
|
8590
|
+
})
|
|
8591
|
+
);
|
|
8592
|
+
Component.displayName = `${iconName}`;
|
|
8593
|
+
return Component;
|
|
8594
|
+
};
|
|
8595
|
+
|
|
8596
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/check.js
|
|
8597
|
+
var __iconNode = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
8598
|
+
var Check = createLucideIcon("Check", __iconNode);
|
|
8599
|
+
|
|
8600
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
8601
|
+
var __iconNode2 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
8602
|
+
var ChevronDown = createLucideIcon("ChevronDown", __iconNode2);
|
|
8603
|
+
|
|
8604
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
8605
|
+
var __iconNode3 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
8606
|
+
var ChevronRight = createLucideIcon("ChevronRight", __iconNode3);
|
|
8607
|
+
|
|
8608
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
8609
|
+
var __iconNode4 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
8610
|
+
var ChevronUp = createLucideIcon("ChevronUp", __iconNode4);
|
|
8611
|
+
|
|
8612
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/circle.js
|
|
8613
|
+
var __iconNode5 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
8614
|
+
var Circle = createLucideIcon("Circle", __iconNode5);
|
|
8615
|
+
|
|
8616
|
+
// src/components/ui/dropdown-menu.tsx
|
|
8531
8617
|
function DropdownMenu2({
|
|
8532
8618
|
...props
|
|
8533
8619
|
}) {
|
|
@@ -8633,7 +8719,7 @@ function DropdownMenuCheckboxItem2({
|
|
|
8633
8719
|
checked,
|
|
8634
8720
|
...props
|
|
8635
8721
|
},
|
|
8636
|
-
/* @__PURE__ */ React43__namespace.createElement("span", { className: "uii:pointer-events-none uii:absolute uii:left-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React43__namespace.createElement(ItemIndicator2, null, /* @__PURE__ */ React43__namespace.createElement(
|
|
8722
|
+
/* @__PURE__ */ React43__namespace.createElement("span", { className: "uii:pointer-events-none uii:absolute uii:left-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React43__namespace.createElement(ItemIndicator2, null, /* @__PURE__ */ React43__namespace.createElement(Check, { className: "uii:size-4" }))),
|
|
8637
8723
|
children
|
|
8638
8724
|
);
|
|
8639
8725
|
}
|
|
@@ -8663,7 +8749,7 @@ function DropdownMenuRadioItem2({
|
|
|
8663
8749
|
),
|
|
8664
8750
|
...props
|
|
8665
8751
|
},
|
|
8666
|
-
/* @__PURE__ */ React43__namespace.createElement("span", { className: "uii:pointer-events-none uii:absolute uii:left-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React43__namespace.createElement(ItemIndicator2, null, /* @__PURE__ */ React43__namespace.createElement(
|
|
8752
|
+
/* @__PURE__ */ React43__namespace.createElement("span", { className: "uii:pointer-events-none uii:absolute uii:left-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React43__namespace.createElement(ItemIndicator2, null, /* @__PURE__ */ React43__namespace.createElement(Circle, { className: "uii:size-2 uii:fill-current" }))),
|
|
8667
8753
|
children
|
|
8668
8754
|
);
|
|
8669
8755
|
}
|
|
@@ -8737,7 +8823,7 @@ function DropdownMenuSubTrigger2({
|
|
|
8737
8823
|
...props
|
|
8738
8824
|
},
|
|
8739
8825
|
children,
|
|
8740
|
-
/* @__PURE__ */ React43__namespace.createElement(
|
|
8826
|
+
/* @__PURE__ */ React43__namespace.createElement(ChevronRight, { className: "uii:ml-auto uii:size-4" })
|
|
8741
8827
|
);
|
|
8742
8828
|
}
|
|
8743
8829
|
function DropdownMenuSubContent2({
|
|
@@ -10069,7 +10155,7 @@ function wrapArray3(array, startIndex) {
|
|
|
10069
10155
|
var Root24 = Select;
|
|
10070
10156
|
var Trigger2 = SelectTrigger;
|
|
10071
10157
|
var Value = SelectValue;
|
|
10072
|
-
var
|
|
10158
|
+
var Icon2 = SelectIcon;
|
|
10073
10159
|
var Portal3 = SelectPortal;
|
|
10074
10160
|
var Content23 = SelectContent;
|
|
10075
10161
|
var Viewport = SelectViewport;
|
|
@@ -10078,6 +10164,8 @@ var ItemText = SelectItemText;
|
|
|
10078
10164
|
var ItemIndicator3 = SelectItemIndicator;
|
|
10079
10165
|
var ScrollUpButton = SelectScrollUpButton;
|
|
10080
10166
|
var ScrollDownButton = SelectScrollDownButton;
|
|
10167
|
+
|
|
10168
|
+
// src/components/ui/select.tsx
|
|
10081
10169
|
function Select2({
|
|
10082
10170
|
...props
|
|
10083
10171
|
}) {
|
|
@@ -10104,7 +10192,7 @@ function SelectTrigger2({
|
|
|
10104
10192
|
...props
|
|
10105
10193
|
},
|
|
10106
10194
|
children,
|
|
10107
|
-
/* @__PURE__ */ React43__namespace.createElement(
|
|
10195
|
+
/* @__PURE__ */ React43__namespace.createElement(Icon2, { asChild: true }, /* @__PURE__ */ React43__namespace.createElement(ChevronDown, { className: "uii:size-4 uii:opacity-50" }))
|
|
10108
10196
|
);
|
|
10109
10197
|
}
|
|
10110
10198
|
function SelectContent2({
|
|
@@ -10159,7 +10247,7 @@ function SelectItem2({
|
|
|
10159
10247
|
),
|
|
10160
10248
|
...props
|
|
10161
10249
|
},
|
|
10162
|
-
/* @__PURE__ */ React43__namespace.createElement("span", { className: "uii:absolute uii:right-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React43__namespace.createElement(ItemIndicator3, null, /* @__PURE__ */ React43__namespace.createElement(
|
|
10250
|
+
/* @__PURE__ */ React43__namespace.createElement("span", { className: "uii:absolute uii:right-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React43__namespace.createElement(ItemIndicator3, null, /* @__PURE__ */ React43__namespace.createElement(Check, { className: "uii:size-4" }))),
|
|
10163
10251
|
/* @__PURE__ */ React43__namespace.createElement(ItemText, null, children)
|
|
10164
10252
|
);
|
|
10165
10253
|
}
|
|
@@ -10177,7 +10265,7 @@ function SelectScrollUpButton2({
|
|
|
10177
10265
|
),
|
|
10178
10266
|
...props
|
|
10179
10267
|
},
|
|
10180
|
-
/* @__PURE__ */ React43__namespace.createElement(
|
|
10268
|
+
/* @__PURE__ */ React43__namespace.createElement(ChevronUp, { className: "uii:size-4" })
|
|
10181
10269
|
);
|
|
10182
10270
|
}
|
|
10183
10271
|
function SelectScrollDownButton2({
|
|
@@ -10194,7 +10282,7 @@ function SelectScrollDownButton2({
|
|
|
10194
10282
|
),
|
|
10195
10283
|
...props
|
|
10196
10284
|
},
|
|
10197
|
-
/* @__PURE__ */ React43__namespace.createElement(
|
|
10285
|
+
/* @__PURE__ */ React43__namespace.createElement(ChevronDown, { className: "uii:size-4" })
|
|
10198
10286
|
);
|
|
10199
10287
|
}
|
|
10200
10288
|
|
|
@@ -10815,6 +10903,25 @@ function useFieldValidation() {
|
|
|
10815
10903
|
validateField
|
|
10816
10904
|
};
|
|
10817
10905
|
}
|
|
10906
|
+
/*! Bundled license information:
|
|
10907
|
+
|
|
10908
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
10909
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
10910
|
+
lucide-react/dist/esm/Icon.js:
|
|
10911
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
10912
|
+
lucide-react/dist/esm/icons/check.js:
|
|
10913
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
|
10914
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
|
10915
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
|
10916
|
+
lucide-react/dist/esm/icons/circle.js:
|
|
10917
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
10918
|
+
(**
|
|
10919
|
+
* @license lucide-react v0.476.0 - ISC
|
|
10920
|
+
*
|
|
10921
|
+
* This source code is licensed under the ISC license.
|
|
10922
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
10923
|
+
*)
|
|
10924
|
+
*/
|
|
10818
10925
|
|
|
10819
10926
|
exports.Button = Button;
|
|
10820
10927
|
exports.ConfirmationDropdownMenuItem = ConfirmationDropdownMenuItem;
|