@ieee-ui/ui 0.0.18 → 0.0.19
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.
- package/dist/ieee-ui.cjs.js +1 -1
- package/dist/ieee-ui.es.js +1 -1
- package/package.json +1 -1
package/dist/ieee-ui.cjs.js
CHANGED
|
@@ -24,7 +24,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
24
24
|
${y[n]}
|
|
25
25
|
${v[a]}
|
|
26
26
|
${d}
|
|
27
|
-
`,...k,children:i?r.jsxs("svg",{className:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[r.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),r.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}):r.jsxs(r.Fragment,{children:[t&&r.jsx("span",{className:"flex-shrink-0",children:t}),e&&r.jsx("span",{children:e}),!e&&w]})})},V={ENABLE_DARK_MODE:!
|
|
27
|
+
`,...k,children:i?r.jsxs("svg",{className:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[r.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),r.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}):r.jsxs(r.Fragment,{children:[t&&r.jsx("span",{className:"flex-shrink-0",children:t}),e&&r.jsx("span",{children:e}),!e&&w]})})},V={ENABLE_DARK_MODE:!1},Re=f.forwardRef(({label:e,className:t="",darkMode:o,...n},s)=>{const i=o??V.ENABLE_DARK_MODE;return r.jsxs("label",{className:"inline-flex items-center gap-2.5 cursor-pointer group select-none",children:[r.jsx("input",{type:"checkbox",className:"peer sr-only",ref:s,...n}),r.jsx("div",{className:`
|
|
28
28
|
w-5 h-5 border-2 rounded
|
|
29
29
|
peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2
|
|
30
30
|
peer-disabled:opacity-50 peer-disabled:cursor-not-allowed
|
package/dist/ieee-ui.es.js
CHANGED