@seeqdev/qomponents 0.0.243-beta.bb9ca1d093.20260810 → 0.0.243-beta.d276ed14f7.20260813

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.
Files changed (32) hide show
  1. package/dist/index.esm.js +1 -1
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/Accordion/Accordion.d.ts +2 -2
  6. package/dist/src/Alert/Alert.d.ts +2 -2
  7. package/dist/src/Badge/Badge.d.ts +2 -2
  8. package/dist/src/Button/Button.d.ts +2 -2
  9. package/dist/src/ButtonGroup/ButtonGroup.d.ts +2 -2
  10. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.d.ts +3 -3
  11. package/dist/src/ButtonWithPopover/ButtonWithPopover.d.ts +2 -2
  12. package/dist/src/Carousel/Carousel.d.ts +2 -2
  13. package/dist/src/Checkbox/Checkbox.d.ts +2 -2
  14. package/dist/src/Collapse/Collapse.d.ts +2 -2
  15. package/dist/src/ColorPickerControl/ColorPickerControl.d.ts +2 -2
  16. package/dist/src/EditorPanel/EditorPanel.d.ts +2 -2
  17. package/dist/src/ExternalLink/ExternalLink.d.ts +2 -2
  18. package/dist/src/Icon/Icon.d.ts +2 -2
  19. package/dist/src/LoadingIndicator/LoadingIndicator.d.ts +2 -2
  20. package/dist/src/Modal/Modal.d.ts +2 -2
  21. package/dist/src/Paginator/Paginator.d.ts +2 -2
  22. package/dist/src/ProgressBar/ProgressBar.d.ts +2 -2
  23. package/dist/src/SeeqActionDropdown/variants.d.ts +4 -4
  24. package/dist/src/SegmentedControl/SegmentedControl.d.ts +2 -2
  25. package/dist/src/Select/Select.d.ts +2 -2
  26. package/dist/src/Slider/Slider.d.ts +2 -2
  27. package/dist/src/SvgIcon/SvgIcon.d.ts +2 -2
  28. package/dist/src/Tabs/Tabs.d.ts +2 -2
  29. package/dist/src/Tooltip/Qtip.d.ts +2 -2
  30. package/dist/src/Tooltip/Tooltip.d.ts +2 -2
  31. package/dist/src/TriggerWithDropdown/TriggerWithDropdown.d.ts +2 -2
  32. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -102,7 +102,7 @@ import*as e from"react";import t,{Children as n,Component as r,Fragment as i,clo
102
102
  tw:dark:border-gray-500
103
103
  tw:dark:bg-sq-dark-background
104
104
  tw:dark:text-sq-text-color-dark
105
- `,"data-testid":s,side:r,sideOffset:2,children:n})]})]}):x(`div`,{className:G(`tw:flex tw:items-center tw:gap-2`,a),children:[b(`span`,{className:`tw:cursor-pointer tw:text-sm tw:whitespace-nowrap tw:text-sq-text-color tw:dark:text-sq-text-color-dark`,children:t}),d]})}var Pb=Nb;const Fb={normal:`tw:gap-2`,spacious:`tw:gap-3`},Ib=({title:e,children:t,onApply:n,onCancel:r,isApplyDisabled:i=!1,applyLabel:a=`Apply`,cancelLabel:o=`Cancel`,spacing:s=`normal`,extraClassNames:c=``,id:l,testId:u})=>x(`div`,{className:`tw:mt-3 tw:mb-1 tw:flex tw:w-full tw:max-w-md tw:flex-col tw:items-start tw:rounded-3xl tw:border tw:border-sq-tool-btn-border tw:dark:border-gray-500 tw:bg-sq-surface tw:dark:bg-sq-tools-background-dark tw:px-4 tw:py-3 tw:shadow-sm ${Fb[s]} ${c}`,"data-testid":u,id:l,children:[b(`span`,{className:`tw:text-xs tw:font-bold tw:uppercase tw:tracking-wide tw:text-sq-theme-dark`,children:e}),t,x(`div`,{className:`tw:flex tw:w-full tw:max-w-full tw:flex-wrap tw:items-center tw:justify-end tw:gap-2`,children:[r&&b(Ht,{label:o,onClick:r,size:`sm`,variant:`outline`}),n&&b(Ht,{disabled:i,label:a,onClick:n,size:`sm`,variant:`theme`})]})]});var Lb=Ib;const Rb={link:`tw:inline-flex tw:text-sq-theme-link tw:underline tw:underline-offset-2 tw:transition-colors hover:tw:text-sq-theme-dark focus-visible:tw:outline-none focus-visible:tw:ring-2 focus-visible:tw:ring-sq-theme-link focus-visible:tw:ring-offset-2`,icon:``},zb=({variant:e=`link`,label:t,href:n,children:r,extraClassNames:i=``,testId:a})=>x(y,{children:[t&&b(`span`,{className:`tw:text-sq-text-color tw:dark:text-sq-text-color-dark tw:shrink-0`,children:t}),b(`a`,{href:n,target:`_blank`,rel:`noopener`,className:W(Rb[e],i),"data-testid":a,children:r})]});var Bb=zb;function Vb(e,t){if(typeof e==`function`)return e(t);typeof e==`object`&&e&&`current`in e&&(e.current=t)}function Hb(...e){let t=new Map;return n=>{if(e.forEach(e=>{let r=Vb(e,n);r&&t.set(e,r)}),t.size>0)return()=>{e.forEach(e=>{let n=t.get(e);n&&typeof n==`function`?n():Vb(e,null)}),t.clear()}}}function Ub(...e){return u(Hb(...e),e)}const Wb=`
105
+ `,"data-testid":s,side:r,sideOffset:2,children:n})]})]}):x(`div`,{className:G(`tw:flex tw:items-center tw:gap-2`,a),children:[b(`span`,{className:`tw:cursor-pointer tw:text-sm tw:whitespace-nowrap tw:text-sq-text-color tw:dark:text-sq-text-color-dark`,children:t}),d]})}var Pb=Nb;const Fb={normal:`tw:gap-2`,spacious:`tw:gap-3`},Ib=({title:e,children:t,onApply:n,onCancel:r,isApplyDisabled:i=!1,applyLabel:a=`Apply`,cancelLabel:o=`Cancel`,spacing:s=`normal`,extraClassNames:c=``,id:l,testId:u})=>x(`div`,{className:`tw:mt-3 tw:mb-1 tw:flex tw:w-full tw:max-w-md tw:flex-col tw:items-start tw:rounded-3xl tw:border tw:border-sq-tool-btn-border tw:dark:border-gray-500 tw:bg-sq-surface tw:dark:bg-sq-tools-background-dark tw:px-4 tw:py-3 tw:shadow-sm ${Fb[s]} ${c}`,"data-testid":u,id:l,children:[b(`span`,{className:`tw:text-xs tw:font-bold tw:uppercase tw:tracking-wide tw:text-sq-theme-dark`,children:e}),t,x(`div`,{className:`tw:flex tw:w-full tw:max-w-full tw:flex-wrap tw:items-center tw:justify-end tw:gap-2`,children:[r&&b(Ht,{label:o,onClick:r,size:`sm`,variant:`outline`}),n&&b(Ht,{disabled:i,label:a,onClick:n,size:`sm`,variant:`theme`})]})]});var Lb=Ib;const Rb={link:`tw:inline-flex tw:text-sq-theme-link tw:underline tw:underline-offset-2 tw:transition-colors`,icon:``},zb=({variant:e=`link`,label:t,href:n,children:r,extraClassNames:i=``,testId:a})=>x(y,{children:[t&&b(`span`,{className:`tw:text-sq-text-color tw:dark:text-sq-text-color-dark tw:shrink-0`,children:t}),b(`a`,{href:n,target:`_blank`,rel:`noopener`,className:W(Rb[e],i),"data-testid":a,children:r})]});var Bb=zb;function Vb(e,t){if(typeof e==`function`)return e(t);typeof e==`object`&&e&&`current`in e&&(e.current=t)}function Hb(...e){let t=new Map;return n=>{if(e.forEach(e=>{let r=Vb(e,n);r&&t.set(e,r)}),t.size>0)return()=>{e.forEach(e=>{let n=t.get(e);n&&typeof n==`function`?n():Vb(e,null)}),t.clear()}}}function Ub(...e){return u(Hb(...e),e)}const Wb=`
106
106
  tw:disabled:pointer-events-none
107
107
  tw:disabled:cursor-not-allowed
108
108
  tw:disabled:bg-sq-light-gray