@bothub-chat/ui 2.49.1-feat-replish-history-916e6908-1eeb-4781-a147-006a5ef32f25 → 2.49.1-feat-replish-history-3fc70542-c9de-42eb-be71-6cecaa2a042e

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.
@@ -6,7 +6,7 @@ export type SingleDatepickerProps = {
6
6
  value?: Date | null;
7
7
  onChange(value: Date | null): void;
8
8
  locale?: Locale;
9
- children: (setRef: UseFloatingReturn['refs']['setReference'], setOpen: Dispatch<SetStateAction<boolean>>) => ReactNode;
9
+ children: (setRef: UseFloatingReturn['refs']['setReference'], setOpen: Dispatch<SetStateAction<boolean>>, open?: boolean) => ReactNode;
10
10
  defaultOpen?: boolean;
11
11
  buttonSaveText?: string;
12
12
  buttonCloseText?: string;
@@ -1 +1 @@
1
- import{__rest as e}from"tslib";import{jsxs as t,Fragment as r,jsx as o}from"react/jsx-runtime";import{useState as i}from"react";import{useFloating as n,autoUpdate as m,offset as s,flip as c,shift as d}from"@floating-ui/react";import{createPortal as l}from"react-dom";import{DatepickerCalendar as a}from"./calendar/index.js";import"../../../theme/index.js";import{useTheme as f}from"../../../theme/hook.js";const p=p=>{var{children:h,defaultOpen:g=!1}=p,j=e(p,["children","defaultOpen"]);const[u,x]=i(g),{refs:b,floatingStyles:O}=n({whileElementsMounted:m,middleware:[s(10),c(),d()]}),v=f();return t(r,{children:[b&&o("div",{onClick:e=>e.stopPropagation(),children:h(b.setReference,x)}),u&&l(o("div",{ref:b.setFloating,style:Object.assign(Object.assign({},O),{zIndex:v.zIndex.select}),children:o(a,Object.assign({},j,{closeFn:()=>{x(!1)}}))}),document.body)]})};export{p as Datepicker};
1
+ import{__rest as e}from"tslib";import{jsxs as t,Fragment as r,jsx as o}from"react/jsx-runtime";import{useState as i}from"react";import{useFloating as n,autoUpdate as m,offset as s,flip as c,shift as d}from"@floating-ui/react";import{createPortal as l}from"react-dom";import{DatepickerCalendar as a}from"./calendar/index.js";import"../../../theme/index.js";import{useTheme as f}from"../../../theme/hook.js";const p=p=>{var{children:h,defaultOpen:g=!1}=p,j=e(p,["children","defaultOpen"]);const[u,x]=i(g),{refs:b,floatingStyles:O}=n({whileElementsMounted:m,middleware:[s(10),c(),d()]}),v=f();return t(r,{children:[b&&o("div",{onClick:e=>e.stopPropagation(),children:h(b.setReference,x,u)}),u&&l(o("div",{ref:b.setFloating,style:Object.assign(Object.assign({},O),{zIndex:v.zIndex.select}),children:o(a,Object.assign({},j,{closeFn:()=>{x(!1)}}))}),document.body)]})};export{p as Datepicker};
@@ -1 +1 @@
1
- import{__rest as C}from"tslib";import{jsx as o,Fragment as n}from"react/jsx-runtime";import{Icon as e}from"../../components/icon/index.js";import{icon as r}from"../../components/icon/component.js";import{IconConsumer as t}from"../../components/icon/context.js";const i=r(r=>{var i=C(r,[]);return o(e,Object.assign({size:24,viewBox:"0 0 24 24",fill:"none"},i,{children:o(t,{children:({stroke:C="white"}={stroke:"white"})=>o(n,{children:o("path",{d:"M2.25 15.75H15.75M2.25 13.5H15.75M4.3675 2.25028C4.67872 2.52512 4.875 2.92714 4.875 3.375C4.875 4.20343 4.20343 4.875 3.375 4.875C2.92714 4.875 2.52512 4.67872 2.25028 4.3675M4.3675 2.25028C4.45608 2.25 4.55007 2.25 4.65 2.25H13.35C13.4499 2.25 13.5439 2.25 13.6325 2.25028M4.3675 2.25028C3.71139 2.25231 3.35171 2.26945 3.06901 2.41349C2.78677 2.5573 2.5573 2.78677 2.41349 3.06902C2.26945 3.35171 2.25231 3.71139 2.25028 4.3675M2.25028 4.3675C2.25 4.45608 2.25 4.55007 2.25 4.65V8.85C2.25 8.9499 2.25 9.04395 2.25028 9.13252M13.6325 2.25028C13.3213 2.52512 13.125 2.92714 13.125 3.375C13.125 4.20343 13.7965 4.875 14.625 4.875C15.0728 4.875 15.4749 4.67872 15.7497 4.3675M13.6325 2.25028C14.2886 2.25231 14.6483 2.26945 14.931 2.41349C15.2132 2.5573 15.4427 2.78677 15.5865 3.06902C15.7306 3.35171 15.7477 3.71139 15.7497 4.3675M2.25028 9.13252C2.52512 8.82127 2.92714 8.625 3.375 8.625C4.20343 8.625 4.875 9.29655 4.875 10.125C4.875 10.5728 4.67872 10.9749 4.3675 11.2497M2.25028 9.13252C2.25231 9.78862 2.26945 10.1482 2.41349 10.431C2.5573 10.7132 2.78677 10.9427 3.06901 11.0865C3.35171 11.2306 3.71139 11.2477 4.3675 11.2497M4.3675 11.2497C4.45608 11.25 4.55007 11.25 4.65 11.25H13.35C13.4499 11.25 13.5439 11.25 13.6325 11.2497M13.6325 11.2497C13.3213 10.9749 13.125 10.5728 13.125 10.125C13.125 9.29655 13.7965 8.625 14.625 8.625C15.073 8.625 15.4751 8.82143 15.75 9.13283M13.6325 11.2497C14.2886 11.2477 14.6483 11.2306 14.931 11.0865C15.2132 10.9427 15.4427 10.7132 15.5865 10.431C15.7305 10.1483 15.748 9.7887 15.75 9.13283M15.75 9.13283C15.7503 9.04418 15.75 8.95005 15.75 8.85V4.65C15.75 4.55007 15.75 4.45608 15.7497 4.3675M10.5 6.75C10.5 7.57845 9.82845 8.25 9 8.25C8.17155 8.25 7.5 7.57845 7.5 6.75C7.5 5.92157 8.17155 5.25 9 5.25C9.82845 5.25 10.5 5.92157 10.5 6.75Z",stroke:C,strokeLinecap:"round",strokeLinejoin:"round"})})})}))});export{i as MoneyStackIcon};
1
+ import{__rest as C}from"tslib";import{jsx as o,jsxs as r,Fragment as n}from"react/jsx-runtime";import{Icon as t}from"../../components/icon/index.js";import{icon as e}from"../../components/icon/component.js";import{IconConsumer as i}from"../../components/icon/context.js";const s=e(e=>{var s=C(e,[]);return o(t,Object.assign({size:24,viewBox:"0 0 24 24",fill:"none"},s,{children:o(i,{children:({stroke:C="#4785FF"}={stroke:"#4785FF"})=>r(n,{children:[o("rect",{width:"24",height:"24",rx:"4",fill:"#222B44"}),o("path",{d:"M5.25 18.75H18.75M5.25 16.5H18.75M7.3675 5.25028C7.67872 5.52512 7.875 5.92714 7.875 6.375C7.875 7.20343 7.20343 7.875 6.375 7.875C5.92714 7.875 5.52512 7.67872 5.25028 7.3675M7.3675 5.25028C7.45608 5.25 7.55007 5.25 7.65 5.25H16.35C16.4499 5.25 16.5439 5.25 16.6325 5.25028M7.3675 5.25028C6.71139 5.25231 6.35171 5.26945 6.06901 5.41349C5.78677 5.5573 5.5573 5.78677 5.41349 6.06902C5.26945 6.35171 5.25231 6.71139 5.25028 7.3675M5.25028 7.3675C5.25 7.45608 5.25 7.55007 5.25 7.65V11.85C5.25 11.9499 5.25 12.0439 5.25028 12.1325M16.6325 5.25028C16.3213 5.52512 16.125 5.92714 16.125 6.375C16.125 7.20343 16.7965 7.875 17.625 7.875C18.0728 7.875 18.4749 7.67872 18.7497 7.3675M16.6325 5.25028C17.2886 5.25231 17.6483 5.26945 17.931 5.41349C18.2132 5.5573 18.4427 5.78677 18.5865 6.06902C18.7306 6.35171 18.7477 6.71139 18.7497 7.3675M5.25028 12.1325C5.52512 11.8213 5.92714 11.625 6.375 11.625C7.20343 11.625 7.875 12.2966 7.875 13.125C7.875 13.5728 7.67872 13.9749 7.3675 14.2497M5.25028 12.1325C5.25231 12.7886 5.26945 13.1482 5.41349 13.431C5.5573 13.7132 5.78677 13.9427 6.06901 14.0865C6.35171 14.2306 6.71139 14.2477 7.3675 14.2497M7.3675 14.2497C7.45608 14.25 7.55007 14.25 7.65 14.25H16.35C16.4499 14.25 16.5439 14.25 16.6325 14.2497M16.6325 14.2497C16.3213 13.9749 16.125 13.5728 16.125 13.125C16.125 12.2966 16.7965 11.625 17.625 11.625C18.073 11.625 18.4751 11.8214 18.75 12.1328M16.6325 14.2497C17.2886 14.2477 17.6483 14.2306 17.931 14.0865C18.2132 13.9427 18.4427 13.7132 18.5865 13.431C18.7305 13.1483 18.748 12.7887 18.75 12.1328M18.75 12.1328C18.7503 12.0442 18.75 11.9501 18.75 11.85V7.65C18.75 7.55007 18.75 7.45608 18.7497 7.3675M13.5 9.75C13.5 10.5784 12.8284 11.25 12 11.25C11.1715 11.25 10.5 10.5784 10.5 9.75C10.5 8.92157 11.1715 8.25 12 8.25C12.8284 8.25 13.5 8.92157 13.5 9.75Z",stroke:C,strokeLinecap:"round",strokeLinejoin:"round"})]})})}))});export{s as MoneyStackIcon};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bothub-chat/ui",
3
- "version": "2.49.1-feat-replish-history-916e6908-1eeb-4781-a147-006a5ef32f25",
3
+ "version": "2.49.1-feat-replish-history-3fc70542-c9de-42eb-be71-6cecaa2a042e",
4
4
  "description": "Bothub UI Components",
5
5
  "keywords": [
6
6
  "bot",