optikos 0.0.0-stage → 0.2.0
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/CHANGELOG.md +146 -0
- package/LICENSE +21 -0
- package/README.md +213 -2
- package/THIRD_PARTY_NOTICES.md +83 -0
- package/dist/bind.js +2 -0
- package/dist/bind.js.map +7 -0
- package/dist/chunk-23XLG2EM.js +2 -0
- package/dist/chunk-23XLG2EM.js.map +7 -0
- package/dist/chunk-27UZFEXD.js +2 -0
- package/dist/chunk-27UZFEXD.js.map +7 -0
- package/dist/chunk-2UPUC4RK.js +2 -0
- package/dist/chunk-2UPUC4RK.js.map +7 -0
- package/dist/chunk-2ZRNGG2N.js +2 -0
- package/dist/chunk-2ZRNGG2N.js.map +7 -0
- package/dist/chunk-2ZUZ5HDL.js +2 -0
- package/dist/chunk-2ZUZ5HDL.js.map +7 -0
- package/dist/chunk-3DBEZGOY.js +2 -0
- package/dist/chunk-3DBEZGOY.js.map +7 -0
- package/dist/chunk-3S24ZRPK.js +2 -0
- package/dist/chunk-3S24ZRPK.js.map +7 -0
- package/dist/chunk-3TAW4AKH.js +2 -0
- package/dist/chunk-3TAW4AKH.js.map +7 -0
- package/dist/chunk-4AA4FQEM.js +2 -0
- package/dist/chunk-4AA4FQEM.js.map +7 -0
- package/dist/chunk-4C666HHU.js +2 -0
- package/dist/chunk-4C666HHU.js.map +7 -0
- package/dist/chunk-4EZJ5FKJ.js +2 -0
- package/dist/chunk-4EZJ5FKJ.js.map +7 -0
- package/dist/chunk-4LZZ244E.js +2 -0
- package/dist/chunk-4LZZ244E.js.map +7 -0
- package/dist/chunk-4SYIIX5A.js +2 -0
- package/dist/chunk-4SYIIX5A.js.map +7 -0
- package/dist/chunk-5BC72727.js +2 -0
- package/dist/chunk-5BC72727.js.map +7 -0
- package/dist/chunk-5DJTP53N.js +2 -0
- package/dist/chunk-5DJTP53N.js.map +7 -0
- package/dist/chunk-5JEXM5S7.js +2 -0
- package/dist/chunk-5JEXM5S7.js.map +7 -0
- package/dist/chunk-5Q76ACVI.js +2 -0
- package/dist/chunk-5Q76ACVI.js.map +7 -0
- package/dist/chunk-5QUY72FX.js +2 -0
- package/dist/chunk-5QUY72FX.js.map +7 -0
- package/dist/chunk-5YS7OD5E.js +2 -0
- package/dist/chunk-5YS7OD5E.js.map +7 -0
- package/dist/chunk-676AKAGF.js +2 -0
- package/dist/chunk-676AKAGF.js.map +7 -0
- package/dist/chunk-6NCXO5ZP.js +2 -0
- package/dist/chunk-6NCXO5ZP.js.map +7 -0
- package/dist/chunk-6VBK2I5B.js +2 -0
- package/dist/chunk-6VBK2I5B.js.map +7 -0
- package/dist/chunk-7KMIFXHZ.js +2 -0
- package/dist/chunk-7KMIFXHZ.js.map +7 -0
- package/dist/chunk-A2NKDOYN.js +2 -0
- package/dist/chunk-A2NKDOYN.js.map +7 -0
- package/dist/chunk-ATFJ7PNA.js +2 -0
- package/dist/chunk-ATFJ7PNA.js.map +7 -0
- package/dist/chunk-BXYWVRKJ.js +2 -0
- package/dist/chunk-BXYWVRKJ.js.map +7 -0
- package/dist/chunk-CKXS375P.js +2 -0
- package/dist/chunk-CKXS375P.js.map +7 -0
- package/dist/chunk-CUN5QO4T.js +2 -0
- package/dist/chunk-CUN5QO4T.js.map +7 -0
- package/dist/chunk-DBMWS3O5.js +2 -0
- package/dist/chunk-DBMWS3O5.js.map +7 -0
- package/dist/chunk-E4VNLYO2.js +2 -0
- package/dist/chunk-E4VNLYO2.js.map +7 -0
- package/dist/chunk-EDUMAMK4.js +2 -0
- package/dist/chunk-EDUMAMK4.js.map +7 -0
- package/dist/chunk-ELYARUCN.js +2 -0
- package/dist/chunk-ELYARUCN.js.map +7 -0
- package/dist/chunk-EV73ADN2.js +2 -0
- package/dist/chunk-EV73ADN2.js.map +7 -0
- package/dist/chunk-FEHGU6EP.js +3 -0
- package/dist/chunk-FEHGU6EP.js.map +7 -0
- package/dist/chunk-FHM5NUS4.js +3 -0
- package/dist/chunk-FHM5NUS4.js.map +7 -0
- package/dist/chunk-G2DAD3MQ.js +2 -0
- package/dist/chunk-G2DAD3MQ.js.map +7 -0
- package/dist/chunk-G2KUK6AT.js +2 -0
- package/dist/chunk-G2KUK6AT.js.map +7 -0
- package/dist/chunk-GBPLNXMP.js +2 -0
- package/dist/chunk-GBPLNXMP.js.map +7 -0
- package/dist/chunk-GNU4VOOE.js +2 -0
- package/dist/chunk-GNU4VOOE.js.map +7 -0
- package/dist/chunk-GZ7X34QP.js +2 -0
- package/dist/chunk-GZ7X34QP.js.map +7 -0
- package/dist/chunk-HOF4JGMQ.js +2 -0
- package/dist/chunk-HOF4JGMQ.js.map +7 -0
- package/dist/chunk-HXDTGP2K.js +2 -0
- package/dist/chunk-HXDTGP2K.js.map +7 -0
- package/dist/chunk-I4SP6JTU.js +2 -0
- package/dist/chunk-I4SP6JTU.js.map +7 -0
- package/dist/chunk-IHE2MQ3W.js +2 -0
- package/dist/chunk-IHE2MQ3W.js.map +7 -0
- package/dist/chunk-II6ITOA6.js +2 -0
- package/dist/chunk-II6ITOA6.js.map +7 -0
- package/dist/chunk-JBLRAM7Z.js +2 -0
- package/dist/chunk-JBLRAM7Z.js.map +7 -0
- package/dist/chunk-JI265XFO.js +2 -0
- package/dist/chunk-JI265XFO.js.map +7 -0
- package/dist/chunk-JK74QK3M.js +2 -0
- package/dist/chunk-JK74QK3M.js.map +7 -0
- package/dist/chunk-JOFQJGZK.js +2 -0
- package/dist/chunk-JOFQJGZK.js.map +7 -0
- package/dist/chunk-KCEUD232.js +2 -0
- package/dist/chunk-KCEUD232.js.map +7 -0
- package/dist/chunk-KLLAY2IM.js +2 -0
- package/dist/chunk-KLLAY2IM.js.map +7 -0
- package/dist/chunk-LBJSMXLV.js +2 -0
- package/dist/chunk-LBJSMXLV.js.map +7 -0
- package/dist/chunk-LQRFNQ2N.js +2 -0
- package/dist/chunk-LQRFNQ2N.js.map +7 -0
- package/dist/chunk-LW2WRUVL.js +2 -0
- package/dist/chunk-LW2WRUVL.js.map +7 -0
- package/dist/chunk-M242VYZA.js +2 -0
- package/dist/chunk-M242VYZA.js.map +7 -0
- package/dist/chunk-MB3MU6HR.js +2 -0
- package/dist/chunk-MB3MU6HR.js.map +7 -0
- package/dist/chunk-MW3RWBZ7.js +2 -0
- package/dist/chunk-MW3RWBZ7.js.map +7 -0
- package/dist/chunk-NXSTUFS7.js +2 -0
- package/dist/chunk-NXSTUFS7.js.map +7 -0
- package/dist/chunk-OEAXCCVM.js +2 -0
- package/dist/chunk-OEAXCCVM.js.map +7 -0
- package/dist/chunk-OGRFQTXA.js +2 -0
- package/dist/chunk-OGRFQTXA.js.map +7 -0
- package/dist/chunk-OWEQT2HN.js +2 -0
- package/dist/chunk-OWEQT2HN.js.map +7 -0
- package/dist/chunk-PZSHOSOS.js +2 -0
- package/dist/chunk-PZSHOSOS.js.map +7 -0
- package/dist/chunk-REW4LR46.js +2 -0
- package/dist/chunk-REW4LR46.js.map +7 -0
- package/dist/chunk-RNN55473.js +2 -0
- package/dist/chunk-RNN55473.js.map +7 -0
- package/dist/chunk-SA53QUBF.js +2 -0
- package/dist/chunk-SA53QUBF.js.map +7 -0
- package/dist/chunk-TIPK3SCJ.js +2 -0
- package/dist/chunk-TIPK3SCJ.js.map +7 -0
- package/dist/chunk-TOLTUOZS.js +2 -0
- package/dist/chunk-TOLTUOZS.js.map +7 -0
- package/dist/chunk-TZOQWCVH.js +2 -0
- package/dist/chunk-TZOQWCVH.js.map +7 -0
- package/dist/chunk-VF7BGP6L.js +2 -0
- package/dist/chunk-VF7BGP6L.js.map +7 -0
- package/dist/chunk-VU3GIDZ3.js +2 -0
- package/dist/chunk-VU3GIDZ3.js.map +7 -0
- package/dist/chunk-VV7CFMPZ.js +2 -0
- package/dist/chunk-VV7CFMPZ.js.map +7 -0
- package/dist/chunk-W3H7GTJY.js +2 -0
- package/dist/chunk-W3H7GTJY.js.map +7 -0
- package/dist/chunk-X2ASKUFD.js +2 -0
- package/dist/chunk-X2ASKUFD.js.map +7 -0
- package/dist/chunk-X6AULZI4.js +1 -0
- package/dist/chunk-X6AULZI4.js.map +7 -0
- package/dist/chunk-XHOBNSBO.js +2 -0
- package/dist/chunk-XHOBNSBO.js.map +7 -0
- package/dist/chunk-XX2MVWFS.js +4 -0
- package/dist/chunk-XX2MVWFS.js.map +7 -0
- package/dist/chunk-XYZ6VZ5T.js +2 -0
- package/dist/chunk-XYZ6VZ5T.js.map +7 -0
- package/dist/chunk-YBAYEU25.js +2 -0
- package/dist/chunk-YBAYEU25.js.map +7 -0
- package/dist/chunk-YHEMA56R.js +2 -0
- package/dist/chunk-YHEMA56R.js.map +7 -0
- package/dist/chunk-Z2JBUHKA.js +2 -0
- package/dist/chunk-Z2JBUHKA.js.map +7 -0
- package/dist/chunk-Z2Z52GFT.js +2 -0
- package/dist/chunk-Z2Z52GFT.js.map +7 -0
- package/dist/chunk-ZPPELYNJ.js +2 -0
- package/dist/chunk-ZPPELYNJ.js.map +7 -0
- package/dist/chunk-ZVK4L5GK.js +2 -0
- package/dist/chunk-ZVK4L5GK.js.map +7 -0
- package/dist/chunk-ZWNQREWS.js +2 -0
- package/dist/chunk-ZWNQREWS.js.map +7 -0
- package/dist/components/badge.js +2 -0
- package/dist/components/badge.js.map +7 -0
- package/dist/components/breadcrumb.js +2 -0
- package/dist/components/breadcrumb.js.map +7 -0
- package/dist/components/button.js +2 -0
- package/dist/components/button.js.map +7 -0
- package/dist/components/calendar.js +2 -0
- package/dist/components/calendar.js.map +7 -0
- package/dist/components/cellediting.js +2 -0
- package/dist/components/cellediting.js.map +7 -0
- package/dist/components/chat.js +2 -0
- package/dist/components/chat.js.map +7 -0
- package/dist/components/checkbox.js +2 -0
- package/dist/components/checkbox.js.map +7 -0
- package/dist/components/checkboxgroup.js +2 -0
- package/dist/components/checkboxgroup.js.map +7 -0
- package/dist/components/chip.js +2 -0
- package/dist/components/chip.js.map +7 -0
- package/dist/components/codeviewer.js +2 -0
- package/dist/components/codeviewer.js.map +7 -0
- package/dist/components/combobox.js +2 -0
- package/dist/components/combobox.js.map +7 -0
- package/dist/components/commandpalette.js +2 -0
- package/dist/components/commandpalette.js.map +7 -0
- package/dist/components/container.js +2 -0
- package/dist/components/container.js.map +7 -0
- package/dist/components/dataview.js +2 -0
- package/dist/components/dataview.js.map +7 -0
- package/dist/components/datefield.js +2 -0
- package/dist/components/datefield.js.map +7 -0
- package/dist/components/daterangefield.js +2 -0
- package/dist/components/daterangefield.js.map +7 -0
- package/dist/components/dial.js +2 -0
- package/dist/components/dial.js.map +7 -0
- package/dist/components/dropdown.js +2 -0
- package/dist/components/dropdown.js.map +7 -0
- package/dist/components/fieldgroup.js +2 -0
- package/dist/components/fieldgroup.js.map +7 -0
- package/dist/components/fieldlist.js +2 -0
- package/dist/components/fieldlist.js.map +7 -0
- package/dist/components/fieldset.js +2 -0
- package/dist/components/fieldset.js.map +7 -0
- package/dist/components/filterbuilder.js +2 -0
- package/dist/components/filterbuilder.js.map +7 -0
- package/dist/components/form.js +2 -0
- package/dist/components/form.js.map +7 -0
- package/dist/components/formactions.js +2 -0
- package/dist/components/formactions.js.map +7 -0
- package/dist/components/formerrors.js +2 -0
- package/dist/components/formerrors.js.map +7 -0
- package/dist/components/formsection.js +2 -0
- package/dist/components/formsection.js.map +7 -0
- package/dist/components/grid.js +2 -0
- package/dist/components/grid.js.map +7 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/icon.js.map +7 -0
- package/dist/components/inputgroup.js +2 -0
- package/dist/components/inputgroup.js.map +7 -0
- package/dist/components/label.js +2 -0
- package/dist/components/label.js.map +7 -0
- package/dist/components/listbox.js +2 -0
- package/dist/components/listbox.js.map +7 -0
- package/dist/components/lookupfield.js +2 -0
- package/dist/components/lookupfield.js.map +7 -0
- package/dist/components/menu.js +2 -0
- package/dist/components/menu.js.map +7 -0
- package/dist/components/messagebox.js +2 -0
- package/dist/components/messagebox.js.map +7 -0
- package/dist/components/navmenu.js +2 -0
- package/dist/components/navmenu.js.map +7 -0
- package/dist/components/numberfield.js +2 -0
- package/dist/components/numberfield.js.map +7 -0
- package/dist/components/pagination.js +2 -0
- package/dist/components/pagination.js.map +7 -0
- package/dist/components/panel.js +2 -0
- package/dist/components/panel.js.map +7 -0
- package/dist/components/pickerfield.js +2 -0
- package/dist/components/pickerfield.js.map +7 -0
- package/dist/components/radiogroup.js +2 -0
- package/dist/components/radiogroup.js.map +7 -0
- package/dist/components/searchgrid.js +2 -0
- package/dist/components/searchgrid.js.map +7 -0
- package/dist/components/secretfield.js +2 -0
- package/dist/components/secretfield.js.map +7 -0
- package/dist/components/select.js +2 -0
- package/dist/components/select.js.map +7 -0
- package/dist/components/slider.js +2 -0
- package/dist/components/slider.js.map +7 -0
- package/dist/components/spacer.js +2 -0
- package/dist/components/spacer.js.map +7 -0
- package/dist/components/spinner.js +2 -0
- package/dist/components/spinner.js.map +7 -0
- package/dist/components/stepform.js +2 -0
- package/dist/components/stepform.js.map +7 -0
- package/dist/components/stepper.js +2 -0
- package/dist/components/stepper.js.map +7 -0
- package/dist/components/suggestfield.js +2 -0
- package/dist/components/suggestfield.js.map +7 -0
- package/dist/components/table.js +2 -0
- package/dist/components/table.js.map +7 -0
- package/dist/components/tabs.js +2 -0
- package/dist/components/tabs.js.map +7 -0
- package/dist/components/textarea.js +2 -0
- package/dist/components/textarea.js.map +7 -0
- package/dist/components/textfield.js +2 -0
- package/dist/components/textfield.js.map +7 -0
- package/dist/components/toast.js +2 -0
- package/dist/components/toast.js.map +7 -0
- package/dist/components/toggle.js +2 -0
- package/dist/components/toggle.js.map +7 -0
- package/dist/components/toolbar.js +2 -0
- package/dist/components/toolbar.js.map +7 -0
- package/dist/components/tooltip.js +2 -0
- package/dist/components/tooltip.js.map +7 -0
- package/dist/components/tree.js +2 -0
- package/dist/components/tree.js.map +7 -0
- package/dist/components/viewmanager.js +2 -0
- package/dist/components/viewmanager.js.map +7 -0
- package/dist/components/viewport.js +2 -0
- package/dist/components/viewport.js.map +7 -0
- package/dist/components/widget.js +2 -0
- package/dist/components/widget.js.map +7 -0
- package/dist/components/window.js +2 -0
- package/dist/components/window.js.map +7 -0
- package/dist/core.js +2 -0
- package/dist/core.js.map +7 -0
- package/dist/css/badge.css +39 -0
- package/dist/css/base.css +180 -0
- package/dist/css/breadcrumb.css +53 -0
- package/dist/css/button.css +103 -0
- package/dist/css/calendar.css +108 -0
- package/dist/css/cellediting.css +33 -0
- package/dist/css/chat.css +232 -0
- package/dist/css/checkbox.css +64 -0
- package/dist/css/checkboxgroup.css +12 -0
- package/dist/css/chip.css +64 -0
- package/dist/css/codeviewer.css +109 -0
- package/dist/css/commandpalette.css +167 -0
- package/dist/css/container.css +5 -0
- package/dist/css/core.css +88 -0
- package/dist/css/dataview.css +56 -0
- package/dist/css/dial.css +203 -0
- package/dist/css/dropdown.css +13 -0
- package/dist/css/field.css +62 -0
- package/dist/css/fieldgroup.css +26 -0
- package/dist/css/fieldlist.css +84 -0
- package/dist/css/fieldset.css +68 -0
- package/dist/css/filterbuilder.css +125 -0
- package/dist/css/form.css +8 -0
- package/dist/css/formactions.css +40 -0
- package/dist/css/formerrors.css +39 -0
- package/dist/css/formsection.css +45 -0
- package/dist/css/grid.css +378 -0
- package/dist/css/icon.css +16 -0
- package/dist/css/inputgroup.css +58 -0
- package/dist/css/label.css +12 -0
- package/dist/css/layout.css +116 -0
- package/dist/css/listbox.css +50 -0
- package/dist/css/menu.css +92 -0
- package/dist/css/messagebox.css +6 -0
- package/dist/css/motion.css +29 -0
- package/dist/css/navmenu.css +115 -0
- package/dist/css/pagination.css +23 -0
- package/dist/css/panel.css +84 -0
- package/dist/css/pickerfield.css +85 -0
- package/dist/css/radiogroup.css +53 -0
- package/dist/css/searchgrid.css +37 -0
- package/dist/css/secretfield.css +73 -0
- package/dist/css/slider.css +107 -0
- package/dist/css/spacer.css +7 -0
- package/dist/css/stepform.css +46 -0
- package/dist/css/stepper.css +122 -0
- package/dist/css/table.css +36 -0
- package/dist/css/tabs.css +108 -0
- package/dist/css/textarea.css +11 -0
- package/dist/css/textfield.css +59 -0
- package/dist/css/toast.css +91 -0
- package/dist/css/toggle.css +39 -0
- package/dist/css/toolbar.css +14 -0
- package/dist/css/tooltip.css +17 -0
- package/dist/css/tree.css +94 -0
- package/dist/css/viewport.css +9 -0
- package/dist/css/widget.css +135 -0
- package/dist/css/window.css +35 -0
- package/dist/data.js +2 -0
- package/dist/data.js.map +7 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +7 -0
- package/dist/motion.js +2 -0
- package/dist/motion.js.map +7 -0
- package/dist/optikos.css +4240 -0
- package/dist/themes/compact.css +17 -0
- package/dist/themes/dark.css +53 -0
- package/dist/types/bind/index.d.ts +23 -0
- package/dist/types/components/badge.d.ts +1 -0
- package/dist/types/components/base/badge/badge.d.ts +18 -0
- package/dist/types/components/base/button/button.d.ts +34 -0
- package/dist/types/components/base/chip/chip.d.ts +27 -0
- package/dist/types/components/base/codeviewer/codeviewer.d.ts +48 -0
- package/dist/types/components/base/icon/icon.d.ts +17 -0
- package/dist/types/components/base/label/label.d.ts +14 -0
- package/dist/types/components/breadcrumb.d.ts +1 -0
- package/dist/types/components/button.d.ts +1 -0
- package/dist/types/components/calendar.d.ts +1 -0
- package/dist/types/components/cellediting.d.ts +1 -0
- package/dist/types/components/chat/chat/chat.d.ts +84 -0
- package/dist/types/components/chat.d.ts +1 -0
- package/dist/types/components/checkbox.d.ts +1 -0
- package/dist/types/components/checkboxgroup.d.ts +1 -0
- package/dist/types/components/chip.d.ts +1 -0
- package/dist/types/components/codeviewer.d.ts +1 -0
- package/dist/types/components/combobox.d.ts +1 -0
- package/dist/types/components/commandpalette.d.ts +1 -0
- package/dist/types/components/container.d.ts +1 -0
- package/dist/types/components/data/cellediting/cellediting.d.ts +10 -0
- package/dist/types/components/data/dataview/dataview.d.ts +61 -0
- package/dist/types/components/data/filterbuilder/filterbuilder.d.ts +73 -0
- package/dist/types/components/data/grid/grid.d.ts +177 -0
- package/dist/types/components/data/pagination/pagination.d.ts +31 -0
- package/dist/types/components/data/searchgrid/searchgrid.d.ts +63 -0
- package/dist/types/components/data/table/table.d.ts +26 -0
- package/dist/types/components/data/tree/tree.d.ts +71 -0
- package/dist/types/components/data/viewmanager/viewmanager.d.ts +86 -0
- package/dist/types/components/dataview.d.ts +1 -0
- package/dist/types/components/datefield.d.ts +1 -0
- package/dist/types/components/daterangefield.d.ts +1 -0
- package/dist/types/components/dates/calendar/calendar.d.ts +48 -0
- package/dist/types/components/dial.d.ts +1 -0
- package/dist/types/components/dropdown.d.ts +1 -0
- package/dist/types/components/feedback/spinner/spinner.d.ts +11 -0
- package/dist/types/components/fieldgroup.d.ts +1 -0
- package/dist/types/components/fieldlist.d.ts +1 -0
- package/dist/types/components/fields/checkbox/checkbox.d.ts +20 -0
- package/dist/types/components/fields/checkboxgroup/checkboxgroup.d.ts +27 -0
- package/dist/types/components/fields/combobox/combobox.d.ts +15 -0
- package/dist/types/components/fields/datefield/datefield.d.ts +30 -0
- package/dist/types/components/fields/daterangefield/daterangefield.d.ts +32 -0
- package/dist/types/components/fields/dial/dial.d.ts +84 -0
- package/dist/types/components/fields/listbox/listbox.d.ts +54 -0
- package/dist/types/components/fields/lookupfield/lookupfield.d.ts +25 -0
- package/dist/types/components/fields/numberfield/numberfield.d.ts +31 -0
- package/dist/types/components/fields/pickerfield/pickerfield.d.ts +77 -0
- package/dist/types/components/fields/radiogroup/radiogroup.d.ts +26 -0
- package/dist/types/components/fields/secretfield/secretfield.d.ts +52 -0
- package/dist/types/components/fields/select/select.d.ts +10 -0
- package/dist/types/components/fields/slider/slider.d.ts +62 -0
- package/dist/types/components/fields/suggestfield/suggestfield.d.ts +34 -0
- package/dist/types/components/fields/textarea/textarea.d.ts +16 -0
- package/dist/types/components/fields/textfield/textfield.d.ts +38 -0
- package/dist/types/components/fields/toggle/toggle.d.ts +9 -0
- package/dist/types/components/fieldset.d.ts +1 -0
- package/dist/types/components/filterbuilder.d.ts +1 -0
- package/dist/types/components/form/fieldgroup/fieldgroup.d.ts +33 -0
- package/dist/types/components/form/fieldlist/fieldlist.d.ts +58 -0
- package/dist/types/components/form/form/form.d.ts +68 -0
- package/dist/types/components/form/formactions/formactions.d.ts +34 -0
- package/dist/types/components/form/formerrors/formerrors.d.ts +23 -0
- package/dist/types/components/form/formsection/formsection.d.ts +26 -0
- package/dist/types/components/form/inputgroup/inputgroup.d.ts +28 -0
- package/dist/types/components/form/stepform/stepform.d.ts +64 -0
- package/dist/types/components/form.d.ts +1 -0
- package/dist/types/components/formactions.d.ts +1 -0
- package/dist/types/components/formerrors.d.ts +1 -0
- package/dist/types/components/formsection.d.ts +1 -0
- package/dist/types/components/grid.d.ts +1 -0
- package/dist/types/components/icon.d.ts +1 -0
- package/dist/types/components/inputgroup.d.ts +1 -0
- package/dist/types/components/label.d.ts +1 -0
- package/dist/types/components/layout/container/container.d.ts +1 -0
- package/dist/types/components/layout/fieldset/fieldset.d.ts +30 -0
- package/dist/types/components/layout/panel/panel.d.ts +53 -0
- package/dist/types/components/layout/panel/reload.d.ts +1 -0
- package/dist/types/components/layout/spacer/spacer.d.ts +12 -0
- package/dist/types/components/layout/toolbar/toolbar.d.ts +15 -0
- package/dist/types/components/layout/viewport/viewport.d.ts +7 -0
- package/dist/types/components/listbox.d.ts +1 -0
- package/dist/types/components/lookupfield.d.ts +1 -0
- package/dist/types/components/menu.d.ts +1 -0
- package/dist/types/components/messagebox.d.ts +1 -0
- package/dist/types/components/navigation/breadcrumb/breadcrumb.d.ts +32 -0
- package/dist/types/components/navigation/navmenu/navmenu.d.ts +63 -0
- package/dist/types/components/navigation/stepper/stepper.d.ts +31 -0
- package/dist/types/components/navigation/tabs/tabs.d.ts +57 -0
- package/dist/types/components/navmenu.d.ts +1 -0
- package/dist/types/components/numberfield.d.ts +1 -0
- package/dist/types/components/overlays/commandpalette/commandpalette.d.ts +80 -0
- package/dist/types/components/overlays/dropdown/dropdown.d.ts +41 -0
- package/dist/types/components/overlays/menu/menu.d.ts +56 -0
- package/dist/types/components/overlays/messagebox/messagebox.d.ts +61 -0
- package/dist/types/components/overlays/toast/toast.d.ts +45 -0
- package/dist/types/components/overlays/tooltip/tooltip.d.ts +13 -0
- package/dist/types/components/overlays/widget/widget.d.ts +61 -0
- package/dist/types/components/overlays/window/window.d.ts +38 -0
- package/dist/types/components/pagination.d.ts +1 -0
- package/dist/types/components/panel.d.ts +1 -0
- package/dist/types/components/pickerfield.d.ts +1 -0
- package/dist/types/components/radiogroup.d.ts +1 -0
- package/dist/types/components/searchgrid.d.ts +1 -0
- package/dist/types/components/secretfield.d.ts +1 -0
- package/dist/types/components/select.d.ts +1 -0
- package/dist/types/components/slider.d.ts +1 -0
- package/dist/types/components/spacer.d.ts +1 -0
- package/dist/types/components/spinner.d.ts +1 -0
- package/dist/types/components/stepform.d.ts +1 -0
- package/dist/types/components/stepper.d.ts +1 -0
- package/dist/types/components/suggestfield.d.ts +1 -0
- package/dist/types/components/table.d.ts +1 -0
- package/dist/types/components/tabs.d.ts +1 -0
- package/dist/types/components/textarea.d.ts +1 -0
- package/dist/types/components/textfield.d.ts +1 -0
- package/dist/types/components/toast.d.ts +1 -0
- package/dist/types/components/toggle.d.ts +1 -0
- package/dist/types/components/toolbar.d.ts +1 -0
- package/dist/types/components/tooltip.d.ts +1 -0
- package/dist/types/components/tree.d.ts +1 -0
- package/dist/types/components/viewmanager.d.ts +1 -0
- package/dist/types/components/viewport.d.ts +1 -0
- package/dist/types/components/widget.d.ts +1 -0
- package/dist/types/components/window.d.ts +1 -0
- package/dist/types/core/component.d.ts +94 -0
- package/dist/types/core/container.d.ts +43 -0
- package/dist/types/core/date.d.ts +14 -0
- package/dist/types/core/dom.d.ts +11 -0
- package/dist/types/core/emitter.d.ts +12 -0
- package/dist/types/core/field.d.ts +78 -0
- package/dist/types/core/focus.d.ts +18 -0
- package/dist/types/core/i18n.d.ts +12 -0
- package/dist/types/core/index.d.ts +15 -0
- package/dist/types/core/layer.d.ts +6 -0
- package/dist/types/core/position.d.ts +19 -0
- package/dist/types/core/registry.d.ts +12 -0
- package/dist/types/core/validators.d.ts +10 -0
- package/dist/types/core/virtual.d.ts +24 -0
- package/dist/types/data/column.d.ts +32 -0
- package/dist/types/data/format.d.ts +4 -0
- package/dist/types/data/index.d.ts +5 -0
- package/dist/types/data/model.d.ts +28 -0
- package/dist/types/data/proxy.d.ts +61 -0
- package/dist/types/data/store.d.ts +94 -0
- package/dist/types/index.d.ts +67 -0
- package/dist/types/layout/layout.d.ts +27 -0
- package/dist/types/motion/config.d.ts +83 -0
- package/dist/types/motion/core.d.ts +40 -0
- package/dist/types/motion/extras.d.ts +66 -0
- package/dist/types/motion/index.d.ts +3 -0
- package/dist/types/themes/define.d.ts +31 -0
- package/dist/types/themes/index.d.ts +1 -0
- package/dist/types/ui/enums.d.ts +82 -0
- package/dist/types/ui/index.d.ts +2 -0
- package/dist/types/ui/ui.d.ts +67 -0
- package/dist/ui.js +2 -0
- package/dist/ui.js.map +7 -0
- package/package.json +104 -4
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../chunk-5BC72727.js";import"../chunk-LQRFNQ2N.js";import"../chunk-XYZ6VZ5T.js";import"../chunk-GNU4VOOE.js";import"../chunk-23XLG2EM.js";import"../chunk-ZWNQREWS.js";import"../chunk-676AKAGF.js";import"../chunk-VV7CFMPZ.js";import"../chunk-2ZUZ5HDL.js";import"../chunk-4AA4FQEM.js";import"../chunk-2UPUC4RK.js";import"../chunk-4EZJ5FKJ.js";import"../chunk-A2NKDOYN.js";import"../chunk-PZSHOSOS.js";import"../chunk-TIPK3SCJ.js";import"../chunk-MW3RWBZ7.js";import"../chunk-4C666HHU.js";export{a as Widget};
|
|
2
|
+
//# sourceMappingURL=widget.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../chunk-4LZZ244E.js";import"../chunk-LQRFNQ2N.js";import"../chunk-XYZ6VZ5T.js";import"../chunk-GNU4VOOE.js";import"../chunk-23XLG2EM.js";import"../chunk-ZWNQREWS.js";import"../chunk-676AKAGF.js";import"../chunk-VV7CFMPZ.js";import"../chunk-2ZUZ5HDL.js";import"../chunk-4AA4FQEM.js";import"../chunk-2UPUC4RK.js";import"../chunk-4EZJ5FKJ.js";import"../chunk-A2NKDOYN.js";import"../chunk-PZSHOSOS.js";import"../chunk-TIPK3SCJ.js";import"../chunk-MW3RWBZ7.js";import"../chunk-4C666HHU.js";export{a as Window};
|
|
2
|
+
//# sourceMappingURL=window.js.map
|
package/dist/core.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as u}from"./chunk-GZ7X34QP.js";import{a as D,b as E}from"./chunk-OWEQT2HN.js";import{a as q,b as r,c as s}from"./chunk-ZWNQREWS.js";import{a as y,b as z}from"./chunk-E4VNLYO2.js";import{a as v,b as w,c as x}from"./chunk-676AKAGF.js";import{a as A,b as B,c as C}from"./chunk-VV7CFMPZ.js";import{a as t}from"./chunk-2ZRNGG2N.js";import{i as F}from"./chunk-5JEXM5S7.js";import{a as m}from"./chunk-A2NKDOYN.js";import{a as b,b as c,c as d,d as e,e as f,f as g}from"./chunk-PZSHOSOS.js";import{a as n,b as o,c as p}from"./chunk-TIPK3SCJ.js";import{a,b as h,c as i,d as j,e as k,f as l}from"./chunk-MW3RWBZ7.js";import"./chunk-4C666HHU.js";export{m as Component,s as Container,a as Emitter,t as Field,k as addMessages,b as attr,g as clamp,p as create,r as createLayout,F as date,A as focusables,j as getLocale,o as getType,c as h,e as kebab,v as layer,h as locales,x as lockModal,E as measure,y as place,f as px,n as register,q as registerLayout,C as roving,i as setLocale,l as t,w as toLayer,z as track,B as trapFocus,d as uid,u as validators,D as virtualize};
|
|
2
|
+
//# sourceMappingURL=core.js.map
|
package/dist/core.js.map
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@layer optikos {
|
|
2
|
+
:root {
|
|
3
|
+
--op-badge-dot-size: 0.5rem;
|
|
4
|
+
--op-badge-height: 1.5em;
|
|
5
|
+
--op-badge-icon-size: 1em;
|
|
6
|
+
}
|
|
7
|
+
.op-badge {
|
|
8
|
+
--_fg: var(--op-color-fg);
|
|
9
|
+
--_bg: var(--op-color-surface-2);
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: var(--op-space-1);
|
|
13
|
+
padding: 0 var(--op-badge-padding-x, var(--op-space-2));
|
|
14
|
+
min-block-size: var(--op-badge-height);
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
color: var(--op-badge-fg, var(--_fg));
|
|
17
|
+
background: var(--op-badge-bg, var(--_bg));
|
|
18
|
+
border-radius: var(--op-badge-radius, var(--op-radius-pill));
|
|
19
|
+
font-size: var(--op-font-size-sm);
|
|
20
|
+
font-weight: var(--op-badge-font-weight, var(--op-font-weight-bold));
|
|
21
|
+
line-height: 1;
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
vertical-align: middle;
|
|
24
|
+
}
|
|
25
|
+
.op-badge--primary { --_fg: var(--op-color-primary-text, var(--op-color-primary)); --_bg: var(--op-color-primary-soft); }
|
|
26
|
+
.op-badge--success { --_fg: var(--op-color-success); --_bg: var(--op-color-success-soft); }
|
|
27
|
+
.op-badge--warning { --_fg: var(--op-color-warning); --_bg: var(--op-color-warning-soft); }
|
|
28
|
+
.op-badge--danger { --_fg: var(--op-color-danger); --_bg: var(--op-color-danger-soft); }
|
|
29
|
+
.op-badge--info { --_fg: var(--op-color-info); --_bg: var(--op-color-info-soft); }
|
|
30
|
+
.op-badge__dot {
|
|
31
|
+
inline-size: var(--op-badge-dot-size);
|
|
32
|
+
block-size: var(--op-badge-dot-size);
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
background: currentColor;
|
|
35
|
+
}
|
|
36
|
+
.op-badge .op-icon {
|
|
37
|
+
--op-icon-size: var(--op-badge-icon-size);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Optikos tokens. Three layers, all custom properties:
|
|
3
|
+
* 1. primitives --op-blue-500 (raw palette, never used by components)
|
|
4
|
+
* 2. semantic --op-color-primary (what themes change)
|
|
5
|
+
* 3. component --op-button-bg (declared by each component, falls back to a semantic token)
|
|
6
|
+
* Everything lives in @layer optikos so unlayered user CSS always wins without !important.
|
|
7
|
+
* Scope a theme with data-op-theme="dark" (several allowed: "dark compact") on any element.
|
|
8
|
+
*/
|
|
9
|
+
@layer optikos {
|
|
10
|
+
:root,
|
|
11
|
+
[data-op-theme~='light'] {
|
|
12
|
+
/* primitives */
|
|
13
|
+
--op-gray-0: #ffffff;
|
|
14
|
+
--op-gray-50: #f8fafc;
|
|
15
|
+
--op-gray-100: #f1f5f9;
|
|
16
|
+
--op-gray-200: #e2e8f0;
|
|
17
|
+
--op-gray-300: #cbd5e1;
|
|
18
|
+
--op-gray-400: #94a3b8;
|
|
19
|
+
--op-gray-500: #64748b;
|
|
20
|
+
--op-gray-600: #475569;
|
|
21
|
+
--op-gray-700: #334155;
|
|
22
|
+
--op-gray-800: #1e293b;
|
|
23
|
+
--op-gray-900: #0f172a;
|
|
24
|
+
--op-blue-50: #eff6ff;
|
|
25
|
+
--op-blue-100: #dbeafe;
|
|
26
|
+
--op-blue-500: #3b82f6;
|
|
27
|
+
--op-blue-600: #2563eb;
|
|
28
|
+
--op-blue-700: #1d4ed8;
|
|
29
|
+
--op-red-50: #fef2f2;
|
|
30
|
+
--op-red-500: #ef4444;
|
|
31
|
+
--op-red-600: #dc2626;
|
|
32
|
+
--op-red-700: #b91c1c;
|
|
33
|
+
--op-green-50: #f0fdf4;
|
|
34
|
+
--op-green-600: #16a34a;
|
|
35
|
+
--op-green-700: #15803d;
|
|
36
|
+
--op-amber-50: #fffbeb;
|
|
37
|
+
--op-amber-600: #d97706;
|
|
38
|
+
--op-amber-700: #b45309;
|
|
39
|
+
|
|
40
|
+
/* semantic colors: steel blue on cool grey, made for long sessions in grids and forms */
|
|
41
|
+
--op-color-bg: #edf0f4;
|
|
42
|
+
--op-color-surface: var(--op-gray-0);
|
|
43
|
+
--op-color-surface-2: #f3f5f8;
|
|
44
|
+
--op-color-fg: #1b2430;
|
|
45
|
+
--op-color-fg-muted: #5b6676; /* keeps 4.5:1 on surface-2 */
|
|
46
|
+
--op-color-border: #d8dee6;
|
|
47
|
+
--op-color-border-strong: #a9b3c1;
|
|
48
|
+
--op-color-hover: #eaeff6;
|
|
49
|
+
--op-color-selected: #d9e6f7;
|
|
50
|
+
--op-color-primary: #1f4e8c;
|
|
51
|
+
--op-color-primary-hover: #173d6f;
|
|
52
|
+
--op-color-primary-fg: var(--op-gray-0);
|
|
53
|
+
--op-color-primary-soft: #e4edf8;
|
|
54
|
+
--op-color-danger: #b3261e;
|
|
55
|
+
--op-color-danger-hover: #8f1d17;
|
|
56
|
+
--op-color-danger-fg: var(--op-gray-0);
|
|
57
|
+
--op-color-danger-soft: #fbe4e2;
|
|
58
|
+
--op-color-success: #1e7a4d;
|
|
59
|
+
--op-color-success-soft: #dff2e8;
|
|
60
|
+
--op-color-warning: #9a5b00;
|
|
61
|
+
--op-color-warning-soft: #fcecc9;
|
|
62
|
+
--op-color-info: #1f5fa8;
|
|
63
|
+
--op-color-info-soft: #dfeaf8;
|
|
64
|
+
--op-color-focus: #2f7bd6;
|
|
65
|
+
--op-color-disabled-fg: #9aa4b2;
|
|
66
|
+
--op-color-disabled-bg: #eef1f5;
|
|
67
|
+
--op-color-overlay: rgb(16 24 38 / 0.5);
|
|
68
|
+
--op-color-inverse-bg: #14213a;
|
|
69
|
+
--op-color-inverse-fg: #eaf0fa;
|
|
70
|
+
|
|
71
|
+
/* typography */
|
|
72
|
+
--op-font-family: 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;
|
|
73
|
+
--op-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
74
|
+
--op-font-size: 0.9375rem;
|
|
75
|
+
--op-font-size-sm: 0.8125rem;
|
|
76
|
+
--op-font-size-lg: 1.0625rem;
|
|
77
|
+
--op-font-size-xl: 1.3125rem;
|
|
78
|
+
--op-line-height: 1.45;
|
|
79
|
+
--op-font-weight: 400;
|
|
80
|
+
--op-font-weight-medium: 500;
|
|
81
|
+
--op-font-weight-bold: 600;
|
|
82
|
+
|
|
83
|
+
/* spacing, density, shape: comfortable, small radii, hairline borders */
|
|
84
|
+
--op-space-1: 0.25rem;
|
|
85
|
+
--op-space-2: 0.5rem;
|
|
86
|
+
--op-space-3: 0.875rem;
|
|
87
|
+
--op-space-4: 1.125rem;
|
|
88
|
+
--op-space-5: 1.5rem;
|
|
89
|
+
--op-space-6: 2.25rem;
|
|
90
|
+
--op-control-height: 2.375rem;
|
|
91
|
+
--op-control-padding-x: 0.875rem;
|
|
92
|
+
--op-row-height: 2.75rem;
|
|
93
|
+
--op-border-width: 1px;
|
|
94
|
+
--op-radius-sm: 0.1875rem;
|
|
95
|
+
--op-radius: 0.25rem;
|
|
96
|
+
--op-radius-lg: 0.375rem;
|
|
97
|
+
--op-radius-pill: 62.5rem;
|
|
98
|
+
--op-focus-width: 2px;
|
|
99
|
+
--op-focus-offset: 1px;
|
|
100
|
+
--op-icon-size: 1.3em;
|
|
101
|
+
--op-icon-stroke: 1.75;
|
|
102
|
+
|
|
103
|
+
/* elevation and motion: flat at rest, shadows only on what floats */
|
|
104
|
+
--op-shadow-sm: none;
|
|
105
|
+
--op-shadow: 0 2px 6px rgb(16 24 38 / 0.14);
|
|
106
|
+
--op-shadow-lg: 0 10px 28px rgb(16 24 38 / 0.28);
|
|
107
|
+
--op-duration: 90ms;
|
|
108
|
+
|
|
109
|
+
/* scrollbars follow the theme: thin, thumb from the strong border, track transparent */
|
|
110
|
+
--op-scrollbar-width: thin;
|
|
111
|
+
--op-scrollbar-size: 0.5rem;
|
|
112
|
+
--op-scrollbar-thumb: var(--op-color-border-strong);
|
|
113
|
+
--op-scrollbar-track: transparent;
|
|
114
|
+
--op-easing: ease-out;
|
|
115
|
+
--op-z-layer: 1000;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* The light look's component colors (a navy sidebar, a tinted grid header). Literal values, and not on :root under
|
|
119
|
+
another theme, so a theme that does not set them keeps the component defaults. dark.css sets its own. */
|
|
120
|
+
:root:not([data-op-theme]),
|
|
121
|
+
[data-op-theme~='light'],
|
|
122
|
+
[data-op-theme='compact'] {
|
|
123
|
+
--op-navmenu-item-height: 2.5rem;
|
|
124
|
+
--op-navmenu-bg: #14213a;
|
|
125
|
+
--op-navmenu-fg: #d5ddeb;
|
|
126
|
+
--op-navmenu-group-fg: #8195b4;
|
|
127
|
+
--op-navmenu-item-hover-bg: #1d2f52;
|
|
128
|
+
--op-navmenu-active-bg: #203c6a;
|
|
129
|
+
--op-navmenu-active-fg: #ffffff;
|
|
130
|
+
--op-navmenu-active-bar: #5ea6f5;
|
|
131
|
+
--op-navmenu-badge-bg: #5ea6f5;
|
|
132
|
+
--op-navmenu-badge-fg: #0a1730;
|
|
133
|
+
--op-grid-header-bg: #e6ebf1;
|
|
134
|
+
--op-grid-header-fg: #2a3547;
|
|
135
|
+
--op-field-label-weight: 600;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media (prefers-reduced-motion: reduce) {
|
|
139
|
+
:root,
|
|
140
|
+
[data-op-theme] {
|
|
141
|
+
--op-duration: 0.01ms;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* inherited: every scroll area below a themed element (and the global layer) picks it up */
|
|
146
|
+
:root,
|
|
147
|
+
[data-op-theme] {
|
|
148
|
+
scrollbar-width: var(--op-scrollbar-width);
|
|
149
|
+
scrollbar-color: var(--op-scrollbar-thumb) var(--op-scrollbar-track);
|
|
150
|
+
}
|
|
151
|
+
/* browsers without scrollbar-color (older Safari) */
|
|
152
|
+
@supports not (scrollbar-color: auto) {
|
|
153
|
+
:root ::-webkit-scrollbar,
|
|
154
|
+
[data-op-theme] ::-webkit-scrollbar {
|
|
155
|
+
inline-size: var(--op-scrollbar-size);
|
|
156
|
+
block-size: var(--op-scrollbar-size);
|
|
157
|
+
}
|
|
158
|
+
:root ::-webkit-scrollbar-thumb,
|
|
159
|
+
[data-op-theme] ::-webkit-scrollbar-thumb {
|
|
160
|
+
background: var(--op-scrollbar-thumb);
|
|
161
|
+
border-radius: var(--op-radius-pill);
|
|
162
|
+
}
|
|
163
|
+
:root ::-webkit-scrollbar-track,
|
|
164
|
+
[data-op-theme] ::-webkit-scrollbar-track {
|
|
165
|
+
background: var(--op-scrollbar-track);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Base look for any themed subtree, so a scoped theme repaints its background and text. */
|
|
170
|
+
[data-op-theme] {
|
|
171
|
+
color: var(--op-color-fg);
|
|
172
|
+
background: var(--op-color-bg);
|
|
173
|
+
font-family: var(--op-font-family);
|
|
174
|
+
font-size: var(--op-font-size);
|
|
175
|
+
line-height: var(--op-line-height);
|
|
176
|
+
}
|
|
177
|
+
:where(.op-layout, .op-component, .op-field, .op-panel, .op-container, .op-layer *) {
|
|
178
|
+
box-sizing: border-box;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@layer optikos {
|
|
2
|
+
:root {
|
|
3
|
+
--op-breadcrumb-separator: '›';
|
|
4
|
+
}
|
|
5
|
+
.op-breadcrumb {
|
|
6
|
+
color: var(--op-breadcrumb-fg, var(--op-color-fg-muted));
|
|
7
|
+
}
|
|
8
|
+
.op-breadcrumb__list {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: var(--op-breadcrumb-gap, var(--op-space-1));
|
|
13
|
+
margin: 0;
|
|
14
|
+
padding: 0;
|
|
15
|
+
list-style: none;
|
|
16
|
+
}
|
|
17
|
+
.op-breadcrumb__list > li + li::before {
|
|
18
|
+
content: var(--op-breadcrumb-separator);
|
|
19
|
+
margin-inline-end: var(--op-breadcrumb-gap, var(--op-space-1));
|
|
20
|
+
}
|
|
21
|
+
.op-breadcrumb__item,
|
|
22
|
+
.op-breadcrumb__more,
|
|
23
|
+
.op-breadcrumb__current {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: var(--op-space-1);
|
|
27
|
+
padding: var(--op-space-1);
|
|
28
|
+
font: inherit;
|
|
29
|
+
color: inherit;
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
background: transparent;
|
|
32
|
+
border: 0;
|
|
33
|
+
border-radius: var(--op-radius-sm);
|
|
34
|
+
}
|
|
35
|
+
.op-breadcrumb__item,
|
|
36
|
+
.op-breadcrumb__more {
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
.op-breadcrumb__item:hover,
|
|
40
|
+
.op-breadcrumb__more:hover {
|
|
41
|
+
color: var(--op-breadcrumb-hover-fg, var(--op-color-fg));
|
|
42
|
+
background: var(--op-color-hover);
|
|
43
|
+
}
|
|
44
|
+
.op-breadcrumb__item:focus-visible,
|
|
45
|
+
.op-breadcrumb__more:focus-visible {
|
|
46
|
+
outline: var(--op-focus-width) solid var(--op-color-focus);
|
|
47
|
+
outline-offset: 0;
|
|
48
|
+
}
|
|
49
|
+
.op-breadcrumb__current {
|
|
50
|
+
color: var(--op-breadcrumb-current-fg, var(--op-color-fg));
|
|
51
|
+
font-weight: var(--op-font-weight-medium);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
@layer optikos {
|
|
2
|
+
:root {
|
|
3
|
+
--op-button-spinner-size: 1em;
|
|
4
|
+
--op-button-primary-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.25);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.op-button {
|
|
8
|
+
--_bg: var(--op-button-bg, var(--op-color-surface));
|
|
9
|
+
--_fg: var(--op-button-fg, var(--op-color-fg));
|
|
10
|
+
--_border: var(--op-button-border, var(--op-color-border-strong));
|
|
11
|
+
--_hover: var(--op-button-hover-bg, var(--op-color-hover));
|
|
12
|
+
--_active: var(--op-button-active-bg, var(--op-color-selected));
|
|
13
|
+
display: inline-grid;
|
|
14
|
+
place-items: center;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
min-block-size: var(--op-button-height, var(--op-control-height));
|
|
17
|
+
padding: var(--op-button-padding-y, 0) var(--op-button-padding-x, var(--op-control-padding-x));
|
|
18
|
+
font: inherit;
|
|
19
|
+
font-weight: var(--op-button-font-weight, var(--op-font-weight-medium));
|
|
20
|
+
color: var(--_fg);
|
|
21
|
+
background: var(--_bg);
|
|
22
|
+
border: var(--op-border-width) solid var(--_border);
|
|
23
|
+
border-radius: var(--op-button-radius, var(--op-radius));
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
user-select: none;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
transition: background var(--op-duration) var(--op-easing), border-color var(--op-duration) var(--op-easing), transform var(--op-motion-press-duration, 100ms) var(--op-motion-ease-out, ease-out);
|
|
28
|
+
}
|
|
29
|
+
.op-button:hover:not(:disabled) {
|
|
30
|
+
background: var(--_hover);
|
|
31
|
+
}
|
|
32
|
+
.op-button:active:not(:disabled),
|
|
33
|
+
.op-button.is-pressed {
|
|
34
|
+
background: var(--_active);
|
|
35
|
+
}
|
|
36
|
+
.op-button:focus-visible {
|
|
37
|
+
outline: var(--op-focus-width) solid var(--op-color-focus);
|
|
38
|
+
outline-offset: var(--op-focus-offset);
|
|
39
|
+
}
|
|
40
|
+
/* normal face and loading face occupy the same grid cell */
|
|
41
|
+
.op-button__face,
|
|
42
|
+
.op-button__busy {
|
|
43
|
+
grid-area: 1 / 1;
|
|
44
|
+
display: inline-flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
gap: var(--op-button-gap, var(--op-space-2));
|
|
48
|
+
}
|
|
49
|
+
.op-button--icon-right .op-button__face {
|
|
50
|
+
flex-direction: row-reverse;
|
|
51
|
+
}
|
|
52
|
+
.op-button__busy {
|
|
53
|
+
visibility: hidden;
|
|
54
|
+
}
|
|
55
|
+
.op-button.is-loading .op-button__busy {
|
|
56
|
+
visibility: visible;
|
|
57
|
+
}
|
|
58
|
+
.op-button.is-loading .op-button__face {
|
|
59
|
+
visibility: hidden;
|
|
60
|
+
}
|
|
61
|
+
/* stableSize: false → only the active face takes space, the button fits its content */
|
|
62
|
+
.op-button:not(.op-stable) .op-button__busy,
|
|
63
|
+
.op-button:not(.op-stable).is-loading .op-button__face {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
.op-button:not(.op-stable).is-loading .op-button__busy {
|
|
67
|
+
display: inline-flex;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.op-button--primary {
|
|
71
|
+
--_bg: var(--op-button-primary-bg, var(--op-color-primary));
|
|
72
|
+
--_fg: var(--op-button-primary-fg, var(--op-color-primary-fg));
|
|
73
|
+
--_border: var(--op-button-primary-bg, var(--op-color-primary));
|
|
74
|
+
--_hover: var(--op-button-primary-hover-bg, var(--op-color-primary-hover));
|
|
75
|
+
--_active: var(--op-button-primary-hover-bg, var(--op-color-primary-hover));
|
|
76
|
+
box-shadow: var(--op-button-primary-shadow);
|
|
77
|
+
}
|
|
78
|
+
.op-button--danger {
|
|
79
|
+
--_bg: var(--op-button-danger-bg, var(--op-color-danger));
|
|
80
|
+
--_fg: var(--op-button-danger-fg, var(--op-color-danger-fg));
|
|
81
|
+
--_border: var(--op-button-danger-bg, var(--op-color-danger));
|
|
82
|
+
--_hover: var(--op-button-danger-hover-bg, var(--op-color-danger-hover));
|
|
83
|
+
--_active: var(--op-button-danger-hover-bg, var(--op-color-danger-hover));
|
|
84
|
+
}
|
|
85
|
+
.op-button--ghost {
|
|
86
|
+
--_bg: transparent;
|
|
87
|
+
--_border: transparent;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.op-button:disabled {
|
|
91
|
+
cursor: not-allowed;
|
|
92
|
+
color: var(--op-color-disabled-fg);
|
|
93
|
+
background: var(--op-color-disabled-bg);
|
|
94
|
+
border-color: var(--op-color-border);
|
|
95
|
+
}
|
|
96
|
+
.op-button.is-loading {
|
|
97
|
+
cursor: progress;
|
|
98
|
+
}
|
|
99
|
+
.op-button__spinner {
|
|
100
|
+
--op-spinner-size: var(--op-button-spinner-size);
|
|
101
|
+
--op-spinner-color: currentColor;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
@layer optikos {
|
|
2
|
+
:root {
|
|
3
|
+
--op-calendar-day-size: 2.25rem;
|
|
4
|
+
}
|
|
5
|
+
.op-calendar {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
padding: var(--op-calendar-padding, var(--op-space-2));
|
|
8
|
+
color: var(--op-color-fg);
|
|
9
|
+
background: var(--op-calendar-bg, var(--op-color-surface));
|
|
10
|
+
}
|
|
11
|
+
.op-calendar__header {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
gap: var(--op-space-1);
|
|
16
|
+
margin-block-end: var(--op-space-2);
|
|
17
|
+
}
|
|
18
|
+
.op-calendar__nav,
|
|
19
|
+
.op-calendar__title,
|
|
20
|
+
.op-calendar__month {
|
|
21
|
+
font: inherit;
|
|
22
|
+
color: inherit;
|
|
23
|
+
background: transparent;
|
|
24
|
+
border: 0;
|
|
25
|
+
border-radius: var(--op-radius);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
.op-calendar__nav {
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
padding: var(--op-space-2);
|
|
31
|
+
}
|
|
32
|
+
.op-calendar__title {
|
|
33
|
+
flex: 1;
|
|
34
|
+
padding: var(--op-space-2);
|
|
35
|
+
font-weight: var(--op-font-weight-bold);
|
|
36
|
+
text-transform: capitalize;
|
|
37
|
+
}
|
|
38
|
+
.op-calendar__nav:hover,
|
|
39
|
+
.op-calendar__title:hover,
|
|
40
|
+
.op-calendar__month:hover {
|
|
41
|
+
background: var(--op-color-hover);
|
|
42
|
+
}
|
|
43
|
+
.op-calendar__grid {
|
|
44
|
+
border-collapse: collapse;
|
|
45
|
+
}
|
|
46
|
+
.op-calendar__dow {
|
|
47
|
+
padding-block-end: var(--op-space-1);
|
|
48
|
+
font-size: var(--op-font-size-sm);
|
|
49
|
+
font-weight: var(--op-font-weight-medium);
|
|
50
|
+
color: var(--op-color-fg-muted);
|
|
51
|
+
text-transform: capitalize;
|
|
52
|
+
}
|
|
53
|
+
.op-calendar__day {
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
inline-size: var(--op-calendar-day-size);
|
|
56
|
+
block-size: var(--op-calendar-day-size);
|
|
57
|
+
padding: 0;
|
|
58
|
+
text-align: center;
|
|
59
|
+
border-radius: var(--op-radius);
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
}
|
|
62
|
+
.op-calendar__day:hover {
|
|
63
|
+
background: var(--op-calendar-day-hover-bg, var(--op-color-hover));
|
|
64
|
+
}
|
|
65
|
+
.op-calendar__day.is-outside {
|
|
66
|
+
color: var(--op-calendar-outside-fg, var(--op-color-fg-muted));
|
|
67
|
+
}
|
|
68
|
+
.op-calendar__day.is-today {
|
|
69
|
+
box-shadow: inset 0 0 0 var(--op-border-width) var(--op-calendar-today-border, var(--op-color-primary));
|
|
70
|
+
}
|
|
71
|
+
.op-calendar__day.is-selected,
|
|
72
|
+
.op-calendar__month.is-selected {
|
|
73
|
+
color: var(--op-calendar-day-selected-fg, var(--op-color-primary-fg));
|
|
74
|
+
background: var(--op-calendar-day-selected-bg, var(--op-color-primary));
|
|
75
|
+
}
|
|
76
|
+
.op-calendar__day.is-in-range {
|
|
77
|
+
color: var(--op-calendar-range-fg, var(--op-color-fg));
|
|
78
|
+
background: var(--op-calendar-range-bg, var(--op-color-selected));
|
|
79
|
+
border-radius: 0;
|
|
80
|
+
}
|
|
81
|
+
.op-calendar__day.is-range-start {
|
|
82
|
+
border-start-end-radius: 0;
|
|
83
|
+
border-end-end-radius: 0;
|
|
84
|
+
}
|
|
85
|
+
.op-calendar__day.is-range-end {
|
|
86
|
+
border-start-start-radius: 0;
|
|
87
|
+
border-end-start-radius: 0;
|
|
88
|
+
}
|
|
89
|
+
.op-calendar__day.is-disabled {
|
|
90
|
+
color: var(--op-color-disabled-fg);
|
|
91
|
+
background: transparent;
|
|
92
|
+
cursor: not-allowed;
|
|
93
|
+
text-decoration: line-through;
|
|
94
|
+
}
|
|
95
|
+
.op-calendar__day:focus-visible {
|
|
96
|
+
outline: var(--op-focus-width) solid var(--op-color-focus);
|
|
97
|
+
outline-offset: 0;
|
|
98
|
+
}
|
|
99
|
+
.op-calendar__months {
|
|
100
|
+
display: grid;
|
|
101
|
+
grid-template-columns: repeat(3, 1fr);
|
|
102
|
+
gap: var(--op-space-1);
|
|
103
|
+
}
|
|
104
|
+
.op-calendar__month {
|
|
105
|
+
padding: var(--op-space-3) var(--op-space-2);
|
|
106
|
+
text-transform: capitalize;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@layer optikos {
|
|
2
|
+
/* the editor fills the cell: no label, no error line, the row height */
|
|
3
|
+
.op-grid__cell.is-editing {
|
|
4
|
+
position: relative;
|
|
5
|
+
padding-block: 0;
|
|
6
|
+
padding-inline: var(--op-grid-editor-inset, var(--op-space-1));
|
|
7
|
+
overflow: visible;
|
|
8
|
+
}
|
|
9
|
+
.op-grid__editor {
|
|
10
|
+
inline-size: 100%;
|
|
11
|
+
}
|
|
12
|
+
.op-grid__editor .op-textfield__input {
|
|
13
|
+
min-block-size: 0;
|
|
14
|
+
block-size: calc(var(--op-grid-row-height, var(--op-row-height)) - 2 * var(--op-space-1));
|
|
15
|
+
}
|
|
16
|
+
.op-grid__editor.is-invalid .op-textfield__input {
|
|
17
|
+
border-color: var(--op-color-danger);
|
|
18
|
+
}
|
|
19
|
+
.op-grid__editor .op-field__error {
|
|
20
|
+
position: absolute;
|
|
21
|
+
z-index: 1;
|
|
22
|
+
inset-block-start: 100%;
|
|
23
|
+
padding: var(--op-space-1) var(--op-space-2);
|
|
24
|
+
color: var(--op-color-danger-fg);
|
|
25
|
+
background: var(--op-color-danger);
|
|
26
|
+
border-radius: var(--op-radius-sm);
|
|
27
|
+
font-size: var(--op-font-size-sm);
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
}
|
|
30
|
+
.op-grid__editor .op-field__error:empty {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
}
|