@solace-health/ui 0.10.474 → 0.10.475

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.
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkQRO22BPZ_cjs=require('./chunk-QRO22BPZ.cjs'),i=require('@radix-ui/react-slider'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var i__namespace=/*#__PURE__*/_interopNamespace(i);function u({className:e,classNames:r={},defaultValue:o,value:l,min:n=0,max:d=100,...s}){return jsxRuntime.jsxs(i__namespace.Root,{"data-slot":"slider",defaultValue:o,value:l,min:n,max:d,className:chunkQRO22BPZ_cjs.a("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",e,r?.root),...s,children:[jsxRuntime.jsx(i__namespace.Track,{"data-slot":"slider-track",className:chunkQRO22BPZ_cjs.a("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5",r?.track),children:jsxRuntime.jsx(i__namespace.Range,{"data-slot":"slider-range",className:chunkQRO22BPZ_cjs.a("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full",r?.range)})}),jsxRuntime.jsx(i__namespace.Thumb,{"data-slot":"slider-thumb",className:chunkQRO22BPZ_cjs.a("border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",r?.thumb)})]})}exports.a=u;//# sourceMappingURL=chunk-BPOY5OBU.cjs.map
2
+ //# sourceMappingURL=chunk-BPOY5OBU.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/v2/slider/slider.tsx"],"names":["Slider","className","classNames","defaultValue","value","min","max","props","jsxs","i","cn","jsx"],"mappings":"qfAcA,SAASA,CAAAA,CAAO,CACd,SAAAC,CAAAA,CAAAA,CACA,WAAAC,CAAa,CAAA,GACb,YAAAC,CAAAA,CAAAA,CACA,MAAAC,CACA,CAAA,GAAA,CAAAC,EAAM,CACN,CAAA,GAAA,CAAAC,EAAM,GACN,CAAA,GAAGC,CACL,CAAU,CAAA,CACR,OACEC,eAAiB,CAAAC,YAAA,CAAA,IAAA,CAAhB,CACC,WAAU,CAAA,QAAA,CACV,aAAcN,CACd,CAAA,KAAA,CAAOC,EACP,GAAKC,CAAAA,CAAAA,CACL,IAAKC,CACL,CAAA,SAAA,CAAWI,oBACT,qOACAT,CAAAA,CAAAA,CACAC,GAAY,IACd,CAAA,CACC,GAAGK,CAEJ,CAAA,QAAA,CAAA,CAAAI,eAAiBF,YAAhB,CAAA,KAAA,CAAA,CACC,YAAU,cACV,CAAA,SAAA,CAAWC,oBACT,mMACAR,CAAAA,CAAAA,EAAY,KACd,CAEA,CAAA,QAAA,CAAAS,eAAiBF,YAAhB,CAAA,KAAA,CAAA,CACC,YAAU,cACV,CAAA,SAAA,CAAWC,oBACT,6FACAR,CAAAA,CAAAA,EAAY,KACd,CACF,CAAA,CAAA,CACF,EACAS,cAAiB,CAAAF,YAAA,CAAA,KAAA,CAAhB,CACC,WAAU,CAAA,cAAA,CACV,UAAWC,mBACT,CAAA,sOAAA,CACAR,GAAY,KACd,CAAA,CACF,GACF,CAEJ","file":"chunk-BPOY5OBU.cjs","sourcesContent":["import * as SliderPrimitive from '@radix-ui/react-slider';\nimport * as React from 'react';\n\nimport { cn } from '@/lib/utils';\n\ntype Props = React.ComponentProps<typeof SliderPrimitive.Root> & {\n classNames?: {\n root?: string;\n track?: string;\n range?: string;\n thumb?: string;\n };\n};\n\nfunction Slider({\n className,\n classNames = {},\n defaultValue,\n value,\n min = 0,\n max = 100,\n ...props\n}: Props) {\n return (\n <SliderPrimitive.Root\n data-slot=\"slider\"\n defaultValue={defaultValue}\n value={value}\n min={min}\n max={max}\n className={cn(\n 'relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col',\n className,\n classNames?.root,\n )}\n {...props}\n >\n <SliderPrimitive.Track\n data-slot=\"slider-track\"\n className={cn(\n 'bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5',\n classNames?.track,\n )}\n >\n <SliderPrimitive.Range\n data-slot=\"slider-range\"\n className={cn(\n 'bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full',\n classNames?.range,\n )}\n />\n </SliderPrimitive.Track>\n <SliderPrimitive.Thumb\n data-slot=\"slider-thumb\"\n className={cn(\n 'border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50',\n classNames?.thumb,\n )}\n />\n </SliderPrimitive.Root>\n );\n}\n\nexport { Slider };\n"]}
@@ -0,0 +1,2 @@
1
+ import {a}from'./chunk-YTIIAU4W.js';import*as i from'@radix-ui/react-slider';import {jsxs,jsx}from'react/jsx-runtime';function u({className:e,classNames:r={},defaultValue:o,value:l,min:n=0,max:d=100,...s}){return jsxs(i.Root,{"data-slot":"slider",defaultValue:o,value:l,min:n,max:d,className:a("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",e,r?.root),...s,children:[jsx(i.Track,{"data-slot":"slider-track",className:a("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5",r?.track),children:jsx(i.Range,{"data-slot":"slider-range",className:a("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full",r?.range)})}),jsx(i.Thumb,{"data-slot":"slider-thumb",className:a("border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",r?.thumb)})]})}export{u as a};//# sourceMappingURL=chunk-D5QTLLCU.js.map
2
+ //# sourceMappingURL=chunk-D5QTLLCU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/v2/slider/slider.tsx"],"names":["Slider","className","classNames","defaultValue","value","min","max","props","jsxs","cn","jsx"],"mappings":"sHAcA,SAASA,CAAAA,CAAO,CACd,SAAAC,CAAAA,CAAAA,CACA,WAAAC,CAAa,CAAA,GACb,YAAAC,CAAAA,CAAAA,CACA,MAAAC,CACA,CAAA,GAAA,CAAAC,EAAM,CACN,CAAA,GAAA,CAAAC,EAAM,GACN,CAAA,GAAGC,CACL,CAAU,CAAA,CACR,OACEC,IAAiB,CAAA,CAAA,CAAA,IAAA,CAAhB,CACC,WAAU,CAAA,QAAA,CACV,aAAcL,CACd,CAAA,KAAA,CAAOC,EACP,GAAKC,CAAAA,CAAAA,CACL,IAAKC,CACL,CAAA,SAAA,CAAWG,EACT,qOACAR,CAAAA,CAAAA,CACAC,GAAY,IACd,CAAA,CACC,GAAGK,CAEJ,CAAA,QAAA,CAAA,CAAAG,IAAiB,CAAhB,CAAA,KAAA,CAAA,CACC,YAAU,cACV,CAAA,SAAA,CAAWD,EACT,mMACAP,CAAAA,CAAAA,EAAY,KACd,CAEA,CAAA,QAAA,CAAAQ,IAAiB,CAAhB,CAAA,KAAA,CAAA,CACC,YAAU,cACV,CAAA,SAAA,CAAWD,EACT,6FACAP,CAAAA,CAAAA,EAAY,KACd,CACF,CAAA,CAAA,CACF,EACAQ,GAAiB,CAAA,CAAA,CAAA,KAAA,CAAhB,CACC,WAAU,CAAA,cAAA,CACV,UAAWD,CACT,CAAA,sOAAA,CACAP,GAAY,KACd,CAAA,CACF,GACF,CAEJ","file":"chunk-D5QTLLCU.js","sourcesContent":["import * as SliderPrimitive from '@radix-ui/react-slider';\nimport * as React from 'react';\n\nimport { cn } from '@/lib/utils';\n\ntype Props = React.ComponentProps<typeof SliderPrimitive.Root> & {\n classNames?: {\n root?: string;\n track?: string;\n range?: string;\n thumb?: string;\n };\n};\n\nfunction Slider({\n className,\n classNames = {},\n defaultValue,\n value,\n min = 0,\n max = 100,\n ...props\n}: Props) {\n return (\n <SliderPrimitive.Root\n data-slot=\"slider\"\n defaultValue={defaultValue}\n value={value}\n min={min}\n max={max}\n className={cn(\n 'relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col',\n className,\n classNames?.root,\n )}\n {...props}\n >\n <SliderPrimitive.Track\n data-slot=\"slider-track\"\n className={cn(\n 'bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5',\n classNames?.track,\n )}\n >\n <SliderPrimitive.Range\n data-slot=\"slider-range\"\n className={cn(\n 'bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full',\n classNames?.range,\n )}\n />\n </SliderPrimitive.Track>\n <SliderPrimitive.Thumb\n data-slot=\"slider-thumb\"\n className={cn(\n 'border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50',\n classNames?.thumb,\n )}\n />\n </SliderPrimitive.Root>\n );\n}\n\nexport { Slider };\n"]}