@womp/kookie-ui 0.10.0 → 0.11.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/components.css +132 -26
- package/dist/cjs/components/app-bar.d.ts +49 -0
- package/dist/cjs/components/app-bar.d.ts.map +1 -0
- package/dist/cjs/components/app-bar.js +2 -0
- package/dist/cjs/components/app-bar.js.map +7 -0
- package/dist/cjs/components/index.d.ts +2 -1
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/components/index.js +5 -5
- package/dist/cjs/components/index.js.map +4 -4
- package/dist/cjs/components/toolbar.d.ts +88 -36
- package/dist/cjs/components/toolbar.d.ts.map +1 -1
- package/dist/cjs/components/toolbar.js +4 -1
- package/dist/cjs/components/toolbar.js.map +4 -4
- package/dist/cjs/components/toolbar.props.d.ts +28 -0
- package/dist/cjs/components/toolbar.props.d.ts.map +1 -0
- package/dist/cjs/components/toolbar.props.js +2 -0
- package/dist/cjs/components/toolbar.props.js.map +7 -0
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +4 -4
- package/dist/esm/{chunk-73QGEY2I.js → chunk-3R4YLW4A.js} +2 -2
- package/dist/esm/{chunk-ZZLZGHZQ.js → chunk-4LDVSTXI.js} +2 -2
- package/dist/esm/chunk-54JFIP5S.js +2 -0
- package/dist/esm/chunk-54JFIP5S.js.map +7 -0
- package/dist/esm/{chunk-X3JM2565.js → chunk-6G3MPL4A.js} +2 -2
- package/dist/esm/{chunk-DSJY5RI3.js → chunk-7JJT42J2.js} +2 -2
- package/dist/esm/chunk-C7EVYSWK.js +1 -0
- package/dist/esm/{chunk-ERY5TH2M.js → chunk-CYU6BLZ5.js} +2 -2
- package/dist/esm/{chunk-25LBWKEV.js → chunk-D6PHTHF2.js} +2 -2
- package/dist/esm/{chunk-QK5RBHKV.js → chunk-ENLFKWYV.js} +2 -2
- package/dist/esm/{chunk-4XGGX2V2.js → chunk-ISOLUTZF.js} +2 -2
- package/dist/esm/{chunk-LXWPEDPZ.js → chunk-IYCPYN4Z.js} +2 -2
- package/dist/esm/{chunk-RJP5QUXO.js → chunk-L5PID6BU.js} +2 -2
- package/dist/esm/{chunk-BW5CO4PZ.js → chunk-METRW4HG.js} +2 -2
- package/dist/esm/{chunk-PYHEBG5I.js → chunk-MJOXEUBT.js} +2 -2
- package/dist/esm/{chunk-4D2OAD6I.js → chunk-OIUCV5HK.js} +2 -2
- package/dist/esm/{chunk-65GAANJD.js → chunk-UYCPDGWA.js} +2 -2
- package/dist/esm/chunk-XLMTTSRO.js +2 -0
- package/dist/esm/chunk-XLMTTSRO.js.map +7 -0
- package/dist/esm/{chunk-QWVU2TW4.js → chunk-ZK7A2MZZ.js} +2 -2
- package/dist/esm/chunk-ZUOK3KFY.js +2 -0
- package/dist/esm/chunk-ZUOK3KFY.js.map +7 -0
- package/dist/esm/components/_internal/base-button.js +1 -1
- package/dist/esm/components/alert-dialog.js +1 -1
- package/dist/esm/components/app-bar.d.ts +49 -0
- package/dist/esm/components/app-bar.d.ts.map +1 -0
- package/dist/esm/components/app-bar.js +2 -0
- package/dist/esm/components/app-bar.js.map +7 -0
- package/dist/esm/components/button.js +1 -1
- package/dist/esm/components/chatbar.js +1 -1
- package/dist/esm/components/checkbox-cards.js +1 -1
- package/dist/esm/components/dialog.js +1 -1
- package/dist/esm/components/icon-button.js +1 -1
- package/dist/esm/components/index.d.ts +2 -1
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/message-scroller.js +1 -1
- package/dist/esm/components/notice.js +1 -1
- package/dist/esm/components/sheet.js +1 -1
- package/dist/esm/components/shell.js +1 -1
- package/dist/esm/components/theme-panel.js +1 -1
- package/dist/esm/components/toggle-button.js +1 -1
- package/dist/esm/components/toggle-icon-button.js +1 -1
- package/dist/esm/components/toolbar.d.ts +88 -36
- package/dist/esm/components/toolbar.d.ts.map +1 -1
- package/dist/esm/components/toolbar.js +1 -1
- package/dist/esm/components/toolbar.props.d.ts +28 -0
- package/dist/esm/components/toolbar.props.d.ts.map +1 -0
- package/dist/esm/components/toolbar.props.js +2 -0
- package/dist/esm/components/toolbar.props.js.map +7 -0
- package/dist/esm/components/user-card.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/props/index.js +1 -1
- package/package.json +1 -1
- package/src/components/app-bar.css +204 -0
- package/src/components/app-bar.tsx +256 -0
- package/src/components/index.css +2 -0
- package/src/components/index.tsx +13 -1
- package/src/components/toolbar.css +87 -160
- package/src/components/toolbar.props.tsx +27 -0
- package/src/components/toolbar.tsx +259 -193
- package/src/styles/tokens/color.css +19 -0
- package/styles.css +146 -26
- package/tokens/base.css +14 -0
- package/tokens.css +14 -0
- package/dist/esm/chunk-47LMOIW3.js +0 -2
- package/dist/esm/chunk-47LMOIW3.js.map +0 -7
- package/dist/esm/chunk-JKS2YXMS.js +0 -1
- /package/dist/esm/{chunk-73QGEY2I.js.map → chunk-3R4YLW4A.js.map} +0 -0
- /package/dist/esm/{chunk-ZZLZGHZQ.js.map → chunk-4LDVSTXI.js.map} +0 -0
- /package/dist/esm/{chunk-X3JM2565.js.map → chunk-6G3MPL4A.js.map} +0 -0
- /package/dist/esm/{chunk-DSJY5RI3.js.map → chunk-7JJT42J2.js.map} +0 -0
- /package/dist/esm/{chunk-JKS2YXMS.js.map → chunk-C7EVYSWK.js.map} +0 -0
- /package/dist/esm/{chunk-ERY5TH2M.js.map → chunk-CYU6BLZ5.js.map} +0 -0
- /package/dist/esm/{chunk-25LBWKEV.js.map → chunk-D6PHTHF2.js.map} +0 -0
- /package/dist/esm/{chunk-QK5RBHKV.js.map → chunk-ENLFKWYV.js.map} +0 -0
- /package/dist/esm/{chunk-4XGGX2V2.js.map → chunk-ISOLUTZF.js.map} +0 -0
- /package/dist/esm/{chunk-LXWPEDPZ.js.map → chunk-IYCPYN4Z.js.map} +0 -0
- /package/dist/esm/{chunk-RJP5QUXO.js.map → chunk-L5PID6BU.js.map} +0 -0
- /package/dist/esm/{chunk-BW5CO4PZ.js.map → chunk-METRW4HG.js.map} +0 -0
- /package/dist/esm/{chunk-PYHEBG5I.js.map → chunk-MJOXEUBT.js.map} +0 -0
- /package/dist/esm/{chunk-4D2OAD6I.js.map → chunk-OIUCV5HK.js.map} +0 -0
- /package/dist/esm/{chunk-65GAANJD.js.map → chunk-UYCPDGWA.js.map} +0 -0
- /package/dist/esm/{chunk-QWVU2TW4.js.map → chunk-ZK7A2MZZ.js.map} +0 -0
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./chunk-EL7YGOTY.js";import"./chunk-
|
|
1
|
+
import"./chunk-EL7YGOTY.js";import"./chunk-C7EVYSWK.js";import{a as zo}from"./chunk-UYCPDGWA.js";import{b as Ao,c as Bo,d as Co,e as Do,f as Eo}from"./chunk-XLMTTSRO.js";import"./chunk-ZUOK3KFY.js";import{a as Fo}from"./chunk-CYU6BLZ5.js";import"./chunk-4WVNMGI5.js";import{a as Go}from"./chunk-YWENWZOU.js";import{c as qo}from"./chunk-ALWNS44Q.js";import"./chunk-MN3XALXD.js";import{a as so,b as uo}from"./chunk-D6PHTHF2.js";import{a as yo}from"./chunk-6G3MPL4A.js";import{a as wo}from"./chunk-VK7RNXUO.js";import{a as vo}from"./chunk-EE54S7YV.js";import{c as jo}from"./chunk-K3UAS7RW.js";import"./chunk-AUV6B4AH.js";import{h as ko}from"./chunk-36A5BYCN.js";import"./chunk-BALS3AVM.js";import{e as lo}from"./chunk-VNH7BJOA.js";import"./chunk-TZTUPQYK.js";import{a as no}from"./chunk-EPTYNVCU.js";import"./chunk-CLMOWP5T.js";import{a as go}from"./chunk-VZSQATP6.js";import{a as ho}from"./chunk-43A5GUSI.js";import"./chunk-XI5YXUCK.js";import{a as io}from"./chunk-KJUDZCYK.js";import"./chunk-AF6XKU3W.js";import{h as Io}from"./chunk-MJOXEUBT.js";import"./chunk-2EQWBT2S.js";import{p as Ho}from"./chunk-53SZ4Y23.js";import"./chunk-2CMM7MEL.js";import"./chunk-OJU5GCDZ.js";import{c as xo}from"./chunk-FG7XM7KJ.js";import"./chunk-FC2DBBJ3.js";import{h as bo}from"./chunk-VHECAEUP.js";import"./chunk-EBQZ3Z22.js";import{a as co}from"./chunk-VR7ZAFYN.js";import"./chunk-CRSHBENJ.js";import{g as Jo}from"./chunk-ZK7A2MZZ.js";import"./chunk-ADXZNG4F.js";import{a as ao}from"./chunk-OGXZHAQL.js";import"./chunk-NIX6Z3JG.js";import{c as mo}from"./chunk-2I7QRVJ5.js";import"./chunk-VLTXI4A7.js";import{a as po}from"./chunk-CIYF56YS.js";import"./chunk-STPMPY3X.js";import{a as to}from"./chunk-FHEHX7CE.js";import{a as oo}from"./chunk-XEZXKPLE.js";import{a as ro}from"./chunk-CDG5WH4U.js";import"./chunk-5XV4QEP5.js";import{a as eo}from"./chunk-GLERJXVS.js";import"./chunk-MCQCG6AS.js";import{c as fo}from"./chunk-CRTH5LNU.js";import"./chunk-OWMA6GTG.js";import{a as _}from"./chunk-YBSRX63K.js";import"./chunk-AGSSWWFI.js";import{i as Ko}from"./chunk-OIUCV5HK.js";import{e as $}from"./chunk-7UHKEJ7Q.js";import"./chunk-Y3A6ZU24.js";import{a as Y}from"./chunk-IHK3H2OM.js";import{a as X}from"./chunk-S5C5YRBS.js";import"./chunk-IBF5U4QW.js";import"./chunk-L6UXAITB.js";import"./chunk-GFOSP3PZ.js";import{a as Z}from"./chunk-CSKZZOI2.js";import"./chunk-JAMLW534.js";import{d as W}from"./chunk-MEO7MJMQ.js";import"./chunk-VJSZG35J.js";import{e as R}from"./chunk-RNTCHVFI.js";import{g as T}from"./chunk-7JJT42J2.js";import{a as S}from"./chunk-MHANZINI.js";import{o as U}from"./chunk-MZXHKM4V.js";import"./chunk-WOR3JCLX.js";import{a as V}from"./chunk-7FC7HF76.js";import"./chunk-4JQZUQY7.js";import{a as M}from"./chunk-N4GTDLRD.js";import{l as O}from"./chunk-T4OR62DQ.js";import{g as N}from"./chunk-WHFJ4JUN.js";import"./chunk-72AHPGPN.js";import"./chunk-RDAMYQFF.js";import{a as P}from"./chunk-4ME6O27S.js";import"./chunk-PPNWGWN3.js";import{n as Q}from"./chunk-PQKJNRMR.js";import"./chunk-OA7C34MJ.js";import"./chunk-NIIEIZKQ.js";import{c as J}from"./chunk-METRW4HG.js";import{a as I}from"./chunk-VX6ARMWP.js";import"./chunk-667BKCUG.js";import"./chunk-HAGKI7NA.js";import{c as K}from"./chunk-OMGZG52I.js";import"./chunk-V32EP3S7.js";import"./chunk-5SNHUVDA.js";import{a as L}from"./chunk-KFR3CK24.js";import"./chunk-UICSVJ3B.js";import"./chunk-KZWNGWIM.js";import{a as u}from"./chunk-4YFJWXL2.js";import{d as y}from"./chunk-CKMMUHKE.js";import"./chunk-OGVKSYLL.js";import{l as H}from"./chunk-ENLFKWYV.js";import{b as F,c as G}from"./chunk-L5PID6BU.js";import{a as z}from"./chunk-ISOLUTZF.js";import{a as E}from"./chunk-COWZAUZR.js";import"./chunk-5GXFBLBJ.js";import"./chunk-UBOOUDS4.js";import"./chunk-XPRPYCII.js";import"./chunk-5BWLY27A.js";import{a as A,b as B,c as C,d as D}from"./chunk-IX5HIHVI.js";import{a as w}from"./chunk-3R4YLW4A.js";import{a as v}from"./chunk-2N2AQNJH.js";import{a as k}from"./chunk-Y7LT3F6R.js";import{a as l}from"./chunk-HJU4I34X.js";import"./chunk-PS6NEG5A.js";import"./chunk-QFPHEY77.js";import{a as q}from"./chunk-KMPE7TJ6.js";import{a as n}from"./chunk-OLAWVEAI.js";import"./chunk-BPVVFHYD.js";import"./chunk-QQ62LO3X.js";import{a as s}from"./chunk-MS5J4MF6.js";import"./chunk-FGORMEAO.js";import"./chunk-ROSWI2CL.js";import{a as b}from"./chunk-ERNM3KVF.js";import{f as c}from"./chunk-Y5RCH23Z.js";import"./chunk-EDKQURDU.js";import{h}from"./chunk-IYCPYN4Z.js";import"./chunk-MJJ7XDIP.js";import{a as g}from"./chunk-5WRCK4R7.js";import"./chunk-4XKK32M4.js";import"./chunk-XKBLNVOD.js";import"./chunk-GCUGJXI2.js";import{f as j}from"./chunk-54JFIP5S.js";import{a as i}from"./chunk-JDGJSNWT.js";import"./chunk-OO652UQW.js";import{a as d}from"./chunk-GO7OHBHW.js";import"./chunk-PZ7OYATT.js";import"./chunk-G2CKYO2I.js";import"./chunk-AXUDFYLY.js";import"./chunk-KNQBAOMV.js";import"./chunk-FD2TR343.js";import"./chunk-WYADYDPN.js";import"./chunk-ZE2KAVXW.js";import"./chunk-ZWZGUBL4.js";import"./chunk-7RQNB63F.js";import{a as t,b as x,c as a}from"./chunk-SEY4NA45.js";import"./chunk-WAURCNAS.js";import"./chunk-F22ZRNWL.js";import"./chunk-XYVLQDGR.js";import"./chunk-YAQBIO2B.js";import"./chunk-AGNIFHOE.js";import"./chunk-HCNO7PX6.js";import"./chunk-GMHA5CFH.js";import"./chunk-A2XVR7GL.js";import"./chunk-BZZXXZ3O.js";import"./chunk-2LYX5S7H.js";import"./chunk-HWQ3NTJP.js";import"./chunk-3J6AUDID.js";import"./chunk-4LDVSTXI.js";import{a as f}from"./chunk-HF5WY5YE.js";import"./chunk-3KB2XWBE.js";import{a as m}from"./chunk-AGAQC4HH.js";import"./chunk-5T6K7VPP.js";import{a as e}from"./chunk-FHOCUZDR.js";import"./chunk-SMGDH54W.js";import"./chunk-SNR5VFWG.js";import{b as o,c as r}from"./chunk-FWB47YCH.js";import"./chunk-K53W3ELO.js";import"./chunk-TTFUM47A.js";import"./chunk-VX44UTQ5.js";import"./chunk-ERGJN7FJ.js";import"./chunk-5TXQLK4G.js";import"./chunk-JFWMAYEH.js";import"./chunk-KRJTW535.js";import"./chunk-F6V7GBNQ.js";import"./chunk-3KSGRY6I.js";import"./chunk-ZOY43B55.js";import{a as p}from"./chunk-E67CIG6A.js";import"./chunk-ARIV4AT5.js";import"./chunk-3XSB7YIM.js";import"./chunk-YA5DF67M.js";import"./chunk-GSTOGDAJ.js";import"./chunk-6FLLFCBU.js";import"./chunk-AX5S56DS.js";import"./chunk-E23RKOQJ.js";import"./chunk-JUY7CBSL.js";import"./chunk-WRWNN2NW.js";import"./chunk-QM3RCK5P.js";import"./chunk-RZCX6IBE.js";import"./chunk-NZJGC6ZW.js";import"./chunk-WMGIFPI2.js";import"./chunk-CFNESRYI.js";import"./chunk-ZNK6AH2G.js";import"./chunk-JSW6J6RS.js";import"./chunk-OS3FCYZY.js";export{b as AccessibleIcon,c as Accordion,h as AlertDialog,j as AppBar,k as AspectRatio,l as Avatar,q as Badge,s as Blockquote,u as Box,w as Button,y as Callout,i as Card,H as Chatbar,L as Checkbox,J as CheckboxCards,K as CheckboxGroup,C as ChevronDownIcon,M as Code,O as Combobox,G as Confirmation,P as Container,Q as ContextMenu,R as DataList,T as Dialog,U as DropdownMenu,V as Em,e as Flex,I as Grid,d as Heading,W as HoverCard,z as IconButton,Y as Image,Z as Inset,p as Kbd,_ as Link,Ko as MessageScroller,$ as Navbar,F as Notice,N as Popover,oo as Portal,ro as Progress,eo as Quote,po as Radio,fo as RadioCards,mo as RadioGroup,to as Reset,E as ScrollArea,ao as Section,xo as SegmentedControl,bo as Select,co as Separator,Jo as Sheet,Io as Shell,Ho as Sidebar,X as Skeleton,go as Slider,o as Slot,r as Slottable,f as Spinner,ho as Strong,io as Switch,jo as TabNav,ko as Table,lo as Tabs,g as Text,no as TextArea,qo as TextField,a as Theme,t as ThemeContext,so as ThemePanel,uo as ThemePanelContent,B as ThickCheckIcon,D as ThickChevronRightIcon,A as ThickDividerHorizontalIcon,yo as ToggleButton,zo as ToggleIconButton,Eo as Toolbar,Bo as ToolbarButton,Ao as ToolbarGroup,Co as ToolbarSeparator,Do as ToolbarTitle,n as Tooltip,Fo as UserCard,Go as VirtualMenu,m as VisuallyHidden,S as useBodyPointerEventsCleanup,vo as useLiveAnnouncer,x as useThemeContext,wo as useToggleState,v as useTooltipWrapper};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/props/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as Go}from"../chunk-MQWH2IFO.js";import{a as
|
|
1
|
+
import{a as Go}from"../chunk-MQWH2IFO.js";import{a as Eo,b as Fo}from"../chunk-MN3XALXD.js";import{a as wo}from"../chunk-AUV6B4AH.js";import{a as yo,b as zo,c as Ao}from"../chunk-BALS3AVM.js";import{a as Bo,b as Co}from"../chunk-TZTUPQYK.js";import{a as Do}from"../chunk-CLMOWP5T.js";import{a as uo}from"../chunk-XI5YXUCK.js";import{a as vo}from"../chunk-AF6XKU3W.js";import{a as so}from"../chunk-OJU5GCDZ.js";import{a as io}from"../chunk-FC2DBBJ3.js";import{a as ko,b as lo,c as no}from"../chunk-EBQZ3Z22.js";import{a as qo}from"../chunk-CRSHBENJ.js";import{a as jo}from"../chunk-NIX6Z3JG.js";import{a as ho}from"../chunk-VLTXI4A7.js";import"../chunk-STPMPY3X.js";import{a as bo}from"../chunk-5XV4QEP5.js";import{a as co}from"../chunk-MCQCG6AS.js";import{a as go}from"../chunk-OWMA6GTG.js";import{a as ao}from"../chunk-AGSSWWFI.js";import{a as to}from"../chunk-L6UXAITB.js";import{a as po}from"../chunk-GFOSP3PZ.js";import{a as xo}from"../chunk-JAMLW534.js";import{a as mo}from"../chunk-VJSZG35J.js";import"../chunk-YKPMLM7M.js";import"../chunk-WOR3JCLX.js";import{a as fo}from"../chunk-4JQZUQY7.js";import{a as _}from"../chunk-72AHPGPN.js";import{a as $}from"../chunk-PPNWGWN3.js";import"../chunk-OA7C34MJ.js";import{a as oo,b as ro,c as eo}from"../chunk-NIIEIZKQ.js";import{a as X}from"../chunk-667BKCUG.js";import{a as W}from"../chunk-HAGKI7NA.js";import{a as Y}from"../chunk-5SNHUVDA.js";import"../chunk-UICSVJ3B.js";import{a as Z}from"../chunk-KZWNGWIM.js";import"../chunk-6DWDNKLS.js";import{a as U}from"../chunk-OGVKSYLL.js";import{a as V}from"../chunk-XPRPYCII.js";import{a as P}from"../chunk-QFPHEY77.js";import{a as R}from"../chunk-BPVVFHYD.js";import{a as Q}from"../chunk-QQ62LO3X.js";import{a as S}from"../chunk-WGYUWEQV.js";import{a as T}from"../chunk-FGORMEAO.js";import{a as N}from"../chunk-4XKK32M4.js";import{a as E}from"../chunk-XKBLNVOD.js";import{a as D}from"../chunk-GCUGJXI2.js";import{a as O}from"../chunk-OO652UQW.js";import{a as M}from"../chunk-PZ7OYATT.js";import{a as I}from"../chunk-G2CKYO2I.js";import"../chunk-AXUDFYLY.js";import{a as H}from"../chunk-KNQBAOMV.js";import{a as L}from"../chunk-FD2TR343.js";import{a as J}from"../chunk-WYADYDPN.js";import{a as K}from"../chunk-ZE2KAVXW.js";import{a as F,b as G}from"../chunk-ZWZGUBL4.js";import{a as C}from"../chunk-XYVLQDGR.js";import{a as l}from"../chunk-3KB2XWBE.js";import{a as k}from"../chunk-SMGDH54W.js";import{a as j}from"../chunk-SNR5VFWG.js";import{a as h}from"../chunk-K53W3ELO.js";import{a as c}from"../chunk-TTFUM47A.js";import{a as d}from"../chunk-VX44UTQ5.js";import{a as g}from"../chunk-ERGJN7FJ.js";import{a as x}from"../chunk-JFWMAYEH.js";import{a as p,b as t}from"../chunk-KRJTW535.js";import{a as n}from"../chunk-F6V7GBNQ.js";import{a as q,b as s,c as u,d as v,e as w,f as y}from"../chunk-3KSGRY6I.js";import{a as z}from"../chunk-ARIV4AT5.js";import{a as i}from"../chunk-GSTOGDAJ.js";import{a,b}from"../chunk-WRWNN2NW.js";import{a as o}from"../chunk-NZJGC6ZW.js";import{a as A}from"../chunk-WMGIFPI2.js";import{a as B}from"../chunk-CFNESRYI.js";import{a as r,b as e,c as f,d as m}from"../chunk-ZNK6AH2G.js";import"../chunk-OS3FCYZY.js";export{m as accentColorPropDef,r as accentColors,E as alertDialogContentPropDefs,o as asChildPropDef,P as avatarPropDefs,Q as badgePropDefs,S as blockquotePropDefs,T as boxPropDefs,b as breakpointSet,a as breakpoints,x as buttonPropDefs,U as calloutRootPropDefs,O as cardPropDefs,X as checkboxCardsRootPropDefs,Y as checkboxGroupRootPropDefs,n as checkboxPropDefs,Z as codePropDefs,f as colorPropDef,$ as containerPropDefs,w as contextMenuCheckboxItemPropDefs,u as contextMenuContentPropDefs,v as contextMenuItemPropDefs,y as contextMenuRadioItemPropDefs,u as contextMenuSubContentPropDefs,ro as dataListItemPropDefs,eo as dataListLabelPropDefs,oo as dataListRootPropDefs,D as dialogContentPropDefs,w as dropdownMenuCheckboxItemPropDefs,s as dropdownMenuContentPropDefs,v as dropdownMenuItemPropDefs,y as dropdownMenuRadioItemPropDefs,u as dropdownMenuSubContentPropDefs,fo as emPropDefs,F as emphases,G as emphasisPropDef,k as flexPropDefs,j as gapPropDefs,e as grayColors,W as gridPropDefs,M as headingPropDefs,d as heightPropDefs,mo as hoverCardContentPropDefs,x as iconButtonPropDefs,po as imagePropDefs,xo as insetPropDefs,z as kbdPropDefs,h as layoutPropDefs,H as leadingTrimPropDef,ao as linkPropDefs,i as marginPropDefs,c as paddingPropDefs,_ as popoverContentPropDefs,bo as progressPropDefs,co as quotePropDefs,p as radii,go as radioCardsRootPropDefs,ho as radioGroupRootPropDefs,A as radioPropDefs,t as radiusPropDef,V as scrollAreaPropDefs,jo as sectionPropDefs,io as segmentedControlRootPropDefs,no as selectContentPropDefs,ko as selectRootPropDefs,lo as selectTriggerPropDefs,qo as separatorPropDefs,Go as shadowPropDefs,to as skeletonPropDefs,so as sliderPropDefs,l as spinnerPropDefs,uo as strongPropDefs,q as submenuBehaviors,vo as switchPropDefs,wo as tabNavLinkPropDefs,B as tabNavRootPropDefs,Ao as tableCellPropDefs,yo as tableRootPropDefs,zo as tableRowPropDefs,Co as tabsContentPropDefs,B as tabsListPropDefs,Bo as tabsRootPropDefs,I as textAlignPropDef,Do as textAreaPropDefs,Eo as textFieldRootPropDefs,Fo as textFieldSlotPropDefs,N as textPropDefs,J as textWrapPropDef,C as themePropDefs,R as tooltipPropDefs,K as truncatePropDef,L as weightPropDef,g as widthPropDefs};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/* stylelint-disable selector-max-specificity */
|
|
2
|
+
/* AppBar Component */
|
|
3
|
+
|
|
4
|
+
.rt-AppBar {
|
|
5
|
+
position: absolute;
|
|
6
|
+
z-index: 1;
|
|
7
|
+
|
|
8
|
+
/* --rt-app-bar-height and --rt-app-bar-width are set on parent element via JS */
|
|
9
|
+
/* (the old --rt-toolbar-* names are still set too, for layouts written before the rename) */
|
|
10
|
+
/* Use pt/pb/pl/pr="var(--rt-app-bar-height)" on content to avoid overlap */
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Grid layout for true centering */
|
|
14
|
+
.rt-AppBarInner {
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-columns: 1fr auto 1fr;
|
|
17
|
+
align-items: center;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
gap: var(--space-2);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Vertical app bars use row-based grid */
|
|
24
|
+
.rt-AppBar:where([data-anchor='left'], [data-anchor='right']) .rt-AppBarInner {
|
|
25
|
+
grid-template-columns: 1fr;
|
|
26
|
+
grid-template-rows: 1fr auto 1fr;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rt-AppBar:where([data-anchor='left'], [data-anchor='right']) .rt-AppBarLeft {
|
|
30
|
+
grid-column: 1;
|
|
31
|
+
grid-row: 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rt-AppBar:where([data-anchor='left'], [data-anchor='right']) .rt-AppBarCenter {
|
|
35
|
+
grid-column: 1;
|
|
36
|
+
grid-row: 2;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.rt-AppBar:where([data-anchor='left'], [data-anchor='right']) .rt-AppBarRight {
|
|
40
|
+
grid-column: 1;
|
|
41
|
+
grid-row: 3;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
45
|
+
/* */
|
|
46
|
+
/* Anchor positions */
|
|
47
|
+
/* */
|
|
48
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
49
|
+
|
|
50
|
+
.rt-AppBar:where([data-anchor='top']) {
|
|
51
|
+
top: 0;
|
|
52
|
+
left: 0;
|
|
53
|
+
right: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.rt-AppBar:where([data-anchor='bottom']) {
|
|
57
|
+
bottom: 0;
|
|
58
|
+
left: 0;
|
|
59
|
+
right: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.rt-AppBar:where([data-anchor='left']) {
|
|
63
|
+
top: 0;
|
|
64
|
+
bottom: 0;
|
|
65
|
+
left: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.rt-AppBar:where([data-anchor='right']) {
|
|
69
|
+
top: 0;
|
|
70
|
+
bottom: 0;
|
|
71
|
+
right: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
75
|
+
/* */
|
|
76
|
+
/* Inset mode (default) */
|
|
77
|
+
/* Edge-to-edge positioning */
|
|
78
|
+
/* */
|
|
79
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
80
|
+
|
|
81
|
+
/* Remove border-radius in inset mode */
|
|
82
|
+
.rt-AppBar:where(:not([data-floating])) {
|
|
83
|
+
--base-card-border-radius: 0;
|
|
84
|
+
border-radius: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Override Card's box-shadow to only show exposed edge */
|
|
88
|
+
/* Top anchor: only show bottom border */
|
|
89
|
+
.rt-AppBar:where([data-anchor='top']:not([data-floating])) {
|
|
90
|
+
&::after {
|
|
91
|
+
box-shadow: inset 0 -1px 0 0 var(--gray-6);
|
|
92
|
+
}
|
|
93
|
+
:where([data-panel-background='translucent'], [data-material='translucent']) &::after,
|
|
94
|
+
&:where([data-panel-background='translucent'], [data-material='translucent'])::after {
|
|
95
|
+
box-shadow: inset 0 -1px 0 0 var(--gray-a6);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Bottom anchor: only show top border */
|
|
100
|
+
.rt-AppBar:where([data-anchor='bottom']:not([data-floating])) {
|
|
101
|
+
&::after {
|
|
102
|
+
box-shadow: inset 0 1px 0 0 var(--gray-6);
|
|
103
|
+
}
|
|
104
|
+
:where([data-panel-background='translucent'], [data-material='translucent']) &::after,
|
|
105
|
+
&:where([data-panel-background='translucent'], [data-material='translucent'])::after {
|
|
106
|
+
box-shadow: inset 0 1px 0 0 var(--gray-a6);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Left anchor: only show right border */
|
|
111
|
+
.rt-AppBar:where([data-anchor='left']:not([data-floating])) {
|
|
112
|
+
&::after {
|
|
113
|
+
box-shadow: inset -1px 0 0 0 var(--gray-6);
|
|
114
|
+
}
|
|
115
|
+
:where([data-panel-background='translucent'], [data-material='translucent']) &::after,
|
|
116
|
+
&:where([data-panel-background='translucent'], [data-material='translucent'])::after {
|
|
117
|
+
box-shadow: inset -1px 0 0 0 var(--gray-a6);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Right anchor: only show left border */
|
|
122
|
+
.rt-AppBar:where([data-anchor='right']:not([data-floating])) {
|
|
123
|
+
&::after {
|
|
124
|
+
box-shadow: inset 1px 0 0 0 var(--gray-6);
|
|
125
|
+
}
|
|
126
|
+
:where([data-panel-background='translucent'], [data-material='translucent']) &::after,
|
|
127
|
+
&:where([data-panel-background='translucent'], [data-material='translucent'])::after {
|
|
128
|
+
box-shadow: inset 1px 0 0 0 var(--gray-a6);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Ghost variant in normal mode has no border */
|
|
133
|
+
.rt-AppBar:where(.rt-variant-ghost:not([data-floating]))::after {
|
|
134
|
+
box-shadow: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Soft variant in normal mode has no border */
|
|
138
|
+
.rt-AppBar:where(.rt-variant-soft:not([data-floating]))::after {
|
|
139
|
+
box-shadow: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
143
|
+
/* */
|
|
144
|
+
/* Floating mode */
|
|
145
|
+
/* Full card treatment */
|
|
146
|
+
/* */
|
|
147
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
148
|
+
|
|
149
|
+
/* Floating mode: margin controlled via offset prop in JS */
|
|
150
|
+
/* Inherits Card's border-radius (not overridden like inset mode) */
|
|
151
|
+
|
|
152
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
153
|
+
/* */
|
|
154
|
+
/* Title truncation */
|
|
155
|
+
/* */
|
|
156
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
157
|
+
|
|
158
|
+
.rt-AppBarTitle {
|
|
159
|
+
/* Ensure title can truncate within flex container */
|
|
160
|
+
min-width: 0;
|
|
161
|
+
flex-shrink: 1;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
165
|
+
/* */
|
|
166
|
+
/* Section alignment */
|
|
167
|
+
/* */
|
|
168
|
+
/* * * * * * * * * * * * * * * * * * * */
|
|
169
|
+
|
|
170
|
+
.rt-AppBarSection {
|
|
171
|
+
min-width: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.rt-AppBarLeft {
|
|
175
|
+
grid-column: 1;
|
|
176
|
+
justify-self: start;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.rt-AppBarCenter {
|
|
180
|
+
grid-column: 2;
|
|
181
|
+
justify-self: center;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Ensure Right always stays in the right column */
|
|
185
|
+
.rt-AppBarRight {
|
|
186
|
+
grid-column: 3;
|
|
187
|
+
justify-self: end;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* Vertical app bar section alignment */
|
|
191
|
+
.rt-AppBar:where([data-anchor='left'], [data-anchor='right']) .rt-AppBarLeft {
|
|
192
|
+
align-self: start;
|
|
193
|
+
justify-self: center;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.rt-AppBar:where([data-anchor='left'], [data-anchor='right']) .rt-AppBarCenter {
|
|
197
|
+
align-self: center;
|
|
198
|
+
justify-self: center;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.rt-AppBar:where([data-anchor='left'], [data-anchor='right']) .rt-AppBarRight {
|
|
202
|
+
align-self: end;
|
|
203
|
+
justify-self: center;
|
|
204
|
+
}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
|
|
4
|
+
import { Card } from './card.js';
|
|
5
|
+
import { Flex } from './flex.js';
|
|
6
|
+
import { Heading } from './heading.js';
|
|
7
|
+
|
|
8
|
+
import type { CardProps } from './card.js';
|
|
9
|
+
import type { FlexProps } from './flex.js';
|
|
10
|
+
|
|
11
|
+
// ============================================================================
|
|
12
|
+
// AppBar Root
|
|
13
|
+
// ============================================================================
|
|
14
|
+
|
|
15
|
+
type AppBarRootElement = React.ElementRef<'div'>;
|
|
16
|
+
type Anchor = 'top' | 'bottom' | 'left' | 'right';
|
|
17
|
+
type SpaceScale = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
|
18
|
+
|
|
19
|
+
interface AppBarRootProps extends Omit<CardProps, 'asChild'> {
|
|
20
|
+
/**
|
|
21
|
+
* Which edge to anchor to. Sets position: sticky and the appropriate edge.
|
|
22
|
+
* @default "top"
|
|
23
|
+
*/
|
|
24
|
+
anchor?: Anchor;
|
|
25
|
+
/**
|
|
26
|
+
* Floating mode adds margin from edges for a detached look with absolute positioning.
|
|
27
|
+
* When false (default), uses inset mode with negative margins to go edge-to-edge inside Cards.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
floating?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Margin offset from edges when floating. Uses space scale values.
|
|
33
|
+
* @default "2"
|
|
34
|
+
*/
|
|
35
|
+
offset?: SpaceScale;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* An app bar: the band anchored to one edge of a pane, with left, center and right sections
|
|
40
|
+
* and a title. It publishes its height (or width) to its parent as `--rt-app-bar-height`
|
|
41
|
+
* (`--rt-app-bar-width`) so content can pad itself clear of it.
|
|
42
|
+
*
|
|
43
|
+
* This component was called `Toolbar` until 0.11.0. It is not a `role="toolbar"`: for a row of
|
|
44
|
+
* controls with one tab stop and arrow-key navigation, use `Toolbar`.
|
|
45
|
+
*/
|
|
46
|
+
const AppBarRoot = React.forwardRef<AppBarRootElement, AppBarRootProps>(
|
|
47
|
+
(props, forwardedRef) => {
|
|
48
|
+
const {
|
|
49
|
+
anchor = 'top',
|
|
50
|
+
floating = false,
|
|
51
|
+
offset = '2',
|
|
52
|
+
size = '1',
|
|
53
|
+
variant = 'ghost',
|
|
54
|
+
material,
|
|
55
|
+
className,
|
|
56
|
+
style,
|
|
57
|
+
children,
|
|
58
|
+
...restProps
|
|
59
|
+
} = props;
|
|
60
|
+
|
|
61
|
+
const isHorizontal = anchor === 'top' || anchor === 'bottom';
|
|
62
|
+
const internalRef = React.useRef<HTMLDivElement>(null);
|
|
63
|
+
|
|
64
|
+
// Merge refs
|
|
65
|
+
const mergedRef = React.useCallback(
|
|
66
|
+
(node: HTMLDivElement | null) => {
|
|
67
|
+
(internalRef as React.MutableRefObject<HTMLDivElement | null>).current = node;
|
|
68
|
+
if (typeof forwardedRef === 'function') {
|
|
69
|
+
forwardedRef(node);
|
|
70
|
+
} else if (forwardedRef) {
|
|
71
|
+
forwardedRef.current = node;
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
[forwardedRef],
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
// Expose height/width as CSS variable on parent element
|
|
78
|
+
React.useEffect(() => {
|
|
79
|
+
const element = internalRef.current;
|
|
80
|
+
if (!element) return;
|
|
81
|
+
|
|
82
|
+
const parent = element.parentElement;
|
|
83
|
+
if (!parent) return;
|
|
84
|
+
|
|
85
|
+
const update = () => {
|
|
86
|
+
let dimension = isHorizontal ? element.offsetHeight : element.offsetWidth;
|
|
87
|
+
|
|
88
|
+
// For floating mode, include the margin in the total space
|
|
89
|
+
if (floating) {
|
|
90
|
+
const computedStyle = getComputedStyle(element);
|
|
91
|
+
const margin = parseFloat(computedStyle.marginTop) || 0;
|
|
92
|
+
dimension += margin * 2;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// `--rt-toolbar-*` are the names this bar published while it was called Toolbar.
|
|
96
|
+
// They are still written so existing layouts keep their offset; prefer `--rt-app-bar-*`.
|
|
97
|
+
if (isHorizontal) {
|
|
98
|
+
parent.style.setProperty('--rt-app-bar-height', `${dimension}px`);
|
|
99
|
+
parent.style.setProperty('--rt-toolbar-height', `${dimension}px`);
|
|
100
|
+
} else {
|
|
101
|
+
parent.style.setProperty('--rt-app-bar-width', `${dimension}px`);
|
|
102
|
+
parent.style.setProperty('--rt-toolbar-width', `${dimension}px`);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
update();
|
|
107
|
+
|
|
108
|
+
const resizeObserver = new ResizeObserver(update);
|
|
109
|
+
resizeObserver.observe(element);
|
|
110
|
+
|
|
111
|
+
return () => resizeObserver.disconnect();
|
|
112
|
+
}, [isHorizontal, floating]);
|
|
113
|
+
|
|
114
|
+
const computedStyle = floating
|
|
115
|
+
? { margin: `var(--space-${offset})`, ...style }
|
|
116
|
+
: style;
|
|
117
|
+
|
|
118
|
+
return (
|
|
119
|
+
<Card
|
|
120
|
+
ref={mergedRef}
|
|
121
|
+
size={size}
|
|
122
|
+
variant={variant}
|
|
123
|
+
material={material}
|
|
124
|
+
data-anchor={anchor}
|
|
125
|
+
data-floating={floating || undefined}
|
|
126
|
+
className={classNames('rt-AppBar', className)}
|
|
127
|
+
style={computedStyle}
|
|
128
|
+
{...restProps}
|
|
129
|
+
>
|
|
130
|
+
<div className="rt-AppBarInner">
|
|
131
|
+
{children}
|
|
132
|
+
</div>
|
|
133
|
+
</Card>
|
|
134
|
+
);
|
|
135
|
+
},
|
|
136
|
+
);
|
|
137
|
+
AppBarRoot.displayName = 'AppBar.Root';
|
|
138
|
+
|
|
139
|
+
// ============================================================================
|
|
140
|
+
// AppBar Left (for horizontal) / Start (alias)
|
|
141
|
+
// ============================================================================
|
|
142
|
+
|
|
143
|
+
type AppBarSectionElement = React.ElementRef<'div'>;
|
|
144
|
+
type AppBarSectionProps = FlexProps;
|
|
145
|
+
|
|
146
|
+
const AppBarLeft = React.forwardRef<AppBarSectionElement, AppBarSectionProps>(
|
|
147
|
+
({ gap = '2', align = 'center', className, children, ...props }, forwardedRef) => (
|
|
148
|
+
<Flex
|
|
149
|
+
ref={forwardedRef}
|
|
150
|
+
align={align}
|
|
151
|
+
gap={gap}
|
|
152
|
+
className={classNames('rt-AppBarSection', 'rt-AppBarLeft', className)}
|
|
153
|
+
{...props}
|
|
154
|
+
>
|
|
155
|
+
{children}
|
|
156
|
+
</Flex>
|
|
157
|
+
),
|
|
158
|
+
);
|
|
159
|
+
AppBarLeft.displayName = 'AppBar.Left';
|
|
160
|
+
|
|
161
|
+
// ============================================================================
|
|
162
|
+
// AppBar Center
|
|
163
|
+
// ============================================================================
|
|
164
|
+
|
|
165
|
+
const AppBarCenter = React.forwardRef<AppBarSectionElement, AppBarSectionProps>(
|
|
166
|
+
({ gap = '2', align = 'center', justify = 'center', className, children, ...props }, forwardedRef) => (
|
|
167
|
+
<Flex
|
|
168
|
+
ref={forwardedRef}
|
|
169
|
+
align={align}
|
|
170
|
+
justify={justify}
|
|
171
|
+
gap={gap}
|
|
172
|
+
className={classNames('rt-AppBarSection', 'rt-AppBarCenter', className)}
|
|
173
|
+
{...props}
|
|
174
|
+
>
|
|
175
|
+
{children}
|
|
176
|
+
</Flex>
|
|
177
|
+
),
|
|
178
|
+
);
|
|
179
|
+
AppBarCenter.displayName = 'AppBar.Center';
|
|
180
|
+
|
|
181
|
+
// ============================================================================
|
|
182
|
+
// AppBar Right (for horizontal) / End (alias)
|
|
183
|
+
// ============================================================================
|
|
184
|
+
|
|
185
|
+
const AppBarRight = React.forwardRef<AppBarSectionElement, AppBarSectionProps>(
|
|
186
|
+
({ gap = '2', align = 'center', justify = 'end', className, children, ...props }, forwardedRef) => (
|
|
187
|
+
<Flex
|
|
188
|
+
ref={forwardedRef}
|
|
189
|
+
align={align}
|
|
190
|
+
justify={justify}
|
|
191
|
+
gap={gap}
|
|
192
|
+
className={classNames('rt-AppBarSection', 'rt-AppBarRight', className)}
|
|
193
|
+
{...props}
|
|
194
|
+
>
|
|
195
|
+
{children}
|
|
196
|
+
</Flex>
|
|
197
|
+
),
|
|
198
|
+
);
|
|
199
|
+
AppBarRight.displayName = 'AppBar.Right';
|
|
200
|
+
|
|
201
|
+
// ============================================================================
|
|
202
|
+
// AppBar Title
|
|
203
|
+
// ============================================================================
|
|
204
|
+
|
|
205
|
+
type AppBarTitleElement = React.ElementRef<typeof Heading>;
|
|
206
|
+
type AppBarTitleProps = React.ComponentPropsWithoutRef<typeof Heading>;
|
|
207
|
+
|
|
208
|
+
const AppBarTitle = React.forwardRef<AppBarTitleElement, AppBarTitleProps>(
|
|
209
|
+
({ className, size = '2', weight = 'medium', truncate = true, children, ...props }, forwardedRef) => (
|
|
210
|
+
<Heading
|
|
211
|
+
ref={forwardedRef}
|
|
212
|
+
size={size}
|
|
213
|
+
weight={weight}
|
|
214
|
+
truncate={truncate}
|
|
215
|
+
className={classNames('rt-AppBarTitle', className)}
|
|
216
|
+
{...props}
|
|
217
|
+
>
|
|
218
|
+
{children}
|
|
219
|
+
</Heading>
|
|
220
|
+
),
|
|
221
|
+
);
|
|
222
|
+
AppBarTitle.displayName = 'AppBar.Title';
|
|
223
|
+
|
|
224
|
+
// ============================================================================
|
|
225
|
+
// Exports
|
|
226
|
+
// ============================================================================
|
|
227
|
+
|
|
228
|
+
const AppBar = AppBarRoot as typeof AppBarRoot & {
|
|
229
|
+
Root: typeof AppBarRoot;
|
|
230
|
+
Left: typeof AppBarLeft;
|
|
231
|
+
Center: typeof AppBarCenter;
|
|
232
|
+
Right: typeof AppBarRight;
|
|
233
|
+
Title: typeof AppBarTitle;
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
AppBar.Root = AppBarRoot;
|
|
237
|
+
AppBar.Left = AppBarLeft;
|
|
238
|
+
AppBar.Center = AppBarCenter;
|
|
239
|
+
AppBar.Right = AppBarRight;
|
|
240
|
+
AppBar.Title = AppBarTitle;
|
|
241
|
+
|
|
242
|
+
export {
|
|
243
|
+
AppBar,
|
|
244
|
+
AppBarRoot as Root,
|
|
245
|
+
AppBarLeft as Left,
|
|
246
|
+
AppBarCenter as Center,
|
|
247
|
+
AppBarRight as Right,
|
|
248
|
+
AppBarTitle as Title,
|
|
249
|
+
};
|
|
250
|
+
export type {
|
|
251
|
+
AppBarRootProps as RootProps,
|
|
252
|
+
AppBarSectionProps as LeftProps,
|
|
253
|
+
AppBarSectionProps as CenterProps,
|
|
254
|
+
AppBarSectionProps as RightProps,
|
|
255
|
+
AppBarTitleProps as TitleProps,
|
|
256
|
+
};
|
package/src/components/index.css
CHANGED
|
@@ -57,6 +57,8 @@
|
|
|
57
57
|
@import './text-area.css';
|
|
58
58
|
@import './text-field.css';
|
|
59
59
|
@import './theme-panel.css';
|
|
60
|
+
/* AppBar keeps the place its old toolbar.css had: it extends Card and must come after card.css */
|
|
61
|
+
@import './app-bar.css';
|
|
60
62
|
@import './toolbar.css';
|
|
61
63
|
@import './tooltip.css';
|
|
62
64
|
@import './user-card.css';
|
package/src/components/index.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { AccessibleIcon, type AccessibleIconProps } from './accessible-icon.js';
|
|
2
2
|
export * as Accordion from './accordion.js';
|
|
3
3
|
export * as AlertDialog from './alert-dialog.js';
|
|
4
|
+
export { AppBar } from './app-bar.js';
|
|
4
5
|
export { AspectRatio, type AspectRatioProps } from './aspect-ratio.js';
|
|
5
6
|
export { Avatar, type AvatarProps } from './avatar.js';
|
|
6
7
|
export { Badge, type BadgeProps } from './badge.js';
|
|
@@ -71,7 +72,18 @@ export {
|
|
|
71
72
|
export { Theme, ThemeContext, type ThemeContextValue, type ThemeProps, useThemeContext } from './theme.js';
|
|
72
73
|
export { ToggleButton, type ToggleButtonProps } from './toggle-button.js';
|
|
73
74
|
export { ToggleIconButton, type ToggleIconButtonProps } from './toggle-icon-button.js';
|
|
74
|
-
export {
|
|
75
|
+
export {
|
|
76
|
+
Toolbar,
|
|
77
|
+
ToolbarGroup,
|
|
78
|
+
ToolbarButton,
|
|
79
|
+
ToolbarSeparator,
|
|
80
|
+
ToolbarTitle,
|
|
81
|
+
type ToolbarProps,
|
|
82
|
+
type ToolbarGroupProps,
|
|
83
|
+
type ToolbarButtonProps,
|
|
84
|
+
type ToolbarSeparatorProps,
|
|
85
|
+
type ToolbarTitleProps,
|
|
86
|
+
} from './toolbar.js';
|
|
75
87
|
export { Tooltip, type TooltipProps } from './tooltip.js';
|
|
76
88
|
export { UserCard, type UserCardProps } from './user-card.js';
|
|
77
89
|
export { VirtualMenu, type VirtualMenuProps, type VirtualMenuItemProps, type VirtualMenuRenderItemProps } from './virtual-menu.js';
|