@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
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
var React33 = require('react');
|
|
4
4
|
var ReactDOM4 = require('react-dom');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var lucideReact = require('lucide-react');
|
|
7
6
|
|
|
8
7
|
function _interopNamespace(e) {
|
|
9
8
|
if (e && e.__esModule) return e;
|
|
@@ -8160,6 +8159,85 @@ var ItemText = SelectItemText;
|
|
|
8160
8159
|
var ItemIndicator = SelectItemIndicator;
|
|
8161
8160
|
var ScrollUpButton = SelectScrollUpButton;
|
|
8162
8161
|
var ScrollDownButton = SelectScrollDownButton;
|
|
8162
|
+
|
|
8163
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
8164
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
8165
|
+
var mergeClasses = (...classes) => classes.filter((className, index2, array) => {
|
|
8166
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index2;
|
|
8167
|
+
}).join(" ").trim();
|
|
8168
|
+
|
|
8169
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
8170
|
+
var defaultAttributes = {
|
|
8171
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8172
|
+
width: 24,
|
|
8173
|
+
height: 24,
|
|
8174
|
+
viewBox: "0 0 24 24",
|
|
8175
|
+
fill: "none",
|
|
8176
|
+
stroke: "currentColor",
|
|
8177
|
+
strokeWidth: 2,
|
|
8178
|
+
strokeLinecap: "round",
|
|
8179
|
+
strokeLinejoin: "round"
|
|
8180
|
+
};
|
|
8181
|
+
|
|
8182
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/Icon.js
|
|
8183
|
+
var Icon2 = React33.forwardRef(
|
|
8184
|
+
({
|
|
8185
|
+
color = "currentColor",
|
|
8186
|
+
size: size4 = 24,
|
|
8187
|
+
strokeWidth = 2,
|
|
8188
|
+
absoluteStrokeWidth,
|
|
8189
|
+
className = "",
|
|
8190
|
+
children,
|
|
8191
|
+
iconNode,
|
|
8192
|
+
...rest
|
|
8193
|
+
}, ref) => {
|
|
8194
|
+
return React33.createElement(
|
|
8195
|
+
"svg",
|
|
8196
|
+
{
|
|
8197
|
+
ref,
|
|
8198
|
+
...defaultAttributes,
|
|
8199
|
+
width: size4,
|
|
8200
|
+
height: size4,
|
|
8201
|
+
stroke: color,
|
|
8202
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size4) : strokeWidth,
|
|
8203
|
+
className: mergeClasses("lucide", className),
|
|
8204
|
+
...rest
|
|
8205
|
+
},
|
|
8206
|
+
[
|
|
8207
|
+
...iconNode.map(([tag, attrs]) => React33.createElement(tag, attrs)),
|
|
8208
|
+
...Array.isArray(children) ? children : [children]
|
|
8209
|
+
]
|
|
8210
|
+
);
|
|
8211
|
+
}
|
|
8212
|
+
);
|
|
8213
|
+
|
|
8214
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
8215
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
8216
|
+
const Component = React33.forwardRef(
|
|
8217
|
+
({ className, ...props }, ref) => React33.createElement(Icon2, {
|
|
8218
|
+
ref,
|
|
8219
|
+
iconNode,
|
|
8220
|
+
className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
|
|
8221
|
+
...props
|
|
8222
|
+
})
|
|
8223
|
+
);
|
|
8224
|
+
Component.displayName = `${iconName}`;
|
|
8225
|
+
return Component;
|
|
8226
|
+
};
|
|
8227
|
+
|
|
8228
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/check.js
|
|
8229
|
+
var __iconNode = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
8230
|
+
var Check = createLucideIcon("Check", __iconNode);
|
|
8231
|
+
|
|
8232
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
8233
|
+
var __iconNode2 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
8234
|
+
var ChevronDown = createLucideIcon("ChevronDown", __iconNode2);
|
|
8235
|
+
|
|
8236
|
+
// ../../node_modules/.pnpm/lucide-react@0.476.0_react@19.2.2/node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
8237
|
+
var __iconNode3 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
8238
|
+
var ChevronUp = createLucideIcon("ChevronUp", __iconNode3);
|
|
8239
|
+
|
|
8240
|
+
// src/components/ui/select.tsx
|
|
8163
8241
|
function Select2({
|
|
8164
8242
|
...props
|
|
8165
8243
|
}) {
|
|
@@ -8186,7 +8264,7 @@ function SelectTrigger2({
|
|
|
8186
8264
|
...props
|
|
8187
8265
|
},
|
|
8188
8266
|
children,
|
|
8189
|
-
/* @__PURE__ */ React33__namespace.createElement(Icon, { asChild: true }, /* @__PURE__ */ React33__namespace.createElement(
|
|
8267
|
+
/* @__PURE__ */ React33__namespace.createElement(Icon, { asChild: true }, /* @__PURE__ */ React33__namespace.createElement(ChevronDown, { className: "uii:size-4 uii:opacity-50" }))
|
|
8190
8268
|
);
|
|
8191
8269
|
}
|
|
8192
8270
|
function SelectContent2({
|
|
@@ -8241,7 +8319,7 @@ function SelectItem2({
|
|
|
8241
8319
|
),
|
|
8242
8320
|
...props
|
|
8243
8321
|
},
|
|
8244
|
-
/* @__PURE__ */ React33__namespace.createElement("span", { className: "uii:absolute uii:right-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React33__namespace.createElement(ItemIndicator, null, /* @__PURE__ */ React33__namespace.createElement(
|
|
8322
|
+
/* @__PURE__ */ React33__namespace.createElement("span", { className: "uii:absolute uii:right-2 uii:flex uii:size-3.5 uii:items-center uii:justify-center" }, /* @__PURE__ */ React33__namespace.createElement(ItemIndicator, null, /* @__PURE__ */ React33__namespace.createElement(Check, { className: "uii:size-4" }))),
|
|
8245
8323
|
/* @__PURE__ */ React33__namespace.createElement(ItemText, null, children)
|
|
8246
8324
|
);
|
|
8247
8325
|
}
|
|
@@ -8259,7 +8337,7 @@ function SelectScrollUpButton2({
|
|
|
8259
8337
|
),
|
|
8260
8338
|
...props
|
|
8261
8339
|
},
|
|
8262
|
-
/* @__PURE__ */ React33__namespace.createElement(
|
|
8340
|
+
/* @__PURE__ */ React33__namespace.createElement(ChevronUp, { className: "uii:size-4" })
|
|
8263
8341
|
);
|
|
8264
8342
|
}
|
|
8265
8343
|
function SelectScrollDownButton2({
|
|
@@ -8276,7 +8354,7 @@ function SelectScrollDownButton2({
|
|
|
8276
8354
|
),
|
|
8277
8355
|
...props
|
|
8278
8356
|
},
|
|
8279
|
-
/* @__PURE__ */ React33__namespace.createElement(
|
|
8357
|
+
/* @__PURE__ */ React33__namespace.createElement(ChevronDown, { className: "uii:size-4" })
|
|
8280
8358
|
);
|
|
8281
8359
|
}
|
|
8282
8360
|
|
|
@@ -9146,6 +9224,23 @@ function useFieldValidation() {
|
|
|
9146
9224
|
validateField
|
|
9147
9225
|
};
|
|
9148
9226
|
}
|
|
9227
|
+
/*! Bundled license information:
|
|
9228
|
+
|
|
9229
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
9230
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
9231
|
+
lucide-react/dist/esm/Icon.js:
|
|
9232
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
9233
|
+
lucide-react/dist/esm/icons/check.js:
|
|
9234
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
|
9235
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
|
9236
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
9237
|
+
(**
|
|
9238
|
+
* @license lucide-react v0.476.0 - ISC
|
|
9239
|
+
*
|
|
9240
|
+
* This source code is licensed under the ISC license.
|
|
9241
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
9242
|
+
*)
|
|
9243
|
+
*/
|
|
9149
9244
|
|
|
9150
9245
|
exports.Button = Button;
|
|
9151
9246
|
exports.InferredTypesContext = InferredTypesContext;
|