@codeandfunction/callaloo 2.18.0 → 2.18.1

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.
@@ -2,5 +2,5 @@ import { CLToastProps } from '../index';
2
2
  export declare const useToast: () => {
3
3
  visible: boolean | undefined;
4
4
  showToast: (input: Omit<CLToastProps, "onDismiss">) => void;
5
- hideToast: void | undefined;
5
+ hideToast: (() => void) | undefined;
6
6
  };
package/dist/index.js CHANGED
@@ -2612,7 +2612,7 @@ const Z1 = /* @__PURE__ */ ns(is, [["render", ds]]), yt = ({ escHandler: e, trig
2612
2612
  }), h = a.value ? "black" : "white", v = a.value ? "black" : c?.textDisabled, p = a.value ? f?.border : c?.bg, k = f?.disabled, u = a.value ? "black" : c?.textDisabled, w = f?.focus, B = f?.focus, L = f?.text, z = f?.focus;
2613
2613
  let V, M, J, j;
2614
2614
  r.value && (V = R`&:not([class*='clll-${o}--rounded-']){.clll-${o}.clll-${o}--rounded,.clll-${o}__input-container,&.clll-${o}.clll-${o}--rounded .clll-${o}__input{border-radius:var(--clll-${r.value})}}&.clll-${o}--hascustomprefix,&.clll-${o}--hascustomsuffix,&.clll-input--hasiconprefix,&.clll-input--hasiconsuffix,&.clll-${o}--hascharcounter{&.clll-${o}.clll-${o}--rounded{.clll-${o}__input-container{overflow:hidden;.clll-${o}__input-border-control{.clll-${o}__input{border-radius:0}}}}}`), t && (M = R`&.clll-${o}--disabled{cursor:default;.clll-${o}__input-container{border-color:${k};.clll-${o}__input{&:disabled{border-color:${k};background-color:${u};color:${z};&::placeholder{color:${z};}}}}}`), l && (J = R`&.clll-${o}--readonly{cursor:not-allowed;.clll-${o}__input-container{border-color:${k};pointer-events:none;.clll-${o}__input{&:read-only{border-color:${k};background-color:${u};color:${z};&::placeholder{color:${z};}}}}}`), n === T.Ghost && (j = R`&.clll-${o}{&.clll-${o}--ghost{.clll-${o}__input-container,.clll-${o}__input{background-color:#fff0;border:0;&:focus,&:focus-within{outline:none;}}}}&.clll-${o}--grouped{background-color:#fff0;border:0}`);
2615
- const be = R`&.clll-${o}--haslabel{.clll-${o}__label{.clll-text{&.clll-${o}__label--required::after{${or()}}}}}.clll-${o}__input-container{background-color:${h};border-color:${p};.clll-${o}__input{${Nt({ backgroundColor: h, borderColor: p, placeholderColor: z })}${Je({ borderColor: w, shadowColor: B, outlineWidth: "2px", shadowWidth: "--clll-unit-0" })}color:${L}}}&.clll-input--hascustomprefix,&.clll-input--hascustomsuffix,&.clll-input--hasiconprefix,&.clll-input--hasiconsuffix,&.clll-input--grouped,&.clll-input--hascharcounter{.clll-${o}__input-container{border-color:${p};border-style:solid;border-width:1px;&:focus-within{outline-color:${w};outline-style:solid;outline-width:2px}.clll-input__input{border:0;outline:none;&:focus{outline:none;box-shadow:none}}}&:not(.clll-input--ghost){.clll-${o}__input-container{&:focus-within{outline-offset:-1px}}}}.clll-${o}__input-prefix,.clll-${o}__input-suffix,.clll-icon{color:${z}}&.clll-input--grouped{.clll-${o}__input-prefix,.clll-${o}__input-suffix,.clll-${o}__char-counter{background-color:${v};color:${z};.clll-icon{color:${z}}}}&.clll-input--file{.clll-input__input-container{.clll-input__input{&::file-selector-button{background-color:${v}}}}}&.clll-input--color{.clll-input__input-container{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--danger{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--warning{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--success{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--disabled{background-color:${h}}&.clll-input--readonly{background-color:${h}}}&.clll-${o}--hascharcounter{.clll-${o}__char-counter{color:${z}}}}`;
2615
+ const be = R`&.clll-${o}--haslabel{.clll-${o}__label{.clll-text{&.clll-${o}__label--required::after{${or()}}}}}.clll-${o}__input-container{background-color:${h};border-color:${p};.clll-${o}__input{${Nt({ backgroundColor: h, borderColor: p, placeholderColor: z })}${Je({ borderColor: w, shadowColor: B, outlineWidth: "2px", shadowWidth: "--clll-unit-0" })}color:${L}}}&.clll-input--hascustomprefix,&.clll-input--hascustomsuffix,&.clll-input--hasiconprefix,&.clll-input--hasiconsuffix,&.clll-input--grouped,&.clll-input--hascharcounter{.clll-${o}__input-container{border-color:${p};border-style:solid;border-width:1px;&:focus-within{outline-color:${w};outline-style:solid;outline-width:2px}.clll-input__input{border:0;outline:none;&:focus{outline:none;box-shadow:none}}}&:not(.clll-input--ghost){.clll-${o}__input-container{&:focus-within{outline-offset:-1px}}}}.clll-${o}__input-prefix,.clll-${o}__input-suffix,.clll-icon{color:${z}}&.clll-input--grouped{.clll-${o}__input-prefix,.clll-${o}__input-suffix,.clll-${o}__char-counter{background-color:${v};color:${z};.clll-icon{color:${z}}}}&.clll-input--file{.clll-input__input-container{.clll-input__input{&::file-selector-button{background-color:${v}}}}}&.clll-input--color{.clll-input__input-container{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--danger{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--warning{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--success{.clll-input__input-border-control{border-color:${p};border-style:solid;border-width:2px}}&.clll-input--disabled{background-color:${h}}&.clll-input--readonly{background-color:${h}}}&.clll-${o}--hascharcounter{.clll-${o}__char-counter{color:${z}}}`;
2616
2616
  return he(be, V, M, J, j);
2617
2617
  }, hs = ({ color: e }) => {
2618
2618
  const { colors: o, darkMode: t } = se(), l = t.value ? _.Dark : _.Light, n = re({
@@ -5577,7 +5577,7 @@ const w1 = ({
5577
5577
  return {
5578
5578
  visible: e?.visible?.value,
5579
5579
  showToast: o,
5580
- hideToast: e?.hideToast?.()
5580
+ hideToast: e?.hideToast
5581
5581
  };
5582
5582
  };
5583
5583
  (async () => {
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "ui components",
18
18
  "vuejs"
19
19
  ],
20
- "version": "2.18.0",
20
+ "version": "2.18.1",
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "scripts": {