@codeandfunction/callaloo 3.2.3 → 3.2.4
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.
|
@@ -22,6 +22,8 @@ interface Props {
|
|
|
22
22
|
messages?: string[];
|
|
23
23
|
/** The message type. The property can be one of `CLColors`, e.g. `CLColors.Danger`. */
|
|
24
24
|
messageType?: CLColors;
|
|
25
|
+
/** The default text shown when there is no value. Useful for providing a hint of what is expected. */
|
|
26
|
+
placeholder?: string;
|
|
25
27
|
/** A string representing name of the select. The name is submitted along with the select value when the form it belongs to is submitted. */
|
|
26
28
|
name: string;
|
|
27
29
|
/** Sets the label position to be above or to the left of the form element. The property can be one of `CLOrientation` */
|
package/dist/index.js
CHANGED
|
@@ -3239,7 +3239,7 @@ const p0 = /* @__PURE__ */ bs(fs, [["render", ms]]), yt = ({ escHandler: e, trig
|
|
|
3239
3239
|
_: 1
|
|
3240
3240
|
}));
|
|
3241
3241
|
}
|
|
3242
|
-
}), zs = ["data-testid"], Ts = ["for"], Hs = ["id", "aria-label", "disabled", "name", "form", "required"], _s = ["value", "selected"], te = "clll-select", g0 = /* @__PURE__ */ W({
|
|
3242
|
+
}), zs = ["data-testid"], Ts = ["for"], Hs = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], _s = ["value", "selected"], te = "clll-select", g0 = /* @__PURE__ */ W({
|
|
3243
3243
|
name: "CLSelect",
|
|
3244
3244
|
__name: "CLSelect",
|
|
3245
3245
|
props: /* @__PURE__ */ lo({
|
|
@@ -3254,6 +3254,7 @@ const p0 = /* @__PURE__ */ bs(fs, [["render", ms]]), yt = ({ escHandler: e, trig
|
|
|
3254
3254
|
label: {},
|
|
3255
3255
|
messages: {},
|
|
3256
3256
|
messageType: {},
|
|
3257
|
+
placeholder: {},
|
|
3257
3258
|
name: {},
|
|
3258
3259
|
orientation: { default: qe.Vertical },
|
|
3259
3260
|
options: {},
|
|
@@ -3333,6 +3334,7 @@ const p0 = /* @__PURE__ */ bs(fs, [["render", ms]]), yt = ({ escHandler: e, trig
|
|
|
3333
3334
|
class: f(`${te}__select`),
|
|
3334
3335
|
disabled: i.disabled || i.busy,
|
|
3335
3336
|
name: i.name,
|
|
3337
|
+
placeholder: i.placeholder,
|
|
3336
3338
|
form: i.form,
|
|
3337
3339
|
required: i.required,
|
|
3338
3340
|
"onUpdate:modelValue": n[0] || (n[0] = (u) => t.value = u),
|