@process.co/ui 0.0.18 → 0.0.19

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/css/ui.css CHANGED
@@ -193,6 +193,9 @@
193
193
  .uii\:left-2 {
194
194
  left: calc(var(--uii-spacing) * 2);
195
195
  }
196
+ .uii\:z-20 {
197
+ z-index: 20;
198
+ }
196
199
  .uii\:z-50 {
197
200
  z-index: 50;
198
201
  }
@@ -1121,6 +1124,9 @@
1121
1124
  .uii\:min-h-\[56px\] {
1122
1125
  min-height: 56px;
1123
1126
  }
1127
+ .uii\:w-8 {
1128
+ width: calc(var(--uii-spacing) * 8);
1129
+ }
1124
1130
  .uii\:w-\[28px\] {
1125
1131
  width: 28px;
1126
1132
  }
@@ -1169,6 +1175,9 @@
1169
1175
  .uii\:scroll-my-1 {
1170
1176
  scroll-margin-block: calc(var(--uii-spacing) * 1);
1171
1177
  }
1178
+ .uii\:flex-row {
1179
+ flex-direction: row;
1180
+ }
1172
1181
  .uii\:flex-wrap {
1173
1182
  flex-wrap: wrap;
1174
1183
  }
@@ -1181,6 +1190,9 @@
1181
1190
  .uii\:justify-center {
1182
1191
  justify-content: center;
1183
1192
  }
1193
+ .uii\:justify-start {
1194
+ justify-content: flex-start;
1195
+ }
1184
1196
  .uii\:gap-1\.5 {
1185
1197
  gap: calc(var(--uii-spacing) * 1.5);
1186
1198
  }
@@ -1245,6 +1257,10 @@
1245
1257
  border-left-style: var(--tw-border-style);
1246
1258
  border-left-width: 10px;
1247
1259
  }
1260
+ .uii\:border-dashed {
1261
+ --tw-border-style: dashed;
1262
+ border-style: dashed;
1263
+ }
1248
1264
  .uii\:border-none {
1249
1265
  --tw-border-style: none;
1250
1266
  border-style: none;
@@ -1258,6 +1274,9 @@
1258
1274
  .uii\:border-amber-500\/50 {
1259
1275
  border-color: color-mix(in oklab, oklch(76.9% 0.188 70.08) 50%, transparent);
1260
1276
  }
1277
+ .uii\:border-gray-300 {
1278
+ border-color: oklch(87.2% 0.01 258.338);
1279
+ }
1261
1280
  .uii\:border-input {
1262
1281
  border-color: var(--input);
1263
1282
  }
@@ -1336,6 +1355,9 @@
1336
1355
  .uii\:fill-current {
1337
1356
  fill: currentcolor;
1338
1357
  }
1358
+ .uii\:object-contain {
1359
+ object-fit: contain;
1360
+ }
1339
1361
  .uii\:p-1 {
1340
1362
  padding: calc(var(--uii-spacing) * 1);
1341
1363
  }
@@ -3117,17 +3117,10 @@ function Input({
3117
3117
  const isExpression = React33__namespace.useMemo(() => {
3118
3118
  return value != null && typeof value === "object" && "expression" in value;
3119
3119
  }, [value]);
3120
- const handleChange = React33__namespace.useCallback((e) => {
3121
- const newValue = e.target.value;
3122
- if (newValue.includes("{{")) {
3123
- onChange({
3124
- expression: newValue,
3125
- type: "expression"
3126
- });
3127
- } else {
3128
- onChange(newValue);
3129
- }
3130
- }, [onChange]);
3120
+ const handleChange = React33__namespace.useCallback(
3121
+ (e) => onChange(e.target.value),
3122
+ [onChange]
3123
+ );
3131
3124
  const showError = hasRequiredError || required && !displayValue;
3132
3125
  const isWaiting = resolvedExpectedType.startsWith("Waiting for:") || resolvedExpectedType.startsWith("Subscribing to:");
3133
3126
  return /* @__PURE__ */ React33__namespace.createElement("div", { className: cn("uii:mb-2", className) }, /* @__PURE__ */ React33__namespace.createElement("div", { className: "uii:flex uii:items-center uii:gap-2 uii:mt-2" }, /* @__PURE__ */ React33__namespace.createElement(
@@ -8452,14 +8445,14 @@ function Select3({
8452
8445
  }
8453
8446
  onChange(newValue);
8454
8447
  }, [onChange]);
8455
- const handleExpressionChange = React33__namespace.useCallback((e) => {
8456
- const newValue = e.target.value;
8457
- setExpressionValue(newValue);
8458
- onChange({
8459
- expression: newValue,
8460
- type: "expression"
8461
- });
8462
- }, [onChange]);
8448
+ const handleExpressionChange = React33__namespace.useCallback(
8449
+ (e) => {
8450
+ const newValue = e.target.value;
8451
+ setExpressionValue(newValue);
8452
+ onChange(newValue);
8453
+ },
8454
+ [onChange]
8455
+ );
8463
8456
  const handleSwitchToValue = React33__namespace.useCallback(() => {
8464
8457
  setIsExpressionMode(false);
8465
8458
  setExpressionValue("");