@televet/kibble-ui 5.0.2 → 5.0.4-beta.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/chunks/{alert.types-C_ygg7fh.js → alert.types-BsTOOEB7.js} +3 -3
- package/dist/chunks/{alert.types-C_ygg7fh.js.map → alert.types-BsTOOEB7.js.map} +1 -1
- package/dist/chunks/{alert.types-BKSqs9qY.js → alert.types-Ch8hn5HY.js} +2 -2
- package/dist/chunks/{alert.types-BKSqs9qY.js.map → alert.types-Ch8hn5HY.js.map} +1 -1
- package/dist/chunks/{avatar.component-B1HGlwVW.js → avatar.component-Bi0lMCsC.js} +2 -2
- package/dist/chunks/{avatar.component-B1HGlwVW.js.map → avatar.component-Bi0lMCsC.js.map} +1 -1
- package/dist/chunks/{avatar.component-C-365mx3.js → avatar.component-DUZc5iXT.js} +2 -2
- package/dist/chunks/{avatar.component-C-365mx3.js.map → avatar.component-DUZc5iXT.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CTBfGiSm.js → avatarGroup.component-BdhUT7n5.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CTBfGiSm.js.map → avatarGroup.component-BdhUT7n5.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-B-ZOhj7i.js → avatarGroup.component-BwrjkSJn.js} +5 -5
- package/dist/chunks/{avatarGroup.component-B-ZOhj7i.js.map → avatarGroup.component-BwrjkSJn.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-DUK2FgFn.js → buttonGroup.component--dqWO06l.js} +2 -2
- package/dist/chunks/{buttonGroup.component-DUK2FgFn.js.map → buttonGroup.component--dqWO06l.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CowJsbr7.js → buttonGroup.component-D1h4aH2G.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CowJsbr7.js.map → buttonGroup.component-D1h4aH2G.js.map} +1 -1
- package/dist/chunks/{calendar.component-CHIhplfO.js → calendar.component-DxMzZla-.js} +2 -2
- package/dist/chunks/{calendar.component-CHIhplfO.js.map → calendar.component-DxMzZla-.js.map} +1 -1
- package/dist/chunks/{calendar.component-tOoK1NrU.js → calendar.component-w4rJ7mNI.js} +2 -2
- package/dist/chunks/{calendar.component-tOoK1NrU.js.map → calendar.component-w4rJ7mNI.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-CKDigkoD.js → characterCounter.component-BRHLt929.js} +2 -2
- package/dist/chunks/{characterCounter.component-CKDigkoD.js.map → characterCounter.component-BRHLt929.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-Ch3P3GqC.js → characterCounter.component-CoMqt04J.js} +2 -2
- package/dist/chunks/{characterCounter.component-Ch3P3GqC.js.map → characterCounter.component-CoMqt04J.js.map} +1 -1
- package/dist/chunks/{checkbox.component-DE35wBj-.js → checkbox.component-Be_DWrS9.js} +3 -3
- package/dist/chunks/{checkbox.component-DE35wBj-.js.map → checkbox.component-Be_DWrS9.js.map} +1 -1
- package/dist/chunks/{checkbox.component-CiA3Z1zR.js → checkbox.component-DkpiUlzn.js} +2 -2
- package/dist/chunks/{checkbox.component-CiA3Z1zR.js.map → checkbox.component-DkpiUlzn.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-CYwGlktu.js → checkboxGroup.component-BtzzLHHB.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-CYwGlktu.js.map → checkboxGroup.component-BtzzLHHB.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-BGBd-roJ.js → checkboxGroup.component-CtCezYeT.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-BGBd-roJ.js.map → checkboxGroup.component-CtCezYeT.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-BrDGshOG.js → conversationCard.component-8-HSmE3v.js} +2 -2
- package/dist/chunks/{conversationCard.component-BrDGshOG.js.map → conversationCard.component-8-HSmE3v.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-CMdqD3yN.js → conversationCard.component-FMq9PY8T.js} +8 -8
- package/dist/chunks/{conversationCard.component-CMdqD3yN.js.map → conversationCard.component-FMq9PY8T.js.map} +1 -1
- package/dist/chunks/{datePicker.component-eHU7IZgC.js → datePicker.component-C7QZhsm6.js} +5 -5
- package/dist/chunks/{datePicker.component-eHU7IZgC.js.map → datePicker.component-C7QZhsm6.js.map} +1 -1
- package/dist/chunks/{datePicker.component-C6cD1_HR.js → datePicker.component-DVOU1Sss.js} +2 -2
- package/dist/chunks/{datePicker.component-C6cD1_HR.js.map → datePicker.component-DVOU1Sss.js.map} +1 -1
- package/dist/chunks/{datePicker.provider-BWHE-9FA.js → datePicker.provider-CS1aBg9h.js} +270 -270
- package/dist/chunks/{datePicker.provider-BWHE-9FA.js.map → datePicker.provider-CS1aBg9h.js.map} +1 -1
- package/dist/chunks/datePicker.provider-D9GNAT1f.js +15 -0
- package/dist/chunks/{datePicker.provider-DgarjPPd.js.map → datePicker.provider-D9GNAT1f.js.map} +1 -1
- package/dist/chunks/{dateTimePicker.component-Byjxg2lJ.js → dateTimePicker.component-DJcUN8oo.js} +6 -6
- package/dist/chunks/{dateTimePicker.component-Byjxg2lJ.js.map → dateTimePicker.component-DJcUN8oo.js.map} +1 -1
- package/dist/chunks/{dateTimePicker.component-REz9iX4S.js → dateTimePicker.component-EkAaKua6.js} +2 -2
- package/dist/chunks/{dateTimePicker.component-REz9iX4S.js.map → dateTimePicker.component-EkAaKua6.js.map} +1 -1
- package/dist/chunks/{heading.component-DMAQO_-m.js → heading.component-DnoZOXdz.js} +2 -2
- package/dist/chunks/{heading.component-DMAQO_-m.js.map → heading.component-DnoZOXdz.js.map} +1 -1
- package/dist/chunks/{heading.component-7ikcgDco.js → heading.component-PFNpLFT7.js} +2 -2
- package/dist/chunks/{heading.component-7ikcgDco.js.map → heading.component-PFNpLFT7.js.map} +1 -1
- package/dist/chunks/{menu.component-DwTen8Uv.js → menu.component-BuTY_3mt.js} +201 -197
- package/dist/chunks/menu.component-BuTY_3mt.js.map +1 -0
- package/dist/chunks/menu.component-D79Ce44I.js +2 -0
- package/dist/chunks/menu.component-D79Ce44I.js.map +1 -0
- package/dist/chunks/{modal.types-B0rK6xJy.js → modal.types-jE-vPShC.js} +2 -2
- package/dist/chunks/{modal.types-B0rK6xJy.js.map → modal.types-jE-vPShC.js.map} +1 -1
- package/dist/chunks/{modal.types-74os4Bqi.js → modal.types-y3cRa0HL.js} +2 -2
- package/dist/chunks/{modal.types-74os4Bqi.js.map → modal.types-y3cRa0HL.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-BexkISUl.js → notificationCounter.component-BlGSd37B.js} +2 -2
- package/dist/chunks/{notificationCounter.component-BexkISUl.js.map → notificationCounter.component-BlGSd37B.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-DJpUXeXm.js → notificationCounter.component-CBwi5vXa.js} +2 -2
- package/dist/chunks/{notificationCounter.component-DJpUXeXm.js.map → notificationCounter.component-CBwi5vXa.js.map} +1 -1
- package/dist/chunks/{numberInput.component-RCwUUzmH.js → numberInput.component-DIEvX3XV.js} +2 -2
- package/dist/chunks/{numberInput.component-RCwUUzmH.js.map → numberInput.component-DIEvX3XV.js.map} +1 -1
- package/dist/chunks/{numberInput.component-DIABzNV6.js → numberInput.component-DTvSbkyF.js} +2 -2
- package/dist/chunks/{numberInput.component-DIABzNV6.js.map → numberInput.component-DTvSbkyF.js.map} +1 -1
- package/dist/chunks/{pinInput.types-CcaAN6P2.js → pinInput.types-B6LSv8Kj.js} +2 -2
- package/dist/chunks/{pinInput.types-CcaAN6P2.js.map → pinInput.types-B6LSv8Kj.js.map} +1 -1
- package/dist/chunks/{pinInput.types-BCzsoF9r.js → pinInput.types-CM5wUaXi.js} +2 -2
- package/dist/chunks/{pinInput.types-BCzsoF9r.js.map → pinInput.types-CM5wUaXi.js.map} +1 -1
- package/dist/chunks/{popover.component-DEOUdSu3.js → popover.component-BsiKfJR7.js} +5 -5
- package/dist/chunks/{popover.component-DEOUdSu3.js.map → popover.component-BsiKfJR7.js.map} +1 -1
- package/dist/chunks/{popover.component-BBp_5m8e.js → popover.component-C0nG3J1J.js} +2 -2
- package/dist/chunks/{popover.component-BBp_5m8e.js.map → popover.component-C0nG3J1J.js.map} +1 -1
- package/dist/chunks/{popover.recipe-B9bkpDfc.js → popover.recipe-BAl0q_IZ.js} +8 -8
- package/dist/chunks/popover.recipe-BAl0q_IZ.js.map +1 -0
- package/dist/chunks/popover.recipe-NDvOfG9X.js +2 -0
- package/dist/chunks/popover.recipe-NDvOfG9X.js.map +1 -0
- package/dist/chunks/{radioGroup.types-DJ68ERdO.js → radioGroup.types-C-JQsOXh.js} +4 -4
- package/dist/chunks/{radioGroup.types-DJ68ERdO.js.map → radioGroup.types-C-JQsOXh.js.map} +1 -1
- package/dist/chunks/{radioGroup.types-C7A8mLMz.js → radioGroup.types-sigpU7JZ.js} +2 -2
- package/dist/chunks/{radioGroup.types-C7A8mLMz.js.map → radioGroup.types-sigpU7JZ.js.map} +1 -1
- package/dist/chunks/{rating.component-BsuGbcxP.js → rating.component-23y0uvWf.js} +2 -2
- package/dist/chunks/{rating.component-BsuGbcxP.js.map → rating.component-23y0uvWf.js.map} +1 -1
- package/dist/chunks/{rating.component-ChzcvUl6.js → rating.component-Btdd7tMX.js} +2 -2
- package/dist/chunks/{rating.component-ChzcvUl6.js.map → rating.component-Btdd7tMX.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-D9WQGVcj.js → ratingDots.component-CEribcPM.js} +3 -3
- package/dist/chunks/{ratingDots.component-D9WQGVcj.js.map → ratingDots.component-CEribcPM.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-CVjSZ9JJ.js → ratingDots.component-dfb3E9CK.js} +2 -2
- package/dist/chunks/{ratingDots.component-CVjSZ9JJ.js.map → ratingDots.component-dfb3E9CK.js.map} +1 -1
- package/dist/chunks/{select.component-B4mAPqzN.js → select.component-BwgvV_Lm.js} +5 -5
- package/dist/chunks/{select.component-B4mAPqzN.js.map → select.component-BwgvV_Lm.js.map} +1 -1
- package/dist/chunks/{select.component-CCNxMGvb.js → select.component-D4XUEDi4.js} +2 -2
- package/dist/chunks/{select.component-CCNxMGvb.js.map → select.component-D4XUEDi4.js.map} +1 -1
- package/dist/chunks/{sortableList.component-BlwtnxVj.js → sortableList.component-2yX2pXs7.js} +2 -2
- package/dist/chunks/{sortableList.component-BlwtnxVj.js.map → sortableList.component-2yX2pXs7.js.map} +1 -1
- package/dist/chunks/{sortableList.component-XfURY7C2.js → sortableList.component-B2XQoMq7.js} +2 -2
- package/dist/chunks/{sortableList.component-XfURY7C2.js.map → sortableList.component-B2XQoMq7.js.map} +1 -1
- package/dist/chunks/{spinner.component-B3dkvoO9.js → spinner.component-D3s81AJH.js} +2 -2
- package/dist/chunks/{spinner.component-B3dkvoO9.js.map → spinner.component-D3s81AJH.js.map} +1 -1
- package/dist/chunks/{spinner.component-DuW1_IWM.js → spinner.component-Dq6u4vVL.js} +2 -2
- package/dist/chunks/{spinner.component-DuW1_IWM.js.map → spinner.component-Dq6u4vVL.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-cR6PNPxA.js → styledAvatar.types-C9Oi9C2U.js} +2 -2
- package/dist/chunks/{styledAvatar.types-cR6PNPxA.js.map → styledAvatar.types-C9Oi9C2U.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-CcP-Vl9c.js → styledAvatar.types-CUweBJqA.js} +2 -2
- package/dist/chunks/{styledAvatar.types-CcP-Vl9c.js.map → styledAvatar.types-CUweBJqA.js.map} +1 -1
- package/dist/chunks/{switch.component-CgzCLoTB.js → switch.component-gcLbjvkh.js} +2 -2
- package/dist/chunks/{switch.component-CgzCLoTB.js.map → switch.component-gcLbjvkh.js.map} +1 -1
- package/dist/chunks/{switch.component-CpV7mnhR.js → switch.component-y47DAbCX.js} +2 -2
- package/dist/chunks/{switch.component-CpV7mnhR.js.map → switch.component-y47DAbCX.js.map} +1 -1
- package/dist/chunks/{tab.types-DwPEP_5N.js → tab.types-BWtosyjE.js} +2 -2
- package/dist/chunks/{tab.types-DwPEP_5N.js.map → tab.types-BWtosyjE.js.map} +1 -1
- package/dist/chunks/{tab.types-DaJfFBvr.js → tab.types-CO64KNxl.js} +3 -3
- package/dist/chunks/{tab.types-DaJfFBvr.js.map → tab.types-CO64KNxl.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-Cor6eakc.js → tagBlock.component-CUti4nJM.js} +5 -5
- package/dist/chunks/{tagBlock.component-Cor6eakc.js.map → tagBlock.component-CUti4nJM.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-BGEvRu81.js → tagBlock.component-DExd13J1.js} +2 -2
- package/dist/chunks/{tagBlock.component-BGEvRu81.js.map → tagBlock.component-DExd13J1.js.map} +1 -1
- package/dist/chunks/{text.component-CeioUl0G.js → text.component-BDDz5KQP.js} +2 -2
- package/dist/chunks/{text.component-CeioUl0G.js.map → text.component-BDDz5KQP.js.map} +1 -1
- package/dist/chunks/{text.component-CdTyTFds.js → text.component-IjomJyJY.js} +2 -2
- package/dist/chunks/{text.component-CdTyTFds.js.map → text.component-IjomJyJY.js.map} +1 -1
- package/dist/chunks/{textInput.component-C1vwy6pL.js → textInput.component-CWbv8giH.js} +2 -2
- package/dist/chunks/{textInput.component-C1vwy6pL.js.map → textInput.component-CWbv8giH.js.map} +1 -1
- package/dist/chunks/{textInput.component-BC0Hi8R_.js → textInput.component-DAOVnBI-.js} +3 -3
- package/dist/chunks/{textInput.component-BC0Hi8R_.js.map → textInput.component-DAOVnBI-.js.map} +1 -1
- package/dist/chunks/{textarea.component-D15hA9Jb.js → textarea.component-CMszSf5r.js} +2 -2
- package/dist/chunks/{textarea.component-D15hA9Jb.js.map → textarea.component-CMszSf5r.js.map} +1 -1
- package/dist/chunks/{textarea.component-axjxiv82.js → textarea.component-DVk49EJX.js} +3 -3
- package/dist/chunks/{textarea.component-axjxiv82.js.map → textarea.component-DVk49EJX.js.map} +1 -1
- package/dist/chunks/{theme.provider-DFwAy7tr.js → theme.provider-BbKLlnGi.js} +2 -2
- package/dist/chunks/{theme.provider-DFwAy7tr.js.map → theme.provider-BbKLlnGi.js.map} +1 -1
- package/dist/chunks/{theme.provider-BD7qyu-B.js → theme.provider-Biof0UdB.js} +3 -3
- package/dist/chunks/{theme.provider-BD7qyu-B.js.map → theme.provider-Biof0UdB.js.map} +1 -1
- package/dist/chunks/{timePicker.component-Cz2XxVL6.js → timePicker.component-B750WQHA.js} +2 -2
- package/dist/chunks/{timePicker.component-Cz2XxVL6.js.map → timePicker.component-B750WQHA.js.map} +1 -1
- package/dist/chunks/{timePicker.component-u34pHrzr.js → timePicker.component-BOvQHyHv.js} +3 -3
- package/dist/chunks/{timePicker.component-u34pHrzr.js.map → timePicker.component-BOvQHyHv.js.map} +1 -1
- package/dist/chunks/{timeRange.component-tU_nCTmS.js → timeRange.component-C0f7pM9p.js} +2 -2
- package/dist/chunks/{timeRange.component-tU_nCTmS.js.map → timeRange.component-C0f7pM9p.js.map} +1 -1
- package/dist/chunks/{timeRange.component-BiA1VWQ8.js → timeRange.component-CdHkxVXb.js} +2 -2
- package/dist/chunks/{timeRange.component-BiA1VWQ8.js.map → timeRange.component-CdHkxVXb.js.map} +1 -1
- package/dist/chunks/{timestamp.component-DYZHgaas.js → timestamp.component-BfmZPfy5.js} +2 -2
- package/dist/chunks/{timestamp.component-DYZHgaas.js.map → timestamp.component-BfmZPfy5.js.map} +1 -1
- package/dist/chunks/{timestamp.component-DBmc7D23.js → timestamp.component-IfjfMFXl.js} +3 -3
- package/dist/chunks/{timestamp.component-DBmc7D23.js.map → timestamp.component-IfjfMFXl.js.map} +1 -1
- package/dist/chunks/tooltip.component-DBw-hAPU.js +2 -0
- package/dist/chunks/{tooltip.component-BkFDi5yK.js.map → tooltip.component-DBw-hAPU.js.map} +1 -1
- package/dist/chunks/{tooltip.component-C_NS-AoH.js → tooltip.component-DFsQNG1q.js} +62 -58
- package/dist/chunks/{tooltip.component-C_NS-AoH.js.map → tooltip.component-DFsQNG1q.js.map} +1 -1
- package/dist/chunks/{withFormControl-DePFf9SY.js → withFormControl-B4TNaDf4.js} +2 -2
- package/dist/chunks/{withFormControl-DePFf9SY.js.map → withFormControl-B4TNaDf4.js.map} +1 -1
- package/dist/chunks/{withFormControl-wZA87Sd4.js → withFormControl-CIZOpk9n.js} +2 -2
- package/dist/chunks/{withFormControl-wZA87Sd4.js.map → withFormControl-CIZOpk9n.js.map} +1 -1
- package/dist/chunks/{withTruncation-DTCfQ2yk.js → withTruncation-CqDQUSVU.js} +2 -2
- package/dist/chunks/{withTruncation-DTCfQ2yk.js.map → withTruncation-CqDQUSVU.js.map} +1 -1
- package/dist/chunks/{withTruncation-DE3FFPE7.js → withTruncation-pzYbtqYw.js} +2 -2
- package/dist/chunks/{withTruncation-DE3FFPE7.js.map → withTruncation-pzYbtqYw.js.map} +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/Calendar/index.cjs +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/DateTimePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
- package/dist/cjs/components/NumberInput/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/Rating/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Calendar/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +2 -2
- package/dist/esm/components/DateTimePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +1 -1
- package/dist/esm/components/NumberInput/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/Rating/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +36 -36
- package/dist/esm/index.js +37 -37
- package/dist/esm/theme/index.js +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -0
- package/package.json +1 -1
- package/dist/chunks/datePicker.provider-DgarjPPd.js +0 -15
- package/dist/chunks/menu.component-D4-4xRDj.js +0 -2
- package/dist/chunks/menu.component-D4-4xRDj.js.map +0 -1
- package/dist/chunks/menu.component-DwTen8Uv.js.map +0 -1
- package/dist/chunks/popover.recipe-B9bkpDfc.js.map +0 -1
- package/dist/chunks/popover.recipe-Czy8Aeft.js +0 -2
- package/dist/chunks/popover.recipe-Czy8Aeft.js.map +0 -1
- package/dist/chunks/tooltip.component-BkFDi5yK.js +0 -2
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import st, { forwardRef as
|
|
2
|
+
import st, { forwardRef as h, useEffect as B, useId as Y, useRef as le, useCallback as j, useState as L, useMemo as D } from "react";
|
|
3
3
|
import { B as T } from "./index-9BerxEcw.js";
|
|
4
|
-
import { B as
|
|
4
|
+
import { B as Z } from "./button.component-BO6oee_V.js";
|
|
5
5
|
import { I as he } from "./icon.component-PV_nHBId.js";
|
|
6
|
-
import { W as
|
|
7
|
-
import { T as
|
|
6
|
+
import { W as ee } from "./text.component-IjomJyJY.js";
|
|
7
|
+
import { T as ge } from "./tooltip.component-DFsQNG1q.js";
|
|
8
8
|
import { F as z } from "./flex-CX-8gE9T.js";
|
|
9
|
-
import { W as ct } from "./textInput.component-
|
|
10
|
-
import { S as at } from "./spinner.component-
|
|
9
|
+
import { W as ct } from "./textInput.component-DAOVnBI-.js";
|
|
10
|
+
import { S as at } from "./spinner.component-D3s81AJH.js";
|
|
11
11
|
import { u as it } from "./usePortalContentRef-DO_jc4W9.js";
|
|
12
|
-
import { u as
|
|
12
|
+
import { u as te, s as fe, c as Me, d as Pe, P as ut } from "./index-C9UYIjEB.js";
|
|
13
13
|
import { c as lt } from "./create-slot-recipe-context-D_FXDJGp.js";
|
|
14
14
|
import { d as dt } from "./icons-CoSqruIn.js";
|
|
15
|
-
import { a as
|
|
15
|
+
import { a as _, d as g, b as O, e as pt, u as mt, f as xt, g as ht, n as gt } from "./use-locale-context-Bw4Gg9Z0.js";
|
|
16
16
|
import { m as ft, c as Mt } from "./index-CbVKVxMW.js";
|
|
17
17
|
import { a6 as p } from "./index-fHSGm2nC.js";
|
|
18
|
-
import { W as Pt } from "./checkbox.component-
|
|
19
|
-
const [
|
|
18
|
+
import { W as Pt } from "./checkbox.component-Be_DWrS9.js";
|
|
19
|
+
const [ve, m] = _({
|
|
20
20
|
name: "MenuContext",
|
|
21
21
|
hookName: "useMenuContext",
|
|
22
22
|
providerName: "<MenuProvider />",
|
|
23
23
|
strict: !1
|
|
24
|
-
}),
|
|
24
|
+
}), je = h((o, n) => {
|
|
25
25
|
const t = m(), s = p(t.getArrowProps(), o);
|
|
26
26
|
return /* @__PURE__ */ e.jsx(g.div, { ...s, ref: n });
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
const
|
|
28
|
+
je.displayName = "MenuArrow";
|
|
29
|
+
const Ce = h((o, n) => {
|
|
30
30
|
const t = m(), s = p(t.getArrowTipProps(), o);
|
|
31
31
|
return /* @__PURE__ */ e.jsx(g.div, { ...s, ref: n });
|
|
32
32
|
});
|
|
33
|
-
|
|
34
|
-
const [
|
|
33
|
+
Ce.displayName = "MenuArrowTip";
|
|
34
|
+
const [ne, Zt] = _({
|
|
35
35
|
name: "MenuItemContext",
|
|
36
36
|
hookName: "useMenuItemContext",
|
|
37
37
|
providerName: "<MenuItemProvider />"
|
|
38
|
-
}), [
|
|
38
|
+
}), [oe, Ie] = _({
|
|
39
39
|
name: "MenuItemPropsContext",
|
|
40
40
|
hookName: "useMenuItemPropsContext",
|
|
41
41
|
providerName: "<MenuItemPropsProvider />"
|
|
42
|
-
}),
|
|
43
|
-
const [t, s] =
|
|
42
|
+
}), be = h((o, n) => {
|
|
43
|
+
const [t, s] = O()(o, [
|
|
44
44
|
"checked",
|
|
45
45
|
"closeOnSelect",
|
|
46
46
|
"disabled",
|
|
@@ -51,115 +51,115 @@ const [te, Zt] = G({
|
|
|
51
51
|
...t,
|
|
52
52
|
type: "checkbox"
|
|
53
53
|
}, u = m(), a = p(u.getOptionItemProps(c), s), i = u.getOptionItemState(c);
|
|
54
|
-
return /* @__PURE__ */ e.jsx(
|
|
54
|
+
return /* @__PURE__ */ e.jsx(oe, { value: c, children: /* @__PURE__ */ e.jsx(ne, { value: i, children: /* @__PURE__ */ e.jsx(g.div, { ...a, ref: n }) }) });
|
|
55
55
|
});
|
|
56
|
-
|
|
57
|
-
const
|
|
58
|
-
const t = m(), s =
|
|
56
|
+
be.displayName = "MenuCheckboxItem";
|
|
57
|
+
const ke = h((o, n) => {
|
|
58
|
+
const t = m(), s = te(), c = p(t.getContentProps(), s.getPresenceProps(), o);
|
|
59
59
|
return s.unmounted ? null : /* @__PURE__ */ e.jsx(g.div, { ...c, ref: pt(s.ref, n) });
|
|
60
60
|
});
|
|
61
|
-
|
|
62
|
-
const
|
|
61
|
+
ke.displayName = "MenuContent";
|
|
62
|
+
const Se = h((o, n) => {
|
|
63
63
|
const t = m(), s = p(t.getContextTriggerProps(), o);
|
|
64
64
|
return /* @__PURE__ */ e.jsx(g.button, { ...s, ref: n });
|
|
65
65
|
});
|
|
66
|
-
|
|
67
|
-
const
|
|
66
|
+
Se.displayName = "MenuContextTrigger";
|
|
67
|
+
const we = h((o, n) => {
|
|
68
68
|
const t = m(), s = p(t.getIndicatorProps(), o);
|
|
69
69
|
return /* @__PURE__ */ e.jsx(g.div, { ...s, ref: n });
|
|
70
70
|
});
|
|
71
|
-
|
|
72
|
-
const
|
|
73
|
-
const [t, s] =
|
|
71
|
+
we.displayName = "MenuIndicator";
|
|
72
|
+
const Ne = h((o, n) => {
|
|
73
|
+
const [t, s] = O()(o, [
|
|
74
74
|
"closeOnSelect",
|
|
75
75
|
"disabled",
|
|
76
76
|
"value",
|
|
77
77
|
"valueText",
|
|
78
78
|
"onSelect"
|
|
79
79
|
]), c = m(), u = p(c.getItemProps(t), s), a = c.getItemState(t);
|
|
80
|
-
return B(() => c.addItemListener({ id: a.id, onSelect: t.onSelect }), [a.id, t.onSelect]), /* @__PURE__ */ e.jsx(
|
|
80
|
+
return B(() => c.addItemListener({ id: a.id, onSelect: t.onSelect }), [a.id, t.onSelect]), /* @__PURE__ */ e.jsx(oe, { value: t, children: /* @__PURE__ */ e.jsx(ne, { value: a, children: /* @__PURE__ */ e.jsx(g.div, { ...u, ref: n }) }) });
|
|
81
81
|
});
|
|
82
|
-
|
|
83
|
-
const [
|
|
82
|
+
Ne.displayName = "MenuItem";
|
|
83
|
+
const [ye, Ae] = _({
|
|
84
84
|
name: "MenuItemGroupContext",
|
|
85
85
|
hookName: "useMenuItemGroupContext",
|
|
86
86
|
providerName: "<MenuItemGroupProvider />"
|
|
87
|
-
}),
|
|
88
|
-
const [t, s] =
|
|
89
|
-
return /* @__PURE__ */ e.jsx(
|
|
87
|
+
}), Te = h((o, n) => {
|
|
88
|
+
const [t, s] = O()(o, ["id"]), c = m(), a = { id: Y(), ...t }, i = p(c.getItemGroupProps(a), s);
|
|
89
|
+
return /* @__PURE__ */ e.jsx(ye, { value: a, children: /* @__PURE__ */ e.jsx(g.div, { ...i, ref: n }) });
|
|
90
90
|
});
|
|
91
|
-
|
|
92
|
-
const
|
|
93
|
-
const t = m(), s =
|
|
91
|
+
Te.displayName = "MenuItemGroup";
|
|
92
|
+
const Ge = h((o, n) => {
|
|
93
|
+
const t = m(), s = Ae(), c = p(t.getItemGroupLabelProps({ htmlFor: s.id }), o);
|
|
94
94
|
return /* @__PURE__ */ e.jsx(g.div, { ...c, ref: n });
|
|
95
95
|
});
|
|
96
|
-
|
|
97
|
-
const
|
|
98
|
-
const t = m(), s =
|
|
96
|
+
Ge.displayName = "MenuItemGroupLabel";
|
|
97
|
+
const _e = h((o, n) => {
|
|
98
|
+
const t = m(), s = Ie(), c = p(t.getItemIndicatorProps(s), o);
|
|
99
99
|
return /* @__PURE__ */ e.jsx(g.div, { ...c, ref: n });
|
|
100
100
|
});
|
|
101
|
-
|
|
102
|
-
const
|
|
103
|
-
const t = m(), s =
|
|
101
|
+
_e.displayName = "MenuItemIndicator";
|
|
102
|
+
const Oe = h((o, n) => {
|
|
103
|
+
const t = m(), s = Ie(), c = p(t.getItemTextProps(s), o);
|
|
104
104
|
return /* @__PURE__ */ e.jsx(g.div, { ...c, ref: n });
|
|
105
105
|
});
|
|
106
|
-
|
|
107
|
-
const
|
|
106
|
+
Oe.displayName = "MenuItemText";
|
|
107
|
+
const $e = h((o, n) => {
|
|
108
108
|
const t = m(), s = p(t.getPositionerProps(), o);
|
|
109
|
-
return
|
|
109
|
+
return te().unmounted ? null : /* @__PURE__ */ e.jsx(g.div, { ...s, ref: n });
|
|
110
110
|
});
|
|
111
|
-
|
|
112
|
-
const
|
|
113
|
-
const [t, s] =
|
|
111
|
+
$e.displayName = "MenuPositioner";
|
|
112
|
+
const Re = h((o, n) => {
|
|
113
|
+
const [t, s] = O()(o, [
|
|
114
114
|
"closeOnSelect",
|
|
115
115
|
"disabled",
|
|
116
116
|
"value",
|
|
117
117
|
"valueText"
|
|
118
|
-
]), c = m(), u =
|
|
118
|
+
]), c = m(), u = Ae(), a = {
|
|
119
119
|
...t,
|
|
120
120
|
checked: u.value === t.value,
|
|
121
121
|
type: "radio",
|
|
122
122
|
onCheckedChange: () => u.onValueChange?.({ value: t.value })
|
|
123
123
|
}, i = p(c.getOptionItemProps(a), s), f = c.getOptionItemState(a);
|
|
124
|
-
return /* @__PURE__ */ e.jsx(
|
|
124
|
+
return /* @__PURE__ */ e.jsx(oe, { value: a, children: /* @__PURE__ */ e.jsx(ne, { value: f, children: /* @__PURE__ */ e.jsx(g.div, { ...i, ref: n }) }) });
|
|
125
125
|
});
|
|
126
|
-
|
|
127
|
-
const
|
|
128
|
-
const [t, s] =
|
|
126
|
+
Re.displayName = "MenuRadioItem";
|
|
127
|
+
const Le = h((o, n) => {
|
|
128
|
+
const [t, s] = O()(o, [
|
|
129
129
|
"id",
|
|
130
130
|
"onValueChange",
|
|
131
131
|
"value"
|
|
132
|
-
]), c = m(), a = { id:
|
|
133
|
-
return /* @__PURE__ */ e.jsx(
|
|
132
|
+
]), c = m(), a = { id: Y(), ...t }, i = p(c.getItemGroupProps({ id: a.id }), s);
|
|
133
|
+
return /* @__PURE__ */ e.jsx(ye, { value: a, children: /* @__PURE__ */ e.jsx(g.div, { ...i, ref: n }) });
|
|
134
134
|
});
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
const n =
|
|
135
|
+
Le.displayName = "MenuRadioItemGroup";
|
|
136
|
+
const Be = (o) => {
|
|
137
|
+
const n = le(o), t = le(!1);
|
|
138
138
|
B(() => {
|
|
139
139
|
n.current = o;
|
|
140
140
|
}), B(() => {
|
|
141
141
|
t.current !== !0 && (t.current = !0, n.current());
|
|
142
142
|
}, []);
|
|
143
143
|
}, vt = (o) => {
|
|
144
|
-
const n =
|
|
144
|
+
const n = Y(), { getRootNode: t } = mt(), { dir: s } = xt(), c = {
|
|
145
145
|
id: n,
|
|
146
146
|
dir: s,
|
|
147
147
|
getRootNode: t,
|
|
148
148
|
...o
|
|
149
|
-
}, u =
|
|
149
|
+
}, u = ht(ft, c);
|
|
150
150
|
return { api: Mt(u, gt), service: u };
|
|
151
|
-
}, [
|
|
151
|
+
}, [ze, Fe] = _({
|
|
152
152
|
name: "MenuMachineContext",
|
|
153
153
|
hookName: "useMenuMachineContext",
|
|
154
154
|
providerName: "<MenuMachineProvider />",
|
|
155
155
|
strict: !1
|
|
156
|
-
}), [
|
|
156
|
+
}), [We, jt] = _({
|
|
157
157
|
name: "MenuMachineContext",
|
|
158
158
|
hookName: "useMenuMachineContext",
|
|
159
159
|
providerName: "<MenuMachineProvider />",
|
|
160
160
|
strict: !1
|
|
161
161
|
}), Ct = (o) => {
|
|
162
|
-
const [n, t] =
|
|
162
|
+
const [n, t] = fe(o), [s, c] = O()(t, [
|
|
163
163
|
"anchorPoint",
|
|
164
164
|
"aria-label",
|
|
165
165
|
"closeOnSelect",
|
|
@@ -181,26 +181,26 @@ const Le = (o) => {
|
|
|
181
181
|
"open",
|
|
182
182
|
"positioning",
|
|
183
183
|
"typeahead"
|
|
184
|
-
]), u = m(), a =
|
|
185
|
-
|
|
184
|
+
]), u = m(), a = Fe(), { api: i, service: f } = vt(s), N = Me(p({ present: i.open }, n));
|
|
185
|
+
Be(() => {
|
|
186
186
|
a && u && (u.setChild(f), i.setParent(a));
|
|
187
187
|
});
|
|
188
188
|
const y = j(() => u?.getTriggerItemProps(i), [i, u]);
|
|
189
|
-
return /* @__PURE__ */ e.jsx(
|
|
189
|
+
return /* @__PURE__ */ e.jsx(We, { value: y, children: /* @__PURE__ */ e.jsx(ze, { value: f, children: /* @__PURE__ */ e.jsx(ve, { value: i, children: /* @__PURE__ */ e.jsx(Pe, { value: N, ...c }) }) }) });
|
|
190
190
|
}, It = (o) => {
|
|
191
|
-
const n = m(), t =
|
|
192
|
-
|
|
191
|
+
const n = m(), t = Fe(), [s, { value: c, children: u }] = fe(o), { api: a, service: i } = c, f = Me(p({ present: a.open }, s));
|
|
192
|
+
Be(() => {
|
|
193
193
|
t && n && (n.setChild(i), a.setParent(t));
|
|
194
194
|
});
|
|
195
195
|
const N = j(() => n?.getTriggerItemProps(a), [a, n]);
|
|
196
|
-
return /* @__PURE__ */ e.jsx(
|
|
197
|
-
},
|
|
196
|
+
return /* @__PURE__ */ e.jsx(We, { value: N, children: /* @__PURE__ */ e.jsx(ze, { value: i, children: /* @__PURE__ */ e.jsx(ve, { value: a, children: /* @__PURE__ */ e.jsx(Pe, { value: f, children: u }) }) }) });
|
|
197
|
+
}, Ee = h((o, n) => {
|
|
198
198
|
const t = m(), s = p(t.getSeparatorProps(), o);
|
|
199
199
|
return /* @__PURE__ */ e.jsx(g.hr, { ...s, ref: n });
|
|
200
200
|
});
|
|
201
|
-
|
|
202
|
-
const
|
|
203
|
-
const t = m(), s =
|
|
201
|
+
Ee.displayName = "MenuSeparator";
|
|
202
|
+
const De = h((o, n) => {
|
|
203
|
+
const t = m(), s = te(), c = p(
|
|
204
204
|
{
|
|
205
205
|
...t.getTriggerProps(),
|
|
206
206
|
"aria-controls": s.unmounted ? void 0 : t.getTriggerProps()["aria-controls"]
|
|
@@ -209,86 +209,86 @@ const Ee = x((o, n) => {
|
|
|
209
209
|
);
|
|
210
210
|
return /* @__PURE__ */ e.jsx(g.button, { ...c, ref: n });
|
|
211
211
|
});
|
|
212
|
-
|
|
213
|
-
const
|
|
212
|
+
De.displayName = "MenuTrigger";
|
|
213
|
+
const Ve = h((o, n) => {
|
|
214
214
|
const t = jt(), s = p(t?.() ?? {}, o);
|
|
215
215
|
return /* @__PURE__ */ e.jsx(g.div, { ...s, ref: n });
|
|
216
216
|
});
|
|
217
|
-
|
|
217
|
+
Ve.displayName = "MenuTriggerItem";
|
|
218
218
|
const {
|
|
219
|
-
withRootProvider:
|
|
220
|
-
withContext:
|
|
219
|
+
withRootProvider: He,
|
|
220
|
+
withContext: x
|
|
221
221
|
} = lt({ key: "menu" });
|
|
222
|
-
|
|
222
|
+
He(
|
|
223
223
|
It
|
|
224
224
|
);
|
|
225
|
-
const bt =
|
|
225
|
+
const bt = He(Ct, {
|
|
226
226
|
defaultProps: { lazyMount: !0, unmountOnExit: !0 }
|
|
227
|
-
}), kt =
|
|
228
|
-
|
|
227
|
+
}), kt = x(
|
|
228
|
+
De,
|
|
229
229
|
"trigger",
|
|
230
230
|
{ forwardAsChild: !0 }
|
|
231
231
|
);
|
|
232
|
-
|
|
233
|
-
const St =
|
|
234
|
-
|
|
232
|
+
x(Se, "contextTrigger", { forwardAsChild: !0 });
|
|
233
|
+
const St = x(
|
|
234
|
+
$e,
|
|
235
235
|
"positioner",
|
|
236
236
|
{ forwardAsChild: !0 }
|
|
237
237
|
);
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
x(
|
|
239
|
+
Ee,
|
|
240
240
|
"separator",
|
|
241
241
|
{ forwardAsChild: !0 }
|
|
242
242
|
);
|
|
243
|
-
const wt =
|
|
244
|
-
|
|
243
|
+
const wt = x(
|
|
244
|
+
ke,
|
|
245
245
|
"content",
|
|
246
246
|
{ forwardAsChild: !0 }
|
|
247
|
-
), Nt =
|
|
248
|
-
|
|
247
|
+
), Nt = x(
|
|
248
|
+
Ce,
|
|
249
249
|
"arrowTip",
|
|
250
250
|
{ forwardAsChild: !0 }
|
|
251
251
|
);
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
x(
|
|
253
|
+
je,
|
|
254
254
|
"arrow",
|
|
255
255
|
{ forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ e.jsx(Nt, {}) } }
|
|
256
256
|
);
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
x(
|
|
258
|
+
we,
|
|
259
259
|
"indicator",
|
|
260
260
|
{ forwardAsChild: !0 }
|
|
261
261
|
);
|
|
262
|
-
const yt =
|
|
263
|
-
|
|
262
|
+
const yt = x(
|
|
263
|
+
Te,
|
|
264
264
|
"itemGroup",
|
|
265
265
|
{ forwardAsChild: !0 }
|
|
266
|
-
), At =
|
|
267
|
-
|
|
266
|
+
), At = x(Ge, "itemGroupLabel", { forwardAsChild: !0 }), de = x(
|
|
267
|
+
Ne,
|
|
268
268
|
"item",
|
|
269
269
|
{ forwardAsChild: !0 }
|
|
270
|
-
), Tt =
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
), Tt = x(Ve, "item", { forwardAsChild: !0 });
|
|
271
|
+
x(
|
|
272
|
+
Oe,
|
|
273
273
|
"itemText",
|
|
274
274
|
{ forwardAsChild: !0 }
|
|
275
275
|
);
|
|
276
|
-
|
|
276
|
+
x(
|
|
277
277
|
"kbd",
|
|
278
278
|
"itemCommand"
|
|
279
279
|
);
|
|
280
|
-
|
|
280
|
+
x(_e, "itemIndicator", {
|
|
281
281
|
forwardAsChild: !0,
|
|
282
282
|
defaultProps: { children: /* @__PURE__ */ e.jsx(dt, { boxSize: "4" }) }
|
|
283
283
|
});
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
284
|
+
x(be, "item", { forwardAsChild: !0 });
|
|
285
|
+
x(Le, "itemGroup", { forwardAsChild: !0 });
|
|
286
|
+
x(
|
|
287
|
+
Re,
|
|
288
288
|
"item",
|
|
289
289
|
{ forwardAsChild: !0 }
|
|
290
290
|
);
|
|
291
|
-
const
|
|
291
|
+
const Ke = ({
|
|
292
292
|
hideCaret: o = !1,
|
|
293
293
|
size: n = "md",
|
|
294
294
|
text: t,
|
|
@@ -298,7 +298,7 @@ const He = ({
|
|
|
298
298
|
["data-testid"]: a = "kibble-menu-button",
|
|
299
299
|
...i
|
|
300
300
|
}) => /* @__PURE__ */ e.jsxs(
|
|
301
|
-
|
|
301
|
+
Z,
|
|
302
302
|
{
|
|
303
303
|
className: "Menu__Button",
|
|
304
304
|
"data-testid": a,
|
|
@@ -311,7 +311,7 @@ const He = ({
|
|
|
311
311
|
},
|
|
312
312
|
children: [
|
|
313
313
|
t && /* @__PURE__ */ e.jsx(
|
|
314
|
-
|
|
314
|
+
ee,
|
|
315
315
|
{
|
|
316
316
|
className: "Menu__ButtonText",
|
|
317
317
|
"data-testid": `${a}-text`,
|
|
@@ -334,7 +334,7 @@ const He = ({
|
|
|
334
334
|
}, [n]);
|
|
335
335
|
return B(() => {
|
|
336
336
|
n && c(!1);
|
|
337
|
-
}, [n]), /* @__PURE__ */ e.jsx(
|
|
337
|
+
}, [n]), /* @__PURE__ */ e.jsx(ge, { label: t.text || "", open: s && !n, ...o, children: /* @__PURE__ */ e.jsx(
|
|
338
338
|
T,
|
|
339
339
|
{
|
|
340
340
|
onClick: (i) => {
|
|
@@ -342,7 +342,7 @@ const He = ({
|
|
|
342
342
|
},
|
|
343
343
|
onMouseEnter: u,
|
|
344
344
|
onMouseLeave: a,
|
|
345
|
-
children: /* @__PURE__ */ e.jsx(
|
|
345
|
+
children: /* @__PURE__ */ e.jsx(Ke, { ...t })
|
|
346
346
|
}
|
|
347
347
|
) });
|
|
348
348
|
}, _t = ({
|
|
@@ -362,16 +362,17 @@ const He = ({
|
|
|
362
362
|
const {
|
|
363
363
|
valueText: S,
|
|
364
364
|
listProps: C,
|
|
365
|
-
|
|
365
|
+
positionerProps: M,
|
|
366
|
+
portalled: A = !0,
|
|
366
367
|
open: k,
|
|
367
|
-
lazyMount:
|
|
368
|
-
unmountOnExit:
|
|
368
|
+
lazyMount: I = !0,
|
|
369
|
+
unmountOnExit: V = !0
|
|
369
370
|
} = i;
|
|
370
371
|
return /* @__PURE__ */ e.jsx(
|
|
371
372
|
Ot,
|
|
372
373
|
{
|
|
373
|
-
lazyMount:
|
|
374
|
-
unmountOnExit:
|
|
374
|
+
lazyMount: I,
|
|
375
|
+
unmountOnExit: V,
|
|
375
376
|
submenuTrigger: /* @__PURE__ */ e.jsxs(
|
|
376
377
|
Tt,
|
|
377
378
|
{
|
|
@@ -385,7 +386,7 @@ const He = ({
|
|
|
385
386
|
},
|
|
386
387
|
children: [
|
|
387
388
|
/* @__PURE__ */ e.jsx(
|
|
388
|
-
|
|
389
|
+
X,
|
|
389
390
|
{
|
|
390
391
|
label: o,
|
|
391
392
|
leftElement: n,
|
|
@@ -397,16 +398,17 @@ const He = ({
|
|
|
397
398
|
]
|
|
398
399
|
}
|
|
399
400
|
),
|
|
400
|
-
portalled:
|
|
401
|
+
portalled: A,
|
|
401
402
|
open: k !== void 0 ? k : f,
|
|
402
|
-
listProps: C
|
|
403
|
+
listProps: C,
|
|
404
|
+
positionerProps: M
|
|
403
405
|
}
|
|
404
406
|
);
|
|
405
407
|
}
|
|
406
408
|
if (c === "checkbox") {
|
|
407
|
-
const { checked: S, value: C, disabled: M, tooltipLabel:
|
|
409
|
+
const { checked: S, value: C, disabled: M, tooltipLabel: A, ...k } = i;
|
|
408
410
|
return /* @__PURE__ */ e.jsxs(
|
|
409
|
-
|
|
411
|
+
de,
|
|
410
412
|
{
|
|
411
413
|
className: "Menu__Item--Checkbox",
|
|
412
414
|
"data-testid": `${a}-checkbox`,
|
|
@@ -415,17 +417,17 @@ const He = ({
|
|
|
415
417
|
onSelect: M ? void 0 : y,
|
|
416
418
|
gap: 3,
|
|
417
419
|
disabled: M,
|
|
418
|
-
...
|
|
420
|
+
...k,
|
|
419
421
|
children: [
|
|
420
422
|
/* @__PURE__ */ e.jsx(Pt, { checked: !!S, disabled: M, size: "md", fullWidth: !1 }),
|
|
421
423
|
/* @__PURE__ */ e.jsx(
|
|
422
|
-
|
|
424
|
+
X,
|
|
423
425
|
{
|
|
424
426
|
label: o,
|
|
425
427
|
leftElement: n,
|
|
426
428
|
shouldTruncateText: s,
|
|
427
429
|
variant: u,
|
|
428
|
-
tooltipLabel:
|
|
430
|
+
tooltipLabel: A
|
|
429
431
|
}
|
|
430
432
|
)
|
|
431
433
|
]
|
|
@@ -433,9 +435,9 @@ const He = ({
|
|
|
433
435
|
);
|
|
434
436
|
}
|
|
435
437
|
if (c === "default") {
|
|
436
|
-
const { selected: S = !1, disabled: C, value: M, tooltipLabel:
|
|
438
|
+
const { selected: S = !1, disabled: C, value: M, tooltipLabel: A, ...k } = i;
|
|
437
439
|
return /* @__PURE__ */ e.jsx(
|
|
438
|
-
|
|
440
|
+
de,
|
|
439
441
|
{
|
|
440
442
|
className: "Menu__Item--Default",
|
|
441
443
|
"data-testid": `${a}-default`,
|
|
@@ -443,22 +445,22 @@ const He = ({
|
|
|
443
445
|
onSelect: C ? void 0 : y,
|
|
444
446
|
disabled: C,
|
|
445
447
|
...S && { bgColor: "background.secondaryAlpha.hover" },
|
|
446
|
-
...
|
|
448
|
+
...k,
|
|
447
449
|
children: /* @__PURE__ */ e.jsx(
|
|
448
|
-
|
|
450
|
+
X,
|
|
449
451
|
{
|
|
450
452
|
label: o,
|
|
451
453
|
leftElement: n,
|
|
452
454
|
shouldTruncateText: s,
|
|
453
455
|
variant: S ? "info" : u,
|
|
454
|
-
tooltipLabel:
|
|
456
|
+
tooltipLabel: A
|
|
455
457
|
}
|
|
456
458
|
)
|
|
457
459
|
}
|
|
458
460
|
);
|
|
459
461
|
}
|
|
460
462
|
return /* @__PURE__ */ e.jsx(e.Fragment, {});
|
|
461
|
-
},
|
|
463
|
+
}, X = ({
|
|
462
464
|
label: o,
|
|
463
465
|
leftElement: n,
|
|
464
466
|
shouldTruncateText: t,
|
|
@@ -467,22 +469,22 @@ const He = ({
|
|
|
467
469
|
}) => {
|
|
468
470
|
const u = /* @__PURE__ */ e.jsxs(z, { className: "Menu__ItemLabel", alignItems: "center", gap: 3, children: [
|
|
469
471
|
n,
|
|
470
|
-
typeof o == "string" ? /* @__PURE__ */ e.jsx(
|
|
472
|
+
typeof o == "string" ? /* @__PURE__ */ e.jsx(ee, { size: "sm", truncated: t, variant: s, children: o }) : o
|
|
471
473
|
] });
|
|
472
|
-
return c ? /* @__PURE__ */ e.jsx(
|
|
473
|
-
},
|
|
474
|
+
return c ? /* @__PURE__ */ e.jsx(ge, { label: c, children: u }) : u;
|
|
475
|
+
}, pe = ({
|
|
474
476
|
groupName: o,
|
|
475
477
|
hasSelectedItems: n = !1,
|
|
476
478
|
onToggle: t,
|
|
477
479
|
["data-testid"]: s = "kibble-menu-toggle-buttons"
|
|
478
480
|
}) => {
|
|
479
481
|
const c = !!o;
|
|
480
|
-
return /* @__PURE__ */ e.jsx(T, { className: "Menu__ToggleButtons", "data-testid": s, ...c && { textAlign: "right", w: "50%" }, children: c ? /* @__PURE__ */ e.jsx(e.Fragment, { children: n ? /* @__PURE__ */ e.jsx(
|
|
481
|
-
/* @__PURE__ */ e.jsx(
|
|
482
|
-
/* @__PURE__ */ e.jsx(
|
|
482
|
+
return /* @__PURE__ */ e.jsx(T, { className: "Menu__ToggleButtons", "data-testid": s, ...c && { textAlign: "right", w: "50%" }, children: c ? /* @__PURE__ */ e.jsx(e.Fragment, { children: n ? /* @__PURE__ */ e.jsx(xe, { hasSelectedItems: n, groupName: o, onToggle: t }) : /* @__PURE__ */ e.jsx(me, { groupName: o, onToggle: t }) }) : /* @__PURE__ */ e.jsxs(z, { justifyContent: "space-between", children: [
|
|
483
|
+
/* @__PURE__ */ e.jsx(me, { groupName: o, onToggle: t }),
|
|
484
|
+
/* @__PURE__ */ e.jsx(xe, { hasSelectedItems: n, groupName: o, onToggle: t })
|
|
483
485
|
] }) });
|
|
484
|
-
},
|
|
485
|
-
|
|
486
|
+
}, me = ({ groupName: o, onToggle: n }) => /* @__PURE__ */ e.jsx(Z, { variant: "ghost", size: "xs", onClick: () => n({ groupName: o, clear: !1 }), children: "Select All" }), xe = ({ hasSelectedItems: o, groupName: n, onToggle: t }) => /* @__PURE__ */ e.jsx(
|
|
487
|
+
Z,
|
|
486
488
|
{
|
|
487
489
|
variant: "ghostNeutral",
|
|
488
490
|
iconName: "arrowCircle",
|
|
@@ -507,33 +509,33 @@ const He = ({
|
|
|
507
509
|
canSelectGroups: S,
|
|
508
510
|
emptyState: C = "No results found",
|
|
509
511
|
groupSortOrder: M,
|
|
510
|
-
loading:
|
|
511
|
-
maxH:
|
|
512
|
+
loading: A,
|
|
513
|
+
maxH: k = "480px",
|
|
512
514
|
menuItems: I = [],
|
|
513
|
-
minW:
|
|
515
|
+
minW: V = "240px",
|
|
514
516
|
onSearch: w,
|
|
515
|
-
onSelect:
|
|
516
|
-
onSelectAll:
|
|
517
|
-
searchable:
|
|
517
|
+
onSelect: H,
|
|
518
|
+
onSelectAll: re,
|
|
519
|
+
searchable: K,
|
|
518
520
|
searchPlaceholder: qe = "Search...",
|
|
519
521
|
shouldTruncateText: Je,
|
|
520
|
-
...
|
|
521
|
-
} = n || {}, [Qe, Ue] = L(!1), [
|
|
522
|
+
...se
|
|
523
|
+
} = n || {}, [Qe, Ue] = L(!1), [q, J] = L(""), [F, Q] = L(I), ce = D(() => {
|
|
522
524
|
const r = {};
|
|
523
525
|
return F?.forEach((l) => {
|
|
524
526
|
const d = l.groupLabel || "default", P = l.type === "checkbox" ? "checkbox" : "default";
|
|
525
527
|
r[d] || (r[d] = {}), r[d][P] || (r[d][P] = []), r[d][P].push(l);
|
|
526
528
|
}), r;
|
|
527
|
-
}, [F]),
|
|
528
|
-
const r = Object.entries(
|
|
529
|
+
}, [F]), ae = D(() => {
|
|
530
|
+
const r = Object.entries(ce);
|
|
529
531
|
return !M || M.length === 0 ? r : r.sort(([l], [d]) => {
|
|
530
532
|
const P = M.indexOf(l), v = M.indexOf(d);
|
|
531
533
|
return P !== -1 && v !== -1 ? P - v : P !== -1 ? -1 : v !== -1 ? 1 : 0;
|
|
532
534
|
});
|
|
533
|
-
}, [
|
|
534
|
-
(r) =>
|
|
535
|
-
[
|
|
536
|
-
), b = D(() =>
|
|
535
|
+
}, [ce, M]), $ = D(() => I?.filter((r) => r.type === "checkbox") || [], [I]), U = j(
|
|
536
|
+
(r) => $.some((l) => l.value === r && l.checked),
|
|
537
|
+
[$]
|
|
538
|
+
), b = D(() => $.filter((r) => r.checked), [$]), ie = j(
|
|
537
539
|
({ groupName: r, clear: l }) => {
|
|
538
540
|
let d;
|
|
539
541
|
const P = F.filter((v) => v.type === "checkbox" && !v.disabled);
|
|
@@ -545,47 +547,46 @@ const He = ({
|
|
|
545
547
|
);
|
|
546
548
|
} else
|
|
547
549
|
d = l ? [] : P.map((v) => ({ ...v, checked: !0 }));
|
|
548
|
-
|
|
550
|
+
re?.({ allSelectedItems: d });
|
|
549
551
|
},
|
|
550
|
-
[
|
|
552
|
+
[re, F, b]
|
|
551
553
|
), Xe = j(
|
|
552
554
|
(r) => {
|
|
553
555
|
if (r.type === "checkbox") {
|
|
554
|
-
const l =
|
|
556
|
+
const l = U(r.value) ? b.filter((d) => d.value !== r.value) : [...b, r];
|
|
555
557
|
if (r.onSelect) {
|
|
556
558
|
r.onSelect(r.value);
|
|
557
559
|
return;
|
|
558
560
|
}
|
|
559
|
-
|
|
561
|
+
H?.({ item: r, allSelectedItems: l });
|
|
560
562
|
return;
|
|
561
563
|
}
|
|
562
564
|
if (r.onSelect) {
|
|
563
565
|
r.onSelect(r.value);
|
|
564
566
|
return;
|
|
565
567
|
}
|
|
566
|
-
|
|
568
|
+
H?.({ item: r, allSelectedItems: [r] });
|
|
567
569
|
},
|
|
568
|
-
[
|
|
569
|
-
),
|
|
570
|
+
[H, U, b]
|
|
571
|
+
), ue = j((r, l) => r === "" || !r ? l : l.filter((d) => !!(typeof d.label == "string" ? d.label : d.valueText)?.toLowerCase().includes(r.toLowerCase())), []), Ye = j(
|
|
570
572
|
(r) => {
|
|
571
|
-
console.log("e.target.value", r.target.value);
|
|
572
573
|
const l = r.target.value;
|
|
573
|
-
|
|
574
|
+
J(l), w && w(r);
|
|
574
575
|
},
|
|
575
576
|
[w]
|
|
576
577
|
), Ze = j(() => {
|
|
577
|
-
|
|
578
|
+
J(""), w && w({
|
|
578
579
|
target: { value: "" }
|
|
579
580
|
});
|
|
580
581
|
}, [w]), et = j(
|
|
581
582
|
(r) => {
|
|
582
|
-
Ue(r), r || (
|
|
583
|
+
Ue(r), r || (J(""), Q(I)), a && a({ open: r, allSelectedItems: b });
|
|
583
584
|
},
|
|
584
585
|
[I, a, b]
|
|
585
586
|
);
|
|
586
587
|
return B(() => {
|
|
587
|
-
|
|
588
|
-
}, [
|
|
588
|
+
Q(w ? I : ue(q, I));
|
|
589
|
+
}, [q, w, ue, I]), /* @__PURE__ */ e.jsxs(
|
|
589
590
|
bt,
|
|
590
591
|
{
|
|
591
592
|
lazyMount: u,
|
|
@@ -595,21 +596,21 @@ const He = ({
|
|
|
595
596
|
},
|
|
596
597
|
...f,
|
|
597
598
|
children: [
|
|
598
|
-
c || /* @__PURE__ */ e.jsx(kt, { asChild: !0, className: "Menu__Trigger", "data-testid": `${i}-trigger`, children: o?.showTooltip ? /* @__PURE__ */ e.jsx(Gt, { isMenuOpen: Qe, ...o }) : /* @__PURE__ */ e.jsx(
|
|
599
|
+
c || /* @__PURE__ */ e.jsx(kt, { asChild: !0, className: "Menu__Trigger", "data-testid": `${i}-trigger`, children: o?.showTooltip ? /* @__PURE__ */ e.jsx(Gt, { isMenuOpen: Qe, ...o }) : /* @__PURE__ */ e.jsx(Ke, { ...o }) }),
|
|
599
600
|
/* @__PURE__ */ e.jsx(ut, { disabled: !s, container: N || void 0, children: /* @__PURE__ */ e.jsx(St, { className: "Menu", "data-testid": i, ...t, children: /* @__PURE__ */ e.jsxs(
|
|
600
601
|
wt,
|
|
601
602
|
{
|
|
602
603
|
className: "Menu__Content",
|
|
603
604
|
"data-testid": `${i}-content`,
|
|
604
|
-
maxH:
|
|
605
|
-
minW:
|
|
606
|
-
...
|
|
607
|
-
...
|
|
605
|
+
maxH: k,
|
|
606
|
+
minW: V,
|
|
607
|
+
...se,
|
|
608
|
+
...K && { pt: "0" },
|
|
608
609
|
onClick: (r) => {
|
|
609
|
-
r.stopPropagation(),
|
|
610
|
+
r.stopPropagation(), se?.onClick?.(r);
|
|
610
611
|
},
|
|
611
612
|
children: [
|
|
612
|
-
|
|
613
|
+
K && /* @__PURE__ */ e.jsx(
|
|
613
614
|
T,
|
|
614
615
|
{
|
|
615
616
|
className: "Menu__SearchBarContainer",
|
|
@@ -628,7 +629,7 @@ const He = ({
|
|
|
628
629
|
placeholder: qe,
|
|
629
630
|
onChange: Ye,
|
|
630
631
|
size: "sm",
|
|
631
|
-
value:
|
|
632
|
+
value: q,
|
|
632
633
|
clearable: !0,
|
|
633
634
|
onClear: Ze,
|
|
634
635
|
onKeyDown: (r) => {
|
|
@@ -644,53 +645,56 @@ const He = ({
|
|
|
644
645
|
className: "Menu__CheckboxGroupHeader",
|
|
645
646
|
"data-testid": `${i}-checkbox-group-header`,
|
|
646
647
|
px: 3,
|
|
647
|
-
mt:
|
|
648
|
-
children: y &&
|
|
649
|
-
|
|
648
|
+
mt: K ? 1 : 2,
|
|
649
|
+
children: y && !!$.length && /* @__PURE__ */ e.jsx(
|
|
650
|
+
pe,
|
|
650
651
|
{
|
|
651
|
-
onToggle:
|
|
652
|
+
onToggle: ie,
|
|
652
653
|
hasSelectedItems: !!b.length
|
|
653
654
|
}
|
|
654
655
|
)
|
|
655
656
|
}
|
|
656
657
|
),
|
|
657
|
-
|
|
658
|
-
/* @__PURE__ */ e.jsx(T, { className: "Menu__List", "data-testid": `${i}-list`, children:
|
|
659
|
-
const d = r === "default", P = Object.keys(l), v = d ? st.Fragment : yt, tt = l.checkbox?.map((
|
|
660
|
-
(
|
|
658
|
+
A && /* @__PURE__ */ e.jsx(z, { justifyContent: "center", py: 5, children: /* @__PURE__ */ e.jsx(at, { fullScreen: !0 }) }),
|
|
659
|
+
/* @__PURE__ */ e.jsx(T, { className: "Menu__List", "data-testid": `${i}-list`, children: ae.length ? /* @__PURE__ */ e.jsx(e.Fragment, { children: ae.map(([r, l]) => {
|
|
660
|
+
const d = r === "default", P = Object.keys(l), v = d ? st.Fragment : yt, tt = l.checkbox?.map((R) => R.value)?.some(
|
|
661
|
+
(R) => b.some((E) => E.value === R && E.checked)
|
|
661
662
|
);
|
|
662
663
|
return /* @__PURE__ */ e.jsxs(v, { children: [
|
|
663
664
|
!d && /* @__PURE__ */ e.jsx(At, { children: /* @__PURE__ */ e.jsxs(z, { alignItems: "center", justifyContent: "space-between", children: [
|
|
664
665
|
r,
|
|
665
666
|
S && P.includes("checkbox") && /* @__PURE__ */ e.jsx(
|
|
666
|
-
|
|
667
|
+
pe,
|
|
667
668
|
{
|
|
668
669
|
groupName: r,
|
|
669
|
-
onToggle:
|
|
670
|
+
onToggle: ie,
|
|
670
671
|
hasSelectedItems: tt
|
|
671
672
|
}
|
|
672
673
|
)
|
|
673
674
|
] }) }),
|
|
674
675
|
Object.entries(l).map(
|
|
675
|
-
([
|
|
676
|
-
const { groupLabel: ot, ...rt } =
|
|
676
|
+
([R, E]) => E.map((G, nt) => {
|
|
677
|
+
const { groupLabel: ot, ...rt } = G;
|
|
677
678
|
return /* @__PURE__ */ e.jsx(
|
|
678
679
|
_t,
|
|
679
680
|
{
|
|
680
|
-
...rt,
|
|
681
681
|
shouldTruncateText: Je,
|
|
682
|
-
...
|
|
683
|
-
checked:
|
|
682
|
+
...G.type === "checkbox" && {
|
|
683
|
+
checked: U(G.value)
|
|
684
|
+
},
|
|
685
|
+
onSelect: () => Xe(G),
|
|
686
|
+
...G.type === "submenu" && {
|
|
687
|
+
positionerProps: t
|
|
684
688
|
},
|
|
685
|
-
|
|
686
|
-
|
|
689
|
+
...rt,
|
|
690
|
+
"data-testid": `${i}-item-${G.label}`
|
|
687
691
|
},
|
|
688
|
-
`menu-item-${ot}-${
|
|
692
|
+
`menu-item-${ot}-${R}-${nt}`
|
|
689
693
|
);
|
|
690
694
|
})
|
|
691
695
|
)
|
|
692
696
|
] }, r);
|
|
693
|
-
}) }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(T, { p: 3, children: typeof C == "string" ? /* @__PURE__ */ e.jsx(T, { textAlign: "center", children: /* @__PURE__ */ e.jsx(
|
|
697
|
+
}) }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(T, { p: 3, children: typeof C == "string" ? /* @__PURE__ */ e.jsx(T, { textAlign: "center", children: /* @__PURE__ */ e.jsx(ee, { size: "sm", variant: "subtle", "data-testid": `${i}-empty-state`, children: C }) }) : C }) }) })
|
|
694
698
|
]
|
|
695
699
|
}
|
|
696
700
|
) }) })
|
|
@@ -701,4 +705,4 @@ const He = ({
|
|
|
701
705
|
export {
|
|
702
706
|
Ot as M
|
|
703
707
|
};
|
|
704
|
-
//# sourceMappingURL=menu.component-
|
|
708
|
+
//# sourceMappingURL=menu.component-BuTY_3mt.js.map
|