@rdna/radiants 0.1.1 → 0.1.3
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/README.md +87 -18
- package/animations.css +1 -1
- package/assets/icons/16px/USDC.svg +5 -0
- package/assets/icons/16px/broadcast-dish.svg +5 -0
- package/assets/icons/16px/broken-battery.svg +5 -0
- package/assets/icons/16px/calendar.svg +5 -0
- package/assets/icons/16px/calendar2.svg +5 -0
- package/assets/icons/16px/camera.svg +5 -0
- package/assets/icons/16px/cd-horizontal.svg +5 -0
- package/assets/icons/16px/cd.svg +5 -0
- package/assets/icons/16px/cell-bars.svg +5 -0
- package/assets/icons/16px/checkmark.svg +5 -0
- package/assets/icons/16px/chevron-down.svg +5 -0
- package/assets/icons/16px/chevron-left.svg +5 -0
- package/assets/icons/16px/chevron-right.svg +5 -0
- package/assets/icons/16px/clock.svg +5 -0
- package/assets/icons/16px/close-filled.svg +5 -0
- package/assets/icons/16px/close.svg +7 -0
- package/assets/icons/16px/code-file.svg +5 -0
- package/assets/icons/16px/code-folder.svg +5 -0
- package/assets/icons/16px/code-window-filled.svg +5 -0
- package/assets/icons/16px/code-window.svg +5 -0
- package/assets/icons/16px/coins.svg +5 -0
- package/assets/icons/16px/comments-blank.svg +5 -0
- package/assets/icons/16px/comments-typing.svg +5 -0
- package/assets/icons/16px/computer.svg +5 -0
- package/assets/icons/16px/copied-to-clipboard.svg +5 -0
- package/assets/icons/16px/copy-to-clipboard.svg +5 -0
- package/assets/icons/16px/copy.svg +5 -0
- package/assets/icons/16px/crosshair-3.svg +5 -0
- package/assets/icons/16px/crosshair1.svg +5 -0
- package/assets/icons/16px/crosshair2-retro.svg +5 -0
- package/assets/icons/16px/crosshair2.svg +5 -0
- package/assets/icons/16px/crosshair4.svg +5 -0
- package/assets/icons/16px/cursor-text.svg +5 -0
- package/assets/icons/16px/cursor2.svg +5 -0
- package/assets/icons/16px/cut.svg +5 -0
- package/assets/icons/16px/discord.svg +5 -0
- package/assets/icons/16px/document-image.svg +5 -0
- package/assets/icons/16px/document.svg +5 -0
- package/assets/icons/16px/document2.svg +5 -0
- package/assets/icons/16px/download.svg +5 -0
- package/assets/icons/16px/eject.svg +5 -0
- package/assets/icons/16px/electric.svg +5 -0
- package/assets/icons/16px/envelope-closed.svg +5 -0
- package/assets/icons/16px/envelope-open.svg +5 -0
- package/assets/icons/16px/equalizer.svg +5 -0
- package/assets/icons/16px/eye-hidden.svg +5 -0
- package/assets/icons/16px/eye.svg +5 -0
- package/assets/icons/16px/film-camera.svg +5 -0
- package/assets/icons/16px/film-strip-outline.svg +5 -0
- package/assets/icons/16px/film-strip.svg +5 -0
- package/assets/icons/16px/fire.svg +5 -0
- package/assets/icons/16px/folder-closed.svg +5 -0
- package/assets/icons/16px/folder-open.svg +5 -0
- package/assets/icons/16px/full-screen.svg +5 -0
- package/assets/icons/16px/game-controller.svg +5 -0
- package/assets/icons/16px/globe.svg +5 -0
- package/assets/icons/16px/go-forward.svg +5 -0
- package/assets/icons/16px/grid-3x3.svg +15 -0
- package/assets/icons/16px/grip-horizontal.svg +12 -0
- package/assets/icons/16px/grip-vertical.svg +12 -0
- package/assets/icons/16px/hamburger.svg +5 -0
- package/assets/icons/16px/hand-point.svg +5 -0
- package/assets/icons/16px/hard-drive.svg +5 -0
- package/assets/icons/16px/headphones.svg +5 -0
- package/assets/icons/16px/heart.svg +5 -0
- package/assets/icons/16px/home.svg +5 -0
- package/assets/icons/16px/home2.svg +5 -0
- package/assets/icons/16px/hourglass.svg +5 -0
- package/assets/icons/16px/info-filled.svg +5 -0
- package/assets/icons/16px/info.svg +5 -0
- package/assets/icons/16px/joystick.svg +5 -0
- package/assets/icons/16px/lightbulb.svg +5 -0
- package/assets/icons/16px/lightbulb2.svg +5 -0
- package/assets/icons/16px/line-chart.svg +5 -0
- package/assets/icons/16px/list.svg +5 -0
- package/assets/icons/16px/lock-closed.svg +5 -0
- package/assets/icons/16px/lock-open.svg +5 -0
- package/assets/icons/16px/microphone-mute.svg +5 -0
- package/assets/icons/16px/microphone.svg +5 -0
- package/assets/icons/16px/minus.svg +5 -0
- package/assets/icons/16px/money.svg +5 -0
- package/assets/icons/16px/moon.svg +5 -0
- package/assets/icons/16px/more-horizontal.svg +9 -0
- package/assets/icons/16px/more-vertical.svg +9 -0
- package/assets/icons/16px/multiple-images.svg +5 -0
- package/assets/icons/16px/music-8th-notes.svg +5 -0
- package/assets/icons/16px/outline-box.svg +5 -0
- package/assets/icons/16px/paper-plane.svg +5 -0
- package/assets/icons/16px/pause.svg +5 -0
- package/assets/icons/16px/pencil.svg +5 -0
- package/assets/icons/16px/picture-in-picture.svg +5 -0
- package/assets/icons/16px/pie-chart.svg +5 -0
- package/assets/icons/16px/play.svg +5 -0
- package/assets/icons/16px/plug.svg +5 -0
- package/assets/icons/16px/plus.svg +5 -0
- package/assets/icons/16px/power1.svg +5 -0
- package/assets/icons/16px/power2.svg +5 -0
- package/assets/icons/16px/print.svg +5 -0
- package/assets/icons/16px/question-filled.svg +5 -0
- package/assets/icons/16px/question.svg +5 -0
- package/assets/icons/16px/queue.svg +5 -0
- package/assets/icons/16px/rad-mark.svg +5 -0
- package/assets/icons/16px/radiants-logo.svg +5 -0
- package/assets/icons/16px/record-playback.svg +5 -0
- package/assets/icons/16px/record-player.svg +5 -0
- package/assets/icons/16px/refresh-filled.svg +5 -0
- package/assets/icons/16px/refresh1.svg +5 -0
- package/assets/icons/16px/reload.svg +5 -0
- package/assets/icons/16px/resize-corner.svg +5 -0
- package/assets/icons/16px/save-2.svg +5 -0
- package/assets/icons/16px/save.svg +5 -0
- package/assets/icons/16px/search.svg +5 -0
- package/assets/icons/16px/seek-back.svg +5 -0
- package/assets/icons/16px/seek-forward.svg +5 -0
- package/assets/icons/16px/settings-cog.svg +5 -0
- package/assets/icons/16px/share.svg +5 -0
- package/assets/icons/16px/skip-back.svg +5 -0
- package/assets/icons/16px/skip-forward.svg +5 -0
- package/assets/icons/16px/skull-and-crossbones.svg +5 -0
- package/assets/icons/16px/sort-descending.svg +5 -0
- package/assets/icons/16px/sort-filter-empty.svg +5 -0
- package/assets/icons/16px/sort-filter-filled.svg +5 -0
- package/assets/icons/16px/sparkles.svg +5 -0
- package/assets/icons/16px/stop-playback.svg +5 -0
- package/assets/icons/16px/swap.svg +5 -0
- package/assets/icons/16px/tape.svg +5 -0
- package/assets/icons/16px/telephone.svg +5 -0
- package/assets/icons/16px/trash-full.svg +5 -0
- package/assets/icons/16px/trash-open.svg +5 -0
- package/assets/icons/16px/trash.svg +5 -0
- package/assets/icons/16px/trophy.svg +5 -0
- package/assets/icons/16px/trophy2.svg +5 -0
- package/assets/icons/16px/tv.svg +5 -0
- package/assets/icons/16px/twitter.svg +5 -0
- package/assets/icons/16px/upload.svg +5 -0
- package/assets/icons/16px/usb-icon.svg +5 -0
- package/assets/icons/16px/usb.svg +5 -0
- package/assets/icons/16px/usericon.svg +5 -0
- package/assets/icons/16px/volume-faders.svg +5 -0
- package/assets/icons/16px/volume-high.svg +21 -0
- package/assets/icons/16px/volume-low.svg +11 -0
- package/assets/icons/16px/volume-med.svg +13 -0
- package/assets/icons/16px/volume-mute.svg +5 -0
- package/assets/icons/16px/warning-filled-outline.svg +5 -0
- package/assets/icons/16px/warning-filled.svg +5 -0
- package/assets/icons/16px/warning-hollow.svg +5 -0
- package/assets/icons/16px/wifi.svg +5 -0
- package/assets/icons/16px/window-error.svg +5 -0
- package/assets/icons/16px/windows.svg +5 -0
- package/assets/icons/16px/wrench.svg +5 -0
- package/assets/icons/16px/zip-file.svg +5 -0
- package/assets/icons/16px/zip-file2.svg +5 -0
- package/assets/icons/24px/Business-Products-treasure.svg +20 -0
- package/assets/icons/24px/beauty-barber-light-sign.svg +29 -0
- package/assets/icons/24px/beauty-beard-style.svg +35 -0
- package/assets/icons/24px/beauty-body-care-snail.svg +46 -0
- package/assets/icons/24px/beauty-body-care-sun-screen.svg +9 -0
- package/assets/icons/24px/beauty-cosmatic-brush-set.svg +28 -0
- package/assets/icons/24px/beauty-cosmatic-lip-stick.svg +13 -0
- package/assets/icons/24px/beauty-healthy-food-dish.svg +32 -0
- package/assets/icons/24px/beauty-mirror-1.svg +38 -0
- package/assets/icons/24px/beauty-mirror-2.svg +15 -0
- package/assets/icons/24px/beauty-nail-polish.svg +23 -0
- package/assets/icons/24px/beauty-perfume-1.svg +28 -0
- package/assets/icons/24px/beauty-perfume-2.svg +26 -0
- package/assets/icons/24px/building-real-eastate-deal-documant.svg +25 -0
- package/assets/icons/24px/building-real-eastate-for-sale.svg +23 -0
- package/assets/icons/24px/building-real-eastate-house-1.svg +32 -0
- package/assets/icons/24px/building-real-eastate-house-2.svg +26 -0
- package/assets/icons/24px/building-real-eastate-houses-location.svg +9 -0
- package/assets/icons/24px/building-real-eastate-location.svg +31 -0
- package/assets/icons/24px/building-real-eastate-project-blueprint.svg +14 -0
- package/assets/icons/24px/building-real-eastate-sign-for-rent.svg +27 -0
- package/assets/icons/24px/building-real-eastate-sign-house-1.svg +17 -0
- package/assets/icons/24px/building-real-eastate-sign-house-2.svg +18 -0
- package/assets/icons/24px/building-real-eastate-storage.svg +21 -0
- package/assets/icons/24px/business-money-coin-currency.svg +37 -0
- package/assets/icons/24px/business-prodect-diamond.svg +37 -0
- package/assets/icons/24px/business-product-check.svg +31 -0
- package/assets/icons/24px/business-product-piggy-bank.svg +42 -0
- package/assets/icons/24px/business-product-price-tag.svg +56 -0
- package/assets/icons/24px/business-product-report-present-grahp.svg +23 -0
- package/assets/icons/24px/business-product-scale.svg +22 -0
- package/assets/icons/24px/business-product-startup-1.svg +34 -0
- package/assets/icons/24px/business-product-startup-2.svg +32 -0
- package/assets/icons/24px/business-product-target.svg +42 -0
- package/assets/icons/24px/business-products-bag-money.svg +38 -0
- package/assets/icons/24px/business-products-bag.svg +22 -0
- package/assets/icons/24px/business-products-bag_1.svg +16 -0
- package/assets/icons/24px/business-products-boat-success.svg +37 -0
- package/assets/icons/24px/business-products-cash-search.svg +40 -0
- package/assets/icons/24px/business-products-cash-shield.svg +41 -0
- package/assets/icons/24px/business-products-cash-user-man-message.svg +30 -0
- package/assets/icons/24px/business-products-climb-top.svg +31 -0
- package/assets/icons/24px/business-products-data-file-bars.svg +10 -0
- package/assets/icons/24px/business-products-deal-handshake.svg +41 -0
- package/assets/icons/24px/business-products-factory.svg +31 -0
- package/assets/icons/24px/business-products-magic-rabbit.svg +23 -0
- package/assets/icons/24px/business-products-money.svg +24 -0
- package/assets/icons/24px/business-products-network-user.svg +35 -0
- package/assets/icons/24px/business-products-performance-money-decrease.svg +33 -0
- package/assets/icons/24px/business-products-performance-money-increase.svg +34 -0
- package/assets/icons/24px/business-products-safe.svg +27 -0
- package/assets/icons/24px/business-products-wallet-money.svg +21 -0
- package/assets/icons/24px/change-clean-energy.svg +40 -0
- package/assets/icons/24px/chat-email.svg +27 -0
- package/assets/icons/24px/coding-app-website-ui.svg +20 -0
- package/assets/icons/24px/coding-apps-websites-404-error.svg +32 -0
- package/assets/icons/24px/coding-apps-websites-android.svg +30 -0
- package/assets/icons/24px/coding-apps-websites-browser-bugs-2.svg +14 -0
- package/assets/icons/24px/coding-apps-websites-conference.svg +16 -0
- package/assets/icons/24px/coding-apps-websites-constuction.svg +28 -0
- package/assets/icons/24px/coding-apps-websites-database.svg +22 -0
- package/assets/icons/24px/coding-apps-websites-dinosaur-error.svg +25 -0
- package/assets/icons/24px/coding-apps-websites-favorite-rate.svg +41 -0
- package/assets/icons/24px/coding-apps-websites-finder.svg +13 -0
- package/assets/icons/24px/coding-apps-websites-firewall.svg +42 -0
- package/assets/icons/24px/coding-apps-websites-live-status.svg +26 -0
- package/assets/icons/24px/coding-apps-websites-mobile.svg +27 -0
- package/assets/icons/24px/coding-apps-websites-module.svg +28 -0
- package/assets/icons/24px/coding-apps-websites-music-player.svg +24 -0
- package/assets/icons/24px/coding-apps-websites-phone-tablet.svg +28 -0
- package/assets/icons/24px/coding-apps-websites-plugin.svg +19 -0
- package/assets/icons/24px/coding-apps-websites-programming-browser-bugs-1.svg +31 -0
- package/assets/icons/24px/coding-apps-websites-programming-browser.svg +13 -0
- package/assets/icons/24px/coding-apps-websites-programming-bug.svg +26 -0
- package/assets/icons/24px/coding-apps-websites-programming-hold-code.svg +57 -0
- package/assets/icons/24px/coding-apps-websites-search-bug.svg +27 -0
- package/assets/icons/24px/coding-apps-websites-setting-computer.svg +38 -0
- package/assets/icons/24px/coding-apps-websites-shield-lock.svg +37 -0
- package/assets/icons/24px/coding-apps-websites-solves.svg +24 -0
- package/assets/icons/24px/coding-apps-websites.svg +15 -0
- package/assets/icons/24px/computer-old-electronics-bug.svg +16 -0
- package/assets/icons/24px/computer-old-electronics.svg +18 -0
- package/assets/icons/24px/computers-devices-electronics-battery-charge.svg +20 -0
- package/assets/icons/24px/computers-devices-electronics-board.svg +30 -0
- package/assets/icons/24px/computers-devices-electronics-chipset.svg +14 -0
- package/assets/icons/24px/computers-devices-electronics-click-select-tablet.svg +26 -0
- package/assets/icons/24px/computers-devices-electronics-desktop.svg +28 -0
- package/assets/icons/24px/computers-devices-electronics-earpod-sound.svg +33 -0
- package/assets/icons/24px/computers-devices-electronics-flash-drive-1.svg +17 -0
- package/assets/icons/24px/computers-devices-electronics-flash-drive-2.svg +17 -0
- package/assets/icons/24px/computers-devices-electronics-graphic-tablet-draw.svg +21 -0
- package/assets/icons/24px/computers-devices-electronics-graphic-tablet.svg +24 -0
- package/assets/icons/24px/computers-devices-electronics-harddisk.svg +37 -0
- package/assets/icons/24px/computers-devices-electronics-keyboard-button.svg +22 -0
- package/assets/icons/24px/computers-devices-electronics-keyboard-pad.svg +20 -0
- package/assets/icons/24px/computers-devices-electronics-keyboard-wireless.svg +53 -0
- package/assets/icons/24px/computers-devices-electronics-keyboard.svg +36 -0
- package/assets/icons/24px/computers-devices-electronics-laptop.svg +15 -0
- package/assets/icons/24px/computers-devices-electronics-memory.svg +17 -0
- package/assets/icons/24px/computers-devices-electronics-mobile-qr-scan.svg +20 -0
- package/assets/icons/24px/computers-devices-electronics-monitor.svg +13 -0
- package/assets/icons/24px/computers-devices-electronics-mouse.svg +22 -0
- package/assets/icons/24px/computers-devices-electronics-smart-watch.svg +26 -0
- package/assets/icons/24px/computers-devices-electronics-tablet.svg +12 -0
- package/assets/icons/24px/computers-devices-electronics-tape-cassette.svg +19 -0
- package/assets/icons/24px/computers-devices-electronics-television-vintage.svg +28 -0
- package/assets/icons/24px/computers-devices-electronics-vintage-mac.svg +22 -0
- package/assets/icons/24px/computers-devices-electronics-webcam.svg +38 -0
- package/assets/icons/24px/computers-devices-electronicscd-disk.svg +35 -0
- package/assets/icons/24px/computers-devices-electronicsmicrochip-board.svg +13 -0
- package/assets/icons/24px/construction-building-real-eastate.svg +14 -0
- package/assets/icons/24px/content-files-archive-books-1.svg +19 -0
- package/assets/icons/24px/content-files-archive-books-2.svg +11 -0
- package/assets/icons/24px/content-files-archive-books-3.svg +12 -0
- package/assets/icons/24px/content-files-book-library.svg +12 -0
- package/assets/icons/24px/content-files-book.svg +19 -0
- package/assets/icons/24px/content-files-books-1.svg +23 -0
- package/assets/icons/24px/content-files-books-2.svg +19 -0
- package/assets/icons/24px/content-files-close-book-bookmark.svg +14 -0
- package/assets/icons/24px/content-files-draw-content.svg +36 -0
- package/assets/icons/24px/content-files-favorite-book.svg +18 -0
- package/assets/icons/24px/content-files-folder-open.svg +20 -0
- package/assets/icons/24px/content-files-newspaper.svg +23 -0
- package/assets/icons/24px/content-files-note-book.svg +14 -0
- package/assets/icons/24px/content-files-note.svg +15 -0
- package/assets/icons/24px/content-files-notepad.svg +24 -0
- package/assets/icons/24px/content-files-open-book-bookmark.svg +29 -0
- package/assets/icons/24px/content-files-open-book.svg +30 -0
- package/assets/icons/24px/content-files-pdf.svg +11 -0
- package/assets/icons/24px/content-files-pen.svg +29 -0
- package/assets/icons/24px/content-files-pencil-brush.svg +78 -0
- package/assets/icons/24px/content-files-pencil-ruler.svg +30 -0
- package/assets/icons/24px/content-files-phone-book.svg +13 -0
- package/assets/icons/24px/content-files-quill-ink.svg +28 -0
- package/assets/icons/24px/content-files-sticky-notepad-1.svg +18 -0
- package/assets/icons/24px/content-files-sticky-notepad-2.svg +31 -0
- package/assets/icons/24px/content-files-typing-machine.svg +21 -0
- package/assets/icons/24px/content-files-write-note.svg +38 -0
- package/assets/icons/24px/cursor-hand.svg +20 -0
- package/assets/icons/24px/design-artboard-shapes.svg +17 -0
- package/assets/icons/24px/design-color-brush-paint.svg +35 -0
- package/assets/icons/24px/design-color-bucket-brush.svg +30 -0
- package/assets/icons/24px/design-color-bucket.svg +25 -0
- package/assets/icons/24px/design-color-painting-palette.svg +42 -0
- package/assets/icons/24px/design-color-palette-sample.svg +35 -0
- package/assets/icons/24px/design-color-spray.svg +32 -0
- package/assets/icons/24px/design-color-tube-pastel.svg +16 -0
- package/assets/icons/24px/design-crop-edit-picture.svg +15 -0
- package/assets/icons/24px/design-drawing-board.svg +23 -0
- package/assets/icons/24px/design-dropper-1.svg +15 -0
- package/assets/icons/24px/design-dropper-2.svg +41 -0
- package/assets/icons/24px/design-half-circle-ruler.svg +26 -0
- package/assets/icons/24px/design-hilight.svg +36 -0
- package/assets/icons/24px/design-ink-pen.svg +33 -0
- package/assets/icons/24px/design-layer.svg +29 -0
- package/assets/icons/24px/design-magic-wand.svg +36 -0
- package/assets/icons/24px/design-pencil.svg +13 -0
- package/assets/icons/24px/design-ruler.svg +12 -0
- package/assets/icons/24px/design-stamp.svg +24 -0
- package/assets/icons/24px/design-vectors-pen-new-anchor.svg +30 -0
- package/assets/icons/24px/ecology-bush.svg +39 -0
- package/assets/icons/24px/ecology-cactus.svg +38 -0
- package/assets/icons/24px/ecology-clean-battery.svg +29 -0
- package/assets/icons/24px/ecology-clean-car-cable-charge.svg +25 -0
- package/assets/icons/24px/ecology-global-house.svg +19 -0
- package/assets/icons/24px/ecology-global-warming-globe-fire.svg +42 -0
- package/assets/icons/24px/ecology-global-warming-globe.svg +40 -0
- package/assets/icons/24px/ecology-gmo-food-fruit.svg +41 -0
- package/assets/icons/24px/ecology-growth-plant.svg +36 -0
- package/assets/icons/24px/ecology-leaf-bug.svg +39 -0
- package/assets/icons/24px/ecology-nuclear-energy.svg +30 -0
- package/assets/icons/24px/ecology-organic-sun-growth.svg +30 -0
- package/assets/icons/24px/ecology-plant-growth-soil-nature.svg +54 -0
- package/assets/icons/24px/ecology-renewable-energy-solar-panel.svg +25 -0
- package/assets/icons/24px/ecology-renewable-energy-wind-turbine.svg +43 -0
- package/assets/icons/24px/ecology-solar-cell.svg +28 -0
- package/assets/icons/24px/ecology-tree.svg +34 -0
- package/assets/icons/24px/ecology-windmill-1.svg +56 -0
- package/assets/icons/24px/ecology-windmill-2.svg +22 -0
- package/assets/icons/24px/ecology-wood-plant-grow.svg +32 -0
- package/assets/icons/24px/email-chat-think.svg +27 -0
- package/assets/icons/24px/email-emoji-smile-smart.svg +31 -0
- package/assets/icons/24px/email-envelope-close.svg +35 -0
- package/assets/icons/24px/email-envelope-open.svg +35 -0
- package/assets/icons/24px/email-envelope.svg +13 -0
- package/assets/icons/24px/email-forward-mail.svg +29 -0
- package/assets/icons/24px/email-mail-chat.svg +20 -0
- package/assets/icons/24px/email-mail-open-address.svg +34 -0
- package/assets/icons/24px/email-mailbox-close.svg +9 -0
- package/assets/icons/24px/email-mailbox-open.svg +16 -0
- package/assets/icons/24px/email-mailbox.svg +15 -0
- package/assets/icons/24px/email-stamp-mail.svg +27 -0
- package/assets/icons/24px/email-tray.svg +16 -0
- package/assets/icons/24px/entertainment-events-hobbies-board-game-dice.svg +28 -0
- package/assets/icons/24px/entertainment-events-hobbies-bomb.svg +20 -0
- package/assets/icons/24px/entertainment-events-hobbies-card-game-card-club.svg +17 -0
- package/assets/icons/24px/entertainment-events-hobbies-chess-knight.svg +28 -0
- package/assets/icons/24px/entertainment-events-hobbies-chess-pawn.svg +18 -0
- package/assets/icons/24px/entertainment-events-hobbies-chess-rook.svg +15 -0
- package/assets/icons/24px/entertainment-events-hobbies-film-camrea.svg +19 -0
- package/assets/icons/24px/entertainment-events-hobbies-film-player.svg +14 -0
- package/assets/icons/24px/entertainment-events-hobbies-film-roll.svg +30 -0
- package/assets/icons/24px/entertainment-events-hobbies-game-machines-arcade-1.svg +18 -0
- package/assets/icons/24px/entertainment-events-hobbies-game-machines-arcade-2.svg +20 -0
- package/assets/icons/24px/entertainment-events-hobbies-game-pool-snooker-ball.svg +29 -0
- package/assets/icons/24px/entertainment-events-hobbies-glasses-3d.svg +38 -0
- package/assets/icons/24px/entertainment-events-hobbies-horror-ghost.svg +43 -0
- package/assets/icons/24px/entertainment-events-hobbies-popcorn.svg +30 -0
- package/assets/icons/24px/entertainment-events-hobbies-record-player.svg +21 -0
- package/assets/icons/24px/entertainment-events-hobbies-reward-winner-talent.svg +18 -0
- package/assets/icons/24px/entertainment-events-hobbies-ticket.svg +31 -0
- package/assets/icons/24px/entertainment-events-hobbies-video-camera-film-1.svg +40 -0
- package/assets/icons/24px/entertainment-events-hobbies-video-camera-film-2.svg +39 -0
- package/assets/icons/24px/entertainment-events-hobbies-video-camera-film-3.svg +32 -0
- package/assets/icons/24px/entertainment-events-hobbies-video-movie-producer-director-chair.svg +23 -0
- package/assets/icons/24px/food-drink-bread.svg +18 -0
- package/assets/icons/24px/food-drink-coffee-cup.svg +12 -0
- package/assets/icons/24px/food-drink-coffee.svg +41 -0
- package/assets/icons/24px/food-drink-desert-cake-pond.svg +27 -0
- package/assets/icons/24px/food-drink-desert-cake.svg +30 -0
- package/assets/icons/24px/food-drink-desert-cotton-candy.svg +40 -0
- package/assets/icons/24px/food-drink-desert-cupcake.svg +31 -0
- package/assets/icons/24px/food-drink-desert-donut.svg +56 -0
- package/assets/icons/24px/food-drink-desert-icecream.svg +16 -0
- package/assets/icons/24px/food-drink-egg.svg +28 -0
- package/assets/icons/24px/food-drink-fish-bone.svg +22 -0
- package/assets/icons/24px/food-drink-fish.svg +35 -0
- package/assets/icons/24px/food-drink-fried-chicken.svg +35 -0
- package/assets/icons/24px/food-drink-fruit-cherry.svg +30 -0
- package/assets/icons/24px/food-drink-hamburger.svg +26 -0
- package/assets/icons/24px/food-drink-milk.svg +25 -0
- package/assets/icons/24px/food-drink-pizza.svg +40 -0
- package/assets/icons/24px/food-drink-rice-ball.svg +36 -0
- package/assets/icons/24px/food-drink-sushi.svg +27 -0
- package/assets/icons/24px/food-drink-tea.svg +29 -0
- package/assets/icons/24px/hand-awesome.svg +23 -0
- package/assets/icons/24px/hand-cross-finger-heart.svg +38 -0
- package/assets/icons/24px/hand-dislike.svg +22 -0
- package/assets/icons/24px/hand-fight-2-finger.svg +33 -0
- package/assets/icons/24px/hand-fiist.svg +19 -0
- package/assets/icons/24px/hand-four.svg +22 -0
- package/assets/icons/24px/hand-fuck-middle-finger.svg +21 -0
- package/assets/icons/24px/hand-gesture-finger-click.svg +27 -0
- package/assets/icons/24px/hand-like.svg +22 -0
- package/assets/icons/24px/hand-little-finger.svg +18 -0
- package/assets/icons/24px/hand-love-sign.svg +19 -0
- package/assets/icons/24px/hand-love.svg +23 -0
- package/assets/icons/24px/hand-ok.svg +32 -0
- package/assets/icons/24px/hand-point.svg +20 -0
- package/assets/icons/24px/hand-three-finger.svg +22 -0
- package/assets/icons/24px/hand-writing.svg +30 -0
- package/assets/icons/24px/hand-zombie.svg +55 -0
- package/assets/icons/24px/hand-zoom.svg +28 -0
- package/assets/icons/24px/hand.svg +24 -0
- package/assets/icons/24px/health-ambulance-call.svg +28 -0
- package/assets/icons/24px/health-ambulance-car.svg +30 -0
- package/assets/icons/24px/health-anti-virus.svg +15 -0
- package/assets/icons/24px/health-bandage.svg +71 -0
- package/assets/icons/24px/health-blood-drop-type.svg +22 -0
- package/assets/icons/24px/health-brain-1.svg +48 -0
- package/assets/icons/24px/health-brain-2.svg +49 -0
- package/assets/icons/24px/health-dentistry-tooth.svg +32 -0
- package/assets/icons/24px/health-drug-medicine-bag-aid-1.svg +28 -0
- package/assets/icons/24px/health-drug-medicine-bag-aid-2.svg +16 -0
- package/assets/icons/24px/health-drug-medicine-water.svg +24 -0
- package/assets/icons/24px/health-drug-medicine.svg +21 -0
- package/assets/icons/24px/health-drugs-cannabis.svg +50 -0
- package/assets/icons/24px/health-drugs-pill.svg +21 -0
- package/assets/icons/24px/health-health-dead.svg +29 -0
- package/assets/icons/24px/health-hospital-building-1.svg +21 -0
- package/assets/icons/24px/health-hospital-building-2.svg +15 -0
- package/assets/icons/24px/health-injection.svg +37 -0
- package/assets/icons/24px/health-laboratory-test-blood-sugar.svg +65 -0
- package/assets/icons/24px/health-laboratory-test-stool-cup.svg +19 -0
- package/assets/icons/24px/health-laboratory.svg +24 -0
- package/assets/icons/24px/health-medical-notes.svg +16 -0
- package/assets/icons/24px/health-monitor-heart-beat.svg +41 -0
- package/assets/icons/24px/health-stool.svg +56 -0
- package/assets/icons/24px/health-transfusion-bag.svg +23 -0
- package/assets/icons/24px/health-virus.svg +31 -0
- package/assets/icons/24px/interface-essential-alarm-bell-off.svg +27 -0
- package/assets/icons/24px/interface-essential-alarm-bell-sleep.svg +44 -0
- package/assets/icons/24px/interface-essential-alert-caution.svg +28 -0
- package/assets/icons/24px/interface-essential-alert-circle-1.svg +9 -0
- package/assets/icons/24px/interface-essential-alert-circle-2.svg +32 -0
- package/assets/icons/24px/interface-essential-alert-triangle-1.svg +30 -0
- package/assets/icons/24px/interface-essential-alert-triangle-2.svg +9 -0
- package/assets/icons/24px/interface-essential-alert.svg +53 -0
- package/assets/icons/24px/interface-essential-battery.svg +12 -0
- package/assets/icons/24px/interface-essential-bin.svg +16 -0
- package/assets/icons/24px/interface-essential-blutooth.svg +31 -0
- package/assets/icons/24px/interface-essential-bookmark.svg +17 -0
- package/assets/icons/24px/interface-essential-bookmark_1.svg +23 -0
- package/assets/icons/24px/interface-essential-calendar-appointment.svg +20 -0
- package/assets/icons/24px/interface-essential-calendar-date.svg +12 -0
- package/assets/icons/24px/interface-essential-call-center-contact-help.svg +17 -0
- package/assets/icons/24px/interface-essential-clip-1.svg +45 -0
- package/assets/icons/24px/interface-essential-clip-2.svg +21 -0
- package/assets/icons/24px/interface-essential-clock.svg +31 -0
- package/assets/icons/24px/interface-essential-clound-download.svg +28 -0
- package/assets/icons/24px/interface-essential-cog-browser.svg +42 -0
- package/assets/icons/24px/interface-essential-cog-double.svg +60 -0
- package/assets/icons/24px/interface-essential-cog-hand-give.svg +41 -0
- package/assets/icons/24px/interface-essential-cog-search.svg +51 -0
- package/assets/icons/24px/interface-essential-crown.svg +30 -0
- package/assets/icons/24px/interface-essential-cursor-click-point.svg +35 -0
- package/assets/icons/24px/interface-essential-cursor-select.svg +23 -0
- package/assets/icons/24px/interface-essential-cursor.svg +25 -0
- package/assets/icons/24px/interface-essential-dial-pad-1.svg +23 -0
- package/assets/icons/24px/interface-essential-dial-pad-2.svg +22 -0
- package/assets/icons/24px/interface-essential-dial-pad-finger-1.svg +23 -0
- package/assets/icons/24px/interface-essential-dial-pad-finger-2.svg +38 -0
- package/assets/icons/24px/interface-essential-direction-button.svg +47 -0
- package/assets/icons/24px/interface-essential-edit-fill.svg +42 -0
- package/assets/icons/24px/interface-essential-eraser.svg +55 -0
- package/assets/icons/24px/interface-essential-expand-1.svg +22 -0
- package/assets/icons/24px/interface-essential-expand-2.svg +30 -0
- package/assets/icons/24px/interface-essential-expand-3.svg +53 -0
- package/assets/icons/24px/interface-essential-face-id-1.svg +44 -0
- package/assets/icons/24px/interface-essential-face-id.svg +33 -0
- package/assets/icons/24px/interface-essential-file-error.svg +11 -0
- package/assets/icons/24px/interface-essential-filter.svg +30 -0
- package/assets/icons/24px/interface-essential-find-text.svg +27 -0
- package/assets/icons/24px/interface-essential-finger-print-scan.svg +51 -0
- package/assets/icons/24px/interface-essential-flag.svg +15 -0
- package/assets/icons/24px/interface-essential-flash.svg +45 -0
- package/assets/icons/24px/interface-essential-flip-vertical-down.svg +20 -0
- package/assets/icons/24px/interface-essential-flip-vertical-up.svg +20 -0
- package/assets/icons/24px/interface-essential-floppy-disk.svg +18 -0
- package/assets/icons/24px/interface-essential-global-public.svg +17 -0
- package/assets/icons/24px/interface-essential-hammer-1.svg +33 -0
- package/assets/icons/24px/interface-essential-hammer-2.svg +32 -0
- package/assets/icons/24px/interface-essential-heart-favorite.svg +35 -0
- package/assets/icons/24px/interface-essential-hierarchy-1.svg +23 -0
- package/assets/icons/24px/interface-essential-hierarchy-2.svg +23 -0
- package/assets/icons/24px/interface-essential-hierarchy-3.svg +20 -0
- package/assets/icons/24px/interface-essential-hierarchy-4.svg +31 -0
- package/assets/icons/24px/interface-essential-hierarchy-5.svg +27 -0
- package/assets/icons/24px/interface-essential-hierarchy-files.svg +22 -0
- package/assets/icons/24px/interface-essential-home-1.svg +16 -0
- package/assets/icons/24px/interface-essential-home-2.svg +25 -0
- package/assets/icons/24px/interface-essential-hyperlink.svg +23 -0
- package/assets/icons/24px/interface-essential-information-circle-1.svg +32 -0
- package/assets/icons/24px/interface-essential-information-circle-2.svg +5 -0
- package/assets/icons/24px/interface-essential-iris-scan-approved.svg +33 -0
- package/assets/icons/24px/interface-essential-iris-scan.svg +35 -0
- package/assets/icons/24px/interface-essential-key-1.svg +40 -0
- package/assets/icons/24px/interface-essential-key-lock.svg +28 -0
- package/assets/icons/24px/interface-essential-key-login.svg +40 -0
- package/assets/icons/24px/interface-essential-key.svg +25 -0
- package/assets/icons/24px/interface-essential-keyboard-button-direction-1.svg +16 -0
- package/assets/icons/24px/interface-essential-keyboard-button-direction-2.svg +10 -0
- package/assets/icons/24px/interface-essential-light-bulb.svg +27 -0
- package/assets/icons/24px/interface-essential-link-broken-1.svg +39 -0
- package/assets/icons/24px/interface-essential-link-broken-2.svg +37 -0
- package/assets/icons/24px/interface-essential-link.svg +29 -0
- package/assets/icons/24px/interface-essential-list.svg +21 -0
- package/assets/icons/24px/interface-essential-loading-0-percent-1.svg +33 -0
- package/assets/icons/24px/interface-essential-loading-0-percent.svg +33 -0
- package/assets/icons/24px/interface-essential-loading-100-percent-1.svg +16 -0
- package/assets/icons/24px/interface-essential-loading-100-percent.svg +36 -0
- package/assets/icons/24px/interface-essential-loading-20-percent.svg +34 -0
- package/assets/icons/24px/interface-essential-loading-25-percent-1.svg +29 -0
- package/assets/icons/24px/interface-essential-loading-50-percent-1.svg +24 -0
- package/assets/icons/24px/interface-essential-loading-50-percent.svg +34 -0
- package/assets/icons/24px/interface-essential-loading-75-percent-1.svg +19 -0
- package/assets/icons/24px/interface-essential-loading-80-percent.svg +34 -0
- package/assets/icons/24px/interface-essential-loading-circle-1.svg +14 -0
- package/assets/icons/24px/interface-essential-loading-circle-2.svg +19 -0
- package/assets/icons/24px/interface-essential-loading-status.svg +15 -0
- package/assets/icons/24px/interface-essential-lock-1.svg +24 -0
- package/assets/icons/24px/interface-essential-lock-door-out.svg +23 -0
- package/assets/icons/24px/interface-essential-lock-shield.svg +35 -0
- package/assets/icons/24px/interface-essential-lock.svg +16 -0
- package/assets/icons/24px/interface-essential-magnet.svg +22 -0
- package/assets/icons/24px/interface-essential-map.svg +19 -0
- package/assets/icons/24px/interface-essential-message.svg +31 -0
- package/assets/icons/24px/interface-essential-microphone.svg +25 -0
- package/assets/icons/24px/interface-essential-move.svg +10 -0
- package/assets/icons/24px/interface-essential-navigation-left-circle-1.svg +5 -0
- package/assets/icons/24px/interface-essential-navigation-left-circle-2.svg +31 -0
- package/assets/icons/24px/interface-essential-navigation-menu-1.svg +17 -0
- package/assets/icons/24px/interface-essential-navigation-menu-2.svg +18 -0
- package/assets/icons/24px/interface-essential-navigation-menu-3.svg +20 -0
- package/assets/icons/24px/interface-essential-navigation-right-circle-1.svg +5 -0
- package/assets/icons/24px/interface-essential-navigation-right-circle-2.svg +31 -0
- package/assets/icons/24px/interface-essential-note-music.svg +14 -0
- package/assets/icons/24px/interface-essential-notification-alert.svg +47 -0
- package/assets/icons/24px/interface-essential-pacman-loading.svg +38 -0
- package/assets/icons/24px/interface-essential-paginate-filter-camera.svg +12 -0
- package/assets/icons/24px/interface-essential-paginate-filter-heart.svg +12 -0
- package/assets/icons/24px/interface-essential-paginate-filter-music.svg +15 -0
- package/assets/icons/24px/interface-essential-paginate-filter-picture.svg +23 -0
- package/assets/icons/24px/interface-essential-paginate-filter-video.svg +12 -0
- package/assets/icons/24px/interface-essential-password-type.svg +30 -0
- package/assets/icons/24px/interface-essential-pencil-edit-1.svg +13 -0
- package/assets/icons/24px/interface-essential-pencil-edit-2.svg +59 -0
- package/assets/icons/24px/interface-essential-pie-chart-poll-report-1.svg +41 -0
- package/assets/icons/24px/interface-essential-pie-chart-poll-report-2.svg +22 -0
- package/assets/icons/24px/interface-essential-pin.svg +40 -0
- package/assets/icons/24px/interface-essential-poll.svg +18 -0
- package/assets/icons/24px/interface-essential-print.svg +17 -0
- package/assets/icons/24px/interface-essential-profile-female.svg +35 -0
- package/assets/icons/24px/interface-essential-profile-male.svg +39 -0
- package/assets/icons/24px/interface-essential-protect-guard.svg +29 -0
- package/assets/icons/24px/interface-essential-protect-rubber-ring.svg +30 -0
- package/assets/icons/24px/interface-essential-question-help-circle-1.svg +5 -0
- package/assets/icons/24px/interface-essential-question-help-circle-2.svg +32 -0
- package/assets/icons/24px/interface-essential-question-help-square.svg +20 -0
- package/assets/icons/24px/interface-essential-recycle.svg +28 -0
- package/assets/icons/24px/interface-essential-reflect-down-up.svg +40 -0
- package/assets/icons/24px/interface-essential-reflect-down.svg +40 -0
- package/assets/icons/24px/interface-essential-refresh.svg +22 -0
- package/assets/icons/24px/interface-essential-safari-compass.svg +59 -0
- package/assets/icons/24px/interface-essential-satellite.svg +30 -0
- package/assets/icons/24px/interface-essential-scisor.svg +24 -0
- package/assets/icons/24px/interface-essential-scroll-horizontal.svg +31 -0
- package/assets/icons/24px/interface-essential-scroll-vertical.svg +31 -0
- package/assets/icons/24px/interface-essential-search-1.svg +27 -0
- package/assets/icons/24px/interface-essential-search-binocular.svg +37 -0
- package/assets/icons/24px/interface-essential-search-check.svg +24 -0
- package/assets/icons/24px/interface-essential-search-remove.svg +24 -0
- package/assets/icons/24px/interface-essential-send-mail.svg +20 -0
- package/assets/icons/24px/interface-essential-setting-cog.svg +51 -0
- package/assets/icons/24px/interface-essential-setting-slide.svg +15 -0
- package/assets/icons/24px/interface-essential-settings-toggle-horizontal.svg +20 -0
- package/assets/icons/24px/interface-essential-share-1.svg +17 -0
- package/assets/icons/24px/interface-essential-share-2.svg +18 -0
- package/assets/icons/24px/interface-essential-share-3.svg +16 -0
- package/assets/icons/24px/interface-essential-shrink-1.svg +24 -0
- package/assets/icons/24px/interface-essential-shrink-2.svg +30 -0
- package/assets/icons/24px/interface-essential-shrink-3.svg +53 -0
- package/assets/icons/24px/interface-essential-shrink-4.svg +27 -0
- package/assets/icons/24px/interface-essential-signin-expand.svg +43 -0
- package/assets/icons/24px/interface-essential-signin-login.svg +18 -0
- package/assets/icons/24px/interface-essential-signout-logout.svg +18 -0
- package/assets/icons/24px/interface-essential-skull-1.svg +29 -0
- package/assets/icons/24px/interface-essential-skull-2.svg +21 -0
- package/assets/icons/24px/interface-essential-sound.svg +34 -0
- package/assets/icons/24px/interface-essential-speaker-announce.svg +26 -0
- package/assets/icons/24px/interface-essential-stat.svg +20 -0
- package/assets/icons/24px/interface-essential-stop-sign-1.svg +44 -0
- package/assets/icons/24px/interface-essential-stop-sign-2.svg +13 -0
- package/assets/icons/24px/interface-essential-stopwatch.svg +39 -0
- package/assets/icons/24px/interface-essential-switch-off.svg +22 -0
- package/assets/icons/24px/interface-essential-switch-on.svg +27 -0
- package/assets/icons/24px/interface-essential-synchronize-arrows-square-1.svg +16 -0
- package/assets/icons/24px/interface-essential-synchronize-arrows-square-2.svg +12 -0
- package/assets/icons/24px/interface-essential-text-format-1.svg +21 -0
- package/assets/icons/24px/interface-essential-text-format-2.svg +10 -0
- package/assets/icons/24px/interface-essential-text-input-area-1.svg +18 -0
- package/assets/icons/24px/interface-essential-text-input-area-2.svg +24 -0
- package/assets/icons/24px/interface-essential-text-input-area-3.svg +36 -0
- package/assets/icons/24px/interface-essential-touch-id-lock.svg +32 -0
- package/assets/icons/24px/interface-essential-touch-id-smartphone.svg +30 -0
- package/assets/icons/24px/interface-essential-translate.svg +38 -0
- package/assets/icons/24px/interface-essential-trophy.svg +23 -0
- package/assets/icons/24px/interface-essential-view-eye.svg +35 -0
- package/assets/icons/24px/interface-essential-voice-id.svg +15 -0
- package/assets/icons/24px/interface-essential-waiting-hourglass-loading.svg +19 -0
- package/assets/icons/24px/interface-essential-watch-time.svg +11 -0
- package/assets/icons/24px/interface-essential-wifi-feed.svg +10 -0
- package/assets/icons/24px/interface-essential-wifi-signal.svg +47 -0
- package/assets/icons/24px/interface-essential-wireless.svg +47 -0
- package/assets/icons/24px/interface-essential-wrench-1.svg +30 -0
- package/assets/icons/24px/interface-essential-wrench-2.svg +52 -0
- package/assets/icons/24px/interface-essential-zoom-in-page.svg +30 -0
- package/assets/icons/24px/interface-essential-zoom-in.svg +24 -0
- package/assets/icons/24px/interface-essential-zoom-out-page.svg +30 -0
- package/assets/icons/24px/interface-essential-zoom-out.svg +24 -0
- package/assets/icons/24px/internet-network-arrow-sync.svg +30 -0
- package/assets/icons/24px/internet-network-cloud-error.svg +35 -0
- package/assets/icons/24px/internet-network-cloud-off.svg +23 -0
- package/assets/icons/24px/internet-network-computer-download.svg +13 -0
- package/assets/icons/24px/internet-network-computer-upload.svg +13 -0
- package/assets/icons/24px/internet-network-download.svg +18 -0
- package/assets/icons/24px/internet-network-laptop.svg +18 -0
- package/assets/icons/24px/internet-network-upload.svg +18 -0
- package/assets/icons/24px/internet-network-wifi-monitor.svg +27 -0
- package/assets/icons/24px/internet-network-www.svg +35 -0
- package/assets/icons/24px/logo-discord.svg +9 -0
- package/assets/icons/24px/logo-linkedin.svg +21 -0
- package/assets/icons/24px/logo-pinterest.svg +15 -0
- package/assets/icons/24px/logo-snapchat.svg +5 -0
- package/assets/icons/24px/logo-social-media-dropbox.svg +43 -0
- package/assets/icons/24px/logo-social-media-facebook-circle.svg +5 -0
- package/assets/icons/24px/logo-social-media-instagram-circle.svg +10 -0
- package/assets/icons/24px/logo-social-media-instagram.svg +17 -0
- package/assets/icons/24px/logo-social-media-old-instagram.svg +25 -0
- package/assets/icons/24px/logo-social-media-tiktok-circle.svg +8 -0
- package/assets/icons/24px/logo-social-media-tiktok.svg +18 -0
- package/assets/icons/24px/logo-social-media-twitter-circle.svg +8 -0
- package/assets/icons/24px/logo-social-media-youtube-circle.svg +5 -0
- package/assets/icons/24px/logo-social-media-youtube.svg +19 -0
- package/assets/icons/24px/logo-soundcloud-1.svg +23 -0
- package/assets/icons/24px/logo-soundcloud-2.svg +12 -0
- package/assets/icons/24px/logo-spotify.svg +5 -0
- package/assets/icons/24px/logo-twitch-1.svg +8 -0
- package/assets/icons/24px/logo-twitch-2.svg +37 -0
- package/assets/icons/24px/logo-twitter.svg +31 -0
- package/assets/icons/24px/logo-whatapp.svg +28 -0
- package/assets/icons/24px/map-navigation-compass-direction.svg +31 -0
- package/assets/icons/24px/map-navigation-location-focus.svg +23 -0
- package/assets/icons/24px/map-navigation-pin-location-1.svg +31 -0
- package/assets/icons/24px/map-navigation-pin-location-2.svg +35 -0
- package/assets/icons/24px/map-navigation-pin-location-trip.svg +41 -0
- package/assets/icons/24px/mobile-phone.svg +22 -0
- package/assets/icons/24px/money-payments-accounting-bill-money-1.svg +35 -0
- package/assets/icons/24px/money-payments-accounting-bill-money-2.svg +39 -0
- package/assets/icons/24px/money-payments-accounting-calculator.svg +25 -0
- package/assets/icons/24px/money-payments-bank.svg +24 -0
- package/assets/icons/24px/money-payments-calculator-app.svg +17 -0
- package/assets/icons/24px/money-payments-cash-payment-coin.svg +36 -0
- package/assets/icons/24px/money-payments-credit-card-mastercard.svg +26 -0
- package/assets/icons/24px/money-payments-credit-card-visa.svg +22 -0
- package/assets/icons/24px/money-payments-currency-euro-dollar-exchange.svg +44 -0
- package/assets/icons/24px/money-payments-diamond.svg +56 -0
- package/assets/icons/24px/money-payments-saving-treasure.svg +18 -0
- package/assets/icons/24px/money-payments-self-payment.svg +23 -0
- package/assets/icons/24px/money-payments-smartphone-pay-dollar.svg +24 -0
- package/assets/icons/24px/multiple-user.svg +25 -0
- package/assets/icons/24px/music-album-cd-disk-playlist.svg +22 -0
- package/assets/icons/24px/music-clef-sheet.svg +28 -0
- package/assets/icons/24px/music-disk-cd-1.svg +39 -0
- package/assets/icons/24px/music-disk-cd-2.svg +47 -0
- package/assets/icons/24px/music-headphones-human.svg +30 -0
- package/assets/icons/24px/music-microphone-1.svg +17 -0
- package/assets/icons/24px/music-microphone-2.svg +26 -0
- package/assets/icons/24px/music-microphone-off.svg +28 -0
- package/assets/icons/24px/music-notes-music-1.svg +14 -0
- package/assets/icons/24px/music-notes-music-2.svg +47 -0
- package/assets/icons/24px/music-radio-stereo.svg +38 -0
- package/assets/icons/24px/music-speaker.svg +27 -0
- package/assets/icons/24px/music-vinyl-record.svg +8 -0
- package/assets/icons/24px/music-walkman-cassette.svg +30 -0
- package/assets/icons/24px/non-gmo-fertilizer.svg +41 -0
- package/assets/icons/24px/notification-email.svg +16 -0
- package/assets/icons/24px/pet-animals-bear.svg +33 -0
- package/assets/icons/24px/pet-animals-buffalo.svg +41 -0
- package/assets/icons/24px/pet-animals-cat.svg +39 -0
- package/assets/icons/24px/pet-animals-dog.svg +41 -0
- package/assets/icons/24px/pet-animals-frog-face.svg +36 -0
- package/assets/icons/24px/pet-animals-frog.svg +45 -0
- package/assets/icons/24px/pet-animals-gorilla.svg +30 -0
- package/assets/icons/24px/pet-animals-ox.svg +39 -0
- package/assets/icons/24px/pet-animals-pig.svg +33 -0
- package/assets/icons/24px/pet-animals-rabbit-1.svg +37 -0
- package/assets/icons/24px/pet-animals-rabbit-2.svg +33 -0
- package/assets/icons/24px/pet-animals-turtle.svg +36 -0
- package/assets/icons/24px/phone-actions-remove-1.svg +13 -0
- package/assets/icons/24px/phone-actions-remove-2.svg +14 -0
- package/assets/icons/24px/phone-incoming-call.svg +26 -0
- package/assets/icons/24px/phone-off-1.svg +35 -0
- package/assets/icons/24px/phone-off-2.svg +24 -0
- package/assets/icons/24px/phone-scan-qr-code-1.svg +18 -0
- package/assets/icons/24px/phone-scan-qr-code-2.svg +31 -0
- package/assets/icons/24px/phone-signal-full.svg +14 -0
- package/assets/icons/24px/phone-vibrate.svg +44 -0
- package/assets/icons/24px/photography-camera-1.svg +27 -0
- package/assets/icons/24px/photography-equipment-film-print.svg +23 -0
- package/assets/icons/24px/photography-file-picture.svg +18 -0
- package/assets/icons/24px/photography-focus-flower.svg +24 -0
- package/assets/icons/24px/photography-frame-picture.svg +32 -0
- package/assets/icons/24px/photography-light-mode-flash-on.svg +31 -0
- package/assets/icons/24px/photography-photo-image.svg +26 -0
- package/assets/icons/24px/photography-picture-polaroid.svg +25 -0
- package/assets/icons/24px/photography-retouch-wand-star.svg +48 -0
- package/assets/icons/24px/photography-retouch-wand.svg +47 -0
- package/assets/icons/24px/photography-taking-pictures-circle-alternate.svg +40 -0
- package/assets/icons/24px/real-estate-building-1.svg +11 -0
- package/assets/icons/24px/real-estate-building-2.svg +13 -0
- package/assets/icons/24px/real-estate-building-3.svg +28 -0
- package/assets/icons/24px/real-estate-building-4.svg +23 -0
- package/assets/icons/24px/real-estate-building-ad.svg +17 -0
- package/assets/icons/24px/real-estate-building-factory.svg +17 -0
- package/assets/icons/24px/real-estate-building-house.svg +15 -0
- package/assets/icons/24px/real-estate-sign-building.svg +22 -0
- package/assets/icons/24px/romance-heart-lock.svg +34 -0
- package/assets/icons/24px/romance-love-letter-open.svg +31 -0
- package/assets/icons/24px/school-science-bag.svg +23 -0
- package/assets/icons/24px/school-science-dna.svg +21 -0
- package/assets/icons/24px/school-science-graduation-cap.svg +33 -0
- package/assets/icons/24px/school-science-test-flask.svg +28 -0
- package/assets/icons/24px/search-coding.svg +36 -0
- package/assets/icons/24px/search-user.svg +30 -0
- package/assets/icons/24px/send-email.svg +24 -0
- package/assets/icons/24px/shopping-shipping-bag-1.svg +9 -0
- package/assets/icons/24px/shopping-shipping-bag-2.svg +22 -0
- package/assets/icons/24px/shopping-shipping-barcode.svg +21 -0
- package/assets/icons/24px/shopping-shipping-basket.svg +14 -0
- package/assets/icons/24px/shopping-shipping-box.svg +11 -0
- package/assets/icons/24px/shopping-shipping-cart.svg +25 -0
- package/assets/icons/24px/shopping-shipping-crack-1.svg +17 -0
- package/assets/icons/24px/shopping-shipping-crack-2.svg +18 -0
- package/assets/icons/24px/shopping-shipping-delivery-person-motorcycle.svg +31 -0
- package/assets/icons/24px/shopping-shipping-delivery-truck.svg +24 -0
- package/assets/icons/24px/shopping-shipping-discount-coupon.svg +17 -0
- package/assets/icons/24px/shopping-shipping-loading-box.svg +16 -0
- package/assets/icons/24px/shopping-shipping-products-gift.svg +28 -0
- package/assets/icons/24px/shopping-shipping-receipt-slip.svg +51 -0
- package/assets/icons/24px/shopping-shipping-shipment-deliver.svg +28 -0
- package/assets/icons/24px/shopping-shipping-shop.svg +17 -0
- package/assets/icons/24px/shopping-shipping-upload-information.svg +17 -0
- package/assets/icons/24px/shopping-shipping-warehouse-truck-delivery.svg +26 -0
- package/assets/icons/24px/shopping-shipping-weight-kg.svg +19 -0
- package/assets/icons/24px/single-user-shield.svg +33 -0
- package/assets/icons/24px/social-rewards-certified-diploma.svg +33 -0
- package/assets/icons/24px/social-rewards-certified-ribbon.svg +21 -0
- package/assets/icons/24px/social-rewards-flag.svg +11 -0
- package/assets/icons/24px/social-rewards-heart-like-circle.svg +31 -0
- package/assets/icons/24px/social-rewards-like-bubble.svg +37 -0
- package/assets/icons/24px/social-rewards-like-circle.svg +43 -0
- package/assets/icons/24px/social-rewards-rating-star-1.svg +47 -0
- package/assets/icons/24px/social-rewards-rating-star-2.svg +16 -0
- package/assets/icons/24px/social-rewards-reward-gift.svg +20 -0
- package/assets/icons/24px/social-rewards-trends-hot-flame.svg +31 -0
- package/assets/icons/24px/social-rewards-vip-crown-king.svg +30 -0
- package/assets/icons/24px/technology-drone-camera.svg +22 -0
- package/assets/icons/24px/technology-drone-signal.svg +28 -0
- package/assets/icons/24px/technology-robot-ai-signal-1.svg +38 -0
- package/assets/icons/24px/technology-robot-ai-signal-2.svg +35 -0
- package/assets/icons/24px/technology-robot-ai.svg +27 -0
- package/assets/icons/24px/transportation-bicycle.svg +23 -0
- package/assets/icons/24px/transportation-helicopter.svg +20 -0
- package/assets/icons/24px/transportation-motorcycle.svg +28 -0
- package/assets/icons/24px/transportation-plane.svg +29 -0
- package/assets/icons/24px/transportation-train.svg +23 -0
- package/assets/icons/24px/transportation-truck.svg +18 -0
- package/assets/icons/24px/transportation-vintage-train.svg +33 -0
- package/assets/icons/24px/travel-wayfinding-balloon.svg +22 -0
- package/assets/icons/24px/travel-wayfinding-beach-coconut-tree.svg +50 -0
- package/assets/icons/24px/travel-wayfinding-beach-umbrella.svg +38 -0
- package/assets/icons/24px/travel-wayfinding-pool-ladder.svg +19 -0
- package/assets/icons/24px/ui-design-website.svg +21 -0
- package/assets/icons/24px/user-gender-female-male.svg +31 -0
- package/assets/icons/24px/user-gender-female.svg +22 -0
- package/assets/icons/24px/user-gender-gay.svg +33 -0
- package/assets/icons/24px/user-gender-lesbian.svg +34 -0
- package/assets/icons/24px/user-gender-male.svg +27 -0
- package/assets/icons/24px/user-man-love.svg +19 -0
- package/assets/icons/24px/user-single-aim.svg +35 -0
- package/assets/icons/24px/user-sleep.svg +31 -0
- package/assets/icons/24px/user-woman-increasing-arrow.svg +26 -0
- package/assets/icons/24px/video-movies-play.svg +37 -0
- package/assets/icons/24px/video-movies-player.svg +15 -0
- package/assets/icons/24px/video-movies-set-equipment.svg +11 -0
- package/assets/icons/24px/video-movies-square-off.svg +22 -0
- package/assets/icons/24px/video-movies-video-square.svg +24 -0
- package/assets/icons/24px/video-movies-vintage-tv-1.svg +23 -0
- package/assets/icons/24px/video-movies-vintage-tv-2.svg +19 -0
- package/assets/icons/24px/video-movies-vintage-tv-3.svg +21 -0
- package/assets/icons/24px/vintage-phone.svg +37 -0
- package/assets/icons/24px/weather-cloud-sun-fine.svg +28 -0
- package/assets/icons/24px/weather-cresent-moon-stars.svg +31 -0
- package/assets/icons/24px/weather-meteor.svg +50 -0
- package/assets/icons/24px/weather-moon.svg +36 -0
- package/assets/icons/24px/weather-rainbow.svg +20 -0
- package/assets/icons/24px/weather-snowman.svg +31 -0
- package/assets/icons/24px/weather-temperature-thermometer.svg +11 -0
- package/assets/icons/24px/weather-umbrella-snowing.svg +28 -0
- package/assets/icons/24px/weather-umbrella.svg +40 -0
- package/assets/icons/24px/weather-wind-flag.svg +32 -0
- package/assets/scrollbar-background-dark.svg +12 -0
- package/base.css +813 -19
- package/components/core/.gitkeep +0 -0
- package/components/core/Alert/Alert.meta.ts +99 -0
- package/components/core/Alert/Alert.schema.json +21 -30
- package/components/core/Alert/Alert.tsx +154 -0
- package/components/core/AlertDialog/AlertDialog.meta.ts +47 -0
- package/components/core/AlertDialog/AlertDialog.schema.json +33 -0
- package/components/core/AlertDialog/AlertDialog.test.tsx +72 -0
- package/components/core/AlertDialog/AlertDialog.tsx +273 -0
- package/components/core/Avatar/Avatar.meta.ts +79 -0
- package/components/core/Avatar/Avatar.schema.json +55 -0
- package/components/core/Avatar/Avatar.tsx +86 -0
- package/components/core/Badge/Badge.meta.ts +52 -0
- package/components/core/Badge/Badge.schema.json +11 -2
- package/components/core/Badge/Badge.tsx +69 -0
- package/components/core/Breadcrumbs/Breadcrumbs.meta.ts +70 -0
- package/components/core/Breadcrumbs/Breadcrumbs.schema.json +8 -9
- package/components/core/Breadcrumbs/Breadcrumbs.tsx +88 -0
- package/components/core/Button/Button.meta.ts +168 -0
- package/components/core/Button/Button.schema.json +84 -29
- package/components/core/Button/Button.test.tsx +38 -0
- package/components/core/Button/Button.tsx +291 -0
- package/components/core/Card/Card.meta.ts +87 -0
- package/components/core/Card/Card.schema.json +39 -13
- package/components/core/Card/Card.tsx +126 -0
- package/components/core/Checkbox/Checkbox.meta.ts +54 -0
- package/components/core/Checkbox/Checkbox.schema.json +4 -9
- package/components/core/Checkbox/Checkbox.test.tsx +132 -0
- package/components/core/Checkbox/Checkbox.tsx +315 -0
- package/components/core/Checkbox/Radio.meta.ts +51 -0
- package/components/core/Checkbox/Radio.schema.json +38 -0
- package/components/core/Collapsible/Collapsible.meta.ts +65 -0
- package/components/core/Collapsible/Collapsible.schema.json +42 -0
- package/components/core/Collapsible/Collapsible.tsx +140 -0
- package/components/core/Combobox/Combobox.meta.ts +74 -0
- package/components/core/Combobox/Combobox.schema.json +45 -0
- package/components/core/Combobox/Combobox.test.tsx +56 -0
- package/components/core/Combobox/Combobox.tsx +326 -0
- package/components/core/ContextMenu/ContextMenu.meta.ts +34 -0
- package/components/core/ContextMenu/ContextMenu.schema.json +9 -13
- package/components/core/ContextMenu/ContextMenu.test.tsx +114 -0
- package/components/core/ContextMenu/ContextMenu.tsx +163 -0
- package/components/core/CountdownTimer/CountdownTimer.meta.ts +73 -0
- package/components/core/CountdownTimer/CountdownTimer.schema.json +18 -31
- package/components/core/CountdownTimer/CountdownTimer.tsx +299 -0
- package/components/core/DialPanel/DialPanel.tsx +93 -0
- package/components/core/DialPanel/dialkit-rdna.css +322 -0
- package/components/core/Dialog/Dialog.meta.ts +49 -0
- package/components/core/Dialog/Dialog.schema.json +17 -23
- package/components/core/Dialog/Dialog.test.tsx +153 -0
- package/components/core/Dialog/Dialog.tsx +271 -0
- package/components/core/Drawer/Drawer.meta.ts +55 -0
- package/components/core/Drawer/Drawer.schema.json +44 -0
- package/components/core/Drawer/Drawer.test.tsx +67 -0
- package/components/core/Drawer/Drawer.tsx +316 -0
- package/components/core/DropdownMenu/DropdownMenu.meta.ts +51 -0
- package/components/core/DropdownMenu/DropdownMenu.schema.json +8 -27
- package/components/core/DropdownMenu/DropdownMenu.test.tsx +167 -0
- package/components/core/DropdownMenu/DropdownMenu.tsx +331 -0
- package/components/core/Icon/Icon.meta.ts +67 -0
- package/components/core/Icon/Icon.schema.json +47 -0
- package/components/core/Icon/Icon.tsx +10 -0
- package/components/core/Input/Input.meta.ts +106 -0
- package/components/core/Input/Input.schema.json +48 -5
- package/components/core/Input/Input.test.tsx +133 -0
- package/components/core/Input/Input.tsx +365 -0
- package/components/core/Input/TextArea.meta.ts +72 -0
- package/components/core/Input/TextArea.schema.json +40 -0
- package/components/core/InputSet/InputSet.meta.ts +39 -0
- package/components/core/InputSet/InputSet.schema.json +30 -0
- package/components/core/InputSet/InputSet.test.tsx +43 -0
- package/components/core/InputSet/InputSet.tsx +64 -0
- package/components/core/Menubar/Menubar.meta.ts +45 -0
- package/components/core/Menubar/Menubar.schema.json +32 -0
- package/components/core/Menubar/Menubar.tsx +223 -0
- package/components/core/Meter/Meter.meta.ts +79 -0
- package/components/core/Meter/Meter.schema.json +48 -0
- package/components/core/Meter/Meter.tsx +134 -0
- package/components/core/NavigationMenu/NavigationMenu.meta.ts +54 -0
- package/components/core/NavigationMenu/NavigationMenu.schema.json +39 -0
- package/components/core/NavigationMenu/NavigationMenu.tsx +253 -0
- package/components/core/NumberField/NumberField.meta.ts +75 -0
- package/components/core/NumberField/NumberField.schema.json +72 -0
- package/components/core/NumberField/NumberField.test.tsx +42 -0
- package/components/core/NumberField/NumberField.tsx +224 -0
- package/components/core/Pattern/Pattern.meta.ts +77 -0
- package/components/core/Pattern/Pattern.schema.json +105 -0
- package/components/core/Pattern/Pattern.tsx +65 -0
- package/components/core/Popover/Popover.meta.ts +44 -0
- package/components/core/Popover/Popover.schema.json +13 -28
- package/components/core/Popover/Popover.test.tsx +122 -0
- package/components/core/Popover/Popover.tsx +141 -0
- package/components/core/PreviewCard/PreviewCard.meta.ts +38 -0
- package/components/core/PreviewCard/PreviewCard.schema.json +27 -0
- package/components/core/PreviewCard/PreviewCard.test.tsx +30 -0
- package/components/core/PreviewCard/PreviewCard.tsx +120 -0
- package/components/core/ScrollArea/ScrollArea.meta.ts +46 -0
- package/components/core/ScrollArea/ScrollArea.schema.json +32 -0
- package/components/core/ScrollArea/ScrollArea.test.tsx +23 -0
- package/components/core/ScrollArea/ScrollArea.tsx +129 -0
- package/components/core/Select/Select.meta.ts +68 -0
- package/components/core/Select/Select.schema.json +8 -14
- package/components/core/Select/Select.test.tsx +195 -0
- package/components/core/Select/Select.tsx +258 -0
- package/components/core/Separator/Separator.meta.ts +76 -0
- package/components/core/Separator/Separator.schema.json +48 -0
- package/components/core/Separator/Separator.tsx +89 -0
- package/components/core/Sheet/Sheet.meta.ts +55 -0
- package/components/core/Sheet/Sheet.schema.json +25 -34
- package/components/core/Sheet/Sheet.test.tsx +108 -0
- package/components/core/Sheet/Sheet.tsx +270 -0
- package/components/core/Slider/Slider.meta.ts +62 -0
- package/components/core/Slider/Slider.schema.json +5 -10
- package/components/core/Slider/Slider.test.tsx +94 -0
- package/components/core/Slider/Slider.tsx +148 -0
- package/components/core/Spinner/Spinner.meta.ts +61 -0
- package/components/core/Spinner/Spinner.schema.json +44 -0
- package/components/core/Spinner/Spinner.tsx +138 -0
- package/components/core/Switch/Switch.meta.ts +67 -0
- package/components/core/Switch/Switch.schema.json +9 -15
- package/components/core/Switch/Switch.test.tsx +98 -0
- package/components/core/Switch/Switch.tsx +148 -0
- package/components/core/Tabs/Tabs.meta.ts +54 -0
- package/components/core/Tabs/Tabs.schema.json +29 -39
- package/components/core/Tabs/Tabs.test.tsx +181 -0
- package/components/core/Tabs/Tabs.tsx +474 -0
- package/components/core/Toast/Toast.meta.ts +56 -0
- package/components/core/Toast/Toast.schema.json +16 -30
- package/components/core/Toast/Toast.test.tsx +90 -0
- package/components/core/Toast/Toast.tsx +272 -0
- package/components/core/Toggle/Toggle.meta.ts +104 -0
- package/components/core/Toggle/Toggle.schema.json +94 -0
- package/components/core/Toggle/Toggle.test.tsx +64 -0
- package/components/core/Toggle/Toggle.tsx +174 -0
- package/components/core/ToggleGroup/ToggleGroup.meta.ts +105 -0
- package/components/core/ToggleGroup/ToggleGroup.schema.json +81 -0
- package/components/core/ToggleGroup/ToggleGroup.tsx +235 -0
- package/components/core/Toolbar/Toolbar.meta.ts +49 -0
- package/components/core/Toolbar/Toolbar.schema.json +34 -0
- package/components/core/Toolbar/Toolbar.tsx +251 -0
- package/components/core/Tooltip/Tooltip.meta.ts +91 -0
- package/components/core/Tooltip/Tooltip.schema.json +28 -16
- package/components/core/Tooltip/Tooltip.test.tsx +75 -0
- package/components/core/Tooltip/Tooltip.tsx +112 -0
- package/components/core/__tests__/base-ui-wrapper-policy.test.tsx +67 -0
- package/components/core/__tests__/createCompoundContext.test.tsx +37 -0
- package/components/core/__tests__/icons-package.test.tsx +43 -0
- package/components/core/__tests__/smoke.test.tsx +72 -0
- package/components/core/__tests__/style-authority-audit.test.tsx +187 -0
- package/components/core/index.ts +43 -0
- package/components/shared/createCompoundContext.ts +30 -0
- package/contract/system.ts +145 -0
- package/dark.css +1227 -73
- package/eslint/__tests__/contract-surface.test.mjs +76 -0
- package/eslint/__tests__/no-broad-rdna-disables.test.mjs +89 -0
- package/eslint/__tests__/no-clipped-shadow.test.mjs +64 -0
- package/eslint/__tests__/no-hardcoded-colors.test.mjs +316 -0
- package/eslint/__tests__/no-hardcoded-motion-contract.test.mjs +20 -0
- package/eslint/__tests__/no-hardcoded-motion.test.mjs +166 -0
- package/eslint/__tests__/no-hardcoded-spacing.test.mjs +144 -0
- package/eslint/__tests__/no-hardcoded-typography.test.mjs +162 -0
- package/eslint/__tests__/no-legacy-color-format.test.mjs +121 -0
- package/eslint/__tests__/no-mixed-style-authority.test.mjs +261 -0
- package/eslint/__tests__/no-pixel-border.test.mjs +40 -0
- package/eslint/__tests__/no-raw-radius.test.mjs +120 -0
- package/eslint/__tests__/no-raw-shadow.test.mjs +142 -0
- package/eslint/__tests__/no-removed-aliases.test.mjs +63 -0
- package/eslint/__tests__/no-viewport-breakpoints-in-window-layout.test.mjs +97 -0
- package/eslint/__tests__/pixel-corner-contract.test.mjs +20 -0
- package/eslint/__tests__/plugin-configs.test.mjs +82 -0
- package/eslint/__tests__/prefer-rdna-components.test.mjs +139 -0
- package/eslint/__tests__/rdna-disable-comment-utils.test.mjs +143 -0
- package/eslint/__tests__/report-new-rdna-exceptions.test.mjs +28 -0
- package/eslint/__tests__/require-exception-metadata.test.mjs +228 -0
- package/eslint/__tests__/root-eslint-config.test.mjs +13 -0
- package/eslint/__tests__/rule-import-sources.test.mjs +28 -0
- package/eslint/__tests__/shadow-typography-contract.test.mjs +20 -0
- package/eslint/__tests__/token-map-removal.test.mjs +37 -0
- package/eslint/contract.mjs +83 -0
- package/eslint/index.mjs +103 -0
- package/eslint/lib/no-legacy-color-format.mjs +52 -0
- package/eslint/rdna-disable-comment-utils.mjs +271 -0
- package/eslint/rules/no-broad-rdna-disables.mjs +44 -0
- package/eslint/rules/no-clipped-shadow.mjs +213 -0
- package/eslint/rules/no-hardcoded-colors.mjs +594 -0
- package/eslint/rules/no-hardcoded-motion.mjs +133 -0
- package/eslint/rules/no-hardcoded-spacing.mjs +116 -0
- package/eslint/rules/no-hardcoded-typography.mjs +124 -0
- package/eslint/rules/no-mixed-style-authority.mjs +304 -0
- package/eslint/rules/no-pixel-border.mjs +160 -0
- package/eslint/rules/no-raw-radius.mjs +106 -0
- package/eslint/rules/no-raw-shadow.mjs +142 -0
- package/eslint/rules/no-removed-aliases.mjs +61 -0
- package/eslint/rules/no-viewport-breakpoints-in-window-layout.mjs +62 -0
- package/eslint/rules/prefer-rdna-components.mjs +146 -0
- package/eslint/rules/require-exception-metadata.mjs +91 -0
- package/eslint/utils.mjs +257 -0
- package/fonts.css +9 -19
- package/generated/ai-contract.json +478 -0
- package/generated/contract.freshness.json +50 -0
- package/generated/eslint-contract.json +343 -0
- package/generated/figma/contracts/alert-dialog.contract.json +61 -0
- package/generated/figma/contracts/alert.contract.json +147 -0
- package/generated/figma/contracts/avatar.contract.json +108 -0
- package/generated/figma/contracts/badge.contract.json +140 -0
- package/generated/figma/contracts/breadcrumbs.contract.json +100 -0
- package/generated/figma/contracts/button.contract.json +212 -0
- package/generated/figma/contracts/card.contract.json +126 -0
- package/generated/figma/contracts/checkbox.contract.json +130 -0
- package/generated/figma/contracts/collapsible.contract.json +79 -0
- package/generated/figma/contracts/combobox.contract.json +128 -0
- package/generated/figma/contracts/context-menu.contract.json +52 -0
- package/generated/figma/contracts/countdown-timer.contract.json +86 -0
- package/generated/figma/contracts/dialog.contract.json +66 -0
- package/generated/figma/contracts/drawer.contract.json +75 -0
- package/generated/figma/contracts/dropdown-menu.contract.json +63 -0
- package/generated/figma/contracts/icon.contract.json +85 -0
- package/generated/figma/contracts/input-set.contract.json +71 -0
- package/generated/figma/contracts/input.contract.json +157 -0
- package/generated/figma/contracts/menubar.contract.json +60 -0
- package/generated/figma/contracts/meter.contract.json +90 -0
- package/generated/figma/contracts/navigation-menu.contract.json +67 -0
- package/generated/figma/contracts/number-field.contract.json +139 -0
- package/generated/figma/contracts/pattern.contract.json +136 -0
- package/generated/figma/contracts/popover.contract.json +60 -0
- package/generated/figma/contracts/preview-card.contract.json +55 -0
- package/generated/figma/contracts/radio.contract.json +113 -0
- package/generated/figma/contracts/scroll-area.contract.json +59 -0
- package/generated/figma/contracts/select.contract.json +153 -0
- package/generated/figma/contracts/separator.contract.json +122 -0
- package/generated/figma/contracts/sheet.contract.json +73 -0
- package/generated/figma/contracts/slider.contract.json +143 -0
- package/generated/figma/contracts/spinner.contract.json +84 -0
- package/generated/figma/contracts/switch.contract.json +128 -0
- package/generated/figma/contracts/tabs.contract.json +78 -0
- package/generated/figma/contracts/text-area.contract.json +110 -0
- package/generated/figma/contracts/toast.contract.json +70 -0
- package/generated/figma/contracts/toggle-group.contract.json +108 -0
- package/generated/figma/contracts/toggle.contract.json +154 -0
- package/generated/figma/contracts/toolbar.contract.json +61 -0
- package/generated/figma/contracts/tooltip.contract.json +121 -0
- package/generated/figma/primitive/color.tokens.json +122 -0
- package/generated/figma/primitive/motion.tokens.json +49 -0
- package/generated/figma/primitive/shape.tokens.json +175 -0
- package/generated/figma/primitive/space.tokens.json +4 -0
- package/generated/figma/primitive/typography.tokens.json +33 -0
- package/generated/figma/rdna.tokens.json +1046 -0
- package/generated/figma/semantic/semantic.tokens.json +659 -0
- package/generated/figma/tokens.d.ts +6 -0
- package/generated/figma/validation-report.json +17 -0
- package/icons/DesktopIcons.tsx +126 -0
- package/icons/Icon.tsx +199 -0
- package/icons/generated/16/USDC.tsx +5 -0
- package/icons/generated/16/broadcast-dish.tsx +5 -0
- package/icons/generated/16/broken-battery.tsx +5 -0
- package/icons/generated/16/calendar.tsx +5 -0
- package/icons/generated/16/calendar2.tsx +5 -0
- package/icons/generated/16/camera.tsx +5 -0
- package/icons/generated/16/cd-horizontal.tsx +5 -0
- package/icons/generated/16/cd.tsx +5 -0
- package/icons/generated/16/cell-bars.tsx +5 -0
- package/icons/generated/16/checkmark.tsx +5 -0
- package/icons/generated/16/chevron-down.tsx +5 -0
- package/icons/generated/16/chevron-left.tsx +5 -0
- package/icons/generated/16/chevron-right.tsx +5 -0
- package/icons/generated/16/clock.tsx +5 -0
- package/icons/generated/16/close-filled.tsx +5 -0
- package/icons/generated/16/close.tsx +5 -0
- package/icons/generated/16/code-file.tsx +5 -0
- package/icons/generated/16/code-folder.tsx +5 -0
- package/icons/generated/16/code-window-filled.tsx +5 -0
- package/icons/generated/16/code-window.tsx +5 -0
- package/icons/generated/16/coins.tsx +5 -0
- package/icons/generated/16/comments-blank.tsx +5 -0
- package/icons/generated/16/comments-typing.tsx +5 -0
- package/icons/generated/16/computer.tsx +5 -0
- package/icons/generated/16/copied-to-clipboard.tsx +5 -0
- package/icons/generated/16/copy-to-clipboard.tsx +5 -0
- package/icons/generated/16/copy.tsx +5 -0
- package/icons/generated/16/crosshair-3.tsx +5 -0
- package/icons/generated/16/crosshair1.tsx +5 -0
- package/icons/generated/16/crosshair2-retro.tsx +5 -0
- package/icons/generated/16/crosshair2.tsx +5 -0
- package/icons/generated/16/crosshair4.tsx +5 -0
- package/icons/generated/16/cursor-text.tsx +5 -0
- package/icons/generated/16/cursor2.tsx +5 -0
- package/icons/generated/16/cut.tsx +5 -0
- package/icons/generated/16/discord.tsx +5 -0
- package/icons/generated/16/document-image.tsx +5 -0
- package/icons/generated/16/document.tsx +5 -0
- package/icons/generated/16/document2.tsx +5 -0
- package/icons/generated/16/download.tsx +5 -0
- package/icons/generated/16/eject.tsx +5 -0
- package/icons/generated/16/electric.tsx +5 -0
- package/icons/generated/16/envelope-closed.tsx +5 -0
- package/icons/generated/16/envelope-open.tsx +5 -0
- package/icons/generated/16/equalizer.tsx +5 -0
- package/icons/generated/16/eye-hidden.tsx +5 -0
- package/icons/generated/16/eye.tsx +5 -0
- package/icons/generated/16/film-camera.tsx +5 -0
- package/icons/generated/16/film-strip-outline.tsx +5 -0
- package/icons/generated/16/film-strip.tsx +5 -0
- package/icons/generated/16/fire.tsx +5 -0
- package/icons/generated/16/folder-closed.tsx +5 -0
- package/icons/generated/16/folder-open.tsx +5 -0
- package/icons/generated/16/full-screen.tsx +5 -0
- package/icons/generated/16/game-controller.tsx +5 -0
- package/icons/generated/16/globe.tsx +5 -0
- package/icons/generated/16/go-forward.tsx +5 -0
- package/icons/generated/16/grid-3x3.tsx +5 -0
- package/icons/generated/16/grip-horizontal.tsx +5 -0
- package/icons/generated/16/grip-vertical.tsx +5 -0
- package/icons/generated/16/hamburger.tsx +5 -0
- package/icons/generated/16/hand-point.tsx +5 -0
- package/icons/generated/16/hard-drive.tsx +5 -0
- package/icons/generated/16/headphones.tsx +5 -0
- package/icons/generated/16/heart.tsx +5 -0
- package/icons/generated/16/home.tsx +5 -0
- package/icons/generated/16/home2.tsx +5 -0
- package/icons/generated/16/hourglass.tsx +5 -0
- package/icons/generated/16/info-filled.tsx +5 -0
- package/icons/generated/16/info.tsx +5 -0
- package/icons/generated/16/joystick.tsx +5 -0
- package/icons/generated/16/lightbulb.tsx +5 -0
- package/icons/generated/16/lightbulb2.tsx +5 -0
- package/icons/generated/16/line-chart.tsx +5 -0
- package/icons/generated/16/list.tsx +5 -0
- package/icons/generated/16/lock-closed.tsx +5 -0
- package/icons/generated/16/lock-open.tsx +5 -0
- package/icons/generated/16/microphone-mute.tsx +5 -0
- package/icons/generated/16/microphone.tsx +5 -0
- package/icons/generated/16/minus.tsx +5 -0
- package/icons/generated/16/money.tsx +5 -0
- package/icons/generated/16/moon.tsx +5 -0
- package/icons/generated/16/more-horizontal.tsx +5 -0
- package/icons/generated/16/more-vertical.tsx +5 -0
- package/icons/generated/16/multiple-images.tsx +5 -0
- package/icons/generated/16/music-8th-notes.tsx +5 -0
- package/icons/generated/16/outline-box.tsx +5 -0
- package/icons/generated/16/paper-plane.tsx +5 -0
- package/icons/generated/16/pause.tsx +5 -0
- package/icons/generated/16/pencil.tsx +5 -0
- package/icons/generated/16/picture-in-picture.tsx +5 -0
- package/icons/generated/16/pie-chart.tsx +5 -0
- package/icons/generated/16/play.tsx +5 -0
- package/icons/generated/16/plug.tsx +5 -0
- package/icons/generated/16/plus.tsx +5 -0
- package/icons/generated/16/power1.tsx +5 -0
- package/icons/generated/16/power2.tsx +5 -0
- package/icons/generated/16/print.tsx +5 -0
- package/icons/generated/16/question-filled.tsx +5 -0
- package/icons/generated/16/question.tsx +5 -0
- package/icons/generated/16/queue.tsx +5 -0
- package/icons/generated/16/rad-mark.tsx +5 -0
- package/icons/generated/16/radiants-logo.tsx +5 -0
- package/icons/generated/16/record-playback.tsx +5 -0
- package/icons/generated/16/record-player.tsx +5 -0
- package/icons/generated/16/refresh-filled.tsx +5 -0
- package/icons/generated/16/refresh1.tsx +5 -0
- package/icons/generated/16/reload.tsx +5 -0
- package/icons/generated/16/resize-corner.tsx +5 -0
- package/icons/generated/16/save-2.tsx +5 -0
- package/icons/generated/16/save.tsx +5 -0
- package/icons/generated/16/search.tsx +5 -0
- package/icons/generated/16/seek-back.tsx +5 -0
- package/icons/generated/16/seek-forward.tsx +5 -0
- package/icons/generated/16/settings-cog.tsx +5 -0
- package/icons/generated/16/share.tsx +5 -0
- package/icons/generated/16/skip-back.tsx +5 -0
- package/icons/generated/16/skip-forward.tsx +5 -0
- package/icons/generated/16/skull-and-crossbones.tsx +5 -0
- package/icons/generated/16/sort-descending.tsx +5 -0
- package/icons/generated/16/sort-filter-empty.tsx +5 -0
- package/icons/generated/16/sort-filter-filled.tsx +5 -0
- package/icons/generated/16/sparkles.tsx +5 -0
- package/icons/generated/16/stop-playback.tsx +5 -0
- package/icons/generated/16/swap.tsx +5 -0
- package/icons/generated/16/tape.tsx +5 -0
- package/icons/generated/16/telephone.tsx +5 -0
- package/icons/generated/16/trash-full.tsx +5 -0
- package/icons/generated/16/trash-open.tsx +5 -0
- package/icons/generated/16/trash.tsx +5 -0
- package/icons/generated/16/trophy.tsx +5 -0
- package/icons/generated/16/trophy2.tsx +5 -0
- package/icons/generated/16/tv.tsx +5 -0
- package/icons/generated/16/twitter.tsx +5 -0
- package/icons/generated/16/upload.tsx +5 -0
- package/icons/generated/16/usb-icon.tsx +5 -0
- package/icons/generated/16/usb.tsx +5 -0
- package/icons/generated/16/usericon.tsx +5 -0
- package/icons/generated/16/volume-faders.tsx +5 -0
- package/icons/generated/16/volume-high.tsx +5 -0
- package/icons/generated/16/volume-low.tsx +5 -0
- package/icons/generated/16/volume-med.tsx +5 -0
- package/icons/generated/16/volume-mute.tsx +5 -0
- package/icons/generated/16/warning-filled-outline.tsx +5 -0
- package/icons/generated/16/warning-filled.tsx +5 -0
- package/icons/generated/16/warning-hollow.tsx +5 -0
- package/icons/generated/16/wifi.tsx +5 -0
- package/icons/generated/16/window-error.tsx +5 -0
- package/icons/generated/16/windows.tsx +5 -0
- package/icons/generated/16/wrench.tsx +5 -0
- package/icons/generated/16/zip-file.tsx +5 -0
- package/icons/generated/16/zip-file2.tsx +5 -0
- package/icons/generated/24/Business-Products-treasure.tsx +5 -0
- package/icons/generated/24/beauty-barber-light-sign.tsx +5 -0
- package/icons/generated/24/beauty-beard-style.tsx +5 -0
- package/icons/generated/24/beauty-body-care-snail.tsx +5 -0
- package/icons/generated/24/beauty-body-care-sun-screen.tsx +5 -0
- package/icons/generated/24/beauty-cosmatic-brush-set.tsx +5 -0
- package/icons/generated/24/beauty-cosmatic-lip-stick.tsx +5 -0
- package/icons/generated/24/beauty-healthy-food-dish.tsx +5 -0
- package/icons/generated/24/beauty-mirror-1.tsx +5 -0
- package/icons/generated/24/beauty-mirror-2.tsx +5 -0
- package/icons/generated/24/beauty-nail-polish.tsx +5 -0
- package/icons/generated/24/beauty-perfume-1.tsx +5 -0
- package/icons/generated/24/beauty-perfume-2.tsx +5 -0
- package/icons/generated/24/building-real-eastate-deal-documant.tsx +5 -0
- package/icons/generated/24/building-real-eastate-for-sale.tsx +5 -0
- package/icons/generated/24/building-real-eastate-house-1.tsx +5 -0
- package/icons/generated/24/building-real-eastate-house-2.tsx +5 -0
- package/icons/generated/24/building-real-eastate-houses-location.tsx +5 -0
- package/icons/generated/24/building-real-eastate-location.tsx +5 -0
- package/icons/generated/24/building-real-eastate-project-blueprint.tsx +5 -0
- package/icons/generated/24/building-real-eastate-sign-for-rent.tsx +5 -0
- package/icons/generated/24/building-real-eastate-sign-house-1.tsx +5 -0
- package/icons/generated/24/building-real-eastate-sign-house-2.tsx +5 -0
- package/icons/generated/24/building-real-eastate-storage.tsx +5 -0
- package/icons/generated/24/business-money-coin-currency.tsx +5 -0
- package/icons/generated/24/business-prodect-diamond.tsx +5 -0
- package/icons/generated/24/business-product-check.tsx +5 -0
- package/icons/generated/24/business-product-piggy-bank.tsx +5 -0
- package/icons/generated/24/business-product-price-tag.tsx +5 -0
- package/icons/generated/24/business-product-report-present-grahp.tsx +5 -0
- package/icons/generated/24/business-product-scale.tsx +5 -0
- package/icons/generated/24/business-product-startup-1.tsx +5 -0
- package/icons/generated/24/business-product-startup-2.tsx +5 -0
- package/icons/generated/24/business-product-target.tsx +5 -0
- package/icons/generated/24/business-products-bag-money.tsx +5 -0
- package/icons/generated/24/business-products-bag.tsx +5 -0
- package/icons/generated/24/business-products-bag_1.tsx +5 -0
- package/icons/generated/24/business-products-boat-success.tsx +5 -0
- package/icons/generated/24/business-products-cash-search.tsx +5 -0
- package/icons/generated/24/business-products-cash-shield.tsx +5 -0
- package/icons/generated/24/business-products-cash-user-man-message.tsx +5 -0
- package/icons/generated/24/business-products-climb-top.tsx +5 -0
- package/icons/generated/24/business-products-data-file-bars.tsx +5 -0
- package/icons/generated/24/business-products-deal-handshake.tsx +5 -0
- package/icons/generated/24/business-products-factory.tsx +5 -0
- package/icons/generated/24/business-products-magic-rabbit.tsx +5 -0
- package/icons/generated/24/business-products-money.tsx +5 -0
- package/icons/generated/24/business-products-network-user.tsx +5 -0
- package/icons/generated/24/business-products-performance-money-decrease.tsx +5 -0
- package/icons/generated/24/business-products-performance-money-increase.tsx +5 -0
- package/icons/generated/24/business-products-safe.tsx +5 -0
- package/icons/generated/24/business-products-wallet-money.tsx +5 -0
- package/icons/generated/24/change-clean-energy.tsx +5 -0
- package/icons/generated/24/chat-email.tsx +5 -0
- package/icons/generated/24/coding-app-website-ui.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-404-error.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-android.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-browser-bugs-2.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-conference.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-constuction.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-database.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-dinosaur-error.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-favorite-rate.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-finder.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-firewall.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-live-status.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-mobile.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-module.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-music-player.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-phone-tablet.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-plugin.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-programming-browser-bugs-1.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-programming-browser.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-programming-bug.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-programming-hold-code.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-search-bug.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-setting-computer.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-shield-lock.tsx +5 -0
- package/icons/generated/24/coding-apps-websites-solves.tsx +5 -0
- package/icons/generated/24/coding-apps-websites.tsx +5 -0
- package/icons/generated/24/computer-old-electronics-bug.tsx +5 -0
- package/icons/generated/24/computer-old-electronics.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-battery-charge.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-board.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-chipset.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-click-select-tablet.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-desktop.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-earpod-sound.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-flash-drive-1.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-flash-drive-2.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-graphic-tablet-draw.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-graphic-tablet.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-harddisk.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-keyboard-button.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-keyboard-pad.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-keyboard-wireless.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-keyboard.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-laptop.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-memory.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-mobile-qr-scan.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-monitor.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-mouse.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-smart-watch.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-tablet.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-tape-cassette.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-television-vintage.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-vintage-mac.tsx +5 -0
- package/icons/generated/24/computers-devices-electronics-webcam.tsx +5 -0
- package/icons/generated/24/computers-devices-electronicscd-disk.tsx +5 -0
- package/icons/generated/24/computers-devices-electronicsmicrochip-board.tsx +5 -0
- package/icons/generated/24/construction-building-real-eastate.tsx +5 -0
- package/icons/generated/24/content-files-archive-books-1.tsx +5 -0
- package/icons/generated/24/content-files-archive-books-2.tsx +5 -0
- package/icons/generated/24/content-files-archive-books-3.tsx +5 -0
- package/icons/generated/24/content-files-book-library.tsx +5 -0
- package/icons/generated/24/content-files-book.tsx +5 -0
- package/icons/generated/24/content-files-books-1.tsx +5 -0
- package/icons/generated/24/content-files-books-2.tsx +5 -0
- package/icons/generated/24/content-files-close-book-bookmark.tsx +5 -0
- package/icons/generated/24/content-files-draw-content.tsx +5 -0
- package/icons/generated/24/content-files-favorite-book.tsx +5 -0
- package/icons/generated/24/content-files-folder-open.tsx +5 -0
- package/icons/generated/24/content-files-newspaper.tsx +5 -0
- package/icons/generated/24/content-files-note-book.tsx +5 -0
- package/icons/generated/24/content-files-note.tsx +5 -0
- package/icons/generated/24/content-files-notepad.tsx +5 -0
- package/icons/generated/24/content-files-open-book-bookmark.tsx +5 -0
- package/icons/generated/24/content-files-open-book.tsx +5 -0
- package/icons/generated/24/content-files-pdf.tsx +5 -0
- package/icons/generated/24/content-files-pen.tsx +5 -0
- package/icons/generated/24/content-files-pencil-brush.tsx +5 -0
- package/icons/generated/24/content-files-pencil-ruler.tsx +5 -0
- package/icons/generated/24/content-files-phone-book.tsx +5 -0
- package/icons/generated/24/content-files-quill-ink.tsx +5 -0
- package/icons/generated/24/content-files-sticky-notepad-1.tsx +5 -0
- package/icons/generated/24/content-files-sticky-notepad-2.tsx +5 -0
- package/icons/generated/24/content-files-typing-machine.tsx +5 -0
- package/icons/generated/24/content-files-write-note.tsx +5 -0
- package/icons/generated/24/cursor-hand.tsx +5 -0
- package/icons/generated/24/design-artboard-shapes.tsx +5 -0
- package/icons/generated/24/design-color-brush-paint.tsx +5 -0
- package/icons/generated/24/design-color-bucket-brush.tsx +5 -0
- package/icons/generated/24/design-color-bucket.tsx +5 -0
- package/icons/generated/24/design-color-painting-palette.tsx +5 -0
- package/icons/generated/24/design-color-palette-sample.tsx +5 -0
- package/icons/generated/24/design-color-spray.tsx +5 -0
- package/icons/generated/24/design-color-tube-pastel.tsx +5 -0
- package/icons/generated/24/design-crop-edit-picture.tsx +5 -0
- package/icons/generated/24/design-drawing-board.tsx +5 -0
- package/icons/generated/24/design-dropper-1.tsx +5 -0
- package/icons/generated/24/design-dropper-2.tsx +5 -0
- package/icons/generated/24/design-half-circle-ruler.tsx +5 -0
- package/icons/generated/24/design-hilight.tsx +5 -0
- package/icons/generated/24/design-ink-pen.tsx +5 -0
- package/icons/generated/24/design-layer.tsx +5 -0
- package/icons/generated/24/design-magic-wand.tsx +5 -0
- package/icons/generated/24/design-pencil.tsx +5 -0
- package/icons/generated/24/design-ruler.tsx +5 -0
- package/icons/generated/24/design-stamp.tsx +5 -0
- package/icons/generated/24/design-vectors-pen-new-anchor.tsx +5 -0
- package/icons/generated/24/ecology-bush.tsx +5 -0
- package/icons/generated/24/ecology-cactus.tsx +5 -0
- package/icons/generated/24/ecology-clean-battery.tsx +5 -0
- package/icons/generated/24/ecology-clean-car-cable-charge.tsx +5 -0
- package/icons/generated/24/ecology-global-house.tsx +5 -0
- package/icons/generated/24/ecology-global-warming-globe-fire.tsx +5 -0
- package/icons/generated/24/ecology-global-warming-globe.tsx +5 -0
- package/icons/generated/24/ecology-gmo-food-fruit.tsx +5 -0
- package/icons/generated/24/ecology-growth-plant.tsx +5 -0
- package/icons/generated/24/ecology-leaf-bug.tsx +5 -0
- package/icons/generated/24/ecology-nuclear-energy.tsx +5 -0
- package/icons/generated/24/ecology-organic-sun-growth.tsx +5 -0
- package/icons/generated/24/ecology-plant-growth-soil-nature.tsx +5 -0
- package/icons/generated/24/ecology-renewable-energy-solar-panel.tsx +5 -0
- package/icons/generated/24/ecology-renewable-energy-wind-turbine.tsx +5 -0
- package/icons/generated/24/ecology-solar-cell.tsx +5 -0
- package/icons/generated/24/ecology-tree.tsx +5 -0
- package/icons/generated/24/ecology-windmill-1.tsx +5 -0
- package/icons/generated/24/ecology-windmill-2.tsx +5 -0
- package/icons/generated/24/ecology-wood-plant-grow.tsx +5 -0
- package/icons/generated/24/email-chat-think.tsx +5 -0
- package/icons/generated/24/email-emoji-smile-smart.tsx +5 -0
- package/icons/generated/24/email-envelope-close.tsx +5 -0
- package/icons/generated/24/email-envelope-open.tsx +5 -0
- package/icons/generated/24/email-envelope.tsx +5 -0
- package/icons/generated/24/email-forward-mail.tsx +5 -0
- package/icons/generated/24/email-mail-chat.tsx +5 -0
- package/icons/generated/24/email-mail-open-address.tsx +5 -0
- package/icons/generated/24/email-mailbox-close.tsx +5 -0
- package/icons/generated/24/email-mailbox-open.tsx +5 -0
- package/icons/generated/24/email-mailbox.tsx +5 -0
- package/icons/generated/24/email-stamp-mail.tsx +5 -0
- package/icons/generated/24/email-tray.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-board-game-dice.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-bomb.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-card-game-card-club.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-chess-knight.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-chess-pawn.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-chess-rook.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-film-camrea.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-film-player.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-film-roll.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-game-machines-arcade-1.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-game-machines-arcade-2.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-game-pool-snooker-ball.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-glasses-3d.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-horror-ghost.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-popcorn.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-record-player.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-reward-winner-talent.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-ticket.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-video-camera-film-1.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-video-camera-film-2.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-video-camera-film-3.tsx +5 -0
- package/icons/generated/24/entertainment-events-hobbies-video-movie-producer-director-chair.tsx +5 -0
- package/icons/generated/24/food-drink-bread.tsx +5 -0
- package/icons/generated/24/food-drink-coffee-cup.tsx +5 -0
- package/icons/generated/24/food-drink-coffee.tsx +5 -0
- package/icons/generated/24/food-drink-desert-cake-pond.tsx +5 -0
- package/icons/generated/24/food-drink-desert-cake.tsx +5 -0
- package/icons/generated/24/food-drink-desert-cotton-candy.tsx +5 -0
- package/icons/generated/24/food-drink-desert-cupcake.tsx +5 -0
- package/icons/generated/24/food-drink-desert-donut.tsx +5 -0
- package/icons/generated/24/food-drink-desert-icecream.tsx +5 -0
- package/icons/generated/24/food-drink-egg.tsx +5 -0
- package/icons/generated/24/food-drink-fish-bone.tsx +5 -0
- package/icons/generated/24/food-drink-fish.tsx +5 -0
- package/icons/generated/24/food-drink-fried-chicken.tsx +5 -0
- package/icons/generated/24/food-drink-fruit-cherry.tsx +5 -0
- package/icons/generated/24/food-drink-hamburger.tsx +5 -0
- package/icons/generated/24/food-drink-milk.tsx +5 -0
- package/icons/generated/24/food-drink-pizza.tsx +5 -0
- package/icons/generated/24/food-drink-rice-ball.tsx +5 -0
- package/icons/generated/24/food-drink-sushi.tsx +5 -0
- package/icons/generated/24/food-drink-tea.tsx +5 -0
- package/icons/generated/24/hand-awesome.tsx +5 -0
- package/icons/generated/24/hand-cross-finger-heart.tsx +5 -0
- package/icons/generated/24/hand-dislike.tsx +5 -0
- package/icons/generated/24/hand-fight-2-finger.tsx +5 -0
- package/icons/generated/24/hand-fiist.tsx +5 -0
- package/icons/generated/24/hand-four.tsx +5 -0
- package/icons/generated/24/hand-fuck-middle-finger.tsx +5 -0
- package/icons/generated/24/hand-gesture-finger-click.tsx +5 -0
- package/icons/generated/24/hand-like.tsx +5 -0
- package/icons/generated/24/hand-little-finger.tsx +5 -0
- package/icons/generated/24/hand-love-sign.tsx +5 -0
- package/icons/generated/24/hand-love.tsx +5 -0
- package/icons/generated/24/hand-ok.tsx +5 -0
- package/icons/generated/24/hand-point.tsx +5 -0
- package/icons/generated/24/hand-three-finger.tsx +5 -0
- package/icons/generated/24/hand-writing.tsx +5 -0
- package/icons/generated/24/hand-zombie.tsx +5 -0
- package/icons/generated/24/hand-zoom.tsx +5 -0
- package/icons/generated/24/hand.tsx +5 -0
- package/icons/generated/24/health-ambulance-call.tsx +5 -0
- package/icons/generated/24/health-ambulance-car.tsx +5 -0
- package/icons/generated/24/health-anti-virus.tsx +5 -0
- package/icons/generated/24/health-bandage.tsx +5 -0
- package/icons/generated/24/health-blood-drop-type.tsx +5 -0
- package/icons/generated/24/health-brain-1.tsx +5 -0
- package/icons/generated/24/health-brain-2.tsx +5 -0
- package/icons/generated/24/health-dentistry-tooth.tsx +5 -0
- package/icons/generated/24/health-drug-medicine-bag-aid-1.tsx +5 -0
- package/icons/generated/24/health-drug-medicine-bag-aid-2.tsx +5 -0
- package/icons/generated/24/health-drug-medicine-water.tsx +5 -0
- package/icons/generated/24/health-drug-medicine.tsx +5 -0
- package/icons/generated/24/health-drugs-cannabis.tsx +5 -0
- package/icons/generated/24/health-drugs-pill.tsx +5 -0
- package/icons/generated/24/health-health-dead.tsx +5 -0
- package/icons/generated/24/health-hospital-building-1.tsx +5 -0
- package/icons/generated/24/health-hospital-building-2.tsx +5 -0
- package/icons/generated/24/health-injection.tsx +5 -0
- package/icons/generated/24/health-laboratory-test-blood-sugar.tsx +5 -0
- package/icons/generated/24/health-laboratory-test-stool-cup.tsx +5 -0
- package/icons/generated/24/health-laboratory.tsx +5 -0
- package/icons/generated/24/health-medical-notes.tsx +5 -0
- package/icons/generated/24/health-monitor-heart-beat.tsx +5 -0
- package/icons/generated/24/health-stool.tsx +5 -0
- package/icons/generated/24/health-transfusion-bag.tsx +5 -0
- package/icons/generated/24/health-virus.tsx +5 -0
- package/icons/generated/24/interface-essential-alarm-bell-off.tsx +5 -0
- package/icons/generated/24/interface-essential-alarm-bell-sleep.tsx +5 -0
- package/icons/generated/24/interface-essential-alert-caution.tsx +5 -0
- package/icons/generated/24/interface-essential-alert-circle-1.tsx +5 -0
- package/icons/generated/24/interface-essential-alert-circle-2.tsx +5 -0
- package/icons/generated/24/interface-essential-alert-triangle-1.tsx +5 -0
- package/icons/generated/24/interface-essential-alert-triangle-2.tsx +5 -0
- package/icons/generated/24/interface-essential-alert.tsx +5 -0
- package/icons/generated/24/interface-essential-battery.tsx +5 -0
- package/icons/generated/24/interface-essential-bin.tsx +5 -0
- package/icons/generated/24/interface-essential-blutooth.tsx +5 -0
- package/icons/generated/24/interface-essential-bookmark.tsx +5 -0
- package/icons/generated/24/interface-essential-bookmark_1.tsx +5 -0
- package/icons/generated/24/interface-essential-calendar-appointment.tsx +5 -0
- package/icons/generated/24/interface-essential-calendar-date.tsx +5 -0
- package/icons/generated/24/interface-essential-call-center-contact-help.tsx +5 -0
- package/icons/generated/24/interface-essential-clip-1.tsx +5 -0
- package/icons/generated/24/interface-essential-clip-2.tsx +5 -0
- package/icons/generated/24/interface-essential-clock.tsx +5 -0
- package/icons/generated/24/interface-essential-clound-download.tsx +5 -0
- package/icons/generated/24/interface-essential-cog-browser.tsx +5 -0
- package/icons/generated/24/interface-essential-cog-double.tsx +5 -0
- package/icons/generated/24/interface-essential-cog-hand-give.tsx +5 -0
- package/icons/generated/24/interface-essential-cog-search.tsx +5 -0
- package/icons/generated/24/interface-essential-crown.tsx +5 -0
- package/icons/generated/24/interface-essential-cursor-click-point.tsx +5 -0
- package/icons/generated/24/interface-essential-cursor-select.tsx +5 -0
- package/icons/generated/24/interface-essential-cursor.tsx +5 -0
- package/icons/generated/24/interface-essential-dial-pad-1.tsx +5 -0
- package/icons/generated/24/interface-essential-dial-pad-2.tsx +5 -0
- package/icons/generated/24/interface-essential-dial-pad-finger-1.tsx +5 -0
- package/icons/generated/24/interface-essential-dial-pad-finger-2.tsx +5 -0
- package/icons/generated/24/interface-essential-direction-button.tsx +5 -0
- package/icons/generated/24/interface-essential-edit-fill.tsx +5 -0
- package/icons/generated/24/interface-essential-eraser.tsx +5 -0
- package/icons/generated/24/interface-essential-expand-1.tsx +5 -0
- package/icons/generated/24/interface-essential-expand-2.tsx +5 -0
- package/icons/generated/24/interface-essential-expand-3.tsx +5 -0
- package/icons/generated/24/interface-essential-face-id-1.tsx +5 -0
- package/icons/generated/24/interface-essential-face-id.tsx +5 -0
- package/icons/generated/24/interface-essential-file-error.tsx +5 -0
- package/icons/generated/24/interface-essential-filter.tsx +5 -0
- package/icons/generated/24/interface-essential-find-text.tsx +5 -0
- package/icons/generated/24/interface-essential-finger-print-scan.tsx +5 -0
- package/icons/generated/24/interface-essential-flag.tsx +5 -0
- package/icons/generated/24/interface-essential-flash.tsx +5 -0
- package/icons/generated/24/interface-essential-flip-vertical-down.tsx +5 -0
- package/icons/generated/24/interface-essential-flip-vertical-up.tsx +5 -0
- package/icons/generated/24/interface-essential-floppy-disk.tsx +5 -0
- package/icons/generated/24/interface-essential-global-public.tsx +5 -0
- package/icons/generated/24/interface-essential-hammer-1.tsx +5 -0
- package/icons/generated/24/interface-essential-hammer-2.tsx +5 -0
- package/icons/generated/24/interface-essential-heart-favorite.tsx +5 -0
- package/icons/generated/24/interface-essential-hierarchy-1.tsx +5 -0
- package/icons/generated/24/interface-essential-hierarchy-2.tsx +5 -0
- package/icons/generated/24/interface-essential-hierarchy-3.tsx +5 -0
- package/icons/generated/24/interface-essential-hierarchy-4.tsx +5 -0
- package/icons/generated/24/interface-essential-hierarchy-5.tsx +5 -0
- package/icons/generated/24/interface-essential-hierarchy-files.tsx +5 -0
- package/icons/generated/24/interface-essential-home-1.tsx +5 -0
- package/icons/generated/24/interface-essential-home-2.tsx +5 -0
- package/icons/generated/24/interface-essential-hyperlink.tsx +5 -0
- package/icons/generated/24/interface-essential-information-circle-1.tsx +5 -0
- package/icons/generated/24/interface-essential-information-circle-2.tsx +5 -0
- package/icons/generated/24/interface-essential-iris-scan-approved.tsx +5 -0
- package/icons/generated/24/interface-essential-iris-scan.tsx +5 -0
- package/icons/generated/24/interface-essential-key-1.tsx +5 -0
- package/icons/generated/24/interface-essential-key-lock.tsx +5 -0
- package/icons/generated/24/interface-essential-key-login.tsx +5 -0
- package/icons/generated/24/interface-essential-key.tsx +5 -0
- package/icons/generated/24/interface-essential-keyboard-button-direction-1.tsx +5 -0
- package/icons/generated/24/interface-essential-keyboard-button-direction-2.tsx +5 -0
- package/icons/generated/24/interface-essential-light-bulb.tsx +5 -0
- package/icons/generated/24/interface-essential-link-broken-1.tsx +5 -0
- package/icons/generated/24/interface-essential-link-broken-2.tsx +5 -0
- package/icons/generated/24/interface-essential-link.tsx +5 -0
- package/icons/generated/24/interface-essential-list.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-0-percent-1.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-0-percent.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-100-percent-1.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-100-percent.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-20-percent.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-25-percent-1.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-50-percent-1.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-50-percent.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-75-percent-1.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-80-percent.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-circle-1.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-circle-2.tsx +5 -0
- package/icons/generated/24/interface-essential-loading-status.tsx +5 -0
- package/icons/generated/24/interface-essential-lock-1.tsx +5 -0
- package/icons/generated/24/interface-essential-lock-door-out.tsx +5 -0
- package/icons/generated/24/interface-essential-lock-shield.tsx +5 -0
- package/icons/generated/24/interface-essential-lock.tsx +5 -0
- package/icons/generated/24/interface-essential-magnet.tsx +5 -0
- package/icons/generated/24/interface-essential-map.tsx +5 -0
- package/icons/generated/24/interface-essential-message.tsx +5 -0
- package/icons/generated/24/interface-essential-microphone.tsx +5 -0
- package/icons/generated/24/interface-essential-move.tsx +5 -0
- package/icons/generated/24/interface-essential-navigation-left-circle-1.tsx +5 -0
- package/icons/generated/24/interface-essential-navigation-left-circle-2.tsx +5 -0
- package/icons/generated/24/interface-essential-navigation-menu-1.tsx +5 -0
- package/icons/generated/24/interface-essential-navigation-menu-2.tsx +5 -0
- package/icons/generated/24/interface-essential-navigation-menu-3.tsx +5 -0
- package/icons/generated/24/interface-essential-navigation-right-circle-1.tsx +5 -0
- package/icons/generated/24/interface-essential-navigation-right-circle-2.tsx +5 -0
- package/icons/generated/24/interface-essential-note-music.tsx +5 -0
- package/icons/generated/24/interface-essential-notification-alert.tsx +5 -0
- package/icons/generated/24/interface-essential-pacman-loading.tsx +5 -0
- package/icons/generated/24/interface-essential-paginate-filter-camera.tsx +5 -0
- package/icons/generated/24/interface-essential-paginate-filter-heart.tsx +5 -0
- package/icons/generated/24/interface-essential-paginate-filter-music.tsx +5 -0
- package/icons/generated/24/interface-essential-paginate-filter-picture.tsx +5 -0
- package/icons/generated/24/interface-essential-paginate-filter-video.tsx +5 -0
- package/icons/generated/24/interface-essential-password-type.tsx +5 -0
- package/icons/generated/24/interface-essential-pencil-edit-1.tsx +5 -0
- package/icons/generated/24/interface-essential-pencil-edit-2.tsx +5 -0
- package/icons/generated/24/interface-essential-pie-chart-poll-report-1.tsx +5 -0
- package/icons/generated/24/interface-essential-pie-chart-poll-report-2.tsx +5 -0
- package/icons/generated/24/interface-essential-pin.tsx +5 -0
- package/icons/generated/24/interface-essential-poll.tsx +5 -0
- package/icons/generated/24/interface-essential-print.tsx +5 -0
- package/icons/generated/24/interface-essential-profile-female.tsx +5 -0
- package/icons/generated/24/interface-essential-profile-male.tsx +5 -0
- package/icons/generated/24/interface-essential-protect-guard.tsx +5 -0
- package/icons/generated/24/interface-essential-protect-rubber-ring.tsx +5 -0
- package/icons/generated/24/interface-essential-question-help-circle-1.tsx +5 -0
- package/icons/generated/24/interface-essential-question-help-circle-2.tsx +5 -0
- package/icons/generated/24/interface-essential-question-help-square.tsx +5 -0
- package/icons/generated/24/interface-essential-recycle.tsx +5 -0
- package/icons/generated/24/interface-essential-reflect-down-up.tsx +5 -0
- package/icons/generated/24/interface-essential-reflect-down.tsx +5 -0
- package/icons/generated/24/interface-essential-refresh.tsx +5 -0
- package/icons/generated/24/interface-essential-safari-compass.tsx +5 -0
- package/icons/generated/24/interface-essential-satellite.tsx +5 -0
- package/icons/generated/24/interface-essential-scisor.tsx +5 -0
- package/icons/generated/24/interface-essential-scroll-horizontal.tsx +5 -0
- package/icons/generated/24/interface-essential-scroll-vertical.tsx +5 -0
- package/icons/generated/24/interface-essential-search-1.tsx +5 -0
- package/icons/generated/24/interface-essential-search-binocular.tsx +5 -0
- package/icons/generated/24/interface-essential-search-check.tsx +5 -0
- package/icons/generated/24/interface-essential-search-remove.tsx +5 -0
- package/icons/generated/24/interface-essential-send-mail.tsx +5 -0
- package/icons/generated/24/interface-essential-setting-cog.tsx +5 -0
- package/icons/generated/24/interface-essential-setting-slide.tsx +5 -0
- package/icons/generated/24/interface-essential-settings-toggle-horizontal.tsx +5 -0
- package/icons/generated/24/interface-essential-share-1.tsx +5 -0
- package/icons/generated/24/interface-essential-share-2.tsx +5 -0
- package/icons/generated/24/interface-essential-share-3.tsx +5 -0
- package/icons/generated/24/interface-essential-shrink-1.tsx +5 -0
- package/icons/generated/24/interface-essential-shrink-2.tsx +5 -0
- package/icons/generated/24/interface-essential-shrink-3.tsx +5 -0
- package/icons/generated/24/interface-essential-shrink-4.tsx +5 -0
- package/icons/generated/24/interface-essential-signin-expand.tsx +5 -0
- package/icons/generated/24/interface-essential-signin-login.tsx +5 -0
- package/icons/generated/24/interface-essential-signout-logout.tsx +5 -0
- package/icons/generated/24/interface-essential-skull-1.tsx +5 -0
- package/icons/generated/24/interface-essential-skull-2.tsx +5 -0
- package/icons/generated/24/interface-essential-sound.tsx +5 -0
- package/icons/generated/24/interface-essential-speaker-announce.tsx +5 -0
- package/icons/generated/24/interface-essential-stat.tsx +5 -0
- package/icons/generated/24/interface-essential-stop-sign-1.tsx +5 -0
- package/icons/generated/24/interface-essential-stop-sign-2.tsx +5 -0
- package/icons/generated/24/interface-essential-stopwatch.tsx +5 -0
- package/icons/generated/24/interface-essential-switch-off.tsx +5 -0
- package/icons/generated/24/interface-essential-switch-on.tsx +5 -0
- package/icons/generated/24/interface-essential-synchronize-arrows-square-1.tsx +5 -0
- package/icons/generated/24/interface-essential-synchronize-arrows-square-2.tsx +5 -0
- package/icons/generated/24/interface-essential-text-format-1.tsx +5 -0
- package/icons/generated/24/interface-essential-text-format-2.tsx +5 -0
- package/icons/generated/24/interface-essential-text-input-area-1.tsx +5 -0
- package/icons/generated/24/interface-essential-text-input-area-2.tsx +5 -0
- package/icons/generated/24/interface-essential-text-input-area-3.tsx +5 -0
- package/icons/generated/24/interface-essential-touch-id-lock.tsx +5 -0
- package/icons/generated/24/interface-essential-touch-id-smartphone.tsx +5 -0
- package/icons/generated/24/interface-essential-translate.tsx +5 -0
- package/icons/generated/24/interface-essential-trophy.tsx +5 -0
- package/icons/generated/24/interface-essential-view-eye.tsx +5 -0
- package/icons/generated/24/interface-essential-voice-id.tsx +5 -0
- package/icons/generated/24/interface-essential-waiting-hourglass-loading.tsx +5 -0
- package/icons/generated/24/interface-essential-watch-time.tsx +5 -0
- package/icons/generated/24/interface-essential-wifi-feed.tsx +5 -0
- package/icons/generated/24/interface-essential-wifi-signal.tsx +5 -0
- package/icons/generated/24/interface-essential-wireless.tsx +5 -0
- package/icons/generated/24/interface-essential-wrench-1.tsx +5 -0
- package/icons/generated/24/interface-essential-wrench-2.tsx +5 -0
- package/icons/generated/24/interface-essential-zoom-in-page.tsx +5 -0
- package/icons/generated/24/interface-essential-zoom-in.tsx +5 -0
- package/icons/generated/24/interface-essential-zoom-out-page.tsx +5 -0
- package/icons/generated/24/interface-essential-zoom-out.tsx +5 -0
- package/icons/generated/24/internet-network-arrow-sync.tsx +5 -0
- package/icons/generated/24/internet-network-cloud-error.tsx +5 -0
- package/icons/generated/24/internet-network-cloud-off.tsx +5 -0
- package/icons/generated/24/internet-network-computer-download.tsx +5 -0
- package/icons/generated/24/internet-network-computer-upload.tsx +5 -0
- package/icons/generated/24/internet-network-download.tsx +5 -0
- package/icons/generated/24/internet-network-laptop.tsx +5 -0
- package/icons/generated/24/internet-network-upload.tsx +5 -0
- package/icons/generated/24/internet-network-wifi-monitor.tsx +5 -0
- package/icons/generated/24/internet-network-www.tsx +5 -0
- package/icons/generated/24/logo-discord.tsx +5 -0
- package/icons/generated/24/logo-linkedin.tsx +5 -0
- package/icons/generated/24/logo-pinterest.tsx +5 -0
- package/icons/generated/24/logo-snapchat.tsx +5 -0
- package/icons/generated/24/logo-social-media-dropbox.tsx +5 -0
- package/icons/generated/24/logo-social-media-facebook-circle.tsx +5 -0
- package/icons/generated/24/logo-social-media-instagram-circle.tsx +5 -0
- package/icons/generated/24/logo-social-media-instagram.tsx +5 -0
- package/icons/generated/24/logo-social-media-old-instagram.tsx +5 -0
- package/icons/generated/24/logo-social-media-tiktok-circle.tsx +5 -0
- package/icons/generated/24/logo-social-media-tiktok.tsx +5 -0
- package/icons/generated/24/logo-social-media-twitter-circle.tsx +5 -0
- package/icons/generated/24/logo-social-media-youtube-circle.tsx +5 -0
- package/icons/generated/24/logo-social-media-youtube.tsx +5 -0
- package/icons/generated/24/logo-soundcloud-1.tsx +5 -0
- package/icons/generated/24/logo-soundcloud-2.tsx +5 -0
- package/icons/generated/24/logo-spotify.tsx +5 -0
- package/icons/generated/24/logo-twitch-1.tsx +5 -0
- package/icons/generated/24/logo-twitch-2.tsx +5 -0
- package/icons/generated/24/logo-twitter.tsx +5 -0
- package/icons/generated/24/logo-whatapp.tsx +5 -0
- package/icons/generated/24/map-navigation-compass-direction.tsx +5 -0
- package/icons/generated/24/map-navigation-location-focus.tsx +5 -0
- package/icons/generated/24/map-navigation-pin-location-1.tsx +5 -0
- package/icons/generated/24/map-navigation-pin-location-2.tsx +5 -0
- package/icons/generated/24/map-navigation-pin-location-trip.tsx +5 -0
- package/icons/generated/24/mobile-phone.tsx +5 -0
- package/icons/generated/24/money-payments-accounting-bill-money-1.tsx +5 -0
- package/icons/generated/24/money-payments-accounting-bill-money-2.tsx +5 -0
- package/icons/generated/24/money-payments-accounting-calculator.tsx +5 -0
- package/icons/generated/24/money-payments-bank.tsx +5 -0
- package/icons/generated/24/money-payments-calculator-app.tsx +5 -0
- package/icons/generated/24/money-payments-cash-payment-coin.tsx +5 -0
- package/icons/generated/24/money-payments-credit-card-mastercard.tsx +5 -0
- package/icons/generated/24/money-payments-credit-card-visa.tsx +5 -0
- package/icons/generated/24/money-payments-currency-euro-dollar-exchange.tsx +5 -0
- package/icons/generated/24/money-payments-diamond.tsx +5 -0
- package/icons/generated/24/money-payments-saving-treasure.tsx +5 -0
- package/icons/generated/24/money-payments-self-payment.tsx +5 -0
- package/icons/generated/24/money-payments-smartphone-pay-dollar.tsx +5 -0
- package/icons/generated/24/multiple-user.tsx +5 -0
- package/icons/generated/24/music-album-cd-disk-playlist.tsx +5 -0
- package/icons/generated/24/music-clef-sheet.tsx +5 -0
- package/icons/generated/24/music-disk-cd-1.tsx +5 -0
- package/icons/generated/24/music-disk-cd-2.tsx +5 -0
- package/icons/generated/24/music-headphones-human.tsx +5 -0
- package/icons/generated/24/music-microphone-1.tsx +5 -0
- package/icons/generated/24/music-microphone-2.tsx +5 -0
- package/icons/generated/24/music-microphone-off.tsx +5 -0
- package/icons/generated/24/music-notes-music-1.tsx +5 -0
- package/icons/generated/24/music-notes-music-2.tsx +5 -0
- package/icons/generated/24/music-radio-stereo.tsx +5 -0
- package/icons/generated/24/music-speaker.tsx +5 -0
- package/icons/generated/24/music-vinyl-record.tsx +5 -0
- package/icons/generated/24/music-walkman-cassette.tsx +5 -0
- package/icons/generated/24/non-gmo-fertilizer.tsx +5 -0
- package/icons/generated/24/notification-email.tsx +5 -0
- package/icons/generated/24/pet-animals-bear.tsx +5 -0
- package/icons/generated/24/pet-animals-buffalo.tsx +5 -0
- package/icons/generated/24/pet-animals-cat.tsx +5 -0
- package/icons/generated/24/pet-animals-dog.tsx +5 -0
- package/icons/generated/24/pet-animals-frog-face.tsx +5 -0
- package/icons/generated/24/pet-animals-frog.tsx +5 -0
- package/icons/generated/24/pet-animals-gorilla.tsx +5 -0
- package/icons/generated/24/pet-animals-ox.tsx +5 -0
- package/icons/generated/24/pet-animals-pig.tsx +5 -0
- package/icons/generated/24/pet-animals-rabbit-1.tsx +5 -0
- package/icons/generated/24/pet-animals-rabbit-2.tsx +5 -0
- package/icons/generated/24/pet-animals-turtle.tsx +5 -0
- package/icons/generated/24/phone-actions-remove-1.tsx +5 -0
- package/icons/generated/24/phone-actions-remove-2.tsx +5 -0
- package/icons/generated/24/phone-incoming-call.tsx +5 -0
- package/icons/generated/24/phone-off-1.tsx +5 -0
- package/icons/generated/24/phone-off-2.tsx +5 -0
- package/icons/generated/24/phone-scan-qr-code-1.tsx +5 -0
- package/icons/generated/24/phone-scan-qr-code-2.tsx +5 -0
- package/icons/generated/24/phone-signal-full.tsx +5 -0
- package/icons/generated/24/phone-vibrate.tsx +5 -0
- package/icons/generated/24/photography-camera-1.tsx +5 -0
- package/icons/generated/24/photography-equipment-film-print.tsx +5 -0
- package/icons/generated/24/photography-file-picture.tsx +5 -0
- package/icons/generated/24/photography-focus-flower.tsx +5 -0
- package/icons/generated/24/photography-frame-picture.tsx +5 -0
- package/icons/generated/24/photography-light-mode-flash-on.tsx +5 -0
- package/icons/generated/24/photography-photo-image.tsx +5 -0
- package/icons/generated/24/photography-picture-polaroid.tsx +5 -0
- package/icons/generated/24/photography-retouch-wand-star.tsx +5 -0
- package/icons/generated/24/photography-retouch-wand.tsx +5 -0
- package/icons/generated/24/photography-taking-pictures-circle-alternate.tsx +5 -0
- package/icons/generated/24/real-estate-building-1.tsx +5 -0
- package/icons/generated/24/real-estate-building-2.tsx +5 -0
- package/icons/generated/24/real-estate-building-3.tsx +5 -0
- package/icons/generated/24/real-estate-building-4.tsx +5 -0
- package/icons/generated/24/real-estate-building-ad.tsx +5 -0
- package/icons/generated/24/real-estate-building-factory.tsx +5 -0
- package/icons/generated/24/real-estate-building-house.tsx +5 -0
- package/icons/generated/24/real-estate-sign-building.tsx +5 -0
- package/icons/generated/24/romance-heart-lock.tsx +5 -0
- package/icons/generated/24/romance-love-letter-open.tsx +5 -0
- package/icons/generated/24/school-science-bag.tsx +5 -0
- package/icons/generated/24/school-science-dna.tsx +5 -0
- package/icons/generated/24/school-science-graduation-cap.tsx +5 -0
- package/icons/generated/24/school-science-test-flask.tsx +5 -0
- package/icons/generated/24/search-coding.tsx +5 -0
- package/icons/generated/24/search-user.tsx +5 -0
- package/icons/generated/24/send-email.tsx +5 -0
- package/icons/generated/24/shopping-shipping-bag-1.tsx +5 -0
- package/icons/generated/24/shopping-shipping-bag-2.tsx +5 -0
- package/icons/generated/24/shopping-shipping-barcode.tsx +5 -0
- package/icons/generated/24/shopping-shipping-basket.tsx +5 -0
- package/icons/generated/24/shopping-shipping-box.tsx +5 -0
- package/icons/generated/24/shopping-shipping-cart.tsx +5 -0
- package/icons/generated/24/shopping-shipping-crack-1.tsx +5 -0
- package/icons/generated/24/shopping-shipping-crack-2.tsx +5 -0
- package/icons/generated/24/shopping-shipping-delivery-person-motorcycle.tsx +5 -0
- package/icons/generated/24/shopping-shipping-delivery-truck.tsx +5 -0
- package/icons/generated/24/shopping-shipping-discount-coupon.tsx +5 -0
- package/icons/generated/24/shopping-shipping-loading-box.tsx +5 -0
- package/icons/generated/24/shopping-shipping-products-gift.tsx +5 -0
- package/icons/generated/24/shopping-shipping-receipt-slip.tsx +5 -0
- package/icons/generated/24/shopping-shipping-shipment-deliver.tsx +5 -0
- package/icons/generated/24/shopping-shipping-shop.tsx +5 -0
- package/icons/generated/24/shopping-shipping-upload-information.tsx +5 -0
- package/icons/generated/24/shopping-shipping-warehouse-truck-delivery.tsx +5 -0
- package/icons/generated/24/shopping-shipping-weight-kg.tsx +5 -0
- package/icons/generated/24/single-user-shield.tsx +5 -0
- package/icons/generated/24/social-rewards-certified-diploma.tsx +5 -0
- package/icons/generated/24/social-rewards-certified-ribbon.tsx +5 -0
- package/icons/generated/24/social-rewards-flag.tsx +5 -0
- package/icons/generated/24/social-rewards-heart-like-circle.tsx +5 -0
- package/icons/generated/24/social-rewards-like-bubble.tsx +5 -0
- package/icons/generated/24/social-rewards-like-circle.tsx +5 -0
- package/icons/generated/24/social-rewards-rating-star-1.tsx +5 -0
- package/icons/generated/24/social-rewards-rating-star-2.tsx +5 -0
- package/icons/generated/24/social-rewards-reward-gift.tsx +5 -0
- package/icons/generated/24/social-rewards-trends-hot-flame.tsx +5 -0
- package/icons/generated/24/social-rewards-vip-crown-king.tsx +5 -0
- package/icons/generated/24/technology-drone-camera.tsx +5 -0
- package/icons/generated/24/technology-drone-signal.tsx +5 -0
- package/icons/generated/24/technology-robot-ai-signal-1.tsx +5 -0
- package/icons/generated/24/technology-robot-ai-signal-2.tsx +5 -0
- package/icons/generated/24/technology-robot-ai.tsx +5 -0
- package/icons/generated/24/transportation-bicycle.tsx +5 -0
- package/icons/generated/24/transportation-helicopter.tsx +5 -0
- package/icons/generated/24/transportation-motorcycle.tsx +5 -0
- package/icons/generated/24/transportation-plane.tsx +5 -0
- package/icons/generated/24/transportation-train.tsx +5 -0
- package/icons/generated/24/transportation-truck.tsx +5 -0
- package/icons/generated/24/transportation-vintage-train.tsx +5 -0
- package/icons/generated/24/travel-wayfinding-balloon.tsx +5 -0
- package/icons/generated/24/travel-wayfinding-beach-coconut-tree.tsx +5 -0
- package/icons/generated/24/travel-wayfinding-beach-umbrella.tsx +5 -0
- package/icons/generated/24/travel-wayfinding-pool-ladder.tsx +5 -0
- package/icons/generated/24/ui-design-website.tsx +5 -0
- package/icons/generated/24/user-gender-female-male.tsx +5 -0
- package/icons/generated/24/user-gender-female.tsx +5 -0
- package/icons/generated/24/user-gender-gay.tsx +5 -0
- package/icons/generated/24/user-gender-lesbian.tsx +5 -0
- package/icons/generated/24/user-gender-male.tsx +5 -0
- package/icons/generated/24/user-man-love.tsx +5 -0
- package/icons/generated/24/user-single-aim.tsx +5 -0
- package/icons/generated/24/user-sleep.tsx +5 -0
- package/icons/generated/24/user-woman-increasing-arrow.tsx +5 -0
- package/icons/generated/24/video-movies-play.tsx +5 -0
- package/icons/generated/24/video-movies-player.tsx +5 -0
- package/icons/generated/24/video-movies-set-equipment.tsx +5 -0
- package/icons/generated/24/video-movies-square-off.tsx +5 -0
- package/icons/generated/24/video-movies-video-square.tsx +5 -0
- package/icons/generated/24/video-movies-vintage-tv-1.tsx +5 -0
- package/icons/generated/24/video-movies-vintage-tv-2.tsx +5 -0
- package/icons/generated/24/video-movies-vintage-tv-3.tsx +5 -0
- package/icons/generated/24/vintage-phone.tsx +5 -0
- package/icons/generated/24/weather-cloud-sun-fine.tsx +5 -0
- package/icons/generated/24/weather-cresent-moon-stars.tsx +5 -0
- package/icons/generated/24/weather-meteor.tsx +5 -0
- package/icons/generated/24/weather-moon.tsx +5 -0
- package/icons/generated/24/weather-rainbow.tsx +5 -0
- package/icons/generated/24/weather-snowman.tsx +5 -0
- package/icons/generated/24/weather-temperature-thermometer.tsx +5 -0
- package/icons/generated/24/weather-umbrella-snowing.tsx +5 -0
- package/icons/generated/24/weather-umbrella.tsx +5 -0
- package/icons/generated/24/weather-wind-flag.tsx +5 -0
- package/icons/generated-24.tsx +2669 -0
- package/icons/generated-aliases.ts +59 -0
- package/icons/generated-importers.ts +828 -0
- package/icons/generated.tsx +629 -0
- package/icons/index.ts +58 -0
- package/icons/resolve-icon.ts +43 -0
- package/icons/runtime.ts +15 -0
- package/icons/size-map.ts +148 -0
- package/icons/types.ts +28 -0
- package/index.css +15 -3
- package/meta/index.ts +246 -0
- package/package.json +67 -33
- package/pattern-shadows.css +137 -0
- package/patterns/index.ts +28 -0
- package/patterns/registry.ts +66 -0
- package/patterns/types.ts +22 -0
- package/patterns.css +157 -0
- package/pixel-corners.css +46 -0
- package/pixel-corners.generated.css +215 -0
- package/registry/PropControls.tsx +346 -0
- package/registry/__tests__/PropControls.test.tsx +112 -0
- package/registry/__tests__/forced-state-source.test.ts +40 -0
- package/registry/__tests__/preview-state-authoring.test.ts +70 -0
- package/registry/__tests__/preview-states.test.ts +40 -0
- package/registry/__tests__/registry-metadata.test.ts +189 -0
- package/registry/__tests__/registry.test.ts +102 -0
- package/registry/__tests__/runtime-attachments-props.test.ts +27 -0
- package/registry/__tests__/runtime-auto-components.test.ts +28 -0
- package/registry/__tests__/runtime-coverage.test.ts +27 -0
- package/registry/build-registry-metadata.ts +68 -0
- package/registry/build-registry.ts +13 -0
- package/registry/contract-fields.ts +35 -0
- package/registry/index.ts +35 -0
- package/registry/preview-states.ts +37 -0
- package/registry/runtime-attachments.tsx +721 -0
- package/registry/types.ts +145 -0
- package/registry/useShowcaseProps.ts +28 -0
- package/schemas/index.ts +89 -0
- package/tokens.css +154 -71
- package/typography.css +35 -31
- package/components/core/Accordion/Accordion.dna.json +0 -16
- package/components/core/Accordion/Accordion.schema.json +0 -48
- package/components/core/Alert/Alert.dna.json +0 -56
- package/components/core/Badge/Badge.dna.json +0 -48
- package/components/core/Breadcrumbs/Breadcrumbs.dna.json +0 -29
- package/components/core/Button/Button.dna.json +0 -58
- package/components/core/Card/Card.dna.json +0 -21
- package/components/core/Checkbox/Checkbox.dna.json +0 -38
- package/components/core/ContextMenu/ContextMenu.dna.json +0 -25
- package/components/core/CountdownTimer/CountdownTimer.dna.json +0 -79
- package/components/core/Dialog/Dialog.dna.json +0 -28
- package/components/core/Divider/Divider.dna.json +0 -16
- package/components/core/Divider/Divider.schema.json +0 -41
- package/components/core/DropdownMenu/DropdownMenu.dna.json +0 -28
- package/components/core/HelpPanel/HelpPanel.dna.json +0 -24
- package/components/core/HelpPanel/HelpPanel.schema.json +0 -47
- package/components/core/Input/Input.dna.json +0 -33
- package/components/core/MockStatesPopover/MockStatesPopover.dna.json +0 -33
- package/components/core/MockStatesPopover/MockStatesPopover.schema.json +0 -80
- package/components/core/Popover/Popover.dna.json +0 -10
- package/components/core/Progress/Progress.dna.json +0 -29
- package/components/core/Progress/Progress.schema.json +0 -57
- package/components/core/Select/Select.dna.json +0 -42
- package/components/core/Sheet/Sheet.dna.json +0 -28
- package/components/core/Slider/Slider.dna.json +0 -49
- package/components/core/Switch/Switch.dna.json +0 -47
- package/components/core/Tabs/Tabs.dna.json +0 -39
- package/components/core/Toast/Toast.dna.json +0 -31
- package/components/core/Tooltip/Tooltip.dna.json +0 -46
- package/components/core/Web3ActionBar/Web3ActionBar.dna.json +0 -23
- package/components/core/Web3ActionBar/Web3ActionBar.schema.json +0 -50
- package/dist/chunk-SR2T7OEJ.mjs +0 -46
- package/dist/chunk-SR2T7OEJ.mjs.map +0 -1
- package/dist/components/core/index.d.mts +0 -911
- package/dist/components/core/index.mjs +0 -2475
- package/dist/components/core/index.mjs.map +0 -1
- package/dist/hooks/index.d.mts +0 -22
- package/dist/hooks/index.mjs +0 -3
- package/dist/hooks/index.mjs.map +0 -1
- package/dist/remotion/index.d.mts +0 -252
- package/dist/remotion/index.mjs +0 -170
- package/dist/remotion/index.mjs.map +0 -1
|
@@ -1,2475 +0,0 @@
|
|
|
1
|
-
import { useClickOutside, useEscapeKey, useLockBodyScroll } from '../../chunk-SR2T7OEJ.mjs';
|
|
2
|
-
import React14, { createContext, forwardRef, useState, useEffect, useCallback, useRef, useContext } from 'react';
|
|
3
|
-
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
|
-
import Link from 'next/link';
|
|
5
|
-
import { createPortal } from 'react-dom';
|
|
6
|
-
|
|
7
|
-
var AccordionContext = createContext(null);
|
|
8
|
-
var AccordionItemContext = createContext(null);
|
|
9
|
-
function useAccordionContext() {
|
|
10
|
-
const context = useContext(AccordionContext);
|
|
11
|
-
if (!context) {
|
|
12
|
-
throw new Error("Accordion components must be used within an Accordion");
|
|
13
|
-
}
|
|
14
|
-
return context;
|
|
15
|
-
}
|
|
16
|
-
function useAccordionItemContext() {
|
|
17
|
-
const context = useContext(AccordionItemContext);
|
|
18
|
-
if (!context) {
|
|
19
|
-
throw new Error("AccordionTrigger/AccordionContent must be used within an AccordionItem");
|
|
20
|
-
}
|
|
21
|
-
return context;
|
|
22
|
-
}
|
|
23
|
-
function Accordion({
|
|
24
|
-
type = "single",
|
|
25
|
-
defaultValue,
|
|
26
|
-
value: controlledValue,
|
|
27
|
-
onValueChange,
|
|
28
|
-
className = "",
|
|
29
|
-
children
|
|
30
|
-
}) {
|
|
31
|
-
const getInitialExpanded = () => {
|
|
32
|
-
const initial = controlledValue ?? defaultValue;
|
|
33
|
-
if (!initial) return /* @__PURE__ */ new Set();
|
|
34
|
-
return new Set(Array.isArray(initial) ? initial : [initial]);
|
|
35
|
-
};
|
|
36
|
-
const [expandedItems, setExpandedItems] = useState(getInitialExpanded);
|
|
37
|
-
useEffect(() => {
|
|
38
|
-
if (controlledValue !== void 0) {
|
|
39
|
-
setExpandedItems(new Set(Array.isArray(controlledValue) ? controlledValue : [controlledValue]));
|
|
40
|
-
}
|
|
41
|
-
}, [controlledValue]);
|
|
42
|
-
const toggleItem = useCallback((itemValue) => {
|
|
43
|
-
setExpandedItems((prev) => {
|
|
44
|
-
const next = new Set(prev);
|
|
45
|
-
if (next.has(itemValue)) {
|
|
46
|
-
next.delete(itemValue);
|
|
47
|
-
} else {
|
|
48
|
-
if (type === "single") {
|
|
49
|
-
next.clear();
|
|
50
|
-
}
|
|
51
|
-
next.add(itemValue);
|
|
52
|
-
}
|
|
53
|
-
if (onValueChange) {
|
|
54
|
-
const newValue = Array.from(next);
|
|
55
|
-
onValueChange(type === "single" ? newValue[0] ?? "" : newValue);
|
|
56
|
-
}
|
|
57
|
-
return next;
|
|
58
|
-
});
|
|
59
|
-
}, [type, onValueChange]);
|
|
60
|
-
return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: { type, expandedItems, toggleItem }, children: /* @__PURE__ */ jsx("div", { className: `space-y-0 ${className}`, children }) });
|
|
61
|
-
}
|
|
62
|
-
function AccordionItem({ value, className = "", children }) {
|
|
63
|
-
const { expandedItems } = useAccordionContext();
|
|
64
|
-
const isExpanded = expandedItems.has(value);
|
|
65
|
-
return /* @__PURE__ */ jsx(AccordionItemContext.Provider, { value: { value, isExpanded }, children: /* @__PURE__ */ jsx(
|
|
66
|
-
"div",
|
|
67
|
-
{
|
|
68
|
-
className: `
|
|
69
|
-
border border-edge-primary
|
|
70
|
-
bg-surface-primary
|
|
71
|
-
-mt-px first:mt-0
|
|
72
|
-
${className}
|
|
73
|
-
`.trim(),
|
|
74
|
-
"data-state": isExpanded ? "open" : "closed",
|
|
75
|
-
children
|
|
76
|
-
}
|
|
77
|
-
) });
|
|
78
|
-
}
|
|
79
|
-
function AccordionTrigger({ className = "", children }) {
|
|
80
|
-
const { toggleItem } = useAccordionContext();
|
|
81
|
-
const { value, isExpanded } = useAccordionItemContext();
|
|
82
|
-
return /* @__PURE__ */ jsxs(
|
|
83
|
-
"button",
|
|
84
|
-
{
|
|
85
|
-
type: "button",
|
|
86
|
-
onClick: () => toggleItem(value),
|
|
87
|
-
className: `
|
|
88
|
-
w-full flex items-center justify-between
|
|
89
|
-
px-4 py-3
|
|
90
|
-
font-joystix text-sm uppercase text-content-primary
|
|
91
|
-
bg-transparent
|
|
92
|
-
hover:bg-content-primary/5
|
|
93
|
-
transition-colors
|
|
94
|
-
cursor-pointer
|
|
95
|
-
${className}
|
|
96
|
-
`.trim(),
|
|
97
|
-
"aria-expanded": isExpanded,
|
|
98
|
-
children: [
|
|
99
|
-
/* @__PURE__ */ jsx("span", { children }),
|
|
100
|
-
/* @__PURE__ */ jsx(
|
|
101
|
-
"span",
|
|
102
|
-
{
|
|
103
|
-
className: "text-[1rem] font-mondwest select-none",
|
|
104
|
-
"aria-hidden": "true",
|
|
105
|
-
children: isExpanded ? "\u2212" : "+"
|
|
106
|
-
}
|
|
107
|
-
)
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
function AccordionContent({ className = "", children }) {
|
|
113
|
-
const { isExpanded } = useAccordionItemContext();
|
|
114
|
-
const contentRef = useRef(null);
|
|
115
|
-
const [height, setHeight] = useState(void 0);
|
|
116
|
-
const [isAnimating, setIsAnimating] = useState(false);
|
|
117
|
-
useEffect(() => {
|
|
118
|
-
const content = contentRef.current;
|
|
119
|
-
if (!content) return;
|
|
120
|
-
if (isExpanded) {
|
|
121
|
-
const scrollHeight = content.scrollHeight;
|
|
122
|
-
setHeight(scrollHeight);
|
|
123
|
-
setIsAnimating(true);
|
|
124
|
-
const timer = setTimeout(() => {
|
|
125
|
-
setIsAnimating(false);
|
|
126
|
-
setHeight(void 0);
|
|
127
|
-
}, 200);
|
|
128
|
-
return () => clearTimeout(timer);
|
|
129
|
-
} else {
|
|
130
|
-
const scrollHeight = content.scrollHeight;
|
|
131
|
-
setHeight(scrollHeight);
|
|
132
|
-
setIsAnimating(true);
|
|
133
|
-
requestAnimationFrame(() => {
|
|
134
|
-
setHeight(0);
|
|
135
|
-
});
|
|
136
|
-
const timer = setTimeout(() => {
|
|
137
|
-
setIsAnimating(false);
|
|
138
|
-
}, 200);
|
|
139
|
-
return () => clearTimeout(timer);
|
|
140
|
-
}
|
|
141
|
-
}, [isExpanded]);
|
|
142
|
-
return /* @__PURE__ */ jsx(
|
|
143
|
-
"div",
|
|
144
|
-
{
|
|
145
|
-
ref: contentRef,
|
|
146
|
-
className: `
|
|
147
|
-
overflow-hidden
|
|
148
|
-
transition-[height] duration-200 ease-out
|
|
149
|
-
${className}
|
|
150
|
-
`.trim(),
|
|
151
|
-
style: {
|
|
152
|
-
height: isAnimating ? height : isExpanded ? "auto" : 0
|
|
153
|
-
},
|
|
154
|
-
"aria-hidden": !isExpanded,
|
|
155
|
-
children: /* @__PURE__ */ jsx("div", { className: "px-4 pb-4", children })
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
var variantStyles = {
|
|
160
|
-
default: "bg-surface-primary border-edge-primary text-content-primary",
|
|
161
|
-
success: "bg-status-success/10 border-status-success text-content-primary",
|
|
162
|
-
warning: "bg-status-warning/10 border-status-warning text-content-primary",
|
|
163
|
-
error: "bg-status-error/10 border-status-error text-content-primary",
|
|
164
|
-
info: "bg-status-info/10 border-status-info text-content-primary"
|
|
165
|
-
};
|
|
166
|
-
function Alert({
|
|
167
|
-
variant = "default",
|
|
168
|
-
title,
|
|
169
|
-
children,
|
|
170
|
-
closable = false,
|
|
171
|
-
onClose,
|
|
172
|
-
icon,
|
|
173
|
-
closeIcon,
|
|
174
|
-
className = ""
|
|
175
|
-
}) {
|
|
176
|
-
return /* @__PURE__ */ jsx(
|
|
177
|
-
"div",
|
|
178
|
-
{
|
|
179
|
-
role: "alert",
|
|
180
|
-
className: `
|
|
181
|
-
p-4
|
|
182
|
-
border-2
|
|
183
|
-
rounded-sm
|
|
184
|
-
${variantStyles[variant]}
|
|
185
|
-
${className}
|
|
186
|
-
`.trim(),
|
|
187
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
188
|
-
icon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0 mt-0.5", children: icon }),
|
|
189
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
190
|
-
title && /* @__PURE__ */ jsx("p", { className: "font-joystix text-xs uppercase mb-1", children: title }),
|
|
191
|
-
/* @__PURE__ */ jsx("div", { className: "font-mondwest text-base text-content-primary/80", children })
|
|
192
|
-
] }),
|
|
193
|
-
closable && /* @__PURE__ */ jsx(
|
|
194
|
-
"button",
|
|
195
|
-
{
|
|
196
|
-
onClick: onClose,
|
|
197
|
-
className: "text-content-primary/50 hover:text-content-primary flex-shrink-0 -mt-1",
|
|
198
|
-
"aria-label": "Close",
|
|
199
|
-
children: closeIcon || /* @__PURE__ */ jsx(
|
|
200
|
-
"svg",
|
|
201
|
-
{
|
|
202
|
-
width: "16",
|
|
203
|
-
height: "16",
|
|
204
|
-
viewBox: "0 0 16 16",
|
|
205
|
-
fill: "none",
|
|
206
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
207
|
-
children: /* @__PURE__ */ jsx(
|
|
208
|
-
"path",
|
|
209
|
-
{
|
|
210
|
-
d: "M12 4L4 12M4 4L12 12",
|
|
211
|
-
stroke: "currentColor",
|
|
212
|
-
strokeWidth: "2",
|
|
213
|
-
strokeLinecap: "round",
|
|
214
|
-
strokeLinejoin: "round"
|
|
215
|
-
}
|
|
216
|
-
)
|
|
217
|
-
}
|
|
218
|
-
)
|
|
219
|
-
}
|
|
220
|
-
)
|
|
221
|
-
] })
|
|
222
|
-
}
|
|
223
|
-
);
|
|
224
|
-
}
|
|
225
|
-
var baseStyles = `
|
|
226
|
-
inline-flex items-center justify-center
|
|
227
|
-
font-joystix uppercase
|
|
228
|
-
rounded-sm
|
|
229
|
-
whitespace-nowrap
|
|
230
|
-
`;
|
|
231
|
-
var sizeStyles = {
|
|
232
|
-
sm: "px-2 py-0.5 text-2xs",
|
|
233
|
-
md: "px-2.5 py-1 text-xs"
|
|
234
|
-
};
|
|
235
|
-
var variantStyles2 = {
|
|
236
|
-
default: "bg-surface-primary text-content-primary border border-edge-primary",
|
|
237
|
-
success: "bg-status-success text-content-primary border border-edge-primary",
|
|
238
|
-
warning: "bg-status-warning text-content-primary border border-edge-primary",
|
|
239
|
-
error: "bg-status-error text-content-primary border border-edge-primary",
|
|
240
|
-
info: "bg-status-info text-content-primary border border-edge-primary"
|
|
241
|
-
};
|
|
242
|
-
function Badge({
|
|
243
|
-
variant = "default",
|
|
244
|
-
size = "md",
|
|
245
|
-
children,
|
|
246
|
-
className = ""
|
|
247
|
-
}) {
|
|
248
|
-
const classes = [
|
|
249
|
-
baseStyles,
|
|
250
|
-
sizeStyles[size],
|
|
251
|
-
variantStyles2[variant],
|
|
252
|
-
className
|
|
253
|
-
].join(" ").replace(/\s+/g, " ").trim();
|
|
254
|
-
return /* @__PURE__ */ jsx("span", { className: classes, children });
|
|
255
|
-
}
|
|
256
|
-
function Breadcrumbs({
|
|
257
|
-
items,
|
|
258
|
-
separator = "/",
|
|
259
|
-
className = ""
|
|
260
|
-
}) {
|
|
261
|
-
if (items.length === 0) return null;
|
|
262
|
-
return /* @__PURE__ */ jsx(
|
|
263
|
-
"nav",
|
|
264
|
-
{
|
|
265
|
-
"aria-label": "Breadcrumb",
|
|
266
|
-
className: `flex items-center gap-2 ${className}`.trim(),
|
|
267
|
-
children: /* @__PURE__ */ jsx("ol", { className: "flex items-center gap-2", children: items.map((item, index) => {
|
|
268
|
-
const isLast = index === items.length - 1;
|
|
269
|
-
return /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2", children: [
|
|
270
|
-
index > 0 && /* @__PURE__ */ jsx(
|
|
271
|
-
"span",
|
|
272
|
-
{
|
|
273
|
-
className: "font-mondwest text-base text-content-primary/40",
|
|
274
|
-
"aria-hidden": "true",
|
|
275
|
-
children: separator
|
|
276
|
-
}
|
|
277
|
-
),
|
|
278
|
-
item.href && !isLast ? /* @__PURE__ */ jsx(
|
|
279
|
-
Link,
|
|
280
|
-
{
|
|
281
|
-
href: item.href,
|
|
282
|
-
className: "font-mondwest text-base text-content-primary/60 hover:text-content-primary hover:underline transition-colors",
|
|
283
|
-
children: item.label
|
|
284
|
-
}
|
|
285
|
-
) : /* @__PURE__ */ jsx(
|
|
286
|
-
"span",
|
|
287
|
-
{
|
|
288
|
-
className: `
|
|
289
|
-
font-mondwest text-base
|
|
290
|
-
${isLast ? "text-content-primary font-semibold" : "text-content-primary/60"}
|
|
291
|
-
`.trim(),
|
|
292
|
-
"aria-current": isLast ? "page" : void 0,
|
|
293
|
-
children: item.label
|
|
294
|
-
}
|
|
295
|
-
)
|
|
296
|
-
] }, index);
|
|
297
|
-
}) })
|
|
298
|
-
}
|
|
299
|
-
);
|
|
300
|
-
}
|
|
301
|
-
var baseStyles2 = `
|
|
302
|
-
inline-flex items-center
|
|
303
|
-
font-heading uppercase
|
|
304
|
-
whitespace-nowrap
|
|
305
|
-
cursor-pointer select-none
|
|
306
|
-
border border-edge-primary
|
|
307
|
-
rounded-sm
|
|
308
|
-
shadow-btn
|
|
309
|
-
hover:-translate-y-0.5
|
|
310
|
-
hover:shadow-btn-hover
|
|
311
|
-
active:translate-y-0.5
|
|
312
|
-
active:shadow-none
|
|
313
|
-
disabled:opacity-50 disabled:cursor-not-allowed
|
|
314
|
-
disabled:hover:translate-y-0 disabled:hover:shadow-btn
|
|
315
|
-
focus:outline-none focus-visible:ring-2 focus-visible:ring-edge-focus focus-visible:ring-offset-1
|
|
316
|
-
`;
|
|
317
|
-
var sizeStyles2 = {
|
|
318
|
-
sm: "h-8 px-3 text-xs gap-3",
|
|
319
|
-
md: "h-8 px-3 text-xs gap-3",
|
|
320
|
-
lg: "h-8 px-3 text-sm gap-3"
|
|
321
|
-
};
|
|
322
|
-
var iconOnlySizeStyles = {
|
|
323
|
-
sm: "w-8 h-8 p-0",
|
|
324
|
-
md: "w-8 h-8 p-0",
|
|
325
|
-
lg: "w-8 h-8 p-0"
|
|
326
|
-
};
|
|
327
|
-
var variantStyles3 = {
|
|
328
|
-
primary: `
|
|
329
|
-
bg-action-primary text-content-primary
|
|
330
|
-
hover:bg-action-primary
|
|
331
|
-
active:bg-action-primary
|
|
332
|
-
`,
|
|
333
|
-
secondary: `
|
|
334
|
-
bg-surface-secondary text-content-inverted
|
|
335
|
-
hover:bg-surface-primary hover:text-content-primary
|
|
336
|
-
active:bg-action-primary active:text-content-primary
|
|
337
|
-
`,
|
|
338
|
-
outline: `
|
|
339
|
-
bg-transparent text-content-primary
|
|
340
|
-
shadow-none
|
|
341
|
-
hover:bg-content-primary/5 hover:!translate-y-0 hover:shadow-none
|
|
342
|
-
active:bg-action-primary active:!translate-y-0 active:shadow-none
|
|
343
|
-
`,
|
|
344
|
-
ghost: `
|
|
345
|
-
bg-transparent text-content-primary
|
|
346
|
-
border-transparent
|
|
347
|
-
shadow-none
|
|
348
|
-
hover:bg-transparent hover:border-edge-primary hover:text-content-primary hover:shadow-none hover:translate-y-0
|
|
349
|
-
active:bg-action-primary active:text-content-primary active:border-edge-primary active:translate-y-0
|
|
350
|
-
`
|
|
351
|
-
};
|
|
352
|
-
function getButtonClasses(variant, size, iconOnly, fullWidth, className, hasIcon) {
|
|
353
|
-
let justifyClass = "justify-start";
|
|
354
|
-
if (iconOnly) {
|
|
355
|
-
justifyClass = "justify-center";
|
|
356
|
-
} else if (fullWidth && hasIcon) {
|
|
357
|
-
justifyClass = "justify-between";
|
|
358
|
-
}
|
|
359
|
-
return [
|
|
360
|
-
baseStyles2,
|
|
361
|
-
iconOnly ? iconOnlySizeStyles[size] : sizeStyles2[size],
|
|
362
|
-
justifyClass,
|
|
363
|
-
variantStyles3[variant],
|
|
364
|
-
fullWidth ? "w-full" : "",
|
|
365
|
-
className
|
|
366
|
-
].join(" ").replace(/\s+/g, " ").trim();
|
|
367
|
-
}
|
|
368
|
-
function Button(props) {
|
|
369
|
-
const {
|
|
370
|
-
variant = "primary",
|
|
371
|
-
size = "md",
|
|
372
|
-
fullWidth = false,
|
|
373
|
-
iconOnly = false,
|
|
374
|
-
icon,
|
|
375
|
-
loadingIndicator,
|
|
376
|
-
loading = false,
|
|
377
|
-
children,
|
|
378
|
-
className = "",
|
|
379
|
-
...rest
|
|
380
|
-
} = props;
|
|
381
|
-
const hasIcon = Boolean(icon || iconOnly);
|
|
382
|
-
const showLoading = Boolean(loading && hasIcon && loadingIndicator);
|
|
383
|
-
const classes = getButtonClasses(variant, size, iconOnly, fullWidth, className, hasIcon);
|
|
384
|
-
const content = showLoading ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
385
|
-
!iconOnly && children,
|
|
386
|
-
loadingIndicator
|
|
387
|
-
] }) : icon ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
388
|
-
!iconOnly && children,
|
|
389
|
-
icon
|
|
390
|
-
] }) : children;
|
|
391
|
-
if ("href" in props && props.href) {
|
|
392
|
-
const { href, asLink = true, target, ...linkRest } = rest;
|
|
393
|
-
if (asLink) {
|
|
394
|
-
return /* @__PURE__ */ jsx(
|
|
395
|
-
"a",
|
|
396
|
-
{
|
|
397
|
-
href,
|
|
398
|
-
target,
|
|
399
|
-
className: classes,
|
|
400
|
-
...linkRest,
|
|
401
|
-
children: content
|
|
402
|
-
}
|
|
403
|
-
);
|
|
404
|
-
}
|
|
405
|
-
const linkButtonDisabled = showLoading || Boolean(linkRest.disabled);
|
|
406
|
-
const { disabled: _2, ...linkButtonRest } = linkRest;
|
|
407
|
-
return /* @__PURE__ */ jsx(
|
|
408
|
-
"button",
|
|
409
|
-
{
|
|
410
|
-
type: "button",
|
|
411
|
-
className: classes,
|
|
412
|
-
onClick: () => window.open(href, target || "_self"),
|
|
413
|
-
disabled: linkButtonDisabled,
|
|
414
|
-
...linkButtonRest,
|
|
415
|
-
children: content
|
|
416
|
-
}
|
|
417
|
-
);
|
|
418
|
-
}
|
|
419
|
-
const buttonProps = rest;
|
|
420
|
-
const disabled = showLoading || Boolean(buttonProps.disabled);
|
|
421
|
-
const { disabled: _, ...buttonPropsWithoutDisabled } = buttonProps;
|
|
422
|
-
return /* @__PURE__ */ jsx("button", { className: classes, ...buttonPropsWithoutDisabled, disabled, children: content });
|
|
423
|
-
}
|
|
424
|
-
var baseStyles3 = `
|
|
425
|
-
border border-edge-primary
|
|
426
|
-
rounded-md
|
|
427
|
-
overflow-hidden
|
|
428
|
-
`;
|
|
429
|
-
var variantStyles4 = {
|
|
430
|
-
default: `
|
|
431
|
-
bg-surface-primary text-content-primary
|
|
432
|
-
`,
|
|
433
|
-
dark: `
|
|
434
|
-
bg-surface-secondary text-content-inverted
|
|
435
|
-
`,
|
|
436
|
-
raised: `
|
|
437
|
-
bg-surface-primary text-content-primary
|
|
438
|
-
shadow-card
|
|
439
|
-
`
|
|
440
|
-
};
|
|
441
|
-
function Card({
|
|
442
|
-
variant = "default",
|
|
443
|
-
children,
|
|
444
|
-
className = "",
|
|
445
|
-
noPadding = false
|
|
446
|
-
}) {
|
|
447
|
-
const classes = [
|
|
448
|
-
baseStyles3,
|
|
449
|
-
variantStyles4[variant],
|
|
450
|
-
noPadding ? "" : "p-4",
|
|
451
|
-
className
|
|
452
|
-
].join(" ").replace(/\s+/g, " ").trim();
|
|
453
|
-
return /* @__PURE__ */ jsx("div", { className: classes, children });
|
|
454
|
-
}
|
|
455
|
-
function CardHeader({ children, className = "" }) {
|
|
456
|
-
return /* @__PURE__ */ jsx("div", { className: `px-4 py-3 border-b border-edge-primary ${className}`, children });
|
|
457
|
-
}
|
|
458
|
-
function CardBody({ children, className = "" }) {
|
|
459
|
-
return /* @__PURE__ */ jsx("div", { className: `p-4 ${className}`, children });
|
|
460
|
-
}
|
|
461
|
-
function CardFooter({ children, className = "" }) {
|
|
462
|
-
return /* @__PURE__ */ jsx("div", { className: `px-4 py-3 border-t border-edge-primary ${className}`, children });
|
|
463
|
-
}
|
|
464
|
-
function CheckmarkIcon({ className = "" }) {
|
|
465
|
-
return /* @__PURE__ */ jsx(
|
|
466
|
-
"svg",
|
|
467
|
-
{
|
|
468
|
-
width: "14",
|
|
469
|
-
height: "14",
|
|
470
|
-
viewBox: "0 0 16 16",
|
|
471
|
-
fill: "none",
|
|
472
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
473
|
-
className,
|
|
474
|
-
children: /* @__PURE__ */ jsx(
|
|
475
|
-
"path",
|
|
476
|
-
{
|
|
477
|
-
d: "M13.5 4.5L6 12L2.5 8.5",
|
|
478
|
-
stroke: "currentColor",
|
|
479
|
-
strokeWidth: "2",
|
|
480
|
-
strokeLinecap: "round",
|
|
481
|
-
strokeLinejoin: "round"
|
|
482
|
-
}
|
|
483
|
-
)
|
|
484
|
-
}
|
|
485
|
-
);
|
|
486
|
-
}
|
|
487
|
-
var Checkbox = forwardRef(function Checkbox2({ label, className = "", disabled, ...props }, ref) {
|
|
488
|
-
return /* @__PURE__ */ jsxs(
|
|
489
|
-
"label",
|
|
490
|
-
{
|
|
491
|
-
className: `
|
|
492
|
-
inline-flex items-center gap-2 cursor-pointer
|
|
493
|
-
${disabled ? "opacity-50 cursor-not-allowed" : ""}
|
|
494
|
-
${className}
|
|
495
|
-
`,
|
|
496
|
-
children: [
|
|
497
|
-
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
498
|
-
/* @__PURE__ */ jsx(
|
|
499
|
-
"input",
|
|
500
|
-
{
|
|
501
|
-
ref,
|
|
502
|
-
type: "checkbox",
|
|
503
|
-
disabled,
|
|
504
|
-
className: "peer sr-only",
|
|
505
|
-
...props
|
|
506
|
-
}
|
|
507
|
-
),
|
|
508
|
-
/* @__PURE__ */ jsx(
|
|
509
|
-
"div",
|
|
510
|
-
{
|
|
511
|
-
className: `
|
|
512
|
-
w-5 h-5
|
|
513
|
-
bg-surface-primary
|
|
514
|
-
border border-edge-primary
|
|
515
|
-
rounded-xs
|
|
516
|
-
peer-checked:bg-action-primary
|
|
517
|
-
peer-focus:ring-2 peer-focus:ring-edge-focus peer-focus:ring-offset-1
|
|
518
|
-
flex items-center justify-center
|
|
519
|
-
`
|
|
520
|
-
}
|
|
521
|
-
),
|
|
522
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 opacity-0 peer-checked:opacity-100 transition-opacity pointer-events-none", children: /* @__PURE__ */ jsx(CheckmarkIcon, { className: "text-content-primary" }) })
|
|
523
|
-
] }),
|
|
524
|
-
label && /* @__PURE__ */ jsx("span", { className: "font-mondwest text-base text-content-primary select-none", children: label })
|
|
525
|
-
]
|
|
526
|
-
}
|
|
527
|
-
);
|
|
528
|
-
});
|
|
529
|
-
var Radio = forwardRef(function Radio2({ label, className = "", disabled, ...props }, ref) {
|
|
530
|
-
return /* @__PURE__ */ jsxs(
|
|
531
|
-
"label",
|
|
532
|
-
{
|
|
533
|
-
className: `
|
|
534
|
-
inline-flex items-center gap-2 cursor-pointer
|
|
535
|
-
${disabled ? "opacity-50 cursor-not-allowed" : ""}
|
|
536
|
-
${className}
|
|
537
|
-
`,
|
|
538
|
-
children: [
|
|
539
|
-
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
540
|
-
/* @__PURE__ */ jsx(
|
|
541
|
-
"input",
|
|
542
|
-
{
|
|
543
|
-
ref,
|
|
544
|
-
type: "radio",
|
|
545
|
-
disabled,
|
|
546
|
-
className: "peer sr-only",
|
|
547
|
-
...props
|
|
548
|
-
}
|
|
549
|
-
),
|
|
550
|
-
/* @__PURE__ */ jsx(
|
|
551
|
-
"div",
|
|
552
|
-
{
|
|
553
|
-
className: `
|
|
554
|
-
w-5 h-5
|
|
555
|
-
bg-surface-primary
|
|
556
|
-
border border-edge-primary
|
|
557
|
-
rounded-full
|
|
558
|
-
peer-checked:bg-action-primary
|
|
559
|
-
peer-focus:ring-2 peer-focus:ring-edge-focus peer-focus:ring-offset-1
|
|
560
|
-
flex items-center justify-center
|
|
561
|
-
`
|
|
562
|
-
}
|
|
563
|
-
),
|
|
564
|
-
/* @__PURE__ */ jsx(
|
|
565
|
-
"div",
|
|
566
|
-
{
|
|
567
|
-
className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-2 h-2 bg-content-primary rounded-full opacity-0 peer-checked:opacity-100 pointer-events-none"
|
|
568
|
-
}
|
|
569
|
-
)
|
|
570
|
-
] }),
|
|
571
|
-
label && /* @__PURE__ */ jsx("span", { className: "font-mondwest text-base text-content-primary select-none", children: label })
|
|
572
|
-
]
|
|
573
|
-
}
|
|
574
|
-
);
|
|
575
|
-
});
|
|
576
|
-
var ContextMenuContext = createContext(null);
|
|
577
|
-
function useContextMenu() {
|
|
578
|
-
const context = useContext(ContextMenuContext);
|
|
579
|
-
if (!context) {
|
|
580
|
-
throw new Error("ContextMenu components must be used within a ContextMenu provider");
|
|
581
|
-
}
|
|
582
|
-
return context;
|
|
583
|
-
}
|
|
584
|
-
function ContextMenu({ children, className = "" }) {
|
|
585
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
586
|
-
const [position, setPosition] = useState({ x: 0, y: 0 });
|
|
587
|
-
const containerRef = useRef(null);
|
|
588
|
-
const open = (pos) => {
|
|
589
|
-
setPosition(pos);
|
|
590
|
-
setIsOpen(true);
|
|
591
|
-
};
|
|
592
|
-
const close = () => {
|
|
593
|
-
setIsOpen(false);
|
|
594
|
-
};
|
|
595
|
-
const handleContextMenu = (e) => {
|
|
596
|
-
e.preventDefault();
|
|
597
|
-
open({ x: e.clientX, y: e.clientY });
|
|
598
|
-
};
|
|
599
|
-
useEffect(() => {
|
|
600
|
-
const handleClickOutside = (e) => {
|
|
601
|
-
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
602
|
-
close();
|
|
603
|
-
}
|
|
604
|
-
};
|
|
605
|
-
const handleEscape = (e) => {
|
|
606
|
-
if (e.key === "Escape") close();
|
|
607
|
-
};
|
|
608
|
-
if (isOpen) {
|
|
609
|
-
document.addEventListener("mousedown", handleClickOutside);
|
|
610
|
-
document.addEventListener("keydown", handleEscape);
|
|
611
|
-
}
|
|
612
|
-
return () => {
|
|
613
|
-
document.removeEventListener("mousedown", handleClickOutside);
|
|
614
|
-
document.removeEventListener("keydown", handleEscape);
|
|
615
|
-
};
|
|
616
|
-
}, [isOpen]);
|
|
617
|
-
return /* @__PURE__ */ jsx(ContextMenuContext.Provider, { value: { isOpen, position, open, close }, children: /* @__PURE__ */ jsx(
|
|
618
|
-
"div",
|
|
619
|
-
{
|
|
620
|
-
ref: containerRef,
|
|
621
|
-
onContextMenu: handleContextMenu,
|
|
622
|
-
className,
|
|
623
|
-
children
|
|
624
|
-
}
|
|
625
|
-
) });
|
|
626
|
-
}
|
|
627
|
-
function ContextMenuContent({ children, className = "" }) {
|
|
628
|
-
const { isOpen, position, close } = useContextMenu();
|
|
629
|
-
if (!isOpen) return null;
|
|
630
|
-
return /* @__PURE__ */ jsx(
|
|
631
|
-
"div",
|
|
632
|
-
{
|
|
633
|
-
className: `
|
|
634
|
-
fixed z-[1000]
|
|
635
|
-
min-w-[160px]
|
|
636
|
-
bg-surface-primary
|
|
637
|
-
border border-edge-primary
|
|
638
|
-
rounded-sm
|
|
639
|
-
shadow-[2px_2px_0_0_var(--color-edge-primary)]
|
|
640
|
-
py-1
|
|
641
|
-
${className}
|
|
642
|
-
`,
|
|
643
|
-
style: {
|
|
644
|
-
left: position.x,
|
|
645
|
-
top: position.y
|
|
646
|
-
},
|
|
647
|
-
onClick: close,
|
|
648
|
-
children
|
|
649
|
-
}
|
|
650
|
-
);
|
|
651
|
-
}
|
|
652
|
-
function ContextMenuItem({
|
|
653
|
-
onClick,
|
|
654
|
-
disabled = false,
|
|
655
|
-
destructive = false,
|
|
656
|
-
icon,
|
|
657
|
-
children,
|
|
658
|
-
className = ""
|
|
659
|
-
}) {
|
|
660
|
-
const { close } = useContextMenu();
|
|
661
|
-
const handleClick = () => {
|
|
662
|
-
if (!disabled && onClick) {
|
|
663
|
-
onClick();
|
|
664
|
-
close();
|
|
665
|
-
}
|
|
666
|
-
};
|
|
667
|
-
return /* @__PURE__ */ jsxs(
|
|
668
|
-
"button",
|
|
669
|
-
{
|
|
670
|
-
type: "button",
|
|
671
|
-
onClick: handleClick,
|
|
672
|
-
disabled,
|
|
673
|
-
className: `
|
|
674
|
-
w-full flex items-center gap-2
|
|
675
|
-
px-3 py-1.5
|
|
676
|
-
font-mondwest text-base text-left
|
|
677
|
-
${destructive ? "text-status-error" : "text-content-primary"}
|
|
678
|
-
${disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-action-primary cursor-pointer"}
|
|
679
|
-
${className}
|
|
680
|
-
`,
|
|
681
|
-
children: [
|
|
682
|
-
icon && /* @__PURE__ */ jsx("span", { className: "w-4 h-4 flex items-center justify-center", children: icon }),
|
|
683
|
-
/* @__PURE__ */ jsx("span", { children })
|
|
684
|
-
]
|
|
685
|
-
}
|
|
686
|
-
);
|
|
687
|
-
}
|
|
688
|
-
function ContextMenuSeparator({ className = "" }) {
|
|
689
|
-
return /* @__PURE__ */ jsx(
|
|
690
|
-
"div",
|
|
691
|
-
{
|
|
692
|
-
className: `my-1 border-t border-edge-primary/20 ${className}`
|
|
693
|
-
}
|
|
694
|
-
);
|
|
695
|
-
}
|
|
696
|
-
function Divider({
|
|
697
|
-
orientation = "horizontal",
|
|
698
|
-
variant = "solid",
|
|
699
|
-
className = ""
|
|
700
|
-
}) {
|
|
701
|
-
if (variant === "decorated") {
|
|
702
|
-
return /* @__PURE__ */ jsxs("div", { className: `flex items-center gap-4 ${className}`, children: [
|
|
703
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 h-[2px] bg-edge-primary/20" }),
|
|
704
|
-
/* @__PURE__ */ jsx("div", { className: "w-2 h-2 bg-action-primary border border-edge-primary rotate-45" }),
|
|
705
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 h-[2px] bg-edge-primary/20" })
|
|
706
|
-
] });
|
|
707
|
-
}
|
|
708
|
-
if (orientation === "horizontal") {
|
|
709
|
-
const borderStyle2 = variant === "dashed" ? "border-dashed" : "border-solid";
|
|
710
|
-
return /* @__PURE__ */ jsx(
|
|
711
|
-
"div",
|
|
712
|
-
{
|
|
713
|
-
className: `w-full border-t border-edge-primary/20 ${borderStyle2} ${className}`,
|
|
714
|
-
role: "separator",
|
|
715
|
-
"aria-orientation": "horizontal"
|
|
716
|
-
}
|
|
717
|
-
);
|
|
718
|
-
}
|
|
719
|
-
const borderStyle = variant === "dashed" ? "border-dashed" : "border-solid";
|
|
720
|
-
return /* @__PURE__ */ jsx(
|
|
721
|
-
"div",
|
|
722
|
-
{
|
|
723
|
-
className: `h-full border-l border-edge-primary/20 ${borderStyle} ${className}`,
|
|
724
|
-
role: "separator",
|
|
725
|
-
"aria-orientation": "vertical"
|
|
726
|
-
}
|
|
727
|
-
);
|
|
728
|
-
}
|
|
729
|
-
var DropdownContext = createContext(null);
|
|
730
|
-
function useDropdownContext() {
|
|
731
|
-
const context = useContext(DropdownContext);
|
|
732
|
-
if (!context) {
|
|
733
|
-
throw new Error("DropdownMenu components must be used within a DropdownMenu");
|
|
734
|
-
}
|
|
735
|
-
return context;
|
|
736
|
-
}
|
|
737
|
-
function DropdownMenu({
|
|
738
|
-
open: controlledOpen,
|
|
739
|
-
defaultOpen = false,
|
|
740
|
-
onOpenChange,
|
|
741
|
-
position = "bottom-start",
|
|
742
|
-
children
|
|
743
|
-
}) {
|
|
744
|
-
const [internalOpen, setInternalOpen] = useState(defaultOpen);
|
|
745
|
-
const isControlled = controlledOpen !== void 0;
|
|
746
|
-
const open = isControlled ? controlledOpen : internalOpen;
|
|
747
|
-
const triggerRef = useRef(null);
|
|
748
|
-
const setOpen = useCallback((newOpen) => {
|
|
749
|
-
if (!isControlled) {
|
|
750
|
-
setInternalOpen(newOpen);
|
|
751
|
-
}
|
|
752
|
-
onOpenChange?.(newOpen);
|
|
753
|
-
}, [isControlled, onOpenChange]);
|
|
754
|
-
return /* @__PURE__ */ jsx(DropdownContext.Provider, { value: { open, setOpen, triggerRef, position }, children: /* @__PURE__ */ jsx("div", { className: "relative inline-block", children }) });
|
|
755
|
-
}
|
|
756
|
-
function DropdownMenuTrigger({ children, asChild }) {
|
|
757
|
-
const { open, setOpen, triggerRef } = useDropdownContext();
|
|
758
|
-
const handleClick = () => {
|
|
759
|
-
setOpen(!open);
|
|
760
|
-
};
|
|
761
|
-
if (asChild && React14.isValidElement(children)) {
|
|
762
|
-
return React14.cloneElement(children, {
|
|
763
|
-
onClick: handleClick,
|
|
764
|
-
ref: triggerRef
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
return /* @__PURE__ */ jsx(
|
|
768
|
-
"button",
|
|
769
|
-
{
|
|
770
|
-
type: "button",
|
|
771
|
-
ref: triggerRef,
|
|
772
|
-
onClick: handleClick,
|
|
773
|
-
children
|
|
774
|
-
}
|
|
775
|
-
);
|
|
776
|
-
}
|
|
777
|
-
function DropdownMenuContent({ className = "", children }) {
|
|
778
|
-
const { open, setOpen, triggerRef, position } = useDropdownContext();
|
|
779
|
-
const contentRef = useRef(null);
|
|
780
|
-
const [mounted, setMounted] = useState(false);
|
|
781
|
-
const [coords, setCoords] = useState({ top: 0, left: 0 });
|
|
782
|
-
useEffect(() => {
|
|
783
|
-
setMounted(true);
|
|
784
|
-
}, []);
|
|
785
|
-
useEffect(() => {
|
|
786
|
-
if (!open || !triggerRef.current || !contentRef.current) return;
|
|
787
|
-
const trigger = triggerRef.current.getBoundingClientRect();
|
|
788
|
-
const content = contentRef.current.getBoundingClientRect();
|
|
789
|
-
const gap = 4;
|
|
790
|
-
let top = 0;
|
|
791
|
-
let left = 0;
|
|
792
|
-
switch (position) {
|
|
793
|
-
case "bottom-start":
|
|
794
|
-
top = trigger.bottom + gap;
|
|
795
|
-
left = trigger.left;
|
|
796
|
-
break;
|
|
797
|
-
case "bottom-end":
|
|
798
|
-
top = trigger.bottom + gap;
|
|
799
|
-
left = trigger.right - content.width;
|
|
800
|
-
break;
|
|
801
|
-
case "top-start":
|
|
802
|
-
top = trigger.top - content.height - gap;
|
|
803
|
-
left = trigger.left;
|
|
804
|
-
break;
|
|
805
|
-
case "top-end":
|
|
806
|
-
top = trigger.top - content.height - gap;
|
|
807
|
-
left = trigger.right - content.width;
|
|
808
|
-
break;
|
|
809
|
-
}
|
|
810
|
-
top = Math.max(8, Math.min(top, window.innerHeight - content.height - 8));
|
|
811
|
-
left = Math.max(8, Math.min(left, window.innerWidth - content.width - 8));
|
|
812
|
-
setCoords({ top, left });
|
|
813
|
-
}, [open, position, triggerRef]);
|
|
814
|
-
useClickOutside(open, [contentRef, triggerRef], () => setOpen(false));
|
|
815
|
-
useEscapeKey(open, () => setOpen(false));
|
|
816
|
-
if (!mounted || !open) return null;
|
|
817
|
-
return createPortal(
|
|
818
|
-
/* @__PURE__ */ jsx(
|
|
819
|
-
"div",
|
|
820
|
-
{
|
|
821
|
-
ref: contentRef,
|
|
822
|
-
role: "menu",
|
|
823
|
-
className: `
|
|
824
|
-
fixed z-50
|
|
825
|
-
min-w-[8rem]
|
|
826
|
-
bg-surface-primary
|
|
827
|
-
border-2 border-edge-primary
|
|
828
|
-
rounded-sm
|
|
829
|
-
shadow-[2px_2px_0_0_var(--color-edge-primary)]
|
|
830
|
-
py-1
|
|
831
|
-
animate-fadeIn
|
|
832
|
-
${className}
|
|
833
|
-
`.trim(),
|
|
834
|
-
style: { top: coords.top, left: coords.left },
|
|
835
|
-
children
|
|
836
|
-
}
|
|
837
|
-
),
|
|
838
|
-
document.body
|
|
839
|
-
);
|
|
840
|
-
}
|
|
841
|
-
function DropdownMenuItem({
|
|
842
|
-
children,
|
|
843
|
-
onClick,
|
|
844
|
-
disabled = false,
|
|
845
|
-
destructive = false,
|
|
846
|
-
className = ""
|
|
847
|
-
}) {
|
|
848
|
-
const { setOpen } = useDropdownContext();
|
|
849
|
-
const handleClick = () => {
|
|
850
|
-
if (disabled) return;
|
|
851
|
-
onClick?.();
|
|
852
|
-
setOpen(false);
|
|
853
|
-
};
|
|
854
|
-
return /* @__PURE__ */ jsx(
|
|
855
|
-
"button",
|
|
856
|
-
{
|
|
857
|
-
type: "button",
|
|
858
|
-
role: "menuitem",
|
|
859
|
-
onClick: handleClick,
|
|
860
|
-
disabled,
|
|
861
|
-
className: `
|
|
862
|
-
w-full px-4 py-2
|
|
863
|
-
text-left
|
|
864
|
-
font-mondwest text-base
|
|
865
|
-
${destructive ? "text-status-error" : "text-content-primary"}
|
|
866
|
-
${disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-content-primary/5 cursor-pointer"}
|
|
867
|
-
transition-colors
|
|
868
|
-
${className}
|
|
869
|
-
`.trim(),
|
|
870
|
-
children
|
|
871
|
-
}
|
|
872
|
-
);
|
|
873
|
-
}
|
|
874
|
-
function DropdownMenuSeparator({ className = "" }) {
|
|
875
|
-
return /* @__PURE__ */ jsx(
|
|
876
|
-
"div",
|
|
877
|
-
{
|
|
878
|
-
role: "separator",
|
|
879
|
-
className: `h-px bg-edge-primary/20 my-1 ${className}`.trim()
|
|
880
|
-
}
|
|
881
|
-
);
|
|
882
|
-
}
|
|
883
|
-
function DropdownMenuLabel({ children, className = "" }) {
|
|
884
|
-
return /* @__PURE__ */ jsx(
|
|
885
|
-
"div",
|
|
886
|
-
{
|
|
887
|
-
className: `
|
|
888
|
-
px-4 py-1
|
|
889
|
-
font-joystix text-2xs uppercase
|
|
890
|
-
text-content-primary/50
|
|
891
|
-
${className}
|
|
892
|
-
`.trim(),
|
|
893
|
-
children
|
|
894
|
-
}
|
|
895
|
-
);
|
|
896
|
-
}
|
|
897
|
-
var baseStyles4 = `
|
|
898
|
-
font-sans
|
|
899
|
-
bg-surface-primary text-content-primary
|
|
900
|
-
border border-edge-primary
|
|
901
|
-
rounded-sm
|
|
902
|
-
placeholder:text-content-muted
|
|
903
|
-
focus:outline-none
|
|
904
|
-
focus:ring-2 focus:ring-edge-focus focus:ring-offset-0
|
|
905
|
-
disabled:opacity-50 disabled:cursor-not-allowed
|
|
906
|
-
`;
|
|
907
|
-
var sizeStyles3 = {
|
|
908
|
-
sm: "h-8 px-2 text-sm",
|
|
909
|
-
md: "h-10 px-3 text-base",
|
|
910
|
-
lg: "h-12 px-4 text-base"
|
|
911
|
-
};
|
|
912
|
-
var errorStyles = `
|
|
913
|
-
border-status-error
|
|
914
|
-
focus:ring-status-error
|
|
915
|
-
`;
|
|
916
|
-
var Input = forwardRef(function Input2({
|
|
917
|
-
size = "md",
|
|
918
|
-
error = false,
|
|
919
|
-
fullWidth = false,
|
|
920
|
-
iconName,
|
|
921
|
-
className = "",
|
|
922
|
-
...props
|
|
923
|
-
}, ref) {
|
|
924
|
-
const paddingLeft = iconName ? size === "sm" ? "pl-8" : size === "lg" ? "pl-12" : "pl-10" : "";
|
|
925
|
-
const classes = [
|
|
926
|
-
baseStyles4,
|
|
927
|
-
sizeStyles3[size],
|
|
928
|
-
error ? errorStyles : "",
|
|
929
|
-
fullWidth ? "w-full" : "",
|
|
930
|
-
paddingLeft,
|
|
931
|
-
className
|
|
932
|
-
].join(" ").replace(/\s+/g, " ").trim();
|
|
933
|
-
const input = /* @__PURE__ */ jsx("input", { ref, className: classes, ...props });
|
|
934
|
-
if (iconName) {
|
|
935
|
-
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
936
|
-
/* @__PURE__ */ jsx("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 pointer-events-none", children: /* @__PURE__ */ jsx(
|
|
937
|
-
"div",
|
|
938
|
-
{
|
|
939
|
-
className: "text-content-muted",
|
|
940
|
-
"data-icon-slot": iconName,
|
|
941
|
-
style: {
|
|
942
|
-
width: size === "sm" ? 14 : size === "lg" ? 18 : 20,
|
|
943
|
-
height: size === "sm" ? 14 : size === "lg" ? 18 : 20
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
) }),
|
|
947
|
-
input
|
|
948
|
-
] });
|
|
949
|
-
}
|
|
950
|
-
return input;
|
|
951
|
-
});
|
|
952
|
-
var TextArea = forwardRef(function TextArea2({
|
|
953
|
-
error = false,
|
|
954
|
-
fullWidth = false,
|
|
955
|
-
className = "",
|
|
956
|
-
...props
|
|
957
|
-
}, ref) {
|
|
958
|
-
const classes = [
|
|
959
|
-
baseStyles4,
|
|
960
|
-
"px-3 py-2 text-base",
|
|
961
|
-
"resize-y min-h-24",
|
|
962
|
-
error ? errorStyles : "",
|
|
963
|
-
fullWidth ? "w-full" : "",
|
|
964
|
-
className
|
|
965
|
-
].join(" ").replace(/\s+/g, " ").trim();
|
|
966
|
-
return /* @__PURE__ */ jsx("textarea", { ref, className: classes, ...props });
|
|
967
|
-
});
|
|
968
|
-
function Label({ children, required, className = "", ...props }) {
|
|
969
|
-
return /* @__PURE__ */ jsxs(
|
|
970
|
-
"label",
|
|
971
|
-
{
|
|
972
|
-
className,
|
|
973
|
-
...props,
|
|
974
|
-
children: [
|
|
975
|
-
children,
|
|
976
|
-
required && /* @__PURE__ */ jsx("span", { className: "text-status-error ml-1", children: "*" })
|
|
977
|
-
]
|
|
978
|
-
}
|
|
979
|
-
);
|
|
980
|
-
}
|
|
981
|
-
var sizeStyles4 = {
|
|
982
|
-
sm: "h-2",
|
|
983
|
-
md: "h-4",
|
|
984
|
-
lg: "h-6"
|
|
985
|
-
};
|
|
986
|
-
var variantStyles5 = {
|
|
987
|
-
default: "bg-action-primary",
|
|
988
|
-
success: "bg-status-success",
|
|
989
|
-
warning: "bg-surface-tertiary",
|
|
990
|
-
error: "bg-status-error"
|
|
991
|
-
};
|
|
992
|
-
function Progress({
|
|
993
|
-
value,
|
|
994
|
-
max = 100,
|
|
995
|
-
variant = "default",
|
|
996
|
-
size = "md",
|
|
997
|
-
showLabel = false,
|
|
998
|
-
className = ""
|
|
999
|
-
}) {
|
|
1000
|
-
const percentage = Math.min(100, Math.max(0, value / max * 100));
|
|
1001
|
-
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, children: [
|
|
1002
|
-
/* @__PURE__ */ jsx(
|
|
1003
|
-
"div",
|
|
1004
|
-
{
|
|
1005
|
-
className: `
|
|
1006
|
-
w-full
|
|
1007
|
-
bg-surface-primary
|
|
1008
|
-
border border-edge-primary
|
|
1009
|
-
rounded-sm
|
|
1010
|
-
overflow-hidden
|
|
1011
|
-
${sizeStyles4[size]}
|
|
1012
|
-
`,
|
|
1013
|
-
role: "progressbar",
|
|
1014
|
-
"aria-valuenow": value,
|
|
1015
|
-
"aria-valuemin": 0,
|
|
1016
|
-
"aria-valuemax": max,
|
|
1017
|
-
children: /* @__PURE__ */ jsx(
|
|
1018
|
-
"div",
|
|
1019
|
-
{
|
|
1020
|
-
className: `
|
|
1021
|
-
h-full
|
|
1022
|
-
${variantStyles5[variant]}
|
|
1023
|
-
`,
|
|
1024
|
-
style: { width: `${percentage}%` }
|
|
1025
|
-
}
|
|
1026
|
-
)
|
|
1027
|
-
}
|
|
1028
|
-
),
|
|
1029
|
-
showLabel && /* @__PURE__ */ jsxs("div", { className: "mt-1 font-joystix text-2xs text-content-primary text-right", children: [
|
|
1030
|
-
Math.round(percentage),
|
|
1031
|
-
"%"
|
|
1032
|
-
] })
|
|
1033
|
-
] });
|
|
1034
|
-
}
|
|
1035
|
-
var LOADER_FRAMES = ["\uEE06", "\uEE07", "\uEE08", "\uEE09", "\uEE0A", "\uEE0B"];
|
|
1036
|
-
function Spinner({ size = 24, className = "", completed = false }) {
|
|
1037
|
-
const [frameIndex, setFrameIndex] = React14.useState(0);
|
|
1038
|
-
React14.useEffect(() => {
|
|
1039
|
-
if (completed) {
|
|
1040
|
-
setFrameIndex(0);
|
|
1041
|
-
return;
|
|
1042
|
-
}
|
|
1043
|
-
const interval = setInterval(() => {
|
|
1044
|
-
setFrameIndex((prev) => (prev + 1) % LOADER_FRAMES.length);
|
|
1045
|
-
}, 150);
|
|
1046
|
-
return () => clearInterval(interval);
|
|
1047
|
-
}, [completed]);
|
|
1048
|
-
const fontSize = size;
|
|
1049
|
-
const displayChar = completed ? "\u2713" : LOADER_FRAMES[frameIndex];
|
|
1050
|
-
return /* @__PURE__ */ jsx(
|
|
1051
|
-
"div",
|
|
1052
|
-
{
|
|
1053
|
-
className: `inline-block flex items-center justify-center ${className}`,
|
|
1054
|
-
style: {
|
|
1055
|
-
width: size,
|
|
1056
|
-
height: size,
|
|
1057
|
-
fontSize,
|
|
1058
|
-
fontFamily: "PixelCode, monospace",
|
|
1059
|
-
lineHeight: 1
|
|
1060
|
-
},
|
|
1061
|
-
"aria-label": completed ? "Completed" : "Loading",
|
|
1062
|
-
role: "status",
|
|
1063
|
-
children: displayChar
|
|
1064
|
-
}
|
|
1065
|
-
);
|
|
1066
|
-
}
|
|
1067
|
-
function Select({
|
|
1068
|
-
options,
|
|
1069
|
-
value,
|
|
1070
|
-
placeholder = "Select...",
|
|
1071
|
-
onChange,
|
|
1072
|
-
disabled = false,
|
|
1073
|
-
error = false,
|
|
1074
|
-
fullWidth = false,
|
|
1075
|
-
className = ""
|
|
1076
|
-
}) {
|
|
1077
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
1078
|
-
const containerRef = useRef(null);
|
|
1079
|
-
useEffect(() => {
|
|
1080
|
-
function handleClickOutside(event) {
|
|
1081
|
-
if (containerRef.current && !containerRef.current.contains(event.target)) {
|
|
1082
|
-
setIsOpen(false);
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
document.addEventListener("mousedown", handleClickOutside);
|
|
1086
|
-
return () => document.removeEventListener("mousedown", handleClickOutside);
|
|
1087
|
-
}, []);
|
|
1088
|
-
const selectedOption = options.find((opt) => opt.value === value);
|
|
1089
|
-
const handleSelect = (optionValue) => {
|
|
1090
|
-
onChange?.(optionValue);
|
|
1091
|
-
setIsOpen(false);
|
|
1092
|
-
};
|
|
1093
|
-
return /* @__PURE__ */ jsxs(
|
|
1094
|
-
"div",
|
|
1095
|
-
{
|
|
1096
|
-
ref: containerRef,
|
|
1097
|
-
className: `relative ${fullWidth ? "w-full" : "w-fit"} ${className}`,
|
|
1098
|
-
children: [
|
|
1099
|
-
/* @__PURE__ */ jsxs(
|
|
1100
|
-
"button",
|
|
1101
|
-
{
|
|
1102
|
-
type: "button",
|
|
1103
|
-
onClick: () => !disabled && setIsOpen(!isOpen),
|
|
1104
|
-
disabled,
|
|
1105
|
-
className: `
|
|
1106
|
-
flex items-center justify-between gap-2
|
|
1107
|
-
w-full h-10 px-3
|
|
1108
|
-
font-mondwest text-base
|
|
1109
|
-
bg-surface-primary text-content-primary
|
|
1110
|
-
border rounded-sm
|
|
1111
|
-
${error ? "border-status-error" : "border-edge-primary"}
|
|
1112
|
-
${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
1113
|
-
${isOpen ? "shadow-[0_3px_0_0_var(--color-edge-primary)] -translate-y-0.5" : "shadow-[0_1px_0_0_var(--color-edge-primary)]"}
|
|
1114
|
-
`,
|
|
1115
|
-
children: [
|
|
1116
|
-
/* @__PURE__ */ jsx("span", { className: selectedOption ? "text-content-primary" : "text-content-primary/40", children: selectedOption?.label || placeholder }),
|
|
1117
|
-
/* @__PURE__ */ jsx("span", { className: `text-content-primary ${isOpen ? "rotate-180" : ""}`, children: "\u25BC" })
|
|
1118
|
-
]
|
|
1119
|
-
}
|
|
1120
|
-
),
|
|
1121
|
-
isOpen && /* @__PURE__ */ jsx(
|
|
1122
|
-
"div",
|
|
1123
|
-
{
|
|
1124
|
-
className: `
|
|
1125
|
-
absolute z-50 top-full left-0 right-0 mt-1
|
|
1126
|
-
bg-surface-primary
|
|
1127
|
-
border border-edge-primary
|
|
1128
|
-
rounded-sm
|
|
1129
|
-
shadow-[2px_2px_0_0_var(--color-edge-primary)]
|
|
1130
|
-
overflow-hidden
|
|
1131
|
-
`,
|
|
1132
|
-
children: options.map((option) => /* @__PURE__ */ jsx(
|
|
1133
|
-
"button",
|
|
1134
|
-
{
|
|
1135
|
-
type: "button",
|
|
1136
|
-
onClick: () => !option.disabled && handleSelect(option.value),
|
|
1137
|
-
disabled: option.disabled,
|
|
1138
|
-
className: `
|
|
1139
|
-
w-full px-3 py-2
|
|
1140
|
-
font-mondwest text-base text-left
|
|
1141
|
-
${option.value === value ? "bg-action-primary text-content-primary" : "text-content-primary"}
|
|
1142
|
-
${option.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-action-primary cursor-pointer"}
|
|
1143
|
-
`,
|
|
1144
|
-
children: option.label
|
|
1145
|
-
},
|
|
1146
|
-
option.value
|
|
1147
|
-
))
|
|
1148
|
-
}
|
|
1149
|
-
)
|
|
1150
|
-
]
|
|
1151
|
-
}
|
|
1152
|
-
);
|
|
1153
|
-
}
|
|
1154
|
-
var sizeStyles5 = {
|
|
1155
|
-
sm: {
|
|
1156
|
-
track: "h-1",
|
|
1157
|
-
thumb: "w-3 h-3"
|
|
1158
|
-
},
|
|
1159
|
-
md: {
|
|
1160
|
-
track: "h-2",
|
|
1161
|
-
thumb: "w-4 h-4"
|
|
1162
|
-
},
|
|
1163
|
-
lg: {
|
|
1164
|
-
track: "h-3",
|
|
1165
|
-
thumb: "w-5 h-5"
|
|
1166
|
-
}
|
|
1167
|
-
};
|
|
1168
|
-
function Slider({
|
|
1169
|
-
value,
|
|
1170
|
-
onChange,
|
|
1171
|
-
min = 0,
|
|
1172
|
-
max = 100,
|
|
1173
|
-
step = 1,
|
|
1174
|
-
size = "md",
|
|
1175
|
-
disabled = false,
|
|
1176
|
-
showValue = false,
|
|
1177
|
-
label,
|
|
1178
|
-
className = ""
|
|
1179
|
-
}) {
|
|
1180
|
-
const trackRef = useRef(null);
|
|
1181
|
-
const [isDragging, setIsDragging] = useState(false);
|
|
1182
|
-
const styles = sizeStyles5[size];
|
|
1183
|
-
const percentage = (value - min) / (max - min) * 100;
|
|
1184
|
-
const snapToStep = useCallback((val) => {
|
|
1185
|
-
const stepped = Math.round((val - min) / step) * step + min;
|
|
1186
|
-
return Math.max(min, Math.min(max, stepped));
|
|
1187
|
-
}, [min, max, step]);
|
|
1188
|
-
const getValueFromPosition = useCallback((clientX) => {
|
|
1189
|
-
if (!trackRef.current) return value;
|
|
1190
|
-
const rect = trackRef.current.getBoundingClientRect();
|
|
1191
|
-
const percent = Math.max(0, Math.min(1, (clientX - rect.left) / rect.width));
|
|
1192
|
-
const newValue = min + percent * (max - min);
|
|
1193
|
-
return snapToStep(newValue);
|
|
1194
|
-
}, [min, max, value, snapToStep]);
|
|
1195
|
-
const handlePointerDown = useCallback((e) => {
|
|
1196
|
-
if (disabled) return;
|
|
1197
|
-
e.preventDefault();
|
|
1198
|
-
setIsDragging(true);
|
|
1199
|
-
const newValue = getValueFromPosition(e.clientX);
|
|
1200
|
-
onChange(newValue);
|
|
1201
|
-
}, [disabled, getValueFromPosition, onChange]);
|
|
1202
|
-
useEffect(() => {
|
|
1203
|
-
if (!isDragging) return;
|
|
1204
|
-
const handlePointerMove = (e) => {
|
|
1205
|
-
const newValue = getValueFromPosition(e.clientX);
|
|
1206
|
-
onChange(newValue);
|
|
1207
|
-
};
|
|
1208
|
-
const handlePointerUp = () => {
|
|
1209
|
-
setIsDragging(false);
|
|
1210
|
-
};
|
|
1211
|
-
document.addEventListener("pointermove", handlePointerMove);
|
|
1212
|
-
document.addEventListener("pointerup", handlePointerUp);
|
|
1213
|
-
return () => {
|
|
1214
|
-
document.removeEventListener("pointermove", handlePointerMove);
|
|
1215
|
-
document.removeEventListener("pointerup", handlePointerUp);
|
|
1216
|
-
};
|
|
1217
|
-
}, [isDragging, getValueFromPosition, onChange]);
|
|
1218
|
-
const handleKeyDown = (e) => {
|
|
1219
|
-
if (disabled) return;
|
|
1220
|
-
let newValue = value;
|
|
1221
|
-
switch (e.key) {
|
|
1222
|
-
case "ArrowRight":
|
|
1223
|
-
case "ArrowUp":
|
|
1224
|
-
newValue = Math.min(max, value + step);
|
|
1225
|
-
break;
|
|
1226
|
-
case "ArrowLeft":
|
|
1227
|
-
case "ArrowDown":
|
|
1228
|
-
newValue = Math.max(min, value - step);
|
|
1229
|
-
break;
|
|
1230
|
-
case "Home":
|
|
1231
|
-
newValue = min;
|
|
1232
|
-
break;
|
|
1233
|
-
case "End":
|
|
1234
|
-
newValue = max;
|
|
1235
|
-
break;
|
|
1236
|
-
default:
|
|
1237
|
-
return;
|
|
1238
|
-
}
|
|
1239
|
-
e.preventDefault();
|
|
1240
|
-
onChange(newValue);
|
|
1241
|
-
};
|
|
1242
|
-
return /* @__PURE__ */ jsxs("div", { className: `space-y-2 ${className}`.trim(), children: [
|
|
1243
|
-
(label || showValue) && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1244
|
-
label && /* @__PURE__ */ jsx("span", { className: "font-mondwest text-base text-content-primary", children: label }),
|
|
1245
|
-
showValue && /* @__PURE__ */ jsx("span", { className: "font-mondwest text-sm text-content-primary/60", children: value })
|
|
1246
|
-
] }),
|
|
1247
|
-
/* @__PURE__ */ jsxs(
|
|
1248
|
-
"div",
|
|
1249
|
-
{
|
|
1250
|
-
ref: trackRef,
|
|
1251
|
-
role: "slider",
|
|
1252
|
-
tabIndex: disabled ? -1 : 0,
|
|
1253
|
-
"aria-valuemin": min,
|
|
1254
|
-
"aria-valuemax": max,
|
|
1255
|
-
"aria-valuenow": value,
|
|
1256
|
-
"aria-disabled": disabled,
|
|
1257
|
-
onPointerDown: handlePointerDown,
|
|
1258
|
-
onKeyDown: handleKeyDown,
|
|
1259
|
-
className: `
|
|
1260
|
-
relative w-full
|
|
1261
|
-
flex items-center
|
|
1262
|
-
${styles.track}
|
|
1263
|
-
bg-edge-primary/10
|
|
1264
|
-
border border-edge-primary
|
|
1265
|
-
rounded-sm
|
|
1266
|
-
${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
1267
|
-
focus:outline-none focus:ring-2 focus:ring-edge-focus focus:ring-offset-2
|
|
1268
|
-
`.trim(),
|
|
1269
|
-
children: [
|
|
1270
|
-
/* @__PURE__ */ jsx(
|
|
1271
|
-
"div",
|
|
1272
|
-
{
|
|
1273
|
-
className: `
|
|
1274
|
-
absolute top-0 left-0 h-full
|
|
1275
|
-
bg-action-primary
|
|
1276
|
-
rounded-sm
|
|
1277
|
-
pointer-events-none
|
|
1278
|
-
`.trim(),
|
|
1279
|
-
style: { width: `${percentage}%` }
|
|
1280
|
-
}
|
|
1281
|
-
),
|
|
1282
|
-
/* @__PURE__ */ jsx(
|
|
1283
|
-
"div",
|
|
1284
|
-
{
|
|
1285
|
-
className: "absolute top-0 bottom-0 flex items-center pointer-events-none",
|
|
1286
|
-
style: { left: `calc(${percentage}% - ${parseInt(styles.thumb.split(" ")[0].replace("w-", "")) * 2}px)` },
|
|
1287
|
-
children: /* @__PURE__ */ jsx(
|
|
1288
|
-
"div",
|
|
1289
|
-
{
|
|
1290
|
-
className: `
|
|
1291
|
-
${styles.thumb}
|
|
1292
|
-
bg-surface-muted
|
|
1293
|
-
border border-edge-primary
|
|
1294
|
-
rounded
|
|
1295
|
-
${isDragging ? "scale-110" : ""}
|
|
1296
|
-
transition-transform
|
|
1297
|
-
pointer-events-auto
|
|
1298
|
-
`.trim()
|
|
1299
|
-
}
|
|
1300
|
-
)
|
|
1301
|
-
}
|
|
1302
|
-
)
|
|
1303
|
-
]
|
|
1304
|
-
}
|
|
1305
|
-
)
|
|
1306
|
-
] });
|
|
1307
|
-
}
|
|
1308
|
-
var sizeStyles6 = {
|
|
1309
|
-
sm: {
|
|
1310
|
-
track: "w-8 h-4",
|
|
1311
|
-
thumb: "w-3 h-3",
|
|
1312
|
-
translate: "translate-x-4"
|
|
1313
|
-
},
|
|
1314
|
-
md: {
|
|
1315
|
-
track: "w-10 h-5",
|
|
1316
|
-
thumb: "w-4 h-4",
|
|
1317
|
-
translate: "translate-x-5"
|
|
1318
|
-
},
|
|
1319
|
-
lg: {
|
|
1320
|
-
track: "w-12 h-6",
|
|
1321
|
-
thumb: "w-5 h-5",
|
|
1322
|
-
translate: "translate-x-6"
|
|
1323
|
-
}
|
|
1324
|
-
};
|
|
1325
|
-
function Switch({
|
|
1326
|
-
checked,
|
|
1327
|
-
onChange,
|
|
1328
|
-
size = "md",
|
|
1329
|
-
disabled = false,
|
|
1330
|
-
label,
|
|
1331
|
-
labelPosition = "right",
|
|
1332
|
-
className = "",
|
|
1333
|
-
id
|
|
1334
|
-
}) {
|
|
1335
|
-
const styles = sizeStyles6[size];
|
|
1336
|
-
const switchId = id || `switch-${Math.random().toString(36).slice(2)}`;
|
|
1337
|
-
const handleClick = () => {
|
|
1338
|
-
if (!disabled) {
|
|
1339
|
-
onChange(!checked);
|
|
1340
|
-
}
|
|
1341
|
-
};
|
|
1342
|
-
const handleKeyDown = (e) => {
|
|
1343
|
-
if (e.key === " " || e.key === "Enter") {
|
|
1344
|
-
e.preventDefault();
|
|
1345
|
-
handleClick();
|
|
1346
|
-
}
|
|
1347
|
-
};
|
|
1348
|
-
const switchElement = /* @__PURE__ */ jsx(
|
|
1349
|
-
"button",
|
|
1350
|
-
{
|
|
1351
|
-
type: "button",
|
|
1352
|
-
role: "switch",
|
|
1353
|
-
id: switchId,
|
|
1354
|
-
"aria-checked": checked,
|
|
1355
|
-
disabled,
|
|
1356
|
-
onClick: handleClick,
|
|
1357
|
-
onKeyDown: handleKeyDown,
|
|
1358
|
-
className: `
|
|
1359
|
-
relative inline-flex items-center
|
|
1360
|
-
${styles.track}
|
|
1361
|
-
rounded-full
|
|
1362
|
-
border border-edge-primary
|
|
1363
|
-
transition-colors
|
|
1364
|
-
${checked ? "bg-action-primary" : "bg-edge-primary/10"}
|
|
1365
|
-
${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
1366
|
-
focus:outline-none focus:ring-2 focus:ring-edge-focus focus:ring-offset-2
|
|
1367
|
-
`.trim(),
|
|
1368
|
-
children: /* @__PURE__ */ jsx(
|
|
1369
|
-
"span",
|
|
1370
|
-
{
|
|
1371
|
-
className: `
|
|
1372
|
-
${styles.thumb}
|
|
1373
|
-
rounded-full
|
|
1374
|
-
bg-surface-secondary
|
|
1375
|
-
border border-edge-primary
|
|
1376
|
-
transform transition-transform
|
|
1377
|
-
${checked ? styles.translate : "translate-x-0.5"}
|
|
1378
|
-
`.trim(),
|
|
1379
|
-
"aria-hidden": "true"
|
|
1380
|
-
}
|
|
1381
|
-
)
|
|
1382
|
-
}
|
|
1383
|
-
);
|
|
1384
|
-
if (!label) {
|
|
1385
|
-
return /* @__PURE__ */ jsx("div", { className, children: switchElement });
|
|
1386
|
-
}
|
|
1387
|
-
return /* @__PURE__ */ jsxs("div", { className: `inline-flex items-center gap-2 ${className}`.trim(), children: [
|
|
1388
|
-
labelPosition === "left" && /* @__PURE__ */ jsx(
|
|
1389
|
-
"label",
|
|
1390
|
-
{
|
|
1391
|
-
htmlFor: switchId,
|
|
1392
|
-
className: `
|
|
1393
|
-
font-mondwest text-base text-content-primary
|
|
1394
|
-
${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
1395
|
-
`.trim(),
|
|
1396
|
-
children: label
|
|
1397
|
-
}
|
|
1398
|
-
),
|
|
1399
|
-
switchElement,
|
|
1400
|
-
labelPosition === "right" && /* @__PURE__ */ jsx(
|
|
1401
|
-
"label",
|
|
1402
|
-
{
|
|
1403
|
-
htmlFor: switchId,
|
|
1404
|
-
className: `
|
|
1405
|
-
font-mondwest text-base text-content-primary
|
|
1406
|
-
${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
1407
|
-
`.trim(),
|
|
1408
|
-
children: label
|
|
1409
|
-
}
|
|
1410
|
-
)
|
|
1411
|
-
] });
|
|
1412
|
-
}
|
|
1413
|
-
var TabsContext = createContext(null);
|
|
1414
|
-
function useTabsContext() {
|
|
1415
|
-
const context = useContext(TabsContext);
|
|
1416
|
-
if (!context) {
|
|
1417
|
-
throw new Error("Tab components must be used within a Tabs provider");
|
|
1418
|
-
}
|
|
1419
|
-
return context;
|
|
1420
|
-
}
|
|
1421
|
-
var triggerBaseStyles = `
|
|
1422
|
-
flex items-center justify-center gap-2
|
|
1423
|
-
px-4 py-2
|
|
1424
|
-
font-joystix text-xs uppercase
|
|
1425
|
-
cursor-pointer select-none
|
|
1426
|
-
text-content-primary
|
|
1427
|
-
transition-all duration-200 ease-out
|
|
1428
|
-
relative
|
|
1429
|
-
border border-edge-primary
|
|
1430
|
-
rounded-sm
|
|
1431
|
-
flex-1
|
|
1432
|
-
shadow-none
|
|
1433
|
-
`;
|
|
1434
|
-
var pillStyles = {
|
|
1435
|
-
inactive: `
|
|
1436
|
-
bg-transparent text-content-primary
|
|
1437
|
-
hover:bg-surface-secondary/5
|
|
1438
|
-
hover:translate-y-0
|
|
1439
|
-
hover:shadow-none
|
|
1440
|
-
`,
|
|
1441
|
-
active: `
|
|
1442
|
-
bg-action-primary text-content-primary
|
|
1443
|
-
hover:bg-action-primary
|
|
1444
|
-
hover:translate-y-0
|
|
1445
|
-
hover:shadow-none
|
|
1446
|
-
`
|
|
1447
|
-
};
|
|
1448
|
-
var lineStyles = {
|
|
1449
|
-
inactive: `
|
|
1450
|
-
bg-transparent
|
|
1451
|
-
hover:bg-surface-primary/50
|
|
1452
|
-
`,
|
|
1453
|
-
active: `
|
|
1454
|
-
border-b-0
|
|
1455
|
-
bg-surface-primary
|
|
1456
|
-
border-t border-l border-r border-edge-primary
|
|
1457
|
-
rounded-t-md
|
|
1458
|
-
mb-0
|
|
1459
|
-
relative
|
|
1460
|
-
z-10
|
|
1461
|
-
`
|
|
1462
|
-
};
|
|
1463
|
-
function Tabs({
|
|
1464
|
-
defaultValue,
|
|
1465
|
-
value,
|
|
1466
|
-
onValueChange,
|
|
1467
|
-
variant = "pill",
|
|
1468
|
-
layout = "bottom-tabs",
|
|
1469
|
-
children,
|
|
1470
|
-
className = ""
|
|
1471
|
-
}) {
|
|
1472
|
-
const [internalValue, setInternalValue] = useState(defaultValue || "");
|
|
1473
|
-
const isControlled = value !== void 0;
|
|
1474
|
-
const activeTab = isControlled ? value : internalValue;
|
|
1475
|
-
const setActiveTab = (newValue) => {
|
|
1476
|
-
if (isControlled) {
|
|
1477
|
-
onValueChange?.(newValue);
|
|
1478
|
-
} else {
|
|
1479
|
-
setInternalValue(newValue);
|
|
1480
|
-
}
|
|
1481
|
-
};
|
|
1482
|
-
return /* @__PURE__ */ jsx(TabsContext.Provider, { value: { activeTab, setActiveTab, variant, layout }, children: /* @__PURE__ */ jsx("div", { className, children }) });
|
|
1483
|
-
}
|
|
1484
|
-
function TabList({ children, className = "" }) {
|
|
1485
|
-
const { layout } = useTabsContext();
|
|
1486
|
-
const shrinkClass = layout === "bottom-tabs" ? "shrink-0" : "";
|
|
1487
|
-
return /* @__PURE__ */ jsx("div", { className: `flex items-center justify-between gap-4 px-2 py-2 bg-surface-primary border-t border-edge-primary ${shrinkClass} ${className}`, children: /* @__PURE__ */ jsx("div", { className: "flex gap-2 items-center overflow-x-auto w-full", children }) });
|
|
1488
|
-
}
|
|
1489
|
-
function TabTrigger({
|
|
1490
|
-
value,
|
|
1491
|
-
children,
|
|
1492
|
-
icon,
|
|
1493
|
-
className = ""
|
|
1494
|
-
}) {
|
|
1495
|
-
const { activeTab, setActiveTab, variant } = useTabsContext();
|
|
1496
|
-
const isActive = activeTab === value;
|
|
1497
|
-
const variantStyle = variant === "pill" ? isActive ? pillStyles.active : pillStyles.inactive : isActive ? lineStyles.active : lineStyles.inactive;
|
|
1498
|
-
const classes = [
|
|
1499
|
-
triggerBaseStyles,
|
|
1500
|
-
variantStyle,
|
|
1501
|
-
className
|
|
1502
|
-
].join(" ").replace(/\s+/g, " ").trim();
|
|
1503
|
-
return /* @__PURE__ */ jsxs(
|
|
1504
|
-
"button",
|
|
1505
|
-
{
|
|
1506
|
-
type: "button",
|
|
1507
|
-
role: "tab",
|
|
1508
|
-
"aria-selected": isActive,
|
|
1509
|
-
onClick: () => setActiveTab(value),
|
|
1510
|
-
className: classes,
|
|
1511
|
-
children: [
|
|
1512
|
-
icon,
|
|
1513
|
-
children
|
|
1514
|
-
]
|
|
1515
|
-
}
|
|
1516
|
-
);
|
|
1517
|
-
}
|
|
1518
|
-
function TabContent({
|
|
1519
|
-
value,
|
|
1520
|
-
children,
|
|
1521
|
-
className = ""
|
|
1522
|
-
}) {
|
|
1523
|
-
const { activeTab, variant } = useTabsContext();
|
|
1524
|
-
if (activeTab !== value) {
|
|
1525
|
-
return null;
|
|
1526
|
-
}
|
|
1527
|
-
const contentClasses = variant === "line" ? `bg-surface-primary border-r border-edge-primary ${className}` : className;
|
|
1528
|
-
return /* @__PURE__ */ jsx(
|
|
1529
|
-
"div",
|
|
1530
|
-
{
|
|
1531
|
-
role: "tabpanel",
|
|
1532
|
-
className: contentClasses,
|
|
1533
|
-
style: { height: "auto" },
|
|
1534
|
-
children
|
|
1535
|
-
}
|
|
1536
|
-
);
|
|
1537
|
-
}
|
|
1538
|
-
var positionStyles = {
|
|
1539
|
-
top: "bottom-full left-1/2 -translate-x-1/2 mb-2",
|
|
1540
|
-
bottom: "top-full left-1/2 -translate-x-1/2 mt-2",
|
|
1541
|
-
left: "right-full top-1/2 -translate-y-1/2 mr-2",
|
|
1542
|
-
right: "left-full top-1/2 -translate-y-1/2 ml-2"
|
|
1543
|
-
};
|
|
1544
|
-
var arrowStyles = {
|
|
1545
|
-
top: "top-full left-1/2 -translate-x-1/2 border-l-transparent border-r-transparent border-b-transparent border-t-surface-secondary",
|
|
1546
|
-
bottom: "bottom-full left-1/2 -translate-x-1/2 border-l-transparent border-r-transparent border-t-transparent border-b-surface-secondary",
|
|
1547
|
-
left: "left-full top-1/2 -translate-y-1/2 border-t-transparent border-b-transparent border-r-transparent border-l-surface-secondary",
|
|
1548
|
-
right: "right-full top-1/2 -translate-y-1/2 border-t-transparent border-b-transparent border-l-transparent border-r-surface-secondary"
|
|
1549
|
-
};
|
|
1550
|
-
var sizeStyles7 = {
|
|
1551
|
-
sm: "text-xs",
|
|
1552
|
-
md: "text-xs",
|
|
1553
|
-
lg: "text-sm"
|
|
1554
|
-
};
|
|
1555
|
-
function Tooltip({
|
|
1556
|
-
content,
|
|
1557
|
-
position = "top",
|
|
1558
|
-
delay = 0,
|
|
1559
|
-
size = "md",
|
|
1560
|
-
children,
|
|
1561
|
-
className = ""
|
|
1562
|
-
}) {
|
|
1563
|
-
const [isVisible, setIsVisible] = useState(false);
|
|
1564
|
-
const timeoutRef = useRef(null);
|
|
1565
|
-
const showTooltip = () => {
|
|
1566
|
-
if (delay > 0) {
|
|
1567
|
-
timeoutRef.current = setTimeout(() => setIsVisible(true), delay);
|
|
1568
|
-
} else {
|
|
1569
|
-
setIsVisible(true);
|
|
1570
|
-
}
|
|
1571
|
-
};
|
|
1572
|
-
const hideTooltip = () => {
|
|
1573
|
-
if (timeoutRef.current) {
|
|
1574
|
-
clearTimeout(timeoutRef.current);
|
|
1575
|
-
}
|
|
1576
|
-
setIsVisible(false);
|
|
1577
|
-
};
|
|
1578
|
-
return /* @__PURE__ */ jsxs(
|
|
1579
|
-
"div",
|
|
1580
|
-
{
|
|
1581
|
-
className: `relative inline-flex ${className}`,
|
|
1582
|
-
onMouseEnter: showTooltip,
|
|
1583
|
-
onMouseLeave: hideTooltip,
|
|
1584
|
-
onFocus: showTooltip,
|
|
1585
|
-
onBlur: hideTooltip,
|
|
1586
|
-
children: [
|
|
1587
|
-
children,
|
|
1588
|
-
isVisible && /* @__PURE__ */ jsxs(
|
|
1589
|
-
"div",
|
|
1590
|
-
{
|
|
1591
|
-
className: `
|
|
1592
|
-
absolute z-[1000]
|
|
1593
|
-
px-2 py-1
|
|
1594
|
-
bg-surface-secondary text-content-inverted
|
|
1595
|
-
font-joystix uppercase
|
|
1596
|
-
rounded-sm
|
|
1597
|
-
whitespace-nowrap
|
|
1598
|
-
pointer-events-none
|
|
1599
|
-
${sizeStyles7[size]}
|
|
1600
|
-
${positionStyles[position]}
|
|
1601
|
-
`,
|
|
1602
|
-
role: "tooltip",
|
|
1603
|
-
children: [
|
|
1604
|
-
content,
|
|
1605
|
-
/* @__PURE__ */ jsx(
|
|
1606
|
-
"div",
|
|
1607
|
-
{
|
|
1608
|
-
className: `
|
|
1609
|
-
absolute
|
|
1610
|
-
border-4 border-solid
|
|
1611
|
-
${arrowStyles[position]}
|
|
1612
|
-
`
|
|
1613
|
-
}
|
|
1614
|
-
)
|
|
1615
|
-
]
|
|
1616
|
-
}
|
|
1617
|
-
)
|
|
1618
|
-
]
|
|
1619
|
-
}
|
|
1620
|
-
);
|
|
1621
|
-
}
|
|
1622
|
-
var ToastContext = createContext(null);
|
|
1623
|
-
function useToast() {
|
|
1624
|
-
const context = useContext(ToastContext);
|
|
1625
|
-
if (!context) {
|
|
1626
|
-
throw new Error("useToast must be used within a ToastProvider");
|
|
1627
|
-
}
|
|
1628
|
-
return context;
|
|
1629
|
-
}
|
|
1630
|
-
function ToastProvider({
|
|
1631
|
-
children,
|
|
1632
|
-
defaultDuration = 5e3,
|
|
1633
|
-
renderIcon,
|
|
1634
|
-
renderCloseIcon
|
|
1635
|
-
}) {
|
|
1636
|
-
const [toasts, setToasts] = useState([]);
|
|
1637
|
-
const [mounted, setMounted] = useState(false);
|
|
1638
|
-
useEffect(() => {
|
|
1639
|
-
setMounted(true);
|
|
1640
|
-
}, []);
|
|
1641
|
-
const addToast = useCallback((toast) => {
|
|
1642
|
-
const id = `toast-${Date.now()}-${Math.random().toString(36).slice(2)}`;
|
|
1643
|
-
const duration = toast.duration ?? defaultDuration;
|
|
1644
|
-
setToasts((prev) => [...prev, { ...toast, id }]);
|
|
1645
|
-
if (duration > 0) {
|
|
1646
|
-
setTimeout(() => {
|
|
1647
|
-
setToasts((prev) => prev.filter((t) => t.id !== id));
|
|
1648
|
-
}, duration);
|
|
1649
|
-
}
|
|
1650
|
-
return id;
|
|
1651
|
-
}, [defaultDuration]);
|
|
1652
|
-
const removeToast = useCallback((id) => {
|
|
1653
|
-
setToasts((prev) => prev.filter((t) => t.id !== id));
|
|
1654
|
-
}, []);
|
|
1655
|
-
return /* @__PURE__ */ jsxs(ToastContext.Provider, { value: { toasts, addToast, removeToast }, children: [
|
|
1656
|
-
children,
|
|
1657
|
-
mounted && createPortal(
|
|
1658
|
-
/* @__PURE__ */ jsx(
|
|
1659
|
-
ToastViewport,
|
|
1660
|
-
{
|
|
1661
|
-
toasts,
|
|
1662
|
-
removeToast,
|
|
1663
|
-
renderIcon,
|
|
1664
|
-
renderCloseIcon
|
|
1665
|
-
}
|
|
1666
|
-
),
|
|
1667
|
-
document.body
|
|
1668
|
-
)
|
|
1669
|
-
] });
|
|
1670
|
-
}
|
|
1671
|
-
function ToastViewport({ toasts, removeToast, renderIcon, renderCloseIcon }) {
|
|
1672
|
-
if (toasts.length === 0) return null;
|
|
1673
|
-
return /* @__PURE__ */ jsx(
|
|
1674
|
-
"div",
|
|
1675
|
-
{
|
|
1676
|
-
className: "fixed bottom-4 right-4 z-[100] flex flex-col gap-2 max-w-sm w-full pointer-events-none",
|
|
1677
|
-
"aria-live": "polite",
|
|
1678
|
-
children: toasts.map((toast) => /* @__PURE__ */ jsx(
|
|
1679
|
-
Toast,
|
|
1680
|
-
{
|
|
1681
|
-
toast,
|
|
1682
|
-
onClose: () => removeToast(toast.id),
|
|
1683
|
-
renderIcon,
|
|
1684
|
-
renderCloseIcon
|
|
1685
|
-
},
|
|
1686
|
-
toast.id
|
|
1687
|
-
))
|
|
1688
|
-
}
|
|
1689
|
-
);
|
|
1690
|
-
}
|
|
1691
|
-
var variantStyles6 = {
|
|
1692
|
-
default: "bg-surface-primary border-edge-primary",
|
|
1693
|
-
success: "bg-status-success border-status-success",
|
|
1694
|
-
warning: "bg-status-warning border-surface-tertiary",
|
|
1695
|
-
error: "bg-status-error border-status-error",
|
|
1696
|
-
info: "bg-status-info border-status-info"
|
|
1697
|
-
};
|
|
1698
|
-
function Toast({ toast, onClose, renderIcon, renderCloseIcon }) {
|
|
1699
|
-
const variant = toast.variant || "default";
|
|
1700
|
-
const displayIcon = toast.icon ?? (renderIcon ? renderIcon(variant) : null);
|
|
1701
|
-
return /* @__PURE__ */ jsx(
|
|
1702
|
-
"div",
|
|
1703
|
-
{
|
|
1704
|
-
className: `
|
|
1705
|
-
pointer-events-auto
|
|
1706
|
-
p-4
|
|
1707
|
-
border-2
|
|
1708
|
-
rounded-sm
|
|
1709
|
-
shadow-[2px_2px_0_0_var(--color-edge-primary)]
|
|
1710
|
-
animate-slideIn
|
|
1711
|
-
${variantStyles6[variant]}
|
|
1712
|
-
`.trim(),
|
|
1713
|
-
role: "alert",
|
|
1714
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1715
|
-
displayIcon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", children: displayIcon }),
|
|
1716
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
1717
|
-
/* @__PURE__ */ jsx("p", { className: "font-joystix text-xs uppercase text-content-primary", children: toast.title }),
|
|
1718
|
-
toast.description && /* @__PURE__ */ jsx("p", { className: "font-mondwest text-base text-content-primary/70 mt-1", children: toast.description })
|
|
1719
|
-
] }),
|
|
1720
|
-
/* @__PURE__ */ jsx(
|
|
1721
|
-
"button",
|
|
1722
|
-
{
|
|
1723
|
-
onClick: onClose,
|
|
1724
|
-
className: "text-content-primary/50 hover:text-content-primary flex-shrink-0 -mt-1",
|
|
1725
|
-
"aria-label": "Close",
|
|
1726
|
-
children: renderCloseIcon ? renderCloseIcon() : /* @__PURE__ */ jsx(
|
|
1727
|
-
"svg",
|
|
1728
|
-
{
|
|
1729
|
-
width: "16",
|
|
1730
|
-
height: "16",
|
|
1731
|
-
viewBox: "0 0 16 16",
|
|
1732
|
-
fill: "none",
|
|
1733
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1734
|
-
children: /* @__PURE__ */ jsx(
|
|
1735
|
-
"path",
|
|
1736
|
-
{
|
|
1737
|
-
d: "M12 4L4 12M4 4L12 12",
|
|
1738
|
-
stroke: "currentColor",
|
|
1739
|
-
strokeWidth: "2",
|
|
1740
|
-
strokeLinecap: "round",
|
|
1741
|
-
strokeLinejoin: "round"
|
|
1742
|
-
}
|
|
1743
|
-
)
|
|
1744
|
-
}
|
|
1745
|
-
)
|
|
1746
|
-
}
|
|
1747
|
-
)
|
|
1748
|
-
] })
|
|
1749
|
-
}
|
|
1750
|
-
);
|
|
1751
|
-
}
|
|
1752
|
-
function HelpPanel({
|
|
1753
|
-
isOpen,
|
|
1754
|
-
onClose,
|
|
1755
|
-
children,
|
|
1756
|
-
title = "Help",
|
|
1757
|
-
closeButton,
|
|
1758
|
-
className = ""
|
|
1759
|
-
}) {
|
|
1760
|
-
const panelRef = useRef(null);
|
|
1761
|
-
useEffect(() => {
|
|
1762
|
-
const handleEscape = (e) => {
|
|
1763
|
-
if (e.key === "Escape" && isOpen) {
|
|
1764
|
-
onClose();
|
|
1765
|
-
}
|
|
1766
|
-
};
|
|
1767
|
-
document.addEventListener("keydown", handleEscape);
|
|
1768
|
-
return () => document.removeEventListener("keydown", handleEscape);
|
|
1769
|
-
}, [isOpen, onClose]);
|
|
1770
|
-
useEffect(() => {
|
|
1771
|
-
const handleClickOutside = (e) => {
|
|
1772
|
-
if (panelRef.current && !panelRef.current.contains(e.target) && isOpen) {
|
|
1773
|
-
onClose();
|
|
1774
|
-
}
|
|
1775
|
-
};
|
|
1776
|
-
const timeoutId = setTimeout(() => {
|
|
1777
|
-
document.addEventListener("mousedown", handleClickOutside);
|
|
1778
|
-
}, 100);
|
|
1779
|
-
return () => {
|
|
1780
|
-
clearTimeout(timeoutId);
|
|
1781
|
-
document.removeEventListener("mousedown", handleClickOutside);
|
|
1782
|
-
};
|
|
1783
|
-
}, [isOpen, onClose]);
|
|
1784
|
-
if (!isOpen) return null;
|
|
1785
|
-
return /* @__PURE__ */ jsx(
|
|
1786
|
-
"div",
|
|
1787
|
-
{
|
|
1788
|
-
className: `
|
|
1789
|
-
absolute inset-0 z-50
|
|
1790
|
-
bg-surface-secondary/20
|
|
1791
|
-
flex justify-center items-center
|
|
1792
|
-
`,
|
|
1793
|
-
children: /* @__PURE__ */ jsxs(
|
|
1794
|
-
"div",
|
|
1795
|
-
{
|
|
1796
|
-
ref: panelRef,
|
|
1797
|
-
className: `
|
|
1798
|
-
h-full w-full max-w-4xl
|
|
1799
|
-
bg-surface-primary
|
|
1800
|
-
border border-edge-primary
|
|
1801
|
-
shadow-card-lg
|
|
1802
|
-
flex flex-col
|
|
1803
|
-
animate-slide-in-right
|
|
1804
|
-
${className}
|
|
1805
|
-
`,
|
|
1806
|
-
children: [
|
|
1807
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-4 py-3 border-b border-edge-primary", children: [
|
|
1808
|
-
/* @__PURE__ */ jsx("span", { className: "font-joystix text-xs text-content-primary uppercase", children: title }),
|
|
1809
|
-
closeButton ? /* @__PURE__ */ jsx("span", { onClick: onClose, className: "cursor-pointer", children: closeButton }) : /* @__PURE__ */ jsx(
|
|
1810
|
-
"button",
|
|
1811
|
-
{
|
|
1812
|
-
onClick: onClose,
|
|
1813
|
-
className: "text-content-primary/50 hover:text-content-primary p-1",
|
|
1814
|
-
"aria-label": "Close help panel",
|
|
1815
|
-
children: /* @__PURE__ */ jsx(
|
|
1816
|
-
"svg",
|
|
1817
|
-
{
|
|
1818
|
-
width: "16",
|
|
1819
|
-
height: "16",
|
|
1820
|
-
viewBox: "0 0 16 16",
|
|
1821
|
-
fill: "none",
|
|
1822
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1823
|
-
children: /* @__PURE__ */ jsx(
|
|
1824
|
-
"path",
|
|
1825
|
-
{
|
|
1826
|
-
d: "M12 4L4 12M4 4L12 12",
|
|
1827
|
-
stroke: "currentColor",
|
|
1828
|
-
strokeWidth: "2",
|
|
1829
|
-
strokeLinecap: "round",
|
|
1830
|
-
strokeLinejoin: "round"
|
|
1831
|
-
}
|
|
1832
|
-
)
|
|
1833
|
-
}
|
|
1834
|
-
)
|
|
1835
|
-
}
|
|
1836
|
-
)
|
|
1837
|
-
] }),
|
|
1838
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-auto p-4", children: /* @__PURE__ */ jsx("div", { className: "font-mondwest text-base text-content-primary space-y-4", children }) })
|
|
1839
|
-
]
|
|
1840
|
-
}
|
|
1841
|
-
)
|
|
1842
|
-
}
|
|
1843
|
-
);
|
|
1844
|
-
}
|
|
1845
|
-
var PopoverContext = createContext(null);
|
|
1846
|
-
function usePopoverContext() {
|
|
1847
|
-
const context = useContext(PopoverContext);
|
|
1848
|
-
if (!context) {
|
|
1849
|
-
throw new Error("Popover components must be used within a Popover");
|
|
1850
|
-
}
|
|
1851
|
-
return context;
|
|
1852
|
-
}
|
|
1853
|
-
function Popover({
|
|
1854
|
-
open: controlledOpen,
|
|
1855
|
-
defaultOpen = false,
|
|
1856
|
-
onOpenChange,
|
|
1857
|
-
position = "bottom",
|
|
1858
|
-
children
|
|
1859
|
-
}) {
|
|
1860
|
-
const [internalOpen, setInternalOpen] = useState(defaultOpen);
|
|
1861
|
-
const isControlled = controlledOpen !== void 0;
|
|
1862
|
-
const open = isControlled ? controlledOpen : internalOpen;
|
|
1863
|
-
const triggerRef = useRef(null);
|
|
1864
|
-
const setOpen = useCallback((newOpen) => {
|
|
1865
|
-
if (!isControlled) {
|
|
1866
|
-
setInternalOpen(newOpen);
|
|
1867
|
-
}
|
|
1868
|
-
onOpenChange?.(newOpen);
|
|
1869
|
-
}, [isControlled, onOpenChange]);
|
|
1870
|
-
return /* @__PURE__ */ jsx(PopoverContext.Provider, { value: { open, setOpen, triggerRef, position }, children });
|
|
1871
|
-
}
|
|
1872
|
-
function PopoverTrigger({ children, asChild }) {
|
|
1873
|
-
const { open, setOpen, triggerRef } = usePopoverContext();
|
|
1874
|
-
const handleClick = () => {
|
|
1875
|
-
setOpen(!open);
|
|
1876
|
-
};
|
|
1877
|
-
if (asChild && React14.isValidElement(children)) {
|
|
1878
|
-
return React14.cloneElement(children, {
|
|
1879
|
-
onClick: handleClick,
|
|
1880
|
-
ref: triggerRef
|
|
1881
|
-
});
|
|
1882
|
-
}
|
|
1883
|
-
return /* @__PURE__ */ jsx(
|
|
1884
|
-
"button",
|
|
1885
|
-
{
|
|
1886
|
-
type: "button",
|
|
1887
|
-
ref: triggerRef,
|
|
1888
|
-
onClick: handleClick,
|
|
1889
|
-
children
|
|
1890
|
-
}
|
|
1891
|
-
);
|
|
1892
|
-
}
|
|
1893
|
-
function PopoverContent({ className = "", children, align = "center" }) {
|
|
1894
|
-
const { open, setOpen, triggerRef, position } = usePopoverContext();
|
|
1895
|
-
const contentRef = useRef(null);
|
|
1896
|
-
const [mounted, setMounted] = useState(false);
|
|
1897
|
-
const [coords, setCoords] = useState({ top: 0, left: 0 });
|
|
1898
|
-
useEffect(() => {
|
|
1899
|
-
setMounted(true);
|
|
1900
|
-
}, []);
|
|
1901
|
-
useEffect(() => {
|
|
1902
|
-
if (!open || !triggerRef.current || !contentRef.current) return;
|
|
1903
|
-
const trigger = triggerRef.current.getBoundingClientRect();
|
|
1904
|
-
const content = contentRef.current.getBoundingClientRect();
|
|
1905
|
-
const gap = 8;
|
|
1906
|
-
let top = 0;
|
|
1907
|
-
let left = 0;
|
|
1908
|
-
switch (position) {
|
|
1909
|
-
case "top":
|
|
1910
|
-
top = trigger.top - content.height - gap;
|
|
1911
|
-
left = trigger.left + (trigger.width - content.width) / 2;
|
|
1912
|
-
break;
|
|
1913
|
-
case "bottom":
|
|
1914
|
-
top = trigger.bottom + gap;
|
|
1915
|
-
left = trigger.left + (trigger.width - content.width) / 2;
|
|
1916
|
-
break;
|
|
1917
|
-
case "left":
|
|
1918
|
-
top = trigger.top + (trigger.height - content.height) / 2;
|
|
1919
|
-
left = trigger.left - content.width - gap;
|
|
1920
|
-
break;
|
|
1921
|
-
case "right":
|
|
1922
|
-
top = trigger.top + (trigger.height - content.height) / 2;
|
|
1923
|
-
left = trigger.right + gap;
|
|
1924
|
-
break;
|
|
1925
|
-
}
|
|
1926
|
-
if (position === "top" || position === "bottom") {
|
|
1927
|
-
if (align === "start") {
|
|
1928
|
-
left = trigger.left;
|
|
1929
|
-
} else if (align === "end") {
|
|
1930
|
-
left = trigger.right - content.width;
|
|
1931
|
-
}
|
|
1932
|
-
}
|
|
1933
|
-
top = Math.max(8, Math.min(top, window.innerHeight - content.height - 8));
|
|
1934
|
-
left = Math.max(8, Math.min(left, window.innerWidth - content.width - 8));
|
|
1935
|
-
setCoords({ top, left });
|
|
1936
|
-
}, [open, position, align, triggerRef]);
|
|
1937
|
-
useClickOutside(open, [contentRef, triggerRef], () => setOpen(false));
|
|
1938
|
-
useEscapeKey(open, () => setOpen(false));
|
|
1939
|
-
if (!mounted || !open) return null;
|
|
1940
|
-
return createPortal(
|
|
1941
|
-
/* @__PURE__ */ jsx(
|
|
1942
|
-
"div",
|
|
1943
|
-
{
|
|
1944
|
-
ref: contentRef,
|
|
1945
|
-
className: `
|
|
1946
|
-
fixed z-50
|
|
1947
|
-
bg-surface-primary
|
|
1948
|
-
border-2 border-edge-primary
|
|
1949
|
-
rounded-sm
|
|
1950
|
-
shadow-[2px_2px_0_0_var(--color-edge-primary)]
|
|
1951
|
-
p-4
|
|
1952
|
-
animate-fadeIn
|
|
1953
|
-
${className}
|
|
1954
|
-
`.trim(),
|
|
1955
|
-
style: { top: coords.top, left: coords.left },
|
|
1956
|
-
children
|
|
1957
|
-
}
|
|
1958
|
-
),
|
|
1959
|
-
document.body
|
|
1960
|
-
);
|
|
1961
|
-
}
|
|
1962
|
-
var SheetContext = createContext(null);
|
|
1963
|
-
function useSheetContext() {
|
|
1964
|
-
const context = useContext(SheetContext);
|
|
1965
|
-
if (!context) {
|
|
1966
|
-
throw new Error("Sheet components must be used within a Sheet");
|
|
1967
|
-
}
|
|
1968
|
-
return context;
|
|
1969
|
-
}
|
|
1970
|
-
function Sheet({
|
|
1971
|
-
open: controlledOpen,
|
|
1972
|
-
defaultOpen = false,
|
|
1973
|
-
onOpenChange,
|
|
1974
|
-
side = "right",
|
|
1975
|
-
children
|
|
1976
|
-
}) {
|
|
1977
|
-
const [internalOpen, setInternalOpen] = useState(defaultOpen);
|
|
1978
|
-
const isControlled = controlledOpen !== void 0;
|
|
1979
|
-
const open = isControlled ? controlledOpen : internalOpen;
|
|
1980
|
-
const setOpen = useCallback((newOpen) => {
|
|
1981
|
-
if (!isControlled) {
|
|
1982
|
-
setInternalOpen(newOpen);
|
|
1983
|
-
}
|
|
1984
|
-
onOpenChange?.(newOpen);
|
|
1985
|
-
}, [isControlled, onOpenChange]);
|
|
1986
|
-
return /* @__PURE__ */ jsx(SheetContext.Provider, { value: { open, setOpen, side }, children });
|
|
1987
|
-
}
|
|
1988
|
-
function SheetTrigger({ children, asChild }) {
|
|
1989
|
-
const { setOpen } = useSheetContext();
|
|
1990
|
-
if (asChild && React14.isValidElement(children)) {
|
|
1991
|
-
return React14.cloneElement(children, {
|
|
1992
|
-
onClick: () => setOpen(true)
|
|
1993
|
-
});
|
|
1994
|
-
}
|
|
1995
|
-
return /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setOpen(true), children });
|
|
1996
|
-
}
|
|
1997
|
-
var sideStyles = {
|
|
1998
|
-
left: {
|
|
1999
|
-
container: "inset-y-0 left-0 h-full w-80 max-w-[90vw]",
|
|
2000
|
-
open: "translate-x-0",
|
|
2001
|
-
closed: "-translate-x-full"
|
|
2002
|
-
},
|
|
2003
|
-
right: {
|
|
2004
|
-
container: "inset-y-0 right-0 h-full w-80 max-w-[90vw]",
|
|
2005
|
-
open: "translate-x-0",
|
|
2006
|
-
closed: "translate-x-full"
|
|
2007
|
-
},
|
|
2008
|
-
top: {
|
|
2009
|
-
container: "inset-x-0 top-0 w-full h-80 max-h-[90vh]",
|
|
2010
|
-
open: "translate-y-0",
|
|
2011
|
-
closed: "-translate-y-full"
|
|
2012
|
-
},
|
|
2013
|
-
bottom: {
|
|
2014
|
-
container: "inset-x-0 bottom-0 w-full h-80 max-h-[90vh]",
|
|
2015
|
-
open: "translate-y-0",
|
|
2016
|
-
closed: "translate-y-full"
|
|
2017
|
-
}
|
|
2018
|
-
};
|
|
2019
|
-
function SheetContent({ className = "", children }) {
|
|
2020
|
-
const { open, setOpen, side } = useSheetContext();
|
|
2021
|
-
const [mounted, setMounted] = useState(false);
|
|
2022
|
-
const [isVisible, setIsVisible] = useState(false);
|
|
2023
|
-
const styles = sideStyles[side];
|
|
2024
|
-
useEffect(() => {
|
|
2025
|
-
setMounted(true);
|
|
2026
|
-
}, []);
|
|
2027
|
-
useEffect(() => {
|
|
2028
|
-
if (open) {
|
|
2029
|
-
setIsVisible(true);
|
|
2030
|
-
} else {
|
|
2031
|
-
const timer = setTimeout(() => {
|
|
2032
|
-
setIsVisible(false);
|
|
2033
|
-
}, 200);
|
|
2034
|
-
return () => clearTimeout(timer);
|
|
2035
|
-
}
|
|
2036
|
-
}, [open]);
|
|
2037
|
-
useEscapeKey(open, () => setOpen(false));
|
|
2038
|
-
useLockBodyScroll(open);
|
|
2039
|
-
if (!mounted || !isVisible) return null;
|
|
2040
|
-
return createPortal(
|
|
2041
|
-
/* @__PURE__ */ jsxs("div", { className: "fixed inset-0 z-50", children: [
|
|
2042
|
-
/* @__PURE__ */ jsx(
|
|
2043
|
-
"div",
|
|
2044
|
-
{
|
|
2045
|
-
className: `
|
|
2046
|
-
absolute inset-0 bg-surface-secondary/50
|
|
2047
|
-
transition-opacity duration-200
|
|
2048
|
-
${open ? "opacity-100" : "opacity-0"}
|
|
2049
|
-
`.trim(),
|
|
2050
|
-
onClick: () => setOpen(false),
|
|
2051
|
-
"aria-hidden": "true"
|
|
2052
|
-
}
|
|
2053
|
-
),
|
|
2054
|
-
/* @__PURE__ */ jsx(
|
|
2055
|
-
"div",
|
|
2056
|
-
{
|
|
2057
|
-
role: "dialog",
|
|
2058
|
-
"aria-modal": "true",
|
|
2059
|
-
className: `
|
|
2060
|
-
fixed
|
|
2061
|
-
${styles.container}
|
|
2062
|
-
bg-surface-primary
|
|
2063
|
-
border-edge-primary
|
|
2064
|
-
${side === "left" ? "border-r-2" : ""}
|
|
2065
|
-
${side === "right" ? "border-l-2" : ""}
|
|
2066
|
-
${side === "top" ? "border-b-2" : ""}
|
|
2067
|
-
${side === "bottom" ? "border-t-2" : ""}
|
|
2068
|
-
shadow-[4px_4px_0_0_var(--color-edge-primary)]
|
|
2069
|
-
transform transition-transform duration-200 ease-out
|
|
2070
|
-
${open ? styles.open : styles.closed}
|
|
2071
|
-
${className}
|
|
2072
|
-
`.trim(),
|
|
2073
|
-
children
|
|
2074
|
-
}
|
|
2075
|
-
)
|
|
2076
|
-
] }),
|
|
2077
|
-
document.body
|
|
2078
|
-
);
|
|
2079
|
-
}
|
|
2080
|
-
function SheetHeader({ className = "", children }) {
|
|
2081
|
-
return /* @__PURE__ */ jsx("div", { className: `px-6 pt-6 pb-4 border-b border-edge-primary/20 ${className}`.trim(), children });
|
|
2082
|
-
}
|
|
2083
|
-
function SheetTitle({ className = "", children }) {
|
|
2084
|
-
return /* @__PURE__ */ jsx("h2", { className: `font-joystix text-base uppercase text-content-primary ${className}`.trim(), children });
|
|
2085
|
-
}
|
|
2086
|
-
function SheetDescription({ className = "", children }) {
|
|
2087
|
-
return /* @__PURE__ */ jsx("p", { className: `font-mondwest text-base text-content-primary/70 mt-2 ${className}`.trim(), children });
|
|
2088
|
-
}
|
|
2089
|
-
function SheetBody({ className = "", children }) {
|
|
2090
|
-
return /* @__PURE__ */ jsx("div", { className: `px-6 py-4 flex-1 overflow-auto ${className}`.trim(), children });
|
|
2091
|
-
}
|
|
2092
|
-
function SheetFooter({ className = "", children }) {
|
|
2093
|
-
return /* @__PURE__ */ jsx("div", { className: `px-6 pb-6 pt-4 border-t border-edge-primary/20 flex justify-end gap-2 ${className}`.trim(), children });
|
|
2094
|
-
}
|
|
2095
|
-
function SheetClose({ children, asChild }) {
|
|
2096
|
-
const { setOpen } = useSheetContext();
|
|
2097
|
-
if (asChild && React14.isValidElement(children)) {
|
|
2098
|
-
return React14.cloneElement(children, {
|
|
2099
|
-
onClick: () => setOpen(false)
|
|
2100
|
-
});
|
|
2101
|
-
}
|
|
2102
|
-
return /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setOpen(false), children });
|
|
2103
|
-
}
|
|
2104
|
-
var popoverStyles = `
|
|
2105
|
-
absolute top-12 right-2 z-50 w-72
|
|
2106
|
-
bg-surface-primary border-2 border-edge-primary rounded-sm shadow-lg
|
|
2107
|
-
`;
|
|
2108
|
-
var headerStyles = `
|
|
2109
|
-
flex items-center justify-between px-3 py-2 border-b border-edge-primary/20
|
|
2110
|
-
`;
|
|
2111
|
-
var contentStyles = `
|
|
2112
|
-
p-2 space-y-3 max-h-80 overflow-y-auto
|
|
2113
|
-
`;
|
|
2114
|
-
var categoryLabelStyles = `
|
|
2115
|
-
font-heading text-xs uppercase text-content-secondary px-2 mb-1
|
|
2116
|
-
`;
|
|
2117
|
-
var footerStyles = `
|
|
2118
|
-
px-3 py-2 border-t border-edge-primary/20 bg-content-primary/5
|
|
2119
|
-
`;
|
|
2120
|
-
function MockStatesPopover({
|
|
2121
|
-
isOpen,
|
|
2122
|
-
onClose,
|
|
2123
|
-
mockStates,
|
|
2124
|
-
activeMockState,
|
|
2125
|
-
onSelectState,
|
|
2126
|
-
categories,
|
|
2127
|
-
title = "Mock States",
|
|
2128
|
-
footerText = "Dev mode only",
|
|
2129
|
-
className = ""
|
|
2130
|
-
}) {
|
|
2131
|
-
if (!isOpen) return null;
|
|
2132
|
-
const derivedCategories = categories ?? [...new Set(mockStates.map((s) => s.category))].map((cat) => ({
|
|
2133
|
-
id: cat,
|
|
2134
|
-
label: cat.charAt(0).toUpperCase() + cat.slice(1)
|
|
2135
|
-
}));
|
|
2136
|
-
const statesByCategory = derivedCategories.map((cat) => ({
|
|
2137
|
-
category: cat,
|
|
2138
|
-
states: mockStates.filter((s) => s.category === cat.id)
|
|
2139
|
-
})).filter((group) => group.states.length > 0);
|
|
2140
|
-
const renderStateButton = (def) => {
|
|
2141
|
-
const isActive = activeMockState === def.id;
|
|
2142
|
-
return /* @__PURE__ */ jsxs(
|
|
2143
|
-
"button",
|
|
2144
|
-
{
|
|
2145
|
-
onClick: () => onSelectState(def.id),
|
|
2146
|
-
className: `
|
|
2147
|
-
w-full text-left px-3 py-2 rounded-sm
|
|
2148
|
-
flex items-center gap-2
|
|
2149
|
-
transition-colors duration-150
|
|
2150
|
-
${isActive ? "bg-action-primary text-content-primary" : "hover:bg-content-primary/5 text-content-primary"}
|
|
2151
|
-
`,
|
|
2152
|
-
children: [
|
|
2153
|
-
def.icon && /* @__PURE__ */ jsx("span", { className: "text-sm", children: def.icon }),
|
|
2154
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2155
|
-
/* @__PURE__ */ jsx("div", { className: "font-heading text-xs uppercase truncate", children: def.name }),
|
|
2156
|
-
/* @__PURE__ */ jsx("div", { className: "font-body text-xs text-content-secondary truncate", children: def.description })
|
|
2157
|
-
] }),
|
|
2158
|
-
isActive && /* @__PURE__ */ jsx("span", { className: "text-xs", children: "\u2713" })
|
|
2159
|
-
]
|
|
2160
|
-
},
|
|
2161
|
-
def.id
|
|
2162
|
-
);
|
|
2163
|
-
};
|
|
2164
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2165
|
-
/* @__PURE__ */ jsx(
|
|
2166
|
-
"div",
|
|
2167
|
-
{
|
|
2168
|
-
className: "fixed inset-0 z-40",
|
|
2169
|
-
onClick: onClose
|
|
2170
|
-
}
|
|
2171
|
-
),
|
|
2172
|
-
/* @__PURE__ */ jsxs("div", { className: `${popoverStyles} ${className}`.trim(), children: [
|
|
2173
|
-
/* @__PURE__ */ jsxs("div", { className: headerStyles, children: [
|
|
2174
|
-
/* @__PURE__ */ jsx("span", { className: "font-heading text-xs uppercase", children: title }),
|
|
2175
|
-
/* @__PURE__ */ jsx(
|
|
2176
|
-
Button,
|
|
2177
|
-
{
|
|
2178
|
-
variant: "ghost",
|
|
2179
|
-
size: "sm",
|
|
2180
|
-
iconOnly: true,
|
|
2181
|
-
onClick: onClose,
|
|
2182
|
-
"aria-label": "Close",
|
|
2183
|
-
children: "\u2715"
|
|
2184
|
-
}
|
|
2185
|
-
)
|
|
2186
|
-
] }),
|
|
2187
|
-
/* @__PURE__ */ jsx("div", { className: contentStyles, children: statesByCategory.map(({ category, states }) => /* @__PURE__ */ jsxs("div", { children: [
|
|
2188
|
-
/* @__PURE__ */ jsx("div", { className: categoryLabelStyles, children: category.label }),
|
|
2189
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: states.map(renderStateButton) })
|
|
2190
|
-
] }, category.id)) }),
|
|
2191
|
-
footerText && /* @__PURE__ */ jsx("div", { className: footerStyles, children: /* @__PURE__ */ jsx("div", { className: "font-body text-xs text-content-secondary text-center", children: footerText }) })
|
|
2192
|
-
] })
|
|
2193
|
-
] });
|
|
2194
|
-
}
|
|
2195
|
-
var baseStyles5 = `
|
|
2196
|
-
text-center
|
|
2197
|
-
`;
|
|
2198
|
-
var variantStyles7 = {
|
|
2199
|
-
default: {
|
|
2200
|
-
container: "p-4 bg-surface-primary border border-edge-primary rounded-md",
|
|
2201
|
-
label: "font-mono text-xs text-content-primary/60 mb-2",
|
|
2202
|
-
timer: "flex items-center justify-center gap-1",
|
|
2203
|
-
segment: "flex flex-col items-center min-w-[3rem]",
|
|
2204
|
-
value: "font-joystix text-2xl text-content-primary tabular-nums",
|
|
2205
|
-
unit: "font-mono text-2xs text-content-primary/50 uppercase mt-0.5",
|
|
2206
|
-
separator: "font-joystix text-xl text-content-primary/40 self-start mt-1"
|
|
2207
|
-
},
|
|
2208
|
-
compact: {
|
|
2209
|
-
container: "px-3 py-2 bg-surface-primary border border-edge-primary rounded-sm",
|
|
2210
|
-
label: "font-mono text-2xs text-content-primary/60 mb-1",
|
|
2211
|
-
timer: "flex items-center justify-center gap-0.5",
|
|
2212
|
-
segment: "flex flex-col items-center min-w-[2rem]",
|
|
2213
|
-
value: "font-joystix text-sm text-content-primary tabular-nums",
|
|
2214
|
-
unit: "font-mono text-2xs text-content-primary/50 uppercase",
|
|
2215
|
-
separator: "font-joystix text-sm text-content-primary/40 self-start"
|
|
2216
|
-
},
|
|
2217
|
-
large: {
|
|
2218
|
-
container: "p-6 bg-surface-primary border border-edge-primary rounded-md shadow-card",
|
|
2219
|
-
label: "font-mono text-sm text-content-primary/60 mb-3",
|
|
2220
|
-
timer: "flex items-center justify-center gap-2",
|
|
2221
|
-
segment: "flex flex-col items-center min-w-[4rem] bg-surface-muted border border-edge-primary rounded-sm px-3 py-2",
|
|
2222
|
-
value: "font-joystix text-3xl text-content-primary tabular-nums",
|
|
2223
|
-
unit: "font-mono text-xs text-content-primary/50 uppercase mt-1",
|
|
2224
|
-
separator: "font-joystix text-2xl text-content-primary/40 self-center"
|
|
2225
|
-
}
|
|
2226
|
-
};
|
|
2227
|
-
function getTimeRemaining(endTime) {
|
|
2228
|
-
const end = typeof endTime === "number" ? endTime : endTime.getTime();
|
|
2229
|
-
const total = Math.max(0, end - Date.now());
|
|
2230
|
-
const seconds = Math.floor(total / 1e3 % 60);
|
|
2231
|
-
const minutes = Math.floor(total / 1e3 / 60 % 60);
|
|
2232
|
-
const hours = Math.floor(total / (1e3 * 60 * 60) % 24);
|
|
2233
|
-
const days = Math.floor(total / (1e3 * 60 * 60 * 24));
|
|
2234
|
-
return { days, hours, minutes, seconds, total };
|
|
2235
|
-
}
|
|
2236
|
-
function getStatus(endTime, startTime) {
|
|
2237
|
-
const now = Date.now();
|
|
2238
|
-
const end = typeof endTime === "number" ? endTime : endTime.getTime();
|
|
2239
|
-
const start = startTime ? typeof startTime === "number" ? startTime : startTime.getTime() : now;
|
|
2240
|
-
if (now < start) return "upcoming";
|
|
2241
|
-
if (now >= end) return "ended";
|
|
2242
|
-
return "active";
|
|
2243
|
-
}
|
|
2244
|
-
function padZero(num) {
|
|
2245
|
-
return num.toString().padStart(2, "0");
|
|
2246
|
-
}
|
|
2247
|
-
function CountdownTimer({
|
|
2248
|
-
endTime,
|
|
2249
|
-
startTime,
|
|
2250
|
-
variant = "default",
|
|
2251
|
-
label,
|
|
2252
|
-
onComplete,
|
|
2253
|
-
endedMessage = "Ended",
|
|
2254
|
-
upcomingMessage = "Starting soon",
|
|
2255
|
-
showDays = true,
|
|
2256
|
-
className = ""
|
|
2257
|
-
}) {
|
|
2258
|
-
const [timeRemaining, setTimeRemaining] = useState(
|
|
2259
|
-
() => getTimeRemaining(endTime)
|
|
2260
|
-
);
|
|
2261
|
-
const [status, setStatus] = useState(
|
|
2262
|
-
() => getStatus(endTime, startTime)
|
|
2263
|
-
);
|
|
2264
|
-
const updateTime = useCallback(() => {
|
|
2265
|
-
const newTime = getTimeRemaining(endTime);
|
|
2266
|
-
const newStatus = getStatus(endTime, startTime);
|
|
2267
|
-
setTimeRemaining(newTime);
|
|
2268
|
-
setStatus(newStatus);
|
|
2269
|
-
if (newStatus === "ended" && onComplete) {
|
|
2270
|
-
onComplete();
|
|
2271
|
-
}
|
|
2272
|
-
}, [endTime, startTime, onComplete]);
|
|
2273
|
-
useEffect(() => {
|
|
2274
|
-
updateTime();
|
|
2275
|
-
if (status === "ended") return;
|
|
2276
|
-
const interval = setInterval(updateTime, 1e3);
|
|
2277
|
-
return () => clearInterval(interval);
|
|
2278
|
-
}, [updateTime, status]);
|
|
2279
|
-
const styles = variantStyles7[variant];
|
|
2280
|
-
if (status === "ended") {
|
|
2281
|
-
return /* @__PURE__ */ jsxs("div", { className: `${baseStyles5} ${styles.container} ${className}`, children: [
|
|
2282
|
-
label && /* @__PURE__ */ jsx("p", { className: styles.label, children: label }),
|
|
2283
|
-
/* @__PURE__ */ jsx("p", { className: `font-joystix ${variant === "large" ? "text-xl" : variant === "compact" ? "text-sm" : "text-lg"} text-content-primary/60`, children: endedMessage })
|
|
2284
|
-
] });
|
|
2285
|
-
}
|
|
2286
|
-
if (status === "upcoming" && startTime) {
|
|
2287
|
-
const startRemaining = getTimeRemaining(startTime);
|
|
2288
|
-
return /* @__PURE__ */ jsxs("div", { className: `${baseStyles5} ${styles.container} ${className}`, children: [
|
|
2289
|
-
/* @__PURE__ */ jsx("p", { className: styles.label, children: "Starts in" }),
|
|
2290
|
-
/* @__PURE__ */ jsxs("div", { className: styles.timer, children: [
|
|
2291
|
-
showDays && startRemaining.days > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2292
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2293
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: startRemaining.days }),
|
|
2294
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "days" })
|
|
2295
|
-
] }),
|
|
2296
|
-
/* @__PURE__ */ jsx("span", { className: styles.separator, children: ":" })
|
|
2297
|
-
] }),
|
|
2298
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2299
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: padZero(startRemaining.hours) }),
|
|
2300
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "hrs" })
|
|
2301
|
-
] }),
|
|
2302
|
-
/* @__PURE__ */ jsx("span", { className: styles.separator, children: ":" }),
|
|
2303
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2304
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: padZero(startRemaining.minutes) }),
|
|
2305
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "min" })
|
|
2306
|
-
] }),
|
|
2307
|
-
/* @__PURE__ */ jsx("span", { className: styles.separator, children: ":" }),
|
|
2308
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2309
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: padZero(startRemaining.seconds) }),
|
|
2310
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "sec" })
|
|
2311
|
-
] })
|
|
2312
|
-
] })
|
|
2313
|
-
] });
|
|
2314
|
-
}
|
|
2315
|
-
return /* @__PURE__ */ jsxs("div", { className: `${baseStyles5} ${styles.container} ${className}`, children: [
|
|
2316
|
-
label && /* @__PURE__ */ jsx("p", { className: styles.label, children: label }),
|
|
2317
|
-
/* @__PURE__ */ jsxs("div", { className: styles.timer, children: [
|
|
2318
|
-
showDays && timeRemaining.days > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2319
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2320
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: timeRemaining.days }),
|
|
2321
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "days" })
|
|
2322
|
-
] }),
|
|
2323
|
-
/* @__PURE__ */ jsx("span", { className: styles.separator, children: ":" })
|
|
2324
|
-
] }),
|
|
2325
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2326
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: padZero(timeRemaining.hours) }),
|
|
2327
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "hrs" })
|
|
2328
|
-
] }),
|
|
2329
|
-
/* @__PURE__ */ jsx("span", { className: styles.separator, children: ":" }),
|
|
2330
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2331
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: padZero(timeRemaining.minutes) }),
|
|
2332
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "min" })
|
|
2333
|
-
] }),
|
|
2334
|
-
/* @__PURE__ */ jsx("span", { className: styles.separator, children: ":" }),
|
|
2335
|
-
/* @__PURE__ */ jsxs("div", { className: styles.segment, children: [
|
|
2336
|
-
/* @__PURE__ */ jsx("span", { className: styles.value, children: padZero(timeRemaining.seconds) }),
|
|
2337
|
-
/* @__PURE__ */ jsx("span", { className: styles.unit, children: "sec" })
|
|
2338
|
-
] })
|
|
2339
|
-
] })
|
|
2340
|
-
] });
|
|
2341
|
-
}
|
|
2342
|
-
function formatAddress(address) {
|
|
2343
|
-
if (!address) return "";
|
|
2344
|
-
if (address.length <= 10) return address;
|
|
2345
|
-
return `${address.slice(0, 4)}...${address.slice(-4)}`;
|
|
2346
|
-
}
|
|
2347
|
-
function Web3ActionBar({
|
|
2348
|
-
isConnected,
|
|
2349
|
-
walletAddress,
|
|
2350
|
-
onConnect,
|
|
2351
|
-
onDisconnect,
|
|
2352
|
-
disconnectIcon,
|
|
2353
|
-
children,
|
|
2354
|
-
className = ""
|
|
2355
|
-
}) {
|
|
2356
|
-
return /* @__PURE__ */ jsxs("div", { className: `flex items-center justify-between gap-4 px-2 py-2 bg-surface-primary border-t border-edge-primary shrink-0 ${className}`.trim(), children: [
|
|
2357
|
-
/* @__PURE__ */ jsx("div", { className: "flex gap-2 items-center", children: !isConnected ? /* @__PURE__ */ jsx(Button, { onClick: onConnect, children: "Connect" }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2358
|
-
walletAddress && /* @__PURE__ */ jsx("span", { className: "font-mono text-xs text-content-primary", children: formatAddress(walletAddress) }),
|
|
2359
|
-
onDisconnect && /* @__PURE__ */ jsx(
|
|
2360
|
-
Button,
|
|
2361
|
-
{
|
|
2362
|
-
variant: "ghost",
|
|
2363
|
-
iconOnly: true,
|
|
2364
|
-
icon: disconnectIcon,
|
|
2365
|
-
onClick: onDisconnect,
|
|
2366
|
-
title: "Disconnect wallet"
|
|
2367
|
-
}
|
|
2368
|
-
)
|
|
2369
|
-
] }) }),
|
|
2370
|
-
isConnected && children && /* @__PURE__ */ jsx("div", { className: "flex gap-2 items-center", children })
|
|
2371
|
-
] });
|
|
2372
|
-
}
|
|
2373
|
-
var DialogContext = createContext(null);
|
|
2374
|
-
function useDialogContext() {
|
|
2375
|
-
const context = useContext(DialogContext);
|
|
2376
|
-
if (!context) {
|
|
2377
|
-
throw new Error("Dialog components must be used within a Dialog");
|
|
2378
|
-
}
|
|
2379
|
-
return context;
|
|
2380
|
-
}
|
|
2381
|
-
function Dialog({
|
|
2382
|
-
open: controlledOpen,
|
|
2383
|
-
defaultOpen = false,
|
|
2384
|
-
onOpenChange,
|
|
2385
|
-
children
|
|
2386
|
-
}) {
|
|
2387
|
-
const [internalOpen, setInternalOpen] = useState(defaultOpen);
|
|
2388
|
-
const isControlled = controlledOpen !== void 0;
|
|
2389
|
-
const open = isControlled ? controlledOpen : internalOpen;
|
|
2390
|
-
const setOpen = useCallback((newOpen) => {
|
|
2391
|
-
if (!isControlled) {
|
|
2392
|
-
setInternalOpen(newOpen);
|
|
2393
|
-
}
|
|
2394
|
-
onOpenChange?.(newOpen);
|
|
2395
|
-
}, [isControlled, onOpenChange]);
|
|
2396
|
-
return /* @__PURE__ */ jsx(DialogContext.Provider, { value: { open, setOpen }, children });
|
|
2397
|
-
}
|
|
2398
|
-
function DialogTrigger({ children, asChild }) {
|
|
2399
|
-
const { setOpen } = useDialogContext();
|
|
2400
|
-
if (asChild && React14.isValidElement(children)) {
|
|
2401
|
-
return React14.cloneElement(children, {
|
|
2402
|
-
onClick: () => setOpen(true)
|
|
2403
|
-
});
|
|
2404
|
-
}
|
|
2405
|
-
return /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setOpen(true), children });
|
|
2406
|
-
}
|
|
2407
|
-
function DialogContent({ className = "", children }) {
|
|
2408
|
-
const { open, setOpen } = useDialogContext();
|
|
2409
|
-
const [mounted, setMounted] = useState(false);
|
|
2410
|
-
useEffect(() => {
|
|
2411
|
-
setMounted(true);
|
|
2412
|
-
}, []);
|
|
2413
|
-
useEscapeKey(open, () => setOpen(false));
|
|
2414
|
-
useLockBodyScroll(open);
|
|
2415
|
-
if (!mounted || !open) return null;
|
|
2416
|
-
return createPortal(
|
|
2417
|
-
/* @__PURE__ */ jsxs("div", { className: "fixed inset-0 z-50 flex items-center justify-center", children: [
|
|
2418
|
-
/* @__PURE__ */ jsx(
|
|
2419
|
-
"div",
|
|
2420
|
-
{
|
|
2421
|
-
className: "absolute inset-0 bg-surface-secondary/50 animate-fadeIn",
|
|
2422
|
-
onClick: () => setOpen(false),
|
|
2423
|
-
"aria-hidden": "true"
|
|
2424
|
-
}
|
|
2425
|
-
),
|
|
2426
|
-
/* @__PURE__ */ jsx(
|
|
2427
|
-
"div",
|
|
2428
|
-
{
|
|
2429
|
-
role: "dialog",
|
|
2430
|
-
"aria-modal": "true",
|
|
2431
|
-
className: `
|
|
2432
|
-
relative z-10
|
|
2433
|
-
w-full max-w-lg mx-4
|
|
2434
|
-
bg-surface-primary
|
|
2435
|
-
border-2 border-edge-primary
|
|
2436
|
-
rounded-sm
|
|
2437
|
-
shadow-[4px_4px_0_0_var(--color-edge-primary)]
|
|
2438
|
-
animate-scaleIn
|
|
2439
|
-
${className}
|
|
2440
|
-
`.trim(),
|
|
2441
|
-
children
|
|
2442
|
-
}
|
|
2443
|
-
)
|
|
2444
|
-
] }),
|
|
2445
|
-
document.body
|
|
2446
|
-
);
|
|
2447
|
-
}
|
|
2448
|
-
function DialogHeader({ className = "", children }) {
|
|
2449
|
-
return /* @__PURE__ */ jsx("div", { className: `px-6 pt-6 pb-4 border-b border-edge-primary/20 ${className}`.trim(), children });
|
|
2450
|
-
}
|
|
2451
|
-
function DialogTitle({ className = "", children }) {
|
|
2452
|
-
return /* @__PURE__ */ jsx("h2", { className: `font-joystix text-base uppercase text-content-primary ${className}`.trim(), children });
|
|
2453
|
-
}
|
|
2454
|
-
function DialogDescription({ className = "", children }) {
|
|
2455
|
-
return /* @__PURE__ */ jsx("p", { className: `font-mondwest text-base text-content-primary/70 mt-2 ${className}`.trim(), children });
|
|
2456
|
-
}
|
|
2457
|
-
function DialogBody({ className = "", children }) {
|
|
2458
|
-
return /* @__PURE__ */ jsx("div", { className: `px-6 py-4 ${className}`.trim(), children });
|
|
2459
|
-
}
|
|
2460
|
-
function DialogFooter({ className = "", children }) {
|
|
2461
|
-
return /* @__PURE__ */ jsx("div", { className: `px-6 pb-6 pt-4 border-t border-edge-primary/20 flex justify-end gap-2 ${className}`.trim(), children });
|
|
2462
|
-
}
|
|
2463
|
-
function DialogClose({ children, asChild }) {
|
|
2464
|
-
const { setOpen } = useDialogContext();
|
|
2465
|
-
if (asChild && React14.isValidElement(children)) {
|
|
2466
|
-
return React14.cloneElement(children, {
|
|
2467
|
-
onClick: () => setOpen(false)
|
|
2468
|
-
});
|
|
2469
|
-
}
|
|
2470
|
-
return /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setOpen(false), children });
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, Badge, Breadcrumbs, Button, Card, CardBody, CardFooter, CardHeader, Checkbox, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, CountdownTimer, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Divider, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, HelpPanel, Input, Label, MockStatesPopover, Popover, PopoverContent, PopoverTrigger, Progress, Radio, Select, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Slider, Spinner, Switch, TabContent, TabList, TabTrigger, Tabs, TextArea, ToastProvider, Tooltip, Web3ActionBar, useToast };
|
|
2474
|
-
//# sourceMappingURL=index.mjs.map
|
|
2475
|
-
//# sourceMappingURL=index.mjs.map
|