@crewlethq/ui 0.102.0 → 0.102.1
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/Accordion/index.js +4 -4
- package/dist/ActivityLine/index.js +3 -3
- package/dist/AddPill/index.js +2 -2
- package/dist/AgentHandoffPanel/index.js +18 -17
- package/dist/Announcer/index.js +2 -2
- package/dist/AppShell/index.js +8 -8
- package/dist/{AppShell-24IM2GC3.css → AppShell-S5FHXWNS.css} +4 -0
- package/dist/ArrangeFrame/index.js +6 -6
- package/dist/ArrangeGroup/index.js +3 -3
- package/dist/ArrangeList/index.js +12 -11
- package/dist/ArtifactBar/index.js +11 -11
- package/dist/ArtifactCard/index.js +19 -16
- package/dist/ArtifactKindIllustration/index.js +2 -2
- package/dist/ArtifactMakeRow/index.js +2 -2
- package/dist/ArtifactNameCell/index.js +2 -2
- package/dist/ArtifactPanel/index.js +6 -6
- package/dist/AttachmentChip/index.js +2 -2
- package/dist/AttentionList/index.js +9 -7
- package/dist/AuthLayout/index.js +6 -4
- package/dist/Avatar/AvatarStack.d.ts +3 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/AvatarPicker/index.js +12 -12
- package/dist/{AvatarStack-KEHD3GWY.css → AvatarStack-EQZZJZ3V.css} +6 -0
- package/dist/BrandSample/index.js +1 -1
- package/dist/{BrandSample-G5V7GKR2.css → BrandSample-WCI3IS25.css} +4 -1
- package/dist/Breadcrumb/index.js +3 -1
- package/dist/{Breadcrumb-55VBXIN4.css → Breadcrumb-4RWP72R6.css} +14 -4
- package/dist/BriefCard/index.js +11 -9
- package/dist/Button/index.js +4 -4
- package/dist/{Button-GDEBGBX6.css → Button-SQVYZFKM.css} +17 -5
- package/dist/Canvas/index.js +7 -7
- package/dist/CanvasBoard/index.js +10 -10
- package/dist/CanvasToolbar/index.js +9 -9
- package/dist/Card/index.js +5 -3
- package/dist/ChangeList/index.js +6 -6
- package/dist/ChangeMark/index.js +3 -3
- package/dist/CharacterCount/index.js +3 -3
- package/dist/Charts/StackedColumns.d.ts +1 -1
- package/dist/Charts/index.js +4 -2
- package/dist/ChatMessage/index.js +5 -5
- package/dist/ChatThread/index.js +5 -5
- package/dist/CheckGrid/index.js +10 -9
- package/dist/Checkbox/index.js +9 -8
- package/dist/ChipField/index.js +4 -4
- package/dist/ChoiceButtons/index.js +2 -2
- package/dist/ChoiceCards/index.js +1 -1
- package/dist/{ChoiceCards-KHJW2FKO.css → ChoiceCards-SCVZ5FQL.css} +7 -0
- package/dist/CodeBlock/index.js +7 -7
- package/dist/ColorField/index.js +9 -8
- package/dist/ColorSwatch/index.js +7 -7
- package/dist/{ColorSwatch-V4DA4TK5.css → ColorSwatch-HBNYO6EK.css} +3 -1
- package/dist/Combobox/index.js +10 -9
- package/dist/{Combobox-GBCWXWEB.css → Combobox-F5VEJIAO.css} +7 -0
- package/dist/CommandPalette/index.js +14 -13
- package/dist/CommentThread/index.js +16 -15
- package/dist/CompactNav/index.js +4 -4
- package/dist/Composer/index.js +10 -9
- package/dist/ConfirmField/index.js +9 -8
- package/dist/ConflictNote/index.js +5 -5
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +7 -7
- package/dist/Copyable/index.js +6 -6
- package/dist/Count/index.js +2 -2
- package/dist/DataGrid/index.js +13 -12
- package/dist/DataTable/index.js +14 -13
- package/dist/DataView/index.js +23 -22
- package/dist/DatasetSource/index.js +4 -4
- package/dist/DateTimePicker/index.js +7 -7
- package/dist/DeepWorkCard/index.js +15 -13
- package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +13 -2
- package/dist/DeliveryReceipt/index.js +2 -2
- package/dist/{DeliveryReceipt-RMZW2DMT.css → DeliveryReceipt-G55ILD6O.css} +21 -0
- package/dist/DiffList/index.js +2 -2
- package/dist/DiffView/index.js +2 -2
- package/dist/Disclosure/index.js +4 -4
- package/dist/DocTabsEditor/index.js +12 -11
- package/dist/DownloadButton/index.js +5 -5
- package/dist/EditingStatus/index.js +4 -4
- package/dist/{Editor-YHHCK5SJ.js → Editor-ODC36KPN.js} +12 -11
- package/dist/EmojiPicker/emoji.d.ts +16 -0
- package/dist/EmojiPicker/index.d.ts +1 -1
- package/dist/EmojiPicker/index.js +10 -9
- package/dist/EmptyValue/index.js +2 -2
- package/dist/EntityChip/index.js +1 -1
- package/dist/EntityList/index.js +7 -5
- package/dist/ErrorBoundary/index.js +5 -5
- package/dist/FactList/index.js +4 -4
- package/dist/FileDrop/index.js +5 -5
- package/dist/FileList/index.js +2 -2
- package/dist/FilterChip/index.js +2 -2
- package/dist/FilterPill/index.js +5 -5
- package/dist/FindingList/index.js +2 -2
- package/dist/FolderTile/index.js +6 -4
- package/dist/FollowBanner/index.js +5 -5
- package/dist/HuePicker/index.js +10 -10
- package/dist/IconButton/index.js +4 -4
- package/dist/ImageUpload/index.js +1 -1
- package/dist/InboxList/InboxList.d.ts +7 -1
- package/dist/InboxList/index.js +2 -2
- package/dist/{InboxList-NVPIL3WU.css → InboxList-G627C2OQ.css} +10 -0
- package/dist/InlineEditor/index.js +9 -9
- package/dist/InlineRef/index.js +1 -1
- package/dist/{InlineRef-ZF42HAPI.css → InlineRef-POVPCQZU.css} +8 -0
- package/dist/Input/fieldContext.d.ts +8 -0
- package/dist/Input/index.js +8 -7
- package/dist/{Input-WSMB7JG2.css → Input-YVCNNTYT.css} +13 -8
- package/dist/Kbd/index.js +2 -2
- package/dist/KeyValueRows/index.js +10 -9
- package/dist/Layer/index.js +1 -1
- package/dist/Link/index.js +2 -2
- package/dist/LinkCard/index.js +2 -2
- package/dist/LinkInterstitial/index.js +7 -7
- package/dist/List/index.js +2 -2
- package/dist/ListInput/index.js +12 -11
- package/dist/{ListInput-4ISMGZDQ.css → ListInput-X2GEG2X7.css} +6 -4
- package/dist/Listbox/index.js +2 -2
- package/dist/LockedLabel/index.js +2 -2
- package/dist/LogoSlot/index.js +7 -7
- package/dist/{LogoSlot-APCMGE6S.css → LogoSlot-LRHO4R54.css} +7 -2
- package/dist/MarkdownEditor/index.js +11 -11
- package/dist/MemberPicker/index.js +10 -9
- package/dist/MentionMenu/index.js +4 -2
- package/dist/Menu/index.js +6 -6
- package/dist/{Menu-I4SNXHOT.css → Menu-7AARCFX5.css} +3 -1
- package/dist/MergeConflicts/index.js +10 -10
- package/dist/MessageActions/index.js +12 -11
- package/dist/Meter/index.js +2 -2
- package/dist/{Meter-ZZRFUEOH.css → Meter-BMK7XCCF.css} +6 -0
- package/dist/Modal/index.js +6 -6
- package/dist/NewItemsNotice/index.js +3 -3
- package/dist/ObjectHeader/ObjectHeader.d.ts +0 -13
- package/dist/ObjectHeader/index.js +5 -3
- package/dist/{ObjectHeader-VKQSEJDN.css → ObjectHeader-RGWE3ULA.css} +28 -14
- package/dist/OpenInAppCard/index.js +11 -9
- package/dist/OrgLabel/index.js +2 -2
- package/dist/{OrgLabel-7UJKEDT3.css → OrgLabel-AZLKOG72.css} +15 -1
- package/dist/OrgNode/index.js +3 -3
- package/dist/OrgTable/index.js +19 -18
- package/dist/PeekRail/index.js +6 -6
- package/dist/PeopleRail/index.js +7 -7
- package/dist/PersonRow/index.js +3 -1
- package/dist/{PersonRow-ZR6US2QJ.css → PersonRow-3HOWUD6H.css} +13 -0
- package/dist/PinTile/index.js +5 -5
- package/dist/Popover/index.js +2 -2
- package/dist/PresenceStack/index.js +3 -3
- package/dist/PresenterView/index.js +8 -8
- package/dist/Principal/index.js +1 -1
- package/dist/PrincipalPicker/index.js +12 -11
- package/dist/PropertyList/index.js +7 -5
- package/dist/ProposalCard/index.js +21 -18
- package/dist/RailList/index.js +12 -11
- package/dist/ReactionBar/index.js +11 -10
- package/dist/ReceiptStrip/index.js +5 -5
- package/dist/RecordChip/index.js +3 -3
- package/dist/RefusalCard/index.js +7 -5
- package/dist/RelatedRow/index.js +6 -6
- package/dist/RelativeTime/index.js +3 -3
- package/dist/Reorder/index.js +3 -3
- package/dist/ResultTableCard/index.js +12 -10
- package/dist/RichEditor/index.js +6 -6
- package/dist/RoomRow/index.js +3 -3
- package/dist/{RoomRow-3OTEY6GK.css → RoomRow-O53P7Z5I.css} +8 -3
- package/dist/RunChip/index.js +6 -6
- package/dist/SandboxedFrame/index.js +6 -6
- package/dist/SectionFrame/index.js +4 -4
- package/dist/SegmentedControl/index.js +9 -9
- package/dist/Select/Select.d.ts +6 -0
- package/dist/Select/index.js +5 -3
- package/dist/SelectionBar/index.js +7 -7
- package/dist/SendButton/index.js +5 -5
- package/dist/SetupWizard/index.js +6 -6
- package/dist/ShareDialog/index.js +12 -11
- package/dist/SheetColumnEditor/index.js +19 -18
- package/dist/SheetGrid/SheetGrid.d.ts +13 -2
- package/dist/SheetGrid/cells.d.ts +23 -0
- package/dist/SheetGrid/index.d.ts +1 -1
- package/dist/SheetGrid/index.js +12 -12
- package/dist/{SheetGrid-QGQAYDEY.css → SheetGrid-JMTZCMWE.css} +23 -0
- package/dist/Shortcut/index.js +2 -2
- package/dist/SidePanel/index.js +5 -5
- package/dist/SidebarNav/index.js +3 -3
- package/dist/Skeleton/Skeleton.d.ts +6 -0
- package/dist/Skeleton/index.js +2 -2
- package/dist/{Skeleton-GIXV3KK5.css → Skeleton-DVJ4IMWA.css} +7 -3
- package/dist/SlideCompare/index.js +6 -6
- package/dist/SlideFilmstrip/index.js +11 -11
- package/dist/SlideGrid/index.js +3 -3
- package/dist/SlideNav/index.js +5 -5
- package/dist/SlideStage/index.js +2 -2
- package/dist/SourceEditor/index.js +2 -2
- package/dist/StatCard/index.js +2 -2
- package/dist/StatusCard/index.js +6 -4
- package/dist/StatusLegend/index.js +2 -2
- package/dist/StatusLine/index.js +4 -4
- package/dist/Stepper/index.js +2 -2
- package/dist/{Stepper-S4RC4OZ3.css → Stepper-BRWYNQAC.css} +3 -1
- package/dist/SuggestionRow/index.js +2 -2
- package/dist/Switch/index.js +2 -2
- package/dist/Switcher/index.js +16 -13
- package/dist/{Switcher-ZGRTTVCS.css → Switcher-MWHFBIWS.css} +9 -1
- package/dist/Table/index.js +2 -2
- package/dist/TableCells/index.js +7 -7
- package/dist/Tabs/index.js +8 -8
- package/dist/TagGroup/index.js +3 -3
- package/dist/TagsInput/index.js +7 -7
- package/dist/{TagsInput-MZXEHKJD.css → TagsInput-5GZTMIQ5.css} +2 -0
- package/dist/ThemeGallery/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +10 -10
- package/dist/ThemeToggle/index.js +5 -5
- package/dist/ThinkingIndicator/index.js +2 -2
- package/dist/ThreadSummary/index.js +2 -2
- package/dist/TimeRangePicker/index.js +15 -14
- package/dist/TimeWindowPicker/index.js +13 -12
- package/dist/Timeline/index.js +2 -2
- package/dist/Toaster/index.js +5 -3
- package/dist/Toolbar/index.js +2 -2
- package/dist/Tooltip/index.js +2 -2
- package/dist/TreeCanvas/index.js +8 -8
- package/dist/TreeGrid/index.js +15 -14
- package/dist/ValueField/index.js +12 -11
- package/dist/VersionCompare/index.js +11 -11
- package/dist/VersionTimeline/index.js +9 -9
- package/dist/VisuallyHidden/index.js +1 -1
- package/dist/{VisuallyHidden-AOEXU5EB.css → VisuallyHidden-OUYVMKEH.css} +5 -0
- package/dist/WidgetFrame/index.js +5 -5
- package/dist/{chunk-MIQNKO2R.js → chunk-25CL7J4J.js} +7 -2
- package/dist/{chunk-EMDRNB23.js → chunk-2GR3HFQF.js} +3 -3
- package/dist/{chunk-G5IZGAWS.js → chunk-2YADDY4A.js} +1 -1
- package/dist/{chunk-U2IQNDDR.js → chunk-3C3TSWRR.js} +6 -2
- package/dist/{chunk-E2QPZGLG.js → chunk-3QEAANRP.js} +1 -1
- package/dist/{chunk-LTD7KLOU.js → chunk-3SCASXQH.js} +1 -1
- package/dist/{chunk-GDYZPBLI.js → chunk-3TMSP5TD.js} +2 -2
- package/dist/{chunk-56ES76ST.js → chunk-3UZVFAGE.js} +13 -10
- package/dist/{chunk-EW4ULFHK.js → chunk-3YOLD7WG.js} +1 -1
- package/dist/{chunk-BVML4UVB.js → chunk-4S2AN5W4.js} +1 -1
- package/dist/{chunk-IGECN5B6.js → chunk-4TRSRXKX.js} +1 -1
- package/dist/{chunk-2WQEHXXB.js → chunk-5AORKQ5Q.js} +1 -1
- package/dist/{chunk-HDEKHP65.js → chunk-5EOOS2VG.js} +1 -1
- package/dist/{chunk-AEFR4M2W.js → chunk-5GPFEXZA.js} +1 -1
- package/dist/{chunk-M6G7XLLP.js → chunk-5IOVYGMH.js} +2 -2
- package/dist/{chunk-3QKJV3KE.js → chunk-5LIWAA7S.js} +1 -1
- package/dist/{chunk-YS4PWTNL.js → chunk-5VHMJEP3.js} +1 -1
- package/dist/{chunk-DVRECWCB.js → chunk-5W3EYO5Q.js} +1 -1
- package/dist/{chunk-ZUWEVSDP.js → chunk-6FCTU4UT.js} +2 -2
- package/dist/{chunk-CZKEABMI.js → chunk-6YYRFGXO.js} +1 -1
- package/dist/{chunk-RVJJZVVS.js → chunk-7HJGEQV2.js} +1 -1
- package/dist/{chunk-LCAKSEMB.js → chunk-7JI4RSUA.js} +1 -1
- package/dist/{chunk-4BEMS6Q7.js → chunk-7L75YB57.js} +2 -2
- package/dist/{chunk-TAWPKNNZ.js → chunk-7TKUK527.js} +3 -3
- package/dist/{chunk-YYKLPEOS.js → chunk-7YAGYA45.js} +1 -1
- package/dist/{chunk-JXDJVUWN.js → chunk-7ZXUUDWL.js} +1 -1
- package/dist/{chunk-RVSNBUIU.js → chunk-AHW3K3SH.js} +1 -1
- package/dist/{chunk-HI47TXSW.js → chunk-AJCPRBYJ.js} +2 -2
- package/dist/{chunk-6FVTKYH6.js → chunk-AKJK5YUY.js} +2 -2
- package/dist/{chunk-PMO6W5NE.js → chunk-AVO7CTFV.js} +5 -5
- package/dist/{chunk-6KUOHUY5.js → chunk-BB5FLR2G.js} +3 -3
- package/dist/{chunk-QZKGFBAR.js → chunk-BRAIO447.js} +1 -1
- package/dist/{chunk-U4JZ2EXG.js → chunk-BRUJ3XXH.js} +3 -3
- package/dist/{chunk-PAJAGGSE.js → chunk-BV66AC45.js} +4 -4
- package/dist/{chunk-NGJWRR7E.js → chunk-C47JZ6HR.js} +44 -9
- package/dist/{chunk-O6EV6GKI.js → chunk-CRYFSTYB.js} +1 -1
- package/dist/{chunk-BN5FEJL5.js → chunk-CVXQWNSM.js} +1 -1
- package/dist/{chunk-IA3NL54W.js → chunk-CYTLVKWP.js} +4 -4
- package/dist/{chunk-NAHA62WD.js → chunk-D5O64CVE.js} +1 -1
- package/dist/{chunk-GWRU4JHQ.js → chunk-DBBOZZG5.js} +3 -3
- package/dist/{chunk-IYJCJOHW.js → chunk-DC7PGBRD.js} +3 -3
- package/dist/{chunk-44GFQ4O3.js → chunk-DEVO45TG.js} +1 -1
- package/dist/{chunk-DK7CXQFY.js → chunk-DJXVAA5S.js} +4 -4
- package/dist/{chunk-ZKC3QFDX.js → chunk-DVCTHAIF.js} +3 -3
- package/dist/{chunk-VKNZQB2G.js → chunk-DVZIMJND.js} +8 -2
- package/dist/{chunk-3OIVYHAA.js → chunk-DX7ZHO47.js} +1 -1
- package/dist/{chunk-HU5PAZMU.js → chunk-DXU4SJRY.js} +4 -4
- package/dist/{chunk-N7H5TFQK.js → chunk-E2UGH7R5.js} +1 -1
- package/dist/{chunk-ZGKGSW42.js → chunk-E3I5GFTM.js} +3 -3
- package/dist/{chunk-AC255TMQ.js → chunk-EBLLIDRC.js} +6 -5
- package/dist/{chunk-QH2YJDRI.js → chunk-ED6ITKSU.js} +1 -1
- package/dist/{chunk-LIDKF3LL.js → chunk-EHD4CEHK.js} +2 -2
- package/dist/{chunk-WDLAAZFZ.js → chunk-ELZRLGAK.js} +2 -2
- package/dist/{chunk-C34CKBKF.js → chunk-ES7XJCWD.js} +1 -1
- package/dist/{chunk-OAKECTYH.js → chunk-ETV4SOCY.js} +53 -13
- package/dist/{chunk-FP6OFRAU.js → chunk-EYMLG22J.js} +3 -3
- package/dist/{chunk-HTCNTCBE.js → chunk-F2SI6JHN.js} +3 -3
- package/dist/{chunk-CFCJ3P7B.js → chunk-FHPHRIPO.js} +1 -1
- package/dist/{chunk-JZADK2FT.js → chunk-FNVYRRK2.js} +9 -9
- package/dist/{chunk-UEOEBOBR.js → chunk-FOUIZS7Q.js} +1 -1
- package/dist/{chunk-5WRWBDML.js → chunk-FQBSYMEW.js} +1 -1
- package/dist/{chunk-6V465OCU.js → chunk-FT6DIDIW.js} +1 -1
- package/dist/{chunk-JGDCVLD4.js → chunk-FXPBUMPL.js} +4 -2
- package/dist/{chunk-BCZQDB3U.js → chunk-G7Y5HFVV.js} +1 -1
- package/dist/{chunk-EJNJMHQG.js → chunk-GBKBME7Q.js} +1 -1
- package/dist/{chunk-GBBRSZ2J.js → chunk-GCVCMZUS.js} +3 -3
- package/dist/{chunk-CTNQOSQF.js → chunk-GDSKYY6S.js} +3 -3
- package/dist/{chunk-3JAGO633.js → chunk-GZEMH4ZD.js} +1 -1
- package/dist/{chunk-MTDISM7I.js → chunk-GZSEIFWB.js} +1 -1
- package/dist/{chunk-HMXTZKAI.js → chunk-IB7TB47Z.js} +4 -4
- package/dist/{chunk-O3MYBNRO.js → chunk-IBMZNQ34.js} +2 -2
- package/dist/{chunk-AVMQMY66.js → chunk-IJCMOAM3.js} +1 -1
- package/dist/{chunk-Y7PVLEZJ.js → chunk-IR3OWPAZ.js} +1 -1
- package/dist/{chunk-AAP7A6WV.js → chunk-J5DMI7X3.js} +2 -2
- package/dist/{chunk-MTKHMGJH.js → chunk-JBRI5WPF.js} +5 -5
- package/dist/{chunk-QIVLL5HB.js → chunk-JFAKHQSM.js} +3 -3
- package/dist/chunk-JLKO7PSK.js +10 -0
- package/dist/{chunk-M6EVTMTK.js → chunk-JT7BELIN.js} +4 -4
- package/dist/{chunk-2PB5D4TI.js → chunk-JZI7SIM6.js} +1 -1
- package/dist/{chunk-NXFTCPF6.js → chunk-KBEYFWNQ.js} +5 -2
- package/dist/{chunk-7IW4BVZF.js → chunk-KGEWO2LN.js} +1 -1
- package/dist/{chunk-TUEM2XIW.js → chunk-KHKHQD6W.js} +5 -1
- package/dist/{chunk-4OHBHPIB.js → chunk-KKDC5ELG.js} +1 -1
- package/dist/{chunk-QPRTTTUN.js → chunk-KMDVDWQI.js} +3 -3
- package/dist/{chunk-7BDBO2NP.js → chunk-KRAZYXAA.js} +2 -2
- package/dist/{chunk-OU6ZSWEJ.js → chunk-KRF3GQ63.js} +1 -1
- package/dist/{chunk-U5Y335HH.js → chunk-KSEM4ZUP.js} +2 -2
- package/dist/{chunk-IWZG7NPV.js → chunk-L6HUVA33.js} +1 -1
- package/dist/{chunk-SJP7WYIV.js → chunk-L6SYLG3F.js} +3 -3
- package/dist/{chunk-M52HLPOG.js → chunk-LHCEPSWP.js} +3 -2
- package/dist/{chunk-7L6JJ7VJ.js → chunk-LJ2BXVKQ.js} +7 -7
- package/dist/{chunk-IAR2ULSK.js → chunk-LQ4R4CHS.js} +81 -54
- package/dist/{chunk-4QTOAMQN.js → chunk-LRZQSMRX.js} +5 -5
- package/dist/{chunk-5KKZCSER.js → chunk-MN2RZN2C.js} +1 -1
- package/dist/{chunk-YWVT7B6N.js → chunk-MNTN5ESE.js} +10 -7
- package/dist/{chunk-MO5YV3XV.js → chunk-MQ3T56A4.js} +6 -6
- package/dist/{chunk-YGRTX67J.js → chunk-MQX7SHG7.js} +1 -1
- package/dist/{chunk-VULZ4FAA.js → chunk-MSJPIUDW.js} +2 -2
- package/dist/{chunk-F7HZYTZT.js → chunk-MTIW75QU.js} +1 -1
- package/dist/{chunk-RQFRRPV6.js → chunk-MXOT2CWL.js} +2 -2
- package/dist/{chunk-7U6PK242.js → chunk-N3WS3XDV.js} +1 -1
- package/dist/{chunk-52UBOSNQ.js → chunk-NBQ5TKC6.js} +2 -2
- package/dist/{chunk-463DNZXI.js → chunk-NCQC5Y4E.js} +1 -1
- package/dist/{chunk-LSRQ2A6B.js → chunk-NEPNJMTD.js} +1 -1
- package/dist/{chunk-6M2N6ETA.js → chunk-NMWI2P2E.js} +1 -1
- package/dist/{chunk-2LLMUJFB.js → chunk-NUZELCUD.js} +3 -3
- package/dist/{chunk-AEUZU5SA.js → chunk-NXVF5JWZ.js} +3 -3
- package/dist/{chunk-RSI6EJSH.js → chunk-NZSDE3OU.js} +7 -7
- package/dist/{chunk-P667Y6NQ.js → chunk-OAWCHDQV.js} +1 -1
- package/dist/{chunk-ULYHDP7U.js → chunk-ODN2TPIG.js} +1 -1
- package/dist/{chunk-C2HIMGFI.js → chunk-OHXOUHTX.js} +2 -2
- package/dist/{chunk-PQDQ64KY.js → chunk-OSPZN4OE.js} +2 -2
- package/dist/{chunk-33632WEN.js → chunk-OXG4UYMB.js} +5 -5
- package/dist/{chunk-5JGEEUWQ.js → chunk-P4QZMHAT.js} +5 -4
- package/dist/{chunk-I4IUX3JF.js → chunk-P5VPD4YZ.js} +17 -15
- package/dist/{chunk-R2QBQ6NO.js → chunk-PFZKJXEA.js} +2 -2
- package/dist/{chunk-GKBH5JHE.js → chunk-PMP2WNF4.js} +1 -1
- package/dist/{chunk-L72GPZ56.js → chunk-PYNX5Q3J.js} +1 -1
- package/dist/{chunk-TVGTMKYO.js → chunk-PYVP4LA5.js} +11 -5
- package/dist/{chunk-XLVWSNW3.js → chunk-Q6GAYYXI.js} +11 -10
- package/dist/{chunk-PF6X74C5.js → chunk-QDWI24EX.js} +14 -14
- package/dist/{chunk-MFZBLJYF.js → chunk-QIWQFXKX.js} +2 -2
- package/dist/{chunk-TKAERQQF.js → chunk-QOMO7ECD.js} +2 -2
- package/dist/{chunk-LZNPL266.js → chunk-QU7GTPC5.js} +1 -1
- package/dist/{chunk-A5ISYHW7.js → chunk-QUZRBQ43.js} +7 -7
- package/dist/{chunk-MJ73YBP2.js → chunk-R62IXILJ.js} +2 -2
- package/dist/{chunk-LR4IWUWQ.js → chunk-RGJB34YN.js} +1 -1
- package/dist/{chunk-SF6FUU42.js → chunk-RMDXYHE3.js} +2 -2
- package/dist/{chunk-LYVWOAUN.js → chunk-RMXMAHH2.js} +1 -1
- package/dist/{chunk-UT6CW3C7.js → chunk-RRRK2KB6.js} +1 -1
- package/dist/{chunk-J3QFTG4B.js → chunk-RYGNJNVJ.js} +6 -6
- package/dist/{chunk-DBH7ORCH.js → chunk-S4CGIXFV.js} +2 -2
- package/dist/{chunk-PW57R4BN.js → chunk-S656HY4W.js} +1 -1
- package/dist/{chunk-BC4H2EMM.js → chunk-S6TWWDOH.js} +3 -3
- package/dist/{chunk-YEQTGPCE.js → chunk-SG5XRIOZ.js} +7 -7
- package/dist/{chunk-G7SAFRSJ.js → chunk-SSYHV4QE.js} +2 -2
- package/dist/{chunk-2W4US3JO.js → chunk-SWZD5WZG.js} +5 -5
- package/dist/{chunk-V7N5XWZ6.js → chunk-TBJP22E4.js} +1 -1
- package/dist/{chunk-UUDQEDHQ.js → chunk-TE2BPD6L.js} +2 -2
- package/dist/{chunk-PGCLHYVP.js → chunk-TEXK4RK6.js} +2 -2
- package/dist/{chunk-CQIODINH.js → chunk-TFXNQDJA.js} +5 -5
- package/dist/{chunk-TEV5REGB.js → chunk-TODOBUXO.js} +1 -1
- package/dist/{chunk-BRK3HXGZ.js → chunk-TRPYEDZM.js} +2 -2
- package/dist/{chunk-AOFVXE6V.js → chunk-U3LHWQQK.js} +1 -1
- package/dist/{chunk-5K5SZGBI.js → chunk-U3Z57D25.js} +3 -3
- package/dist/{chunk-3Z2BSKS5.js → chunk-UD7E46JF.js} +6 -6
- package/dist/{chunk-XHQ2JJCB.js → chunk-UJDXFRR7.js} +2 -2
- package/dist/{chunk-QND44ROZ.js → chunk-UTZ3DBPB.js} +2 -2
- package/dist/{chunk-GA773IOZ.js → chunk-UUICORUJ.js} +7 -7
- package/dist/{chunk-4TAMRAUQ.js → chunk-UURRF5Y6.js} +1 -1
- package/dist/{chunk-5KJOG5YP.js → chunk-UUSZMEDK.js} +9 -9
- package/dist/{chunk-AP6JSZGT.js → chunk-V3ZKGVC2.js} +5 -5
- package/dist/{chunk-CMAZZY2I.js → chunk-VBBLHS2Y.js} +1 -1
- package/dist/{chunk-KN4YCWWO.js → chunk-VGJ4IH72.js} +5 -5
- package/dist/{chunk-TN3BH3Q4.js → chunk-VRDLNMST.js} +1 -1
- package/dist/{chunk-EF3CJDZO.js → chunk-VUGIZRDA.js} +4 -4
- package/dist/{chunk-XRKBPNX4.js → chunk-VVZLPRF3.js} +3 -3
- package/dist/{chunk-F2ZSFDJZ.js → chunk-VY37HWFV.js} +1 -1
- package/dist/{chunk-E2XDYCFO.js → chunk-VYZ6SJWH.js} +2 -2
- package/dist/{chunk-J5T5TDM2.js → chunk-W3A6NBUM.js} +1 -1
- package/dist/{chunk-E23AXDKL.js → chunk-W7YZ7PLZ.js} +5 -5
- package/dist/{chunk-RE3FBGQQ.js → chunk-WGLOH33S.js} +1 -1
- package/dist/{chunk-2G355KDJ.js → chunk-WGMKERCR.js} +1 -1
- package/dist/{chunk-63NRTOGO.js → chunk-WNAPQC4G.js} +3 -3
- package/dist/{chunk-NBOHNPZB.js → chunk-WNRS45XI.js} +1 -1
- package/dist/{chunk-YTLWOHOY.js → chunk-WUCRLA25.js} +2 -2
- package/dist/{chunk-D4MMW2NF.js → chunk-WUFDCQQF.js} +65 -47
- package/dist/{chunk-EMXUREKE.js → chunk-X5MJPPO7.js} +5 -5
- package/dist/{chunk-ZDJQQ4LU.js → chunk-XDUXAQIS.js} +1 -1
- package/dist/{chunk-LPQLJHLI.js → chunk-XHWIEAVU.js} +2 -2
- package/dist/{chunk-RBR4AHBT.js → chunk-XOPHJPHU.js} +1 -1
- package/dist/{chunk-6TD2PCZB.js → chunk-XROJ6XQ3.js} +4 -3
- package/dist/{chunk-IDBGDMQS.js → chunk-XSZR73LX.js} +1 -1
- package/dist/{chunk-V7WDP3HR.js → chunk-XYFVJRCH.js} +3 -3
- package/dist/{chunk-D2GT3CR4.js → chunk-Y5CMDLQM.js} +1 -1
- package/dist/{chunk-MOP4D5HF.js → chunk-Y6RYFN5L.js} +6 -6
- package/dist/{chunk-WF2UJYCT.js → chunk-YD2IB4LX.js} +2 -2
- package/dist/{chunk-75NQV4R4.js → chunk-YGN4SBNP.js} +1 -1
- package/dist/{chunk-JK6WLRYP.js → chunk-YNPMV23G.js} +16 -8
- package/dist/{chunk-FMOYO5OO.js → chunk-YSXA5WLH.js} +3 -3
- package/dist/{chunk-PJMDZEWY.js → chunk-YX27WGMR.js} +1 -1
- package/dist/{chunk-OSU4ELU3.js → chunk-Z227PCDA.js} +3 -3
- package/dist/{chunk-AP6SM6BL.js → chunk-Z7HGWZLC.js} +5 -5
- package/dist/{chunk-BZUBONYA.js → chunk-ZY2SBPNN.js} +4 -4
- package/dist/generated/index.js +194 -193
- package/dist/index.js +194 -193
- package/dist/styles.css +275 -75
- package/package.json +3 -3
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { useListbox, useOptionKeys, useHighlightRest } from './chunk-
|
|
1
|
+
import { useListbox, useOptionKeys, useHighlightRest } from './chunk-MQX7SHG7.js';
|
|
2
|
+
import { useFieldError } from './chunk-JLKO7PSK.js';
|
|
2
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
3
|
-
import { useLayerContainer, viewportBounds, anchorGone, placePopup,
|
|
4
|
+
import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
|
|
4
5
|
import { useFocusModality, returnFocus } from './chunk-4ITETIGZ.js';
|
|
6
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
8
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
9
|
import './Select-6BQPBOHH.css';
|
|
8
10
|
import { forwardRef, useId, useMemo, useState, useRef, useCallback, useEffect, useLayoutEffect } from 'react';
|
|
9
11
|
import { createPortal } from 'react-dom';
|
|
10
12
|
import { ChevronDownGlyph, CheckGlyph, SearchGlyph } from '@crewlethq/icons/glyphs';
|
|
11
|
-
import {
|
|
13
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
12
14
|
|
|
13
15
|
var same = (a, b) => String(a) === String(b);
|
|
14
16
|
var optionText = (option) => option.text ?? (typeof option.label === "string" ? option.label : String(option.value));
|
|
@@ -19,14 +21,15 @@ var Select = forwardRef(function Select2({
|
|
|
19
21
|
onChange,
|
|
20
22
|
options,
|
|
21
23
|
placeholder = "Select an option",
|
|
22
|
-
disabled = false,
|
|
24
|
+
disabled: disabledProp = false,
|
|
25
|
+
disabledReason,
|
|
23
26
|
className = "",
|
|
24
27
|
menuClassName = "",
|
|
25
28
|
size = "md",
|
|
26
29
|
width = "full",
|
|
27
30
|
align = "left",
|
|
28
31
|
active = false,
|
|
29
|
-
error
|
|
32
|
+
error: errorProp,
|
|
30
33
|
appearance = "field",
|
|
31
34
|
ariaLabel,
|
|
32
35
|
searchable = false,
|
|
@@ -50,61 +53,76 @@ var Select = forwardRef(function Select2({
|
|
|
50
53
|
if (value === "" && !options.some((option) => String(option.value) === "")) return [];
|
|
51
54
|
return [value];
|
|
52
55
|
}, [value, multiple, options]);
|
|
56
|
+
const error = useFieldError(errorProp);
|
|
57
|
+
const held = disabledReason !== void 0 && disabledReason !== "";
|
|
58
|
+
const disabled = disabledProp || held;
|
|
59
|
+
const reasonId = `${rootId}-reason`;
|
|
60
|
+
const reason = held ? /* @__PURE__ */ jsx(VisuallyHidden, { id: reasonId, children: disabledReason }) : null;
|
|
61
|
+
const describedByAll = cx(native["aria-describedby"], held && reasonId) || void 0;
|
|
53
62
|
if (mode === "native") {
|
|
54
|
-
return /* @__PURE__ */
|
|
55
|
-
|
|
63
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64
|
+
/* @__PURE__ */ jsx(
|
|
65
|
+
NativeSelect,
|
|
66
|
+
{
|
|
67
|
+
ref,
|
|
68
|
+
id: rootId,
|
|
69
|
+
value: chosen[0],
|
|
70
|
+
onChange,
|
|
71
|
+
options,
|
|
72
|
+
placeholder,
|
|
73
|
+
disabled,
|
|
74
|
+
className: classes,
|
|
75
|
+
size,
|
|
76
|
+
active,
|
|
77
|
+
error,
|
|
78
|
+
ariaLabel,
|
|
79
|
+
...native,
|
|
80
|
+
"aria-describedby": describedByAll,
|
|
81
|
+
title: held ? disabledReason : void 0
|
|
82
|
+
}
|
|
83
|
+
),
|
|
84
|
+
reason
|
|
85
|
+
] });
|
|
86
|
+
}
|
|
87
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
88
|
+
/* @__PURE__ */ jsx(
|
|
89
|
+
ListboxSelect,
|
|
56
90
|
{
|
|
57
91
|
ref,
|
|
58
92
|
id: rootId,
|
|
59
|
-
|
|
93
|
+
chosen,
|
|
60
94
|
onChange,
|
|
61
95
|
options,
|
|
62
96
|
placeholder,
|
|
63
97
|
disabled,
|
|
64
98
|
className: classes,
|
|
99
|
+
menuClassName,
|
|
65
100
|
size,
|
|
101
|
+
width,
|
|
102
|
+
align,
|
|
66
103
|
active,
|
|
67
104
|
error,
|
|
68
105
|
ariaLabel,
|
|
69
|
-
|
|
106
|
+
searchable,
|
|
107
|
+
searchPlaceholder,
|
|
108
|
+
multiple,
|
|
109
|
+
renderTrigger,
|
|
110
|
+
renderOption,
|
|
111
|
+
renderMultiLabel,
|
|
112
|
+
emptyMessage,
|
|
113
|
+
onHighlight,
|
|
114
|
+
describedBy: describedByAll,
|
|
115
|
+
reason: held ? disabledReason : void 0,
|
|
116
|
+
required: native.required,
|
|
117
|
+
ariaRequired: native["aria-required"],
|
|
118
|
+
focusOnMount: native.autoFocus,
|
|
119
|
+
name: native.name,
|
|
120
|
+
onBlur: native.onBlur,
|
|
121
|
+
onFocus: native.onFocus
|
|
70
122
|
}
|
|
71
|
-
)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
ListboxSelect,
|
|
75
|
-
{
|
|
76
|
-
ref,
|
|
77
|
-
id: rootId,
|
|
78
|
-
chosen,
|
|
79
|
-
onChange,
|
|
80
|
-
options,
|
|
81
|
-
placeholder,
|
|
82
|
-
disabled,
|
|
83
|
-
className: classes,
|
|
84
|
-
menuClassName,
|
|
85
|
-
size,
|
|
86
|
-
width,
|
|
87
|
-
align,
|
|
88
|
-
active,
|
|
89
|
-
error,
|
|
90
|
-
ariaLabel,
|
|
91
|
-
searchable,
|
|
92
|
-
searchPlaceholder,
|
|
93
|
-
multiple,
|
|
94
|
-
renderTrigger,
|
|
95
|
-
renderOption,
|
|
96
|
-
renderMultiLabel,
|
|
97
|
-
emptyMessage,
|
|
98
|
-
onHighlight,
|
|
99
|
-
describedBy: native["aria-describedby"],
|
|
100
|
-
required: native.required,
|
|
101
|
-
ariaRequired: native["aria-required"],
|
|
102
|
-
focusOnMount: native.autoFocus,
|
|
103
|
-
name: native.name,
|
|
104
|
-
onBlur: native.onBlur,
|
|
105
|
-
onFocus: native.onFocus
|
|
106
|
-
}
|
|
107
|
-
);
|
|
123
|
+
),
|
|
124
|
+
reason
|
|
125
|
+
] });
|
|
108
126
|
});
|
|
109
127
|
var NativeSelect = forwardRef(function NativeSelect2({ id, value, onChange, options, placeholder, disabled, className, size, active, error, ariaLabel, ...rest }, ref) {
|
|
110
128
|
const current = value ?? "";
|
|
@@ -175,6 +193,7 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
175
193
|
emptyMessage,
|
|
176
194
|
onHighlight,
|
|
177
195
|
describedBy,
|
|
196
|
+
reason,
|
|
178
197
|
required,
|
|
179
198
|
ariaRequired,
|
|
180
199
|
focusOnMount,
|
|
@@ -315,8 +334,11 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
315
334
|
const host = inHost ? container.getBoundingClientRect() : viewportBounds();
|
|
316
335
|
const rect = at.getBoundingClientRect();
|
|
317
336
|
const matches = width === "full";
|
|
318
|
-
|
|
319
|
-
|
|
337
|
+
const room = Math.max(0, host.width - 2 * LAYER_GAP);
|
|
338
|
+
const floor = matches ? void 0 : Math.min(rect.width, room);
|
|
339
|
+
box.style.maxWidth = `${room}px`;
|
|
340
|
+
box.style.width = matches ? `${Math.min(rect.width, room)}px` : "";
|
|
341
|
+
box.style.minWidth = floor === void 0 ? "" : `${floor}px`;
|
|
320
342
|
const own = box.getBoundingClientRect();
|
|
321
343
|
const local = {
|
|
322
344
|
x: (align === "right" ? rect.right - own.width : rect.left) - (inHost ? host.x : 0),
|
|
@@ -333,10 +355,9 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
333
355
|
{ width: own.width, height: own.height },
|
|
334
356
|
{ x: LAYER_GAP, y: LAYER_GAP, width: host.width - 2 * LAYER_GAP, height: host.height - 2 * LAYER_GAP }
|
|
335
357
|
);
|
|
336
|
-
const applied = matches ? rect.width : void 0;
|
|
337
|
-
const floor = matches ? void 0 : rect.width;
|
|
358
|
+
const applied = matches ? Math.min(rect.width, room) : void 0;
|
|
338
359
|
setPlace(
|
|
339
|
-
(was) => was && was.left === spot.left && was.top === spot.top && was.width === applied && was.minWidth === floor ? was : { left: spot.left, top: spot.top, width: applied, minWidth: floor }
|
|
360
|
+
(was) => was && was.left === spot.left && was.top === spot.top && was.width === applied && was.minWidth === floor && was.maxWidth === room ? was : { left: spot.left, top: spot.top, width: applied, minWidth: floor, maxWidth: room }
|
|
340
361
|
);
|
|
341
362
|
}, [align, close, container, width]);
|
|
342
363
|
useLayoutEffect(() => {
|
|
@@ -475,7 +496,7 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
475
496
|
container !== null && container !== document.body ? "crewlet-select__menu--in-host" : "crewlet-select__menu--fixed",
|
|
476
497
|
menuClassName
|
|
477
498
|
),
|
|
478
|
-
style: place ? { left: place.left, top: place.top, width: place.width, minWidth: place.minWidth } : (
|
|
499
|
+
style: place ? { left: place.left, top: place.top, width: place.width, minWidth: place.minWidth, maxWidth: place.maxWidth } : (
|
|
479
500
|
// Laid out but not painted, so its own height can be measured
|
|
480
501
|
// before it is placed and no reader sees it in a corner first.
|
|
481
502
|
{ visibility: "hidden" }
|
|
@@ -558,10 +579,16 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
558
579
|
"aria-describedby": describedBy,
|
|
559
580
|
"aria-invalid": error || void 0,
|
|
560
581
|
"aria-required": comboOnTrigger ? requiredForAria : void 0,
|
|
561
|
-
disabled,
|
|
582
|
+
disabled: disabled && reason === void 0,
|
|
583
|
+
"aria-disabled": reason !== void 0 || void 0,
|
|
584
|
+
title: reason,
|
|
562
585
|
onBlur,
|
|
563
586
|
onFocus,
|
|
564
|
-
onClick: () =>
|
|
587
|
+
onClick: () => {
|
|
588
|
+
if (disabled) return;
|
|
589
|
+
if (open) close(false);
|
|
590
|
+
else setOpen(true);
|
|
591
|
+
},
|
|
565
592
|
onKeyDown,
|
|
566
593
|
children: [
|
|
567
594
|
renderTrigger ? renderTrigger(single, { open }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useListbox } from './chunk-
|
|
1
|
+
import { useListbox } from './chunk-MQX7SHG7.js';
|
|
2
2
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
3
|
-
import { IconButton } from './chunk-
|
|
4
|
-
import { isComposing } from './chunk-
|
|
3
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
4
|
+
import { isComposing } from './chunk-KHKHQD6W.js';
|
|
5
5
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
6
|
-
import { announce } from './chunk-
|
|
6
|
+
import { announce } from './chunk-WGMKERCR.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
|
-
import './TagsInput-
|
|
8
|
+
import './TagsInput-5GZTMIQ5.css';
|
|
9
9
|
import { forwardRef, useState, useRef, useId, useImperativeHandle, useEffect, useMemo, useLayoutEffect } from 'react';
|
|
10
10
|
import { CheckGlyph, ChevronLeftGlyph, ChevronRightGlyph } from '@crewlethq/icons/glyphs';
|
|
11
11
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Text } from './chunk-XLMURU75.js';
|
|
2
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
4
|
import './Charts-UJKADWXE.css';
|
|
4
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -34,7 +35,7 @@ function Legend({ items, className }) {
|
|
|
34
35
|
style: { "--crewlet-legend-swatch-color": item.color ?? dataColor(index) }
|
|
35
36
|
}
|
|
36
37
|
),
|
|
37
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-legend__label", children: item.label }),
|
|
38
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-legend__label", children: /* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, children: item.label }) }),
|
|
38
39
|
item.value != null && /* @__PURE__ */ jsx("span", { className: "crewlet-legend__value", children: item.value })
|
|
39
40
|
] }, item.id)) })
|
|
40
41
|
);
|
|
@@ -95,7 +96,7 @@ function BarList({
|
|
|
95
96
|
const value = /* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__value", children: datum.display ?? datum.value.toLocaleString() });
|
|
96
97
|
const body = layout === "beside" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
97
98
|
/* @__PURE__ */ jsxs("span", { className: "crewlet-bar-list__names", children: [
|
|
98
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: datum.label }),
|
|
99
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: /* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, children: datum.label }) }),
|
|
99
100
|
datum.sub && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
100
101
|
" ",
|
|
101
102
|
/* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__sub", children: datum.sub })
|
|
@@ -108,7 +109,7 @@ function BarList({
|
|
|
108
109
|
] }) })
|
|
109
110
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
110
111
|
/* @__PURE__ */ jsxs("span", { className: "crewlet-bar-list__head", children: [
|
|
111
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: datum.label }),
|
|
112
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: /* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, children: datum.label }) }),
|
|
112
113
|
" ",
|
|
113
114
|
value
|
|
114
115
|
] }),
|
|
@@ -625,11 +626,12 @@ function Sparkline({
|
|
|
625
626
|
current ? /* @__PURE__ */ jsx("span", { className: "crewlet-spark__current", style: { top: `${(y(last) / box * 100).toFixed(2)}%` } }) : null
|
|
626
627
|
] });
|
|
627
628
|
}
|
|
628
|
-
function niceScale(peak, steps = 4) {
|
|
629
|
+
function niceScale(peak, steps = 4, whole = false) {
|
|
629
630
|
if (!(peak > 0)) return { top: steps, step: 1 };
|
|
630
631
|
const raw = peak / steps;
|
|
631
632
|
const magnitude = 10 ** Math.floor(Math.log10(raw));
|
|
632
|
-
const
|
|
633
|
+
const nice = ([1, 2, 2.5, 5, 10].find((candidate) => candidate * magnitude >= raw) ?? 10) * magnitude;
|
|
634
|
+
const step = whole ? Math.max(1, Math.ceil(nice)) : nice;
|
|
633
635
|
const top = Number((Math.max(1, Math.ceil(peak / step - 1e-9)) * step).toPrecision(12));
|
|
634
636
|
return { top, step: Number(step.toPrecision(12)) };
|
|
635
637
|
}
|
|
@@ -663,7 +665,8 @@ function StackedColumns({
|
|
|
663
665
|
const totals = buckets.map((_, index) => (above[index] ?? 0) + (below[index] ?? 0));
|
|
664
666
|
const peak = Math.max(0, ...above);
|
|
665
667
|
const trough = Math.min(0, ...below);
|
|
666
|
-
const
|
|
668
|
+
const whole = buckets.every((bucket) => shown.every((one) => Number.isInteger(valueOf(bucket, one.id))));
|
|
669
|
+
const { top, step } = niceScale(peak - trough, 4, whole);
|
|
667
670
|
const roof = trough < 0 ? Number((Math.ceil(peak / step - 1e-9) * step).toPrecision(12)) : top;
|
|
668
671
|
const floor = trough < 0 ? Number((Math.floor(trough / step + 1e-9) * step).toPrecision(12)) : 0;
|
|
669
672
|
const range = roof - floor;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { Skeleton } from './chunk-P5VPD4YZ.js';
|
|
1
2
|
import { titleWhenCut, titleIfCut } from './chunk-WSIJDWUG.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Checkbox } from './chunk-M6G7XLLP.js';
|
|
3
|
+
import { useReorder } from './chunk-4S2AN5W4.js';
|
|
4
|
+
import { Checkbox } from './chunk-5IOVYGMH.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
6
6
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
9
|
-
import { VisuallyHidden } from './chunk-
|
|
7
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
8
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
9
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataGrid-YNLCEH3E.css';
|
|
12
12
|
import { useId, useRef, useState, useMemo, useCallback, useLayoutEffect, useImperativeHandle, useSyncExternalStore, useEffect, Fragment as Fragment$1 } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-EYMLG22J.js';
|
|
2
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MergeConflicts-HCXPRQVR.css';
|
|
5
5
|
import { useState, useId, useRef, useEffect } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { presenceHueClass } from './chunk-EFX2YC5T.js';
|
|
2
2
|
import { presenceLabels, presenceOrder } from './chunk-Z7JYG5TF.js';
|
|
3
3
|
import { avatarCorner, AVATAR_SIZES, Avatar } from './chunk-XZY6S3UC.js';
|
|
4
|
-
import { VisuallyHidden } from './chunk-
|
|
4
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './PresenceStack-2DTYRADY.css';
|
|
7
7
|
import { isCrewletCharacter } from '@crewlethq/icons/characters';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './Meter-
|
|
3
|
+
import './Meter-BMK7XCCF.css';
|
|
4
4
|
import { useId } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDownload, safeFilename } from './chunk-YNRKVY7X.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
2
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { useMemo, useState, useRef, useEffect, useCallback } from 'react';
|
|
5
5
|
import { CheckGlyph, CircleAlertGlyph, SaveGlyph } from '@crewlethq/icons/glyphs';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './FindingList-MPLA2ZTO.css';
|
|
4
4
|
import { CircleAlertGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { SidebarNav, NavItem } from './chunk-
|
|
1
|
+
import { Select } from './chunk-LQ4R4CHS.js';
|
|
2
|
+
import { SidebarNav, NavItem } from './chunk-TRPYEDZM.js';
|
|
3
|
+
import { Card } from './chunk-3C3TSWRR.js';
|
|
3
4
|
import { Text } from './chunk-XLMURU75.js';
|
|
4
|
-
import { Card } from './chunk-U2IQNDDR.js';
|
|
5
5
|
import './RailList-N2ZBPRM2.css';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SuggestionList, SuggestionRow } from './chunk-
|
|
1
|
+
import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
|
|
2
2
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
3
|
-
import { StatusCard } from './chunk-
|
|
3
|
+
import { StatusCard } from './chunk-7L75YB57.js';
|
|
4
4
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './BriefCard-QCL7MVUV.css';
|
|
8
8
|
import { useEffect } from 'react';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Modal } from './chunk-
|
|
1
|
+
import { Modal } from './chunk-2GR3HFQF.js';
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
|
-
import { EmptyValue } from './chunk-
|
|
3
|
+
import { EmptyValue } from './chunk-WGLOH33S.js';
|
|
4
4
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
6
|
-
import { Menu } from './chunk-
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
9
|
-
import { VisuallyHidden } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-5IOVYGMH.js';
|
|
6
|
+
import { Menu } from './chunk-YNPMV23G.js';
|
|
7
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
8
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
9
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataTable-GSLDFY5U.css';
|
|
12
12
|
import React, { useState, useCallback, useMemo, useRef, useLayoutEffect, useEffect, useId } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
|
-
import { RelativeTime } from './chunk-
|
|
2
|
+
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
|
-
import { VisuallyHidden } from './chunk-
|
|
4
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
7
|
import './DatasetSource-23SI5OF2.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListItem } from './chunk-
|
|
1
|
+
import { ListItem } from './chunk-VY37HWFV.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './ChatScale-L4SIHSKL.css';
|
|
4
|
-
import './RoomRow-
|
|
4
|
+
import './RoomRow-O53P7Z5I.css';
|
|
5
5
|
import { Fragment as Fragment$1 } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
2
|
-
import { Kbd } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
5
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
4
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
5
|
+
import { Tooltip } from './chunk-BRAIO447.js';
|
|
6
6
|
import { LAYER_REPOSITION_EVENT, LayerHost } from './chunk-FIX72ZEC.js';
|
|
7
7
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
8
|
-
import { VisuallyHidden } from './chunk-
|
|
8
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './Canvas-UQVR7IUL.css';
|
|
11
11
|
import { useId, useRef, useState, useCallback, useLayoutEffect, useImperativeHandle, useEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { emojiName, EmojiPicker } from './chunk-
|
|
1
|
+
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-WUFDCQQF.js';
|
|
2
2
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
3
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Tooltip } from './chunk-BRAIO447.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatScale-L4SIHSKL.css';
|
|
6
6
|
import './ReactionBar-XXI4V7XG.css';
|
|
@@ -37,7 +37,8 @@ function ReactionBar({ reactions, onToggle, add, disabledReason, labels: overrid
|
|
|
37
37
|
return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-reaction-bar", className), role: "group", "aria-label": labels.group, children: [
|
|
38
38
|
reactions.map((reaction) => {
|
|
39
39
|
const who = reactionWho(reaction, labels);
|
|
40
|
-
const
|
|
40
|
+
const drawn = emojiOfShortcode(reaction.emoji) ?? emojiName(reaction.emoji);
|
|
41
|
+
const hint = labels.reacted(who, drawn);
|
|
41
42
|
return /* @__PURE__ */ jsx(Tooltip, { content: heldHint(hint, disabledReason), children: /* @__PURE__ */ jsxs(
|
|
42
43
|
"button",
|
|
43
44
|
{
|
|
@@ -50,7 +51,7 @@ function ReactionBar({ reactions, onToggle, add, disabledReason, labels: overrid
|
|
|
50
51
|
if (!disabledReason) onToggle(reaction.emoji);
|
|
51
52
|
},
|
|
52
53
|
children: [
|
|
53
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-reaction__emoji", "aria-hidden": "true", children:
|
|
54
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-reaction__emoji", "aria-hidden": "true", children: drawn }),
|
|
54
55
|
/* @__PURE__ */ jsx("span", { className: "crewlet-reaction__count", "aria-hidden": "true", children: reaction.count.toLocaleString() })
|
|
55
56
|
]
|
|
56
57
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './Skeleton-
|
|
3
|
+
import './Skeleton-DVJ4IMWA.css';
|
|
4
4
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
var range = (n) => Array.from({ length: Math.max(0, n) }, (_, i) => i);
|
|
@@ -14,13 +14,15 @@ var Placeholder = ({
|
|
|
14
14
|
count = 4,
|
|
15
15
|
className = "",
|
|
16
16
|
style,
|
|
17
|
-
width
|
|
18
|
-
height
|
|
17
|
+
width,
|
|
18
|
+
height,
|
|
19
19
|
borderRadius = 12,
|
|
20
|
-
marginTop =
|
|
20
|
+
marginTop = 0,
|
|
21
21
|
marginBottom = 0
|
|
22
22
|
}) => {
|
|
23
23
|
const rootClass = (...modifiers) => cx("crewlet-skeleton", `crewlet-skeleton--${variant}`, ...modifiers, className);
|
|
24
|
+
const length = (value) => typeof value === "number" ? `${value}px` : value;
|
|
25
|
+
const sized = width !== void 0 || height !== void 0 ? { boxSizing: "border-box", width: length(width), height: length(height), overflow: "hidden", ...style } : style;
|
|
24
26
|
switch (variant) {
|
|
25
27
|
case "box":
|
|
26
28
|
return /* @__PURE__ */ jsx("div", { className: rootClass(), style: { marginTop, marginBottom, ...style }, "aria-hidden": true, children: /* @__PURE__ */ jsx(
|
|
@@ -28,15 +30,15 @@ var Placeholder = ({
|
|
|
28
30
|
{
|
|
29
31
|
className: "crewlet-skeleton__glow-box",
|
|
30
32
|
style: {
|
|
31
|
-
height:
|
|
32
|
-
width:
|
|
33
|
+
height: length(height ?? 400),
|
|
34
|
+
width: length(width ?? "100%"),
|
|
33
35
|
borderRadius: typeof borderRadius === "number" ? `${borderRadius}px` : borderRadius
|
|
34
36
|
},
|
|
35
37
|
children: /* @__PURE__ */ jsx("div", { className: "crewlet-skeleton__glow-wave" })
|
|
36
38
|
}
|
|
37
39
|
) });
|
|
38
40
|
case "text":
|
|
39
|
-
return /* @__PURE__ */ jsx("div", { className: rootClass(), style, "aria-hidden": true, children: range(rows).map((i) => /* @__PURE__ */ jsx(
|
|
41
|
+
return /* @__PURE__ */ jsx("div", { className: rootClass(), style: sized, "aria-hidden": true, children: range(rows).map((i) => /* @__PURE__ */ jsx(
|
|
40
42
|
"div",
|
|
41
43
|
{
|
|
42
44
|
className: line(i === 0 ? "title" : "text", ...i === rows - 1 ? ["short"] : []),
|
|
@@ -45,21 +47,21 @@ var Placeholder = ({
|
|
|
45
47
|
i
|
|
46
48
|
)) });
|
|
47
49
|
case "card":
|
|
48
|
-
return /* @__PURE__ */ jsxs("div", { className: rootClass(), style, "aria-hidden": true, children: [
|
|
50
|
+
return /* @__PURE__ */ jsxs("div", { className: rootClass(), style: sized, "aria-hidden": true, children: [
|
|
49
51
|
/* @__PURE__ */ jsx("div", { className: line("title") }),
|
|
50
52
|
/* @__PURE__ */ jsx("div", { className: line("text") }),
|
|
51
53
|
/* @__PURE__ */ jsx("div", { className: line("text", "short") })
|
|
52
54
|
] });
|
|
53
55
|
case "grid": {
|
|
54
56
|
const cols = clampColumns(columns);
|
|
55
|
-
return /* @__PURE__ */ jsx("div", { className: rootClass(`crewlet-skeleton--cols-${cols}`), style, "aria-hidden": true, children: range(rows * cols).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__card", children: [
|
|
57
|
+
return /* @__PURE__ */ jsx("div", { className: rootClass(`crewlet-skeleton--cols-${cols}`), style: sized, "aria-hidden": true, children: range(rows * cols).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__card", children: [
|
|
56
58
|
/* @__PURE__ */ jsx("div", { className: line("title") }),
|
|
57
59
|
/* @__PURE__ */ jsx("div", { className: line("text") }),
|
|
58
60
|
/* @__PURE__ */ jsx("div", { className: line("text", "short") })
|
|
59
61
|
] }, i)) });
|
|
60
62
|
}
|
|
61
63
|
case "list":
|
|
62
|
-
return /* @__PURE__ */ jsx("div", { className: rootClass(), style, "aria-hidden": true, children: range(rows).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__list-item", children: [
|
|
64
|
+
return /* @__PURE__ */ jsx("div", { className: rootClass(), style: sized, "aria-hidden": true, children: range(rows).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__list-item", children: [
|
|
63
65
|
/* @__PURE__ */ jsx("div", { className: "crewlet-skeleton__avatar" }),
|
|
64
66
|
/* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__list-content", children: [
|
|
65
67
|
/* @__PURE__ */ jsx("div", { className: line("title") }),
|
|
@@ -67,19 +69,19 @@ var Placeholder = ({
|
|
|
67
69
|
] })
|
|
68
70
|
] }, i)) });
|
|
69
71
|
case "table":
|
|
70
|
-
return /* @__PURE__ */ jsx("div", { className: rootClass(), style, "aria-hidden": true, children: /* @__PURE__ */ jsxs("table", { className: "crewlet-skeleton__table", children: [
|
|
72
|
+
return /* @__PURE__ */ jsx("div", { className: rootClass(), style: sized, "aria-hidden": true, children: /* @__PURE__ */ jsxs("table", { className: "crewlet-skeleton__table", children: [
|
|
71
73
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { children: range(columns).map((i) => /* @__PURE__ */ jsx("th", { className: "crewlet-skeleton__th", children: /* @__PURE__ */ jsx("div", { className: line("title") }) }, i)) }) }),
|
|
72
74
|
/* @__PURE__ */ jsx("tbody", { children: range(rows).map((rowIndex) => /* @__PURE__ */ jsx("tr", { className: "crewlet-skeleton__tr", children: range(columns).map((colIndex) => /* @__PURE__ */ jsx("td", { className: "crewlet-skeleton__td", children: /* @__PURE__ */ jsx("div", { className: line("text") }) }, colIndex)) }, rowIndex)) })
|
|
73
75
|
] }) });
|
|
74
76
|
case "info-grid": {
|
|
75
77
|
const cols = clampColumns(columns);
|
|
76
|
-
return /* @__PURE__ */ jsx("div", { className: rootClass(`crewlet-skeleton--cols-${cols}`), style, "aria-hidden": true, children: range(rows * cols).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__info-item", children: [
|
|
78
|
+
return /* @__PURE__ */ jsx("div", { className: rootClass(`crewlet-skeleton--cols-${cols}`), style: sized, "aria-hidden": true, children: range(rows * cols).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__info-item", children: [
|
|
77
79
|
/* @__PURE__ */ jsx("div", { className: line("label") }),
|
|
78
80
|
/* @__PURE__ */ jsx("div", { className: line("value") })
|
|
79
81
|
] }, i)) });
|
|
80
82
|
}
|
|
81
83
|
case "pricing-card":
|
|
82
|
-
return /* @__PURE__ */ jsx("div", { className: rootClass(), style, "aria-hidden": true, children: range(count).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__pricing-card", children: [
|
|
84
|
+
return /* @__PURE__ */ jsx("div", { className: rootClass(), style: sized, "aria-hidden": true, children: range(count).map((i) => /* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__pricing-card", children: [
|
|
83
85
|
/* @__PURE__ */ jsxs("div", { className: "crewlet-skeleton__pricing-card-header", children: [
|
|
84
86
|
/* @__PURE__ */ jsx("div", { className: "crewlet-skeleton__circle" }),
|
|
85
87
|
/* @__PURE__ */ jsx("div", { className: line("heading") })
|
|
@@ -96,7 +98,7 @@ var Placeholder = ({
|
|
|
96
98
|
/* @__PURE__ */ jsx("div", { className: "crewlet-skeleton__button" })
|
|
97
99
|
] }, i)) });
|
|
98
100
|
default:
|
|
99
|
-
return /* @__PURE__ */ jsx("div", { className: cx("crewlet-skeleton", className), style, "aria-hidden": true, children: /* @__PURE__ */ jsx("div", { className: "crewlet-skeleton__line" }) });
|
|
101
|
+
return /* @__PURE__ */ jsx("div", { className: cx("crewlet-skeleton", className), style: sized, "aria-hidden": true, children: /* @__PURE__ */ jsx("div", { className: "crewlet-skeleton__line" }) });
|
|
100
102
|
}
|
|
101
103
|
};
|
|
102
104
|
var Skeleton = ({ label, ...placeholder }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|