draft-components 0.70.0 → 0.71.2
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/bootstrap-icons/arrow-through-heart-fill.d.ts +5 -0
- package/bootstrap-icons/arrow-through-heart-fill.js +12 -0
- package/bootstrap-icons/{ticket-perferated-fill.d.ts → arrow-through-heart.d.ts} +1 -1
- package/bootstrap-icons/arrow-through-heart.js +12 -0
- package/bootstrap-icons/{ticket-perferated.d.ts → badge-sd-fill.d.ts} +1 -1
- package/bootstrap-icons/badge-sd-fill.js +12 -0
- package/bootstrap-icons/badge-sd.d.ts +5 -0
- package/bootstrap-icons/badge-sd.js +12 -0
- package/bootstrap-icons/bag-heart-fill.d.ts +5 -0
- package/bootstrap-icons/bag-heart-fill.js +12 -0
- package/bootstrap-icons/bag-heart.d.ts +5 -0
- package/bootstrap-icons/bag-heart.js +12 -0
- package/bootstrap-icons/balloon-fill.d.ts +5 -0
- package/bootstrap-icons/balloon-fill.js +12 -0
- package/bootstrap-icons/balloon-heart-fill.d.ts +5 -0
- package/bootstrap-icons/balloon-heart-fill.js +12 -0
- package/bootstrap-icons/balloon-heart.d.ts +5 -0
- package/bootstrap-icons/balloon-heart.js +12 -0
- package/bootstrap-icons/balloon.d.ts +5 -0
- package/bootstrap-icons/balloon.js +12 -0
- package/bootstrap-icons/bandaid-fill.js +1 -1
- package/bootstrap-icons/bandaid.js +1 -1
- package/bootstrap-icons/boombox-fill.js +1 -1
- package/bootstrap-icons/boombox.js +1 -1
- package/bootstrap-icons/box2-fill.d.ts +5 -0
- package/bootstrap-icons/box2-fill.js +12 -0
- package/bootstrap-icons/box2-heart-fill.d.ts +5 -0
- package/bootstrap-icons/box2-heart-fill.js +12 -0
- package/bootstrap-icons/box2-heart.d.ts +5 -0
- package/bootstrap-icons/box2-heart.js +12 -0
- package/bootstrap-icons/box2.d.ts +5 -0
- package/bootstrap-icons/box2.js +12 -0
- package/bootstrap-icons/boxes.js +1 -1
- package/bootstrap-icons/braces-asterisk.d.ts +5 -0
- package/bootstrap-icons/braces-asterisk.js +12 -0
- package/bootstrap-icons/calendar-heart-fill.d.ts +5 -0
- package/bootstrap-icons/calendar-heart-fill.js +12 -0
- package/bootstrap-icons/calendar-heart.d.ts +5 -0
- package/bootstrap-icons/calendar-heart.js +12 -0
- package/bootstrap-icons/calendar2-heart-fill.d.ts +5 -0
- package/bootstrap-icons/calendar2-heart-fill.js +12 -0
- package/bootstrap-icons/calendar2-heart.d.ts +5 -0
- package/bootstrap-icons/calendar2-heart.js +12 -0
- package/bootstrap-icons/chat-heart-fill.d.ts +5 -0
- package/bootstrap-icons/chat-heart-fill.js +12 -0
- package/bootstrap-icons/chat-heart.d.ts +5 -0
- package/bootstrap-icons/chat-heart.js +12 -0
- package/bootstrap-icons/chat-left-heart-fill.d.ts +5 -0
- package/bootstrap-icons/chat-left-heart-fill.js +12 -0
- package/bootstrap-icons/chat-left-heart.d.ts +5 -0
- package/bootstrap-icons/chat-left-heart.js +12 -0
- package/bootstrap-icons/chat-right-heart-fill.d.ts +5 -0
- package/bootstrap-icons/chat-right-heart-fill.js +12 -0
- package/bootstrap-icons/chat-right-heart.d.ts +5 -0
- package/bootstrap-icons/chat-right-heart.js +12 -0
- package/bootstrap-icons/chat-square-heart-fill.d.ts +5 -0
- package/bootstrap-icons/chat-square-heart-fill.js +12 -0
- package/bootstrap-icons/chat-square-heart.d.ts +5 -0
- package/bootstrap-icons/chat-square-heart.js +12 -0
- package/bootstrap-icons/clipboard-check-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard-check-fill.js +12 -0
- package/bootstrap-icons/clipboard-data-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard-data-fill.js +12 -0
- package/bootstrap-icons/clipboard-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard-fill.js +12 -0
- package/bootstrap-icons/clipboard-heart-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard-heart-fill.js +12 -0
- package/bootstrap-icons/clipboard-heart.d.ts +5 -0
- package/bootstrap-icons/clipboard-heart.js +12 -0
- package/bootstrap-icons/clipboard-minus-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard-minus-fill.js +12 -0
- package/bootstrap-icons/clipboard-plus-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard-plus-fill.js +12 -0
- package/bootstrap-icons/clipboard-pulse.d.ts +5 -0
- package/bootstrap-icons/clipboard-pulse.js +12 -0
- package/bootstrap-icons/clipboard-x-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard-x-fill.js +12 -0
- package/bootstrap-icons/clipboard2-check-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-check-fill.js +12 -0
- package/bootstrap-icons/clipboard2-check.d.ts +5 -0
- package/bootstrap-icons/clipboard2-check.js +12 -0
- package/bootstrap-icons/clipboard2-data-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-data-fill.js +12 -0
- package/bootstrap-icons/clipboard2-data.d.ts +5 -0
- package/bootstrap-icons/clipboard2-data.js +12 -0
- package/bootstrap-icons/clipboard2-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-fill.js +12 -0
- package/bootstrap-icons/clipboard2-heart-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-heart-fill.js +12 -0
- package/bootstrap-icons/clipboard2-heart.d.ts +5 -0
- package/bootstrap-icons/clipboard2-heart.js +12 -0
- package/bootstrap-icons/clipboard2-minus-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-minus-fill.js +12 -0
- package/bootstrap-icons/clipboard2-minus.d.ts +5 -0
- package/bootstrap-icons/clipboard2-minus.js +12 -0
- package/bootstrap-icons/clipboard2-plus-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-plus-fill.js +12 -0
- package/bootstrap-icons/clipboard2-plus.d.ts +5 -0
- package/bootstrap-icons/clipboard2-plus.js +12 -0
- package/bootstrap-icons/clipboard2-pulse-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-pulse-fill.js +12 -0
- package/bootstrap-icons/clipboard2-pulse.d.ts +5 -0
- package/bootstrap-icons/clipboard2-pulse.js +12 -0
- package/bootstrap-icons/clipboard2-x-fill.d.ts +5 -0
- package/bootstrap-icons/clipboard2-x-fill.js +12 -0
- package/bootstrap-icons/clipboard2-x.d.ts +5 -0
- package/bootstrap-icons/clipboard2-x.js +12 -0
- package/bootstrap-icons/clipboard2.d.ts +5 -0
- package/bootstrap-icons/clipboard2.js +12 -0
- package/bootstrap-icons/device-hdd-fill.js +1 -1
- package/bootstrap-icons/device-hdd.js +1 -1
- package/bootstrap-icons/device-ssd-fill.js +1 -1
- package/bootstrap-icons/device-ssd.js +1 -1
- package/bootstrap-icons/displayport-fill.js +1 -1
- package/bootstrap-icons/displayport.js +1 -1
- package/bootstrap-icons/dpad-fill.js +1 -1
- package/bootstrap-icons/dpad.js +1 -1
- package/bootstrap-icons/ear-fill.js +1 -1
- package/bootstrap-icons/ear.js +1 -1
- package/bootstrap-icons/emoji-kiss-fill.d.ts +5 -0
- package/bootstrap-icons/emoji-kiss-fill.js +12 -0
- package/bootstrap-icons/emoji-kiss.d.ts +5 -0
- package/bootstrap-icons/emoji-kiss.js +12 -0
- package/bootstrap-icons/envelope-check-fill.js +1 -1
- package/bootstrap-icons/envelope-check.js +1 -1
- package/bootstrap-icons/envelope-dash-fill.js +1 -1
- package/bootstrap-icons/envelope-dash.js +1 -1
- package/bootstrap-icons/envelope-exclamation-fill.js +1 -1
- package/bootstrap-icons/envelope-exclamation.js +1 -1
- package/bootstrap-icons/envelope-heart-fill.d.ts +5 -0
- package/bootstrap-icons/envelope-heart-fill.js +12 -0
- package/bootstrap-icons/envelope-heart.d.ts +5 -0
- package/bootstrap-icons/envelope-heart.js +12 -0
- package/bootstrap-icons/envelope-open-heart-fill.d.ts +5 -0
- package/bootstrap-icons/envelope-open-heart-fill.js +12 -0
- package/bootstrap-icons/envelope-open-heart.d.ts +5 -0
- package/bootstrap-icons/envelope-open-heart.js +12 -0
- package/bootstrap-icons/envelope-open.js +1 -1
- package/bootstrap-icons/envelope-paper-fill.d.ts +5 -0
- package/bootstrap-icons/envelope-paper-fill.js +12 -0
- package/bootstrap-icons/envelope-paper-heart-fill.d.ts +5 -0
- package/bootstrap-icons/envelope-paper-heart-fill.js +12 -0
- package/bootstrap-icons/envelope-paper-heart.d.ts +5 -0
- package/bootstrap-icons/envelope-paper-heart.js +12 -0
- package/bootstrap-icons/envelope-paper.d.ts +5 -0
- package/bootstrap-icons/envelope-paper.js +12 -0
- package/bootstrap-icons/envelope-plus-fill.js +1 -1
- package/bootstrap-icons/envelope-plus.js +1 -1
- package/bootstrap-icons/envelope-slash-fill.js +1 -1
- package/bootstrap-icons/envelope-slash.js +1 -1
- package/bootstrap-icons/envelope-x-fill.js +1 -1
- package/bootstrap-icons/envelope-x.js +1 -1
- package/bootstrap-icons/envelope.js +1 -1
- package/bootstrap-icons/ethernet.js +1 -1
- package/bootstrap-icons/explicit-fill.js +1 -1
- package/bootstrap-icons/explicit.js +1 -1
- package/bootstrap-icons/filetype-aac.d.ts +5 -0
- package/bootstrap-icons/filetype-aac.js +12 -0
- package/bootstrap-icons/filetype-ai.d.ts +5 -0
- package/bootstrap-icons/filetype-ai.js +12 -0
- package/bootstrap-icons/filetype-bmp.d.ts +5 -0
- package/bootstrap-icons/filetype-bmp.js +12 -0
- package/bootstrap-icons/filetype-cs.d.ts +5 -0
- package/bootstrap-icons/filetype-cs.js +12 -0
- package/bootstrap-icons/filetype-css.d.ts +5 -0
- package/bootstrap-icons/filetype-css.js +12 -0
- package/bootstrap-icons/filetype-csv.d.ts +5 -0
- package/bootstrap-icons/filetype-csv.js +12 -0
- package/bootstrap-icons/filetype-doc.d.ts +5 -0
- package/bootstrap-icons/filetype-doc.js +12 -0
- package/bootstrap-icons/filetype-docx.d.ts +5 -0
- package/bootstrap-icons/filetype-docx.js +12 -0
- package/bootstrap-icons/filetype-exe.d.ts +5 -0
- package/bootstrap-icons/filetype-exe.js +12 -0
- package/bootstrap-icons/filetype-gif.d.ts +5 -0
- package/bootstrap-icons/filetype-gif.js +12 -0
- package/bootstrap-icons/filetype-heic.d.ts +5 -0
- package/bootstrap-icons/filetype-heic.js +12 -0
- package/bootstrap-icons/filetype-html.d.ts +5 -0
- package/bootstrap-icons/filetype-html.js +12 -0
- package/bootstrap-icons/filetype-java.d.ts +5 -0
- package/bootstrap-icons/filetype-java.js +12 -0
- package/bootstrap-icons/filetype-jpg.d.ts +5 -0
- package/bootstrap-icons/filetype-jpg.js +12 -0
- package/bootstrap-icons/filetype-js.d.ts +5 -0
- package/bootstrap-icons/filetype-js.js +12 -0
- package/bootstrap-icons/filetype-json.d.ts +5 -0
- package/bootstrap-icons/filetype-json.js +12 -0
- package/bootstrap-icons/filetype-jsx.d.ts +5 -0
- package/bootstrap-icons/filetype-jsx.js +12 -0
- package/bootstrap-icons/filetype-key.d.ts +5 -0
- package/bootstrap-icons/filetype-key.js +12 -0
- package/bootstrap-icons/filetype-m4p.d.ts +5 -0
- package/bootstrap-icons/filetype-m4p.js +12 -0
- package/bootstrap-icons/filetype-md.d.ts +5 -0
- package/bootstrap-icons/filetype-md.js +12 -0
- package/bootstrap-icons/filetype-mdx.d.ts +5 -0
- package/bootstrap-icons/filetype-mdx.js +12 -0
- package/bootstrap-icons/filetype-mov.d.ts +5 -0
- package/bootstrap-icons/filetype-mov.js +12 -0
- package/bootstrap-icons/filetype-mp3.d.ts +5 -0
- package/bootstrap-icons/filetype-mp3.js +12 -0
- package/bootstrap-icons/filetype-mp4.d.ts +5 -0
- package/bootstrap-icons/filetype-mp4.js +12 -0
- package/bootstrap-icons/filetype-otf.d.ts +5 -0
- package/bootstrap-icons/filetype-otf.js +12 -0
- package/bootstrap-icons/filetype-pdf.d.ts +5 -0
- package/bootstrap-icons/filetype-pdf.js +12 -0
- package/bootstrap-icons/filetype-php.d.ts +5 -0
- package/bootstrap-icons/filetype-php.js +12 -0
- package/bootstrap-icons/filetype-png.d.ts +5 -0
- package/bootstrap-icons/filetype-png.js +12 -0
- package/bootstrap-icons/filetype-ppt.d.ts +5 -0
- package/bootstrap-icons/filetype-ppt.js +12 -0
- package/bootstrap-icons/filetype-pptx.d.ts +5 -0
- package/bootstrap-icons/filetype-pptx.js +12 -0
- package/bootstrap-icons/filetype-psd.d.ts +5 -0
- package/bootstrap-icons/filetype-psd.js +12 -0
- package/bootstrap-icons/filetype-py.d.ts +5 -0
- package/bootstrap-icons/filetype-py.js +12 -0
- package/bootstrap-icons/filetype-raw.d.ts +5 -0
- package/bootstrap-icons/filetype-raw.js +12 -0
- package/bootstrap-icons/filetype-rb.d.ts +5 -0
- package/bootstrap-icons/filetype-rb.js +12 -0
- package/bootstrap-icons/filetype-sass.d.ts +5 -0
- package/bootstrap-icons/filetype-sass.js +12 -0
- package/bootstrap-icons/filetype-scss.d.ts +5 -0
- package/bootstrap-icons/filetype-scss.js +12 -0
- package/bootstrap-icons/filetype-sh.d.ts +5 -0
- package/bootstrap-icons/filetype-sh.js +12 -0
- package/bootstrap-icons/filetype-svg.d.ts +5 -0
- package/bootstrap-icons/filetype-svg.js +12 -0
- package/bootstrap-icons/filetype-tiff.d.ts +5 -0
- package/bootstrap-icons/filetype-tiff.js +12 -0
- package/bootstrap-icons/filetype-tsx.d.ts +5 -0
- package/bootstrap-icons/filetype-tsx.js +12 -0
- package/bootstrap-icons/filetype-ttf.d.ts +5 -0
- package/bootstrap-icons/filetype-ttf.js +12 -0
- package/bootstrap-icons/filetype-txt.d.ts +5 -0
- package/bootstrap-icons/filetype-txt.js +12 -0
- package/bootstrap-icons/filetype-wav.d.ts +5 -0
- package/bootstrap-icons/filetype-wav.js +12 -0
- package/bootstrap-icons/filetype-woff.d.ts +5 -0
- package/bootstrap-icons/filetype-woff.js +12 -0
- package/bootstrap-icons/filetype-xls.d.ts +5 -0
- package/bootstrap-icons/filetype-xls.js +12 -0
- package/bootstrap-icons/filetype-xlsx.d.ts +5 -0
- package/bootstrap-icons/filetype-xlsx.js +12 -0
- package/bootstrap-icons/filetype-xml.d.ts +5 -0
- package/bootstrap-icons/filetype-xml.js +12 -0
- package/bootstrap-icons/filetype-yml.d.ts +5 -0
- package/bootstrap-icons/filetype-yml.js +12 -0
- package/bootstrap-icons/gpu-card.js +1 -1
- package/bootstrap-icons/hdmi-fill.js +1 -1
- package/bootstrap-icons/hdmi.js +1 -1
- package/bootstrap-icons/heart-arrow.d.ts +5 -0
- package/bootstrap-icons/heart-arrow.js +12 -0
- package/bootstrap-icons/heart-pulse-fill.d.ts +5 -0
- package/bootstrap-icons/heart-pulse-fill.js +12 -0
- package/bootstrap-icons/heart-pulse.d.ts +5 -0
- package/bootstrap-icons/heart-pulse.js +12 -0
- package/bootstrap-icons/heartbreak-fill.d.ts +5 -0
- package/bootstrap-icons/heartbreak-fill.js +12 -0
- package/bootstrap-icons/heartbreak.d.ts +5 -0
- package/bootstrap-icons/heartbreak.js +12 -0
- package/bootstrap-icons/hearts.d.ts +5 -0
- package/bootstrap-icons/hearts.js +12 -0
- package/bootstrap-icons/hospital-fill.d.ts +5 -0
- package/bootstrap-icons/hospital-fill.js +12 -0
- package/bootstrap-icons/hospital.d.ts +5 -0
- package/bootstrap-icons/hospital.js +12 -0
- package/bootstrap-icons/house-heart-fill.d.ts +5 -0
- package/bootstrap-icons/house-heart-fill.js +12 -0
- package/bootstrap-icons/house-heart.d.ts +5 -0
- package/bootstrap-icons/house-heart.js +12 -0
- package/bootstrap-icons/incognito.d.ts +5 -0
- package/bootstrap-icons/incognito.js +12 -0
- package/bootstrap-icons/index.d.ts +149 -2
- package/bootstrap-icons/index.js +149 -2
- package/bootstrap-icons/infinity.js +1 -1
- package/bootstrap-icons/line.js +1 -1
- package/bootstrap-icons/magnet-fill.d.ts +5 -0
- package/bootstrap-icons/magnet-fill.js +12 -0
- package/bootstrap-icons/magnet.d.ts +5 -0
- package/bootstrap-icons/magnet.js +12 -0
- package/bootstrap-icons/memory.js +1 -1
- package/bootstrap-icons/modem-fill.js +1 -1
- package/bootstrap-icons/modem.js +1 -1
- package/bootstrap-icons/mortarboard-fill.js +1 -1
- package/bootstrap-icons/mortarboard.js +1 -1
- package/bootstrap-icons/motherboard-fill.js +1 -1
- package/bootstrap-icons/motherboard.js +1 -1
- package/bootstrap-icons/nintendo-switch.js +1 -1
- package/bootstrap-icons/optical-audio-fill.js +1 -1
- package/bootstrap-icons/optical-audio.js +1 -1
- package/bootstrap-icons/paypal.js +1 -1
- package/bootstrap-icons/pc-display-horizontal.js +1 -1
- package/bootstrap-icons/pc-display.js +1 -1
- package/bootstrap-icons/pc-horizontal.js +1 -1
- package/bootstrap-icons/pc.js +1 -1
- package/bootstrap-icons/pci-card.js +1 -1
- package/bootstrap-icons/person-heart.d.ts +5 -0
- package/bootstrap-icons/person-heart.js +12 -0
- package/bootstrap-icons/person-hearts.d.ts +5 -0
- package/bootstrap-icons/person-hearts.js +12 -0
- package/bootstrap-icons/phone-flip.d.ts +5 -0
- package/bootstrap-icons/phone-flip.js +12 -0
- package/bootstrap-icons/piggy-bank-fill.js +1 -1
- package/bootstrap-icons/playstation.js +1 -1
- package/bootstrap-icons/plugin.d.ts +5 -0
- package/bootstrap-icons/plugin.js +12 -0
- package/bootstrap-icons/plus-slash-minus.js +1 -1
- package/bootstrap-icons/postage-fill.d.ts +5 -0
- package/bootstrap-icons/postage-fill.js +12 -0
- package/bootstrap-icons/postage-heart-fill.d.ts +5 -0
- package/bootstrap-icons/postage-heart-fill.js +12 -0
- package/bootstrap-icons/postage-heart.d.ts +5 -0
- package/bootstrap-icons/postage-heart.js +12 -0
- package/bootstrap-icons/postage.d.ts +5 -0
- package/bootstrap-icons/postage.js +12 -0
- package/bootstrap-icons/postcard-fill.d.ts +5 -0
- package/bootstrap-icons/postcard-fill.js +12 -0
- package/bootstrap-icons/postcard-heart-fill.d.ts +5 -0
- package/bootstrap-icons/postcard-heart-fill.js +12 -0
- package/bootstrap-icons/postcard-heart.d.ts +5 -0
- package/bootstrap-icons/postcard-heart.js +12 -0
- package/bootstrap-icons/postcard.d.ts +5 -0
- package/bootstrap-icons/postcard.js +12 -0
- package/bootstrap-icons/projector-fill.js +1 -1
- package/bootstrap-icons/projector.js +1 -1
- package/bootstrap-icons/qr-code-scan.js +1 -1
- package/bootstrap-icons/qr-code.js +1 -1
- package/bootstrap-icons/robot.js +1 -1
- package/bootstrap-icons/router-fill.js +1 -1
- package/bootstrap-icons/router.js +1 -1
- package/bootstrap-icons/screwdriver.js +1 -1
- package/bootstrap-icons/sd-card-fill.js +1 -1
- package/bootstrap-icons/search-heart-fill.d.ts +5 -0
- package/bootstrap-icons/search-heart-fill.js +12 -0
- package/bootstrap-icons/search-heart.d.ts +5 -0
- package/bootstrap-icons/search-heart.js +12 -0
- package/bootstrap-icons/send-check-fill.js +1 -1
- package/bootstrap-icons/send-check.js +1 -1
- package/bootstrap-icons/send-dash-fill.js +1 -1
- package/bootstrap-icons/send-dash.js +1 -1
- package/bootstrap-icons/send-exclamation-fill.js +1 -1
- package/bootstrap-icons/send-exclamation.js +1 -1
- package/bootstrap-icons/send-fill.js +1 -1
- package/bootstrap-icons/send-plus-fill.js +1 -1
- package/bootstrap-icons/send-plus.js +1 -1
- package/bootstrap-icons/send-slash-fill.js +1 -1
- package/bootstrap-icons/send-slash.js +1 -1
- package/bootstrap-icons/send-x-fill.js +1 -1
- package/bootstrap-icons/send-x.js +1 -1
- package/bootstrap-icons/send.js +1 -1
- package/bootstrap-icons/skip-forward-btn-fill.js +1 -1
- package/bootstrap-icons/sliders2-vertical.d.ts +5 -0
- package/bootstrap-icons/sliders2-vertical.js +12 -0
- package/bootstrap-icons/sliders2.d.ts +5 -0
- package/bootstrap-icons/sliders2.js +12 -0
- package/bootstrap-icons/steam.js +1 -1
- package/bootstrap-icons/terminal-dash.js +1 -1
- package/bootstrap-icons/terminal-plus.js +1 -1
- package/bootstrap-icons/terminal-split.js +1 -1
- package/bootstrap-icons/terminal-x.d.ts +5 -0
- package/bootstrap-icons/terminal-x.js +12 -0
- package/bootstrap-icons/thunderbolt-fill.js +1 -1
- package/bootstrap-icons/thunderbolt.js +1 -1
- package/bootstrap-icons/ticket-detailed-fill.js +1 -1
- package/bootstrap-icons/ticket-detailed.js +1 -1
- package/bootstrap-icons/ticket-fill.js +1 -1
- package/bootstrap-icons/ticket-perforated-fill.d.ts +5 -0
- package/bootstrap-icons/ticket-perforated-fill.js +12 -0
- package/bootstrap-icons/ticket-perforated.d.ts +5 -0
- package/bootstrap-icons/ticket-perforated.js +12 -0
- package/bootstrap-icons/ticket.js +1 -1
- package/bootstrap-icons/tiktok.js +1 -1
- package/bootstrap-icons/trash3-fill.d.ts +5 -0
- package/bootstrap-icons/trash3-fill.js +12 -0
- package/bootstrap-icons/trash3.d.ts +5 -0
- package/bootstrap-icons/trash3.js +12 -0
- package/bootstrap-icons/usb-c-fill.js +1 -1
- package/bootstrap-icons/usb-c.js +1 -1
- package/bootstrap-icons/usb-drive-fill.js +1 -1
- package/bootstrap-icons/usb-drive.js +1 -1
- package/bootstrap-icons/usb-fill.js +1 -1
- package/bootstrap-icons/usb-micro-fill.js +1 -1
- package/bootstrap-icons/usb-micro.js +1 -1
- package/bootstrap-icons/usb-mini-fill.js +1 -1
- package/bootstrap-icons/usb-mini.js +1 -1
- package/bootstrap-icons/usb-plug-fill.js +1 -1
- package/bootstrap-icons/usb-plug.js +1 -1
- package/bootstrap-icons/usb-symbol.js +1 -1
- package/bootstrap-icons/usb.js +1 -1
- package/bootstrap-icons/valentine.d.ts +5 -0
- package/bootstrap-icons/valentine.js +12 -0
- package/bootstrap-icons/valentine2.d.ts +5 -0
- package/bootstrap-icons/valentine2.js +12 -0
- package/bootstrap-icons/webcam-fill.js +1 -1
- package/bootstrap-icons/webcam.js +1 -1
- package/bootstrap-icons/window-dash.js +1 -1
- package/bootstrap-icons/window-desktop.js +1 -1
- package/bootstrap-icons/window-dock.js +1 -1
- package/bootstrap-icons/window-fullscreen.js +1 -1
- package/bootstrap-icons/window-plus.js +1 -1
- package/bootstrap-icons/window-stack.js +1 -1
- package/bootstrap-icons/window-x.js +1 -1
- package/bootstrap-icons/wrench-adjustable-circle-fill.d.ts +5 -0
- package/bootstrap-icons/wrench-adjustable-circle-fill.js +12 -0
- package/bootstrap-icons/wrench-adjustable-circle.d.ts +5 -0
- package/bootstrap-icons/wrench-adjustable-circle.js +12 -0
- package/bootstrap-icons/wrench-adjustable.d.ts +5 -0
- package/bootstrap-icons/wrench-adjustable.js +12 -0
- package/components/date-preset-picker-popover/date-preset-picker-popover.js +2 -2
- package/components/dialog/dialog.js +11 -8
- package/components/menu/menu.d.ts +6 -1
- package/components/menu/menu.js +2 -2
- package/components/popover/popover.d.ts +4 -0
- package/components/popover/popover.js +2 -2
- package/package.json +2 -2
- package/bootstrap-icons/ticket-perferated-fill.js +0 -12
- package/bootstrap-icons/ticket-perferated.js +0 -12
|
@@ -52,9 +52,9 @@ function DatePresetPickerPopover({ locale, timeZone, defaultIsOpen = false, hide
|
|
|
52
52
|
}
|
|
53
53
|
(_a = popover.current) === null || _a === void 0 ? void 0 : _a.close();
|
|
54
54
|
}
|
|
55
|
-
const formattedTimeZone = timeZone ? formatTimeZone(timeZone) : '';
|
|
55
|
+
const formattedTimeZone = timeZone ? formatTimeZone(timeZone, locale) : '';
|
|
56
56
|
const formattedDateRange = selectedDateRange
|
|
57
|
-
? formatDateRange(selectedDateRange)
|
|
57
|
+
? formatDateRange(selectedDateRange, locale)
|
|
58
58
|
: '';
|
|
59
59
|
return ((0, jsx_runtime_1.jsx)(popover_1.Popover, { ref: popover, className: "dc-date-preset-picker-popover", defaultIsOpen: defaultIsOpen, placement: placement, alignment: alignment, anchor: children, onOpen: handleOpenPopover, children: (0, jsx_runtime_1.jsx)(date_preset_picker_1.DatePresetPicker, { locale: locale, formattedTimeZone: formattedTimeZone, formattedDateRange: hideSelectedRange ? '' : formattedDateRange, cancelButtonLabel: cancelButtonLabel, confirmButtonLabel: confirmButtonLabel, customDatePresetLabel: customDatePresetLabel, disableActionButtons: disableActionButtons, showLoadingIndicator: showLoadingIndicator, options: options, dateRange: selection.dateRange, datePreset: ((_a = selection.option) === null || _a === void 0 ? void 0 : _a.datePreset) || '', onChangeDatePreset: handleChangeDatePreset, onChangeDateRange: handleChangeDateRange, onCancel: handleCancel, onConfirm: handleConfirm }) }));
|
|
60
60
|
}
|
|
@@ -33,16 +33,19 @@ function Dialog({ style, className, isOpen = false, showCloseButton = true, focu
|
|
|
33
33
|
(0, use_esc_key_down_1.useEscKeyDown)(() => (0, guards_1.isFunction)(onClose) && onClose(), isOpen);
|
|
34
34
|
(0, use_focus_trap_1.useFocusTrap)(dialogRef, isOpen);
|
|
35
35
|
(0, react_1.useEffect)(() => {
|
|
36
|
-
if (shouldRender) {
|
|
37
|
-
|
|
38
|
-
focusAfterOpen.current.focus();
|
|
39
|
-
}
|
|
36
|
+
if (!shouldRender) {
|
|
37
|
+
return;
|
|
40
38
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
const focusAfterOpenEl = focusAfterOpen === null || focusAfterOpen === void 0 ? void 0 : focusAfterOpen.current;
|
|
40
|
+
const focusAfterCloseEl = focusAfterClose === null || focusAfterClose === void 0 ? void 0 : focusAfterClose.current;
|
|
41
|
+
if (focusAfterOpenEl) {
|
|
42
|
+
focusAfterOpenEl.focus();
|
|
45
43
|
}
|
|
44
|
+
return () => {
|
|
45
|
+
if (focusAfterCloseEl) {
|
|
46
|
+
focusAfterCloseEl.focus();
|
|
47
|
+
}
|
|
48
|
+
};
|
|
46
49
|
}, [shouldRender, focusAfterOpen, focusAfterClose]);
|
|
47
50
|
if (!shouldRender) {
|
|
48
51
|
return null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { KeyboardEventHandler, MouseEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { BoxElevation } from '../box';
|
|
3
|
+
import { Alignment, Placement } from '../positioner/types';
|
|
3
4
|
declare type RenderLabel = (props: {
|
|
4
5
|
id: string;
|
|
5
6
|
isOpen: boolean;
|
|
@@ -12,9 +13,13 @@ declare type RenderLabel = (props: {
|
|
|
12
13
|
export declare type MenuProps = {
|
|
13
14
|
className?: string;
|
|
14
15
|
elevation?: BoxElevation;
|
|
16
|
+
placement?: Placement;
|
|
17
|
+
alignment?: Alignment;
|
|
18
|
+
anchorGap?: number;
|
|
19
|
+
viewportGap?: number;
|
|
15
20
|
defaultIsOpen?: boolean;
|
|
16
21
|
label: ReactNode | RenderLabel;
|
|
17
22
|
children: ReactNode;
|
|
18
23
|
};
|
|
19
|
-
export declare function Menu({ className, elevation, defaultIsOpen, label, children, }: MenuProps): JSX.Element;
|
|
24
|
+
export declare function Menu({ className, elevation, placement, alignment, anchorGap, viewportGap, defaultIsOpen, label, children, }: MenuProps): JSX.Element;
|
|
20
25
|
export {};
|
package/components/menu/menu.js
CHANGED
|
@@ -10,7 +10,7 @@ const popover_1 = require("../popover");
|
|
|
10
10
|
const button_1 = require("../button");
|
|
11
11
|
const menu_button_1 = require("./menu-button");
|
|
12
12
|
const react_helpers_1 = require("../../lib/react-helpers");
|
|
13
|
-
function Menu({ className, elevation, defaultIsOpen = false, label, children, }) {
|
|
13
|
+
function Menu({ className, elevation, placement, alignment, anchorGap, viewportGap, defaultIsOpen = false, label, children, }) {
|
|
14
14
|
const menuId = (0, react_1.useRef)((0, util_1.uniqueId)('dc_menu_'));
|
|
15
15
|
const menuButtonId = (0, react_1.useRef)((0, util_1.uniqueId)('dc_menu_button_'));
|
|
16
16
|
const [isOpen, setIsOpen] = (0, react_1.useState)(defaultIsOpen);
|
|
@@ -81,7 +81,7 @@ function Menu({ className, elevation, defaultIsOpen = false, label, children, })
|
|
|
81
81
|
activeMenuItem.focus();
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
return ((0, jsx_runtime_1.jsx)(popover_1.Popover, { className: (0, react_helpers_1.classNames)('dc-menu', className), elevation: elevation, isOpen: isOpen, onClose: closeMenu, anchor: (0, guards_1.isFunction)(label) ? (label({
|
|
84
|
+
return ((0, jsx_runtime_1.jsx)(popover_1.Popover, { className: (0, react_helpers_1.classNames)('dc-menu', className), elevation: elevation, placement: placement, alignment: alignment, anchorGap: anchorGap, viewportGap: viewportGap, isOpen: isOpen, onClose: closeMenu, anchor: (0, guards_1.isFunction)(label) ? (label({
|
|
85
85
|
isOpen,
|
|
86
86
|
id: menuButtonId.current,
|
|
87
87
|
'aria-haspopup': true,
|
|
@@ -19,6 +19,8 @@ export declare type PopoverProps = {
|
|
|
19
19
|
shouldFocusAnchorAfterClose?: boolean;
|
|
20
20
|
placement?: Placement;
|
|
21
21
|
alignment?: Alignment;
|
|
22
|
+
anchorGap?: number;
|
|
23
|
+
viewportGap?: number;
|
|
22
24
|
anchor: ReactNode | RenderFn;
|
|
23
25
|
children: ReactNode;
|
|
24
26
|
onOpen?(): void;
|
|
@@ -31,6 +33,8 @@ export declare const Popover: import("react").ForwardRefExoticComponent<{
|
|
|
31
33
|
shouldFocusAnchorAfterClose?: boolean | undefined;
|
|
32
34
|
placement?: Placement | undefined;
|
|
33
35
|
alignment?: Alignment | undefined;
|
|
36
|
+
anchorGap?: number | undefined;
|
|
37
|
+
viewportGap?: number | undefined;
|
|
34
38
|
anchor: ReactNode | RenderFn;
|
|
35
39
|
children: ReactNode;
|
|
36
40
|
onOpen?(): void;
|
|
@@ -12,7 +12,7 @@ const use_focus_trap_1 = require("../../hooks/use-focus-trap");
|
|
|
12
12
|
const use_body_click_1 = require("./use-body-click");
|
|
13
13
|
const box_1 = require("../box");
|
|
14
14
|
const positioner_1 = require("../positioner");
|
|
15
|
-
exports.Popover = (0, react_1.forwardRef)(function Popover({ className, shouldTrapFocus = true, shouldFocusAnchorAfterClose = true, placement = 'bottom', alignment = 'start', borderRadius = 'lg', elevation = 'md', anchor, children, onOpen, onClose, ...props }, ref) {
|
|
15
|
+
exports.Popover = (0, react_1.forwardRef)(function Popover({ className, shouldTrapFocus = true, shouldFocusAnchorAfterClose = true, placement = 'bottom', alignment = 'start', anchorGap, viewportGap, borderRadius = 'lg', elevation = 'md', anchor, children, onOpen, onClose, ...props }, ref) {
|
|
16
16
|
var _a, _b;
|
|
17
17
|
const anchorRef = (0, react_1.useRef)(null);
|
|
18
18
|
const contentRef = (0, react_1.useRef)(null);
|
|
@@ -66,7 +66,7 @@ exports.Popover = (0, react_1.forwardRef)(function Popover({ className, shouldTr
|
|
|
66
66
|
}
|
|
67
67
|
}, isOpen);
|
|
68
68
|
(0, use_focus_trap_1.useFocusTrap)(contentRef, shouldTrapFocus ? isOpen : false);
|
|
69
|
-
return ((0, jsx_runtime_1.jsx)(positioner_1.Positioner, { placement: placement, alignment: alignment, renderAnchor: ({ setRef }) => {
|
|
69
|
+
return ((0, jsx_runtime_1.jsx)(positioner_1.Positioner, { placement: placement, alignment: alignment, anchorGap: anchorGap, viewportGap: viewportGap, renderAnchor: ({ setRef }) => {
|
|
70
70
|
if ((0, guards_1.isFunction)(anchor)) {
|
|
71
71
|
return anchor({
|
|
72
72
|
openPopover,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "draft-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.71.2",
|
|
4
4
|
"description": "The set of React.js components for rapid prototyping.",
|
|
5
5
|
"main": "components/index.js",
|
|
6
6
|
"files": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"autoprefixer": "10.4.4",
|
|
63
63
|
"babel-eslint": "10.1.0",
|
|
64
64
|
"babel-loader": "8.2.4",
|
|
65
|
-
"bootstrap-icons": "1.
|
|
65
|
+
"bootstrap-icons": "1.8.1",
|
|
66
66
|
"css-loader": "5.2.6",
|
|
67
67
|
"cssnano": "5.1.7",
|
|
68
68
|
"eslint": "8.13.0",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ticketPerferatedFill = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
// https://github.com/twbs/icons/blob/main/icons/ticket-perferated-fill.svg
|
|
6
|
-
exports.ticketPerferatedFill = {
|
|
7
|
-
name: 'ticket-perferated-fill',
|
|
8
|
-
width: 16,
|
|
9
|
-
height: 16,
|
|
10
|
-
viewBox: '0 0 16 16',
|
|
11
|
-
children: ((0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M0 4.5A1.5 1.5 0 0 1 1.5 3h13A1.5 1.5 0 0 1 16 4.5V6a.5.5 0 0 1-.5.5 1.5 1.5 0 0 0 0 3 .5.5 0 0 1 .5.5v1.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 11.5V10a.5.5 0 0 1 .5-.5 1.5 1.5 0 1 0 0-3A.5.5 0 0 1 0 6V4.5Zm4-1v1h1v-1H4Zm1 3H4v-1h1v1Zm7 0h-1v-1h1v1Zm-1-2v-1h1v1h-1Zm-6 3H4v1h1v-1Zm7 1h-1v-1h1v1Zm-7 1H4v1h1v-1Zm7 1h-1v-1h1v1Zm-8 1v1h1v-1H4Zm7 1v-1h1v1h-1Z" })),
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ticketPerferated = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
// https://github.com/twbs/icons/blob/main/icons/ticket-perferated.svg
|
|
6
|
-
exports.ticketPerferated = {
|
|
7
|
-
name: 'ticket-perferated',
|
|
8
|
-
width: 16,
|
|
9
|
-
height: 16,
|
|
10
|
-
viewBox: '0 0 16 16',
|
|
11
|
-
children: ((0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M1.5 3A1.5 1.5 0 0 0 0 4.5V6a.5.5 0 0 0 .5.5 1.5 1.5 0 1 1 0 3 .5.5 0 0 0-.5.5v1.5A1.5 1.5 0 0 0 1.5 13h13a1.5 1.5 0 0 0 1.5-1.5V10a.5.5 0 0 0-.5-.5 1.5 1.5 0 0 1 0-3A.5.5 0 0 0 16 6V4.5A1.5 1.5 0 0 0 14.5 3h-13ZM1 4.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v1.05a2.5 2.5 0 0 0 0 4.9v1.05a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-1.05a2.5 2.5 0 0 0 0-4.9V4.5Zm3 .35v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Zm-7 1.8v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Zm-7 1.8v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Zm-7 1.8v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Z" })),
|
|
12
|
-
};
|