@loomhq/lens 10.102.1 → 10.102.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/use-prefer-reduced-motion.d.ts +1 -0
- package/dist/icons/account-circle.d.ts +2 -0
- package/dist/icons/account.d.ts +2 -0
- package/dist/icons/activity.d.ts +2 -0
- package/dist/icons/add-a-photo.d.ts +2 -0
- package/dist/icons/add-circle-outline.d.ts +2 -0
- package/dist/icons/add-photo.d.ts +2 -0
- package/dist/icons/add.d.ts +2 -0
- package/dist/icons/alarm-clock-complete.d.ts +2 -0
- package/dist/icons/alarm-clock.d.ts +2 -0
- package/dist/icons/alert-triangle.d.ts +2 -0
- package/dist/icons/align-bottom.d.ts +2 -0
- package/dist/icons/apple.d.ts +2 -0
- package/dist/icons/apps.d.ts +2 -0
- package/dist/icons/archive.d.ts +2 -0
- package/dist/icons/arrow-back.d.ts +2 -0
- package/dist/icons/arrow-downward.d.ts +2 -0
- package/dist/icons/arrow-drop-down.d.ts +2 -0
- package/dist/icons/arrow-drop-up.d.ts +2 -0
- package/dist/icons/arrow-forward.d.ts +2 -0
- package/dist/icons/arrow-left-alt.d.ts +2 -0
- package/dist/icons/arrow-left.d.ts +2 -0
- package/dist/icons/arrow-right-alt.d.ts +2 -0
- package/dist/icons/arrow-right.d.ts +2 -0
- package/dist/icons/arrow-upward.d.ts +2 -0
- package/dist/icons/at-mention.d.ts +2 -0
- package/dist/icons/auto-chapters.d.ts +2 -0
- package/dist/icons/auto-summaries.d.ts +2 -0
- package/dist/icons/auto-tasks.d.ts +2 -0
- package/dist/icons/auto-titles.d.ts +2 -0
- package/dist/icons/back.d.ts +2 -0
- package/dist/icons/back5.d.ts +2 -0
- package/dist/icons/bar-chart.d.ts +2 -0
- package/dist/icons/bell-off.d.ts +2 -0
- package/dist/icons/bell-ring.d.ts +2 -0
- package/dist/icons/bell.d.ts +2 -0
- package/dist/icons/blur.d.ts +2 -0
- package/dist/icons/book.d.ts +2 -0
- package/dist/icons/border-color.d.ts +2 -0
- package/dist/icons/bulb.d.ts +2 -0
- package/dist/icons/call-to-action.d.ts +2 -0
- package/dist/icons/cam-bubble-small.d.ts +2 -0
- package/dist/icons/cam-bubble.d.ts +2 -0
- package/dist/icons/canvas.d.ts +2 -0
- package/dist/icons/caret-folder.d.ts +2 -0
- package/dist/icons/cc-off.d.ts +2 -0
- package/dist/icons/cc-on.d.ts +2 -0
- package/dist/icons/chart.d.ts +2 -0
- package/dist/icons/check-circle-fill.d.ts +2 -0
- package/dist/icons/check-circle-outline.d.ts +2 -0
- package/dist/icons/check-circle.d.ts +2 -0
- package/dist/icons/check.d.ts +2 -0
- package/dist/icons/chevron-down.d.ts +2 -0
- package/dist/icons/chevron-left.d.ts +2 -0
- package/dist/icons/chevron-right.d.ts +2 -0
- package/dist/icons/chevron-small-down.d.ts +2 -0
- package/dist/icons/chevron-small-left.d.ts +2 -0
- package/dist/icons/chevron-small-right.d.ts +2 -0
- package/dist/icons/chevron-small-up.d.ts +2 -0
- package/dist/icons/chevron-up.d.ts +2 -0
- package/dist/icons/chevrons-left.d.ts +2 -0
- package/dist/icons/chevrons-right.d.ts +2 -0
- package/dist/icons/chrome-logo.d.ts +2 -0
- package/dist/icons/chrome.d.ts +2 -0
- package/dist/icons/clock.d.ts +2 -0
- package/dist/icons/close.d.ts +2 -0
- package/dist/icons/code.d.ts +2 -0
- package/dist/icons/collapse-replies.d.ts +2 -0
- package/dist/icons/collapse.d.ts +2 -0
- package/dist/icons/color-lens.d.ts +2 -0
- package/dist/icons/comment.d.ts +2 -0
- package/dist/icons/confetti.d.ts +2 -0
- package/dist/icons/contact-support.d.ts +2 -0
- package/dist/icons/copy.d.ts +2 -0
- package/dist/icons/create.d.ts +2 -0
- package/dist/icons/crop-16-9.d.ts +2 -0
- package/dist/icons/crop-5-4.d.ts +2 -0
- package/dist/icons/crop-7-5.d.ts +2 -0
- package/dist/icons/crop-expanded-16-9.d.ts +2 -0
- package/dist/icons/crop169-expanded.d.ts +2 -0
- package/dist/icons/crop169.d.ts +2 -0
- package/dist/icons/crop54.d.ts +2 -0
- package/dist/icons/crop75.d.ts +2 -0
- package/dist/icons/cut.d.ts +2 -0
- package/dist/icons/delete-forever.d.ts +2 -0
- package/dist/icons/delete.d.ts +2 -0
- package/dist/icons/desktop-mac.d.ts +2 -0
- package/dist/icons/domain.d.ts +2 -0
- package/dist/icons/download.d.ts +2 -0
- package/dist/icons/edge-logo.d.ts +2 -0
- package/dist/icons/edit-border.d.ts +2 -0
- package/dist/icons/edit.d.ts +2 -0
- package/dist/icons/exit-to-app.d.ts +2 -0
- package/dist/icons/expand-replies.d.ts +2 -0
- package/dist/icons/expand.d.ts +2 -0
- package/dist/icons/extension.d.ts +2 -0
- package/dist/icons/external-link.d.ts +2 -0
- package/dist/icons/eye-off.d.ts +2 -0
- package/dist/icons/eye.d.ts +2 -0
- package/dist/icons/fiber-manual-record.d.ts +2 -0
- package/dist/icons/filler-word-removal.d.ts +2 -0
- package/dist/icons/firefox-logo.d.ts +2 -0
- package/dist/icons/first-page.d.ts +2 -0
- package/dist/icons/folder-plus-deprecated.d.ts +2 -0
- package/dist/icons/folder-plus.d.ts +2 -0
- package/dist/icons/folder-shared.d.ts +2 -0
- package/dist/icons/folder.d.ts +2 -0
- package/dist/icons/forward-5.d.ts +2 -0
- package/dist/icons/forward.d.ts +2 -0
- package/dist/icons/forward5.d.ts +2 -0
- package/dist/icons/frown.d.ts +2 -0
- package/dist/icons/fullscreen-exit.d.ts +2 -0
- package/dist/icons/fullscreen.d.ts +2 -0
- package/dist/icons/google.d.ts +2 -0
- package/dist/icons/grid.d.ts +2 -0
- package/dist/icons/group-add.d.ts +2 -0
- package/dist/icons/help-circle.d.ts +2 -0
- package/dist/icons/help.d.ts +2 -0
- package/dist/icons/highlight-off.d.ts +2 -0
- package/dist/icons/home.d.ts +2 -0
- package/dist/icons/image.d.ts +2 -0
- package/dist/icons/image1.d.ts +2 -0
- package/dist/icons/image2.d.ts +2 -0
- package/dist/icons/import.d.ts +2 -0
- package/dist/icons/info-fill.d.ts +2 -0
- package/dist/icons/info-outline.d.ts +2 -0
- package/dist/icons/info.d.ts +2 -0
- package/dist/icons/keyboard-arrow-down.d.ts +2 -0
- package/dist/icons/keyboard-arrow-left.d.ts +2 -0
- package/dist/icons/keyboard-arrow-right.d.ts +2 -0
- package/dist/icons/keyboard-arrow-up.d.ts +2 -0
- package/dist/icons/launch.d.ts +2 -0
- package/dist/icons/lightbulb-outline.d.ts +2 -0
- package/dist/icons/link-off.d.ts +2 -0
- package/dist/icons/link.d.ts +2 -0
- package/dist/icons/linkedin.d.ts +2 -0
- package/dist/icons/list.d.ts +2 -0
- package/dist/icons/location.d.ts +2 -0
- package/dist/icons/lock-fill.d.ts +2 -0
- package/dist/icons/lock.d.ts +2 -0
- package/dist/icons/log-out.d.ts +2 -0
- package/dist/icons/mail.d.ts +2 -0
- package/dist/icons/maximize.d.ts +2 -0
- package/dist/icons/menu-hide.d.ts +2 -0
- package/dist/icons/menu-show.d.ts +2 -0
- package/dist/icons/menu.d.ts +2 -0
- package/dist/icons/mic-off.d.ts +2 -0
- package/dist/icons/mic.d.ts +2 -0
- package/dist/icons/minimize.d.ts +2 -0
- package/dist/icons/minus-circle.d.ts +2 -0
- package/dist/icons/mobile-devices.d.ts +2 -0
- package/dist/icons/money.d.ts +2 -0
- package/dist/icons/moon.d.ts +2 -0
- package/dist/icons/more-horiz.d.ts +2 -0
- package/dist/icons/movie-filter.d.ts +2 -0
- package/dist/icons/mute.d.ts +2 -0
- package/dist/icons/near-me.d.ts +2 -0
- package/dist/icons/notes.d.ts +2 -0
- package/dist/icons/notifications.d.ts +2 -0
- package/dist/icons/offline-bolt.d.ts +2 -0
- package/dist/icons/outlook.d.ts +2 -0
- package/dist/icons/palette.d.ts +2 -0
- package/dist/icons/pause.d.ts +2 -0
- package/dist/icons/people.d.ts +2 -0
- package/dist/icons/person.d.ts +2 -0
- package/dist/icons/phone-link-off.d.ts +2 -0
- package/dist/icons/phonelink-off.d.ts +2 -0
- package/dist/icons/photo-size-select-actual.d.ts +2 -0
- package/dist/icons/picture-in-picture-deprecated.d.ts +2 -0
- package/dist/icons/picture-in-picture.d.ts +2 -0
- package/dist/icons/pin-fill.d.ts +2 -0
- package/dist/icons/pin.d.ts +2 -0
- package/dist/icons/play-arrow.d.ts +2 -0
- package/dist/icons/play-circle-filled.d.ts +2 -0
- package/dist/icons/play-circle.d.ts +2 -0
- package/dist/icons/play.d.ts +2 -0
- package/dist/icons/plus-circle.d.ts +2 -0
- package/dist/icons/power.d.ts +2 -0
- package/dist/icons/present.d.ts +2 -0
- package/dist/icons/public-off.d.ts +2 -0
- package/dist/icons/public-on.d.ts +2 -0
- package/dist/icons/publicoff.d.ts +2 -0
- package/dist/icons/publicon.d.ts +2 -0
- package/dist/icons/quick-edit.d.ts +2 -0
- package/dist/icons/record.d.ts +2 -0
- package/dist/icons/redo.d.ts +2 -0
- package/dist/icons/refresh.d.ts +2 -0
- package/dist/icons/remove-circle-outline.d.ts +2 -0
- package/dist/icons/remove-red-eye.d.ts +2 -0
- package/dist/icons/repeat.d.ts +2 -0
- package/dist/icons/replay-5.d.ts +2 -0
- package/dist/icons/replay.d.ts +2 -0
- package/dist/icons/reply-left.d.ts +2 -0
- package/dist/icons/reply-right.d.ts +2 -0
- package/dist/icons/reply.d.ts +2 -0
- package/dist/icons/rewind.d.ts +2 -0
- package/dist/icons/rotate-left.d.ts +2 -0
- package/dist/icons/safari-logo.d.ts +2 -0
- package/dist/icons/salesforce-blk.d.ts +2 -0
- package/dist/icons/salesforce.d.ts +2 -0
- package/dist/icons/school.d.ts +2 -0
- package/dist/icons/scissors.d.ts +2 -0
- package/dist/icons/screen-cam.d.ts +2 -0
- package/dist/icons/search.d.ts +2 -0
- package/dist/icons/send.d.ts +2 -0
- package/dist/icons/sentiment-dissatisfied.d.ts +2 -0
- package/dist/icons/sentiment-satisfied.d.ts +2 -0
- package/dist/icons/settings.d.ts +2 -0
- package/dist/icons/share.d.ts +2 -0
- package/dist/icons/show-chart.d.ts +2 -0
- package/dist/icons/silence-removal.d.ts +2 -0
- package/dist/icons/skip-back.d.ts +2 -0
- package/dist/icons/slack.d.ts +2 -0
- package/dist/icons/smile-alt.d.ts +2 -0
- package/dist/icons/smile-select.d.ts +2 -0
- package/dist/icons/smile.d.ts +2 -0
- package/dist/icons/sparkle.d.ts +2 -0
- package/dist/icons/speed-fast.d.ts +2 -0
- package/dist/icons/speed-medium.d.ts +2 -0
- package/dist/icons/speed-slow.d.ts +2 -0
- package/dist/icons/speed-x-fast.d.ts +2 -0
- package/dist/icons/speed-x-slow.d.ts +2 -0
- package/dist/icons/split.d.ts +2 -0
- package/dist/icons/star-outline.d.ts +2 -0
- package/dist/icons/star.d.ts +2 -0
- package/dist/icons/stop.d.ts +2 -0
- package/dist/icons/sun.d.ts +2 -0
- package/dist/icons/tag-faces.d.ts +2 -0
- package/dist/icons/task.d.ts +2 -0
- package/dist/icons/text.d.ts +2 -0
- package/dist/icons/timeline-editor.d.ts +2 -0
- package/dist/icons/timer.d.ts +2 -0
- package/dist/icons/touch-app.d.ts +2 -0
- package/dist/icons/transcript.d.ts +2 -0
- package/dist/icons/trash-forever.d.ts +2 -0
- package/dist/icons/trash.d.ts +2 -0
- package/dist/icons/tune.d.ts +2 -0
- package/dist/icons/unarchive.d.ts +2 -0
- package/dist/icons/undo.d.ts +2 -0
- package/dist/icons/upload.d.ts +2 -0
- package/dist/icons/user.d.ts +2 -0
- package/dist/icons/users-add.d.ts +2 -0
- package/dist/icons/users.d.ts +2 -0
- package/dist/icons/variables.d.ts +2 -0
- package/dist/icons/vertical-align-bottom.d.ts +2 -0
- package/dist/icons/video-cam.d.ts +2 -0
- package/dist/icons/video-library.d.ts +2 -0
- package/dist/icons/video-off.d.ts +2 -0
- package/dist/icons/videocam-off.d.ts +2 -0
- package/dist/icons/videocam.d.ts +2 -0
- package/dist/icons/view-list.d.ts +2 -0
- package/dist/icons/volume-down.d.ts +2 -0
- package/dist/icons/volume-mute.d.ts +2 -0
- package/dist/icons/volume-off.d.ts +2 -0
- package/dist/icons/volume-up.d.ts +2 -0
- package/dist/icons/volume-x.d.ts +2 -0
- package/dist/icons/volume1.d.ts +2 -0
- package/dist/icons/volume2.d.ts +2 -0
- package/dist/icons/warning-alert.d.ts +2 -0
- package/dist/icons/warning-amber.d.ts +2 -0
- package/dist/icons/watch-later-add.d.ts +2 -0
- package/dist/icons/watch-later-added.d.ts +2 -0
- package/dist/icons/watch-later-remove.d.ts +2 -0
- package/dist/icons/watch-later.d.ts +2 -0
- package/dist/icons/windows.d.ts +2 -0
- package/dist/icons/x-circle.d.ts +2 -0
- package/dist/icons/zap-outline.d.ts +2 -0
- package/dist/icons/zap.d.ts +2 -0
- package/package.json +10 -6
- package/dist/colors.js +0 -151
- package/dist/components/align/align.js +0 -60
- package/dist/components/arrange/arrange.js +0 -51
- package/dist/components/avatar/avatar.js +0 -114
- package/dist/components/backdrop/backdrop.js +0 -42
- package/dist/components/base-styles/base-styles.js +0 -40
- package/dist/components/button/button.js +0 -192
- package/dist/components/checkbox/checkbox.js +0 -97
- package/dist/components/color-picker/color-picker.js +0 -151
- package/dist/components/container/container.js +0 -76
- package/dist/components/distribute/distribute.js +0 -82
- package/dist/components/dropdown/dropdown.js +0 -60
- package/dist/components/error-container/error-container.js +0 -35
- package/dist/components/form-field/form-field.js +0 -56
- package/dist/components/icon/available-icons/account-circle.js +0 -3
- package/dist/components/icon/available-icons/account.js +0 -7
- package/dist/components/icon/available-icons/activity.js +0 -3
- package/dist/components/icon/available-icons/add-a-photo.js +0 -3
- package/dist/components/icon/available-icons/add-circle-outline.js +0 -3
- package/dist/components/icon/available-icons/add-photo.js +0 -7
- package/dist/components/icon/available-icons/add.js +0 -3
- package/dist/components/icon/available-icons/alarm-clock-complete.js +0 -5
- package/dist/components/icon/available-icons/alarm-clock.js +0 -5
- package/dist/components/icon/available-icons/alert-triangle.js +0 -5
- package/dist/components/icon/available-icons/align-bottom.js +0 -6
- package/dist/components/icon/available-icons/apple.js +0 -5
- package/dist/components/icon/available-icons/apps.js +0 -3
- package/dist/components/icon/available-icons/archive.js +0 -7
- package/dist/components/icon/available-icons/arrow-back.js +0 -3
- package/dist/components/icon/available-icons/arrow-downward.js +0 -3
- package/dist/components/icon/available-icons/arrow-drop-down.js +0 -3
- package/dist/components/icon/available-icons/arrow-drop-up.js +0 -3
- package/dist/components/icon/available-icons/arrow-forward.js +0 -3
- package/dist/components/icon/available-icons/arrow-left-alt.js +0 -6
- package/dist/components/icon/available-icons/arrow-left.js +0 -6
- package/dist/components/icon/available-icons/arrow-right-alt.js +0 -6
- package/dist/components/icon/available-icons/arrow-right.js +0 -6
- package/dist/components/icon/available-icons/arrow-upward.js +0 -3
- package/dist/components/icon/available-icons/at-mention.js +0 -5
- package/dist/components/icon/available-icons/auto-chapters.js +0 -6
- package/dist/components/icon/available-icons/auto-summaries.js +0 -9
- package/dist/components/icon/available-icons/auto-tasks.js +0 -7
- package/dist/components/icon/available-icons/auto-titles.js +0 -12
- package/dist/components/icon/available-icons/back.js +0 -4
- package/dist/components/icon/available-icons/back5.js +0 -8
- package/dist/components/icon/available-icons/bar-chart.js +0 -5
- package/dist/components/icon/available-icons/bell-off.js +0 -6
- package/dist/components/icon/available-icons/bell-ring.js +0 -8
- package/dist/components/icon/available-icons/bell.js +0 -5
- package/dist/components/icon/available-icons/blur.js +0 -16
- package/dist/components/icon/available-icons/book.js +0 -5
- package/dist/components/icon/available-icons/border-color.js +0 -3
- package/dist/components/icon/available-icons/bulb.js +0 -5
- package/dist/components/icon/available-icons/call-to-action.js +0 -6
- package/dist/components/icon/available-icons/cam-bubble-small.js +0 -5
- package/dist/components/icon/available-icons/cam-bubble.js +0 -5
- package/dist/components/icon/available-icons/canvas.js +0 -4
- package/dist/components/icon/available-icons/caret-folder.js +0 -6
- package/dist/components/icon/available-icons/cc-off.js +0 -5
- package/dist/components/icon/available-icons/cc-on.js +0 -5
- package/dist/components/icon/available-icons/chart.js +0 -5
- package/dist/components/icon/available-icons/check-circle-fill.js +0 -6
- package/dist/components/icon/available-icons/check-circle-outline.js +0 -3
- package/dist/components/icon/available-icons/check-circle.js +0 -6
- package/dist/components/icon/available-icons/check.js +0 -5
- package/dist/components/icon/available-icons/chevron-down.js +0 -5
- package/dist/components/icon/available-icons/chevron-left.js +0 -5
- package/dist/components/icon/available-icons/chevron-right.js +0 -5
- package/dist/components/icon/available-icons/chevron-small-down.js +0 -5
- package/dist/components/icon/available-icons/chevron-small-left.js +0 -5
- package/dist/components/icon/available-icons/chevron-small-right.js +0 -5
- package/dist/components/icon/available-icons/chevron-small-up.js +0 -5
- package/dist/components/icon/available-icons/chevron-up.js +0 -5
- package/dist/components/icon/available-icons/chevrons-left.js +0 -6
- package/dist/components/icon/available-icons/chevrons-right.js +0 -6
- package/dist/components/icon/available-icons/chrome-logo.js +0 -13
- package/dist/components/icon/available-icons/chrome.js +0 -5
- package/dist/components/icon/available-icons/clock.js +0 -6
- package/dist/components/icon/available-icons/close.js +0 -5
- package/dist/components/icon/available-icons/code.js +0 -6
- package/dist/components/icon/available-icons/collapse-replies.js +0 -4
- package/dist/components/icon/available-icons/collapse.js +0 -3
- package/dist/components/icon/available-icons/color-lens.js +0 -3
- package/dist/components/icon/available-icons/comment.js +0 -5
- package/dist/components/icon/available-icons/confetti.js +0 -12
- package/dist/components/icon/available-icons/contact-support.js +0 -7
- package/dist/components/icon/available-icons/copy.js +0 -6
- package/dist/components/icon/available-icons/create.js +0 -3
- package/dist/components/icon/available-icons/crop-16-9.js +0 -3
- package/dist/components/icon/available-icons/crop-5-4.js +0 -5
- package/dist/components/icon/available-icons/crop-7-5.js +0 -5
- package/dist/components/icon/available-icons/crop-expanded-16-9.js +0 -3
- package/dist/components/icon/available-icons/crop169-expanded.js +0 -5
- package/dist/components/icon/available-icons/crop169.js +0 -5
- package/dist/components/icon/available-icons/crop54.js +0 -5
- package/dist/components/icon/available-icons/crop75.js +0 -5
- package/dist/components/icon/available-icons/cut.js +0 -3
- package/dist/components/icon/available-icons/delete-forever.js +0 -3
- package/dist/components/icon/available-icons/delete.js +0 -3
- package/dist/components/icon/available-icons/desktop-mac.js +0 -7
- package/dist/components/icon/available-icons/domain.js +0 -6
- package/dist/components/icon/available-icons/download.js +0 -5
- package/dist/components/icon/available-icons/edge-logo.js +0 -39
- package/dist/components/icon/available-icons/edit-border.js +0 -7
- package/dist/components/icon/available-icons/edit.js +0 -5
- package/dist/components/icon/available-icons/exit-to-app.js +0 -3
- package/dist/components/icon/available-icons/expand-replies.js +0 -4
- package/dist/components/icon/available-icons/expand.js +0 -3
- package/dist/components/icon/available-icons/extension.js +0 -5
- package/dist/components/icon/available-icons/external-link.js +0 -6
- package/dist/components/icon/available-icons/eye-off.js +0 -7
- package/dist/components/icon/available-icons/eye.js +0 -6
- package/dist/components/icon/available-icons/fiber-manual-record.js +0 -3
- package/dist/components/icon/available-icons/filler-word-removal.js +0 -9
- package/dist/components/icon/available-icons/firefox-logo.js +0 -125
- package/dist/components/icon/available-icons/first-page.js +0 -3
- package/dist/components/icon/available-icons/folder-plus-deprecated.js +0 -6
- package/dist/components/icon/available-icons/folder-plus.js +0 -6
- package/dist/components/icon/available-icons/folder-shared.js +0 -7
- package/dist/components/icon/available-icons/folder.js +0 -5
- package/dist/components/icon/available-icons/forward-5.js +0 -8
- package/dist/components/icon/available-icons/forward.js +0 -4
- package/dist/components/icon/available-icons/forward5.js +0 -5
- package/dist/components/icon/available-icons/frown.js +0 -6
- package/dist/components/icon/available-icons/fullscreen-exit.js +0 -3
- package/dist/components/icon/available-icons/fullscreen.js +0 -3
- package/dist/components/icon/available-icons/google.js +0 -8
- package/dist/components/icon/available-icons/grid.js +0 -5
- package/dist/components/icon/available-icons/group-add.js +0 -3
- package/dist/components/icon/available-icons/help-circle.js +0 -6
- package/dist/components/icon/available-icons/help.js +0 -3
- package/dist/components/icon/available-icons/highlight-off.js +0 -3
- package/dist/components/icon/available-icons/home.js +0 -3
- package/dist/components/icon/available-icons/image.js +0 -3
- package/dist/components/icon/available-icons/image1.js +0 -6
- package/dist/components/icon/available-icons/image2.js +0 -6
- package/dist/components/icon/available-icons/import.js +0 -7
- package/dist/components/icon/available-icons/info-fill.js +0 -5
- package/dist/components/icon/available-icons/info-outline.js +0 -3
- package/dist/components/icon/available-icons/info.js +0 -6
- package/dist/components/icon/available-icons/keyboard-arrow-down.js +0 -3
- package/dist/components/icon/available-icons/keyboard-arrow-left.js +0 -3
- package/dist/components/icon/available-icons/keyboard-arrow-right.js +0 -3
- package/dist/components/icon/available-icons/keyboard-arrow-up.js +0 -3
- package/dist/components/icon/available-icons/launch.js +0 -3
- package/dist/components/icon/available-icons/lightbulb-outline.js +0 -3
- package/dist/components/icon/available-icons/link-off.js +0 -5
- package/dist/components/icon/available-icons/link.js +0 -7
- package/dist/components/icon/available-icons/linkedin.js +0 -3
- package/dist/components/icon/available-icons/list.js +0 -5
- package/dist/components/icon/available-icons/location.js +0 -5
- package/dist/components/icon/available-icons/lock-fill.js +0 -7
- package/dist/components/icon/available-icons/lock.js +0 -6
- package/dist/components/icon/available-icons/log-out.js +0 -6
- package/dist/components/icon/available-icons/mail.js +0 -5
- package/dist/components/icon/available-icons/maximize.js +0 -5
- package/dist/components/icon/available-icons/menu-hide.js +0 -5
- package/dist/components/icon/available-icons/menu-show.js +0 -5
- package/dist/components/icon/available-icons/menu.js +0 -5
- package/dist/components/icon/available-icons/mic-off.js +0 -5
- package/dist/components/icon/available-icons/mic.js +0 -8
- package/dist/components/icon/available-icons/minimize.js +0 -5
- package/dist/components/icon/available-icons/minus-circle.js +0 -6
- package/dist/components/icon/available-icons/mobile-devices.js +0 -5
- package/dist/components/icon/available-icons/money.js +0 -6
- package/dist/components/icon/available-icons/moon.js +0 -6
- package/dist/components/icon/available-icons/more-horiz.js +0 -5
- package/dist/components/icon/available-icons/movie-filter.js +0 -5
- package/dist/components/icon/available-icons/mute.js +0 -5
- package/dist/components/icon/available-icons/near-me.js +0 -3
- package/dist/components/icon/available-icons/notes.js +0 -3
- package/dist/components/icon/available-icons/notifications.js +0 -3
- package/dist/components/icon/available-icons/offline-bolt.js +0 -3
- package/dist/components/icon/available-icons/outlook.js +0 -8
- package/dist/components/icon/available-icons/palette.js +0 -6
- package/dist/components/icon/available-icons/pause.js +0 -5
- package/dist/components/icon/available-icons/people.js +0 -3
- package/dist/components/icon/available-icons/person.js +0 -3
- package/dist/components/icon/available-icons/phone-link-off.js +0 -7
- package/dist/components/icon/available-icons/phonelink-off.js +0 -3
- package/dist/components/icon/available-icons/photo-size-select-actual.js +0 -3
- package/dist/components/icon/available-icons/picture-in-picture-deprecated.js +0 -6
- package/dist/components/icon/available-icons/picture-in-picture.js +0 -6
- package/dist/components/icon/available-icons/pin-fill.js +0 -5
- package/dist/components/icon/available-icons/pin.js +0 -5
- package/dist/components/icon/available-icons/play-arrow.js +0 -3
- package/dist/components/icon/available-icons/play-circle-filled.js +0 -3
- package/dist/components/icon/available-icons/play-circle.js +0 -6
- package/dist/components/icon/available-icons/play.js +0 -5
- package/dist/components/icon/available-icons/plus-circle.js +0 -5
- package/dist/components/icon/available-icons/power.js +0 -4
- package/dist/components/icon/available-icons/present.js +0 -5
- package/dist/components/icon/available-icons/public-off.js +0 -5
- package/dist/components/icon/available-icons/public-on.js +0 -5
- package/dist/components/icon/available-icons/publicoff.js +0 -3
- package/dist/components/icon/available-icons/publicon.js +0 -3
- package/dist/components/icon/available-icons/quick-edit.js +0 -10
- package/dist/components/icon/available-icons/record.js +0 -5
- package/dist/components/icon/available-icons/redo.js +0 -4
- package/dist/components/icon/available-icons/refresh.js +0 -6
- package/dist/components/icon/available-icons/remove-circle-outline.js +0 -3
- package/dist/components/icon/available-icons/remove-red-eye.js +0 -3
- package/dist/components/icon/available-icons/repeat.js +0 -6
- package/dist/components/icon/available-icons/replay-5.js +0 -6
- package/dist/components/icon/available-icons/replay.js +0 -3
- package/dist/components/icon/available-icons/reply-left.js +0 -5
- package/dist/components/icon/available-icons/reply-right.js +0 -5
- package/dist/components/icon/available-icons/reply.js +0 -3
- package/dist/components/icon/available-icons/rewind.js +0 -8
- package/dist/components/icon/available-icons/rotate-left.js +0 -3
- package/dist/components/icon/available-icons/safari-logo.js +0 -35
- package/dist/components/icon/available-icons/salesforce-blk.js +0 -7
- package/dist/components/icon/available-icons/salesforce.js +0 -7
- package/dist/components/icon/available-icons/school.js +0 -3
- package/dist/components/icon/available-icons/scissors.js +0 -7
- package/dist/components/icon/available-icons/screen-cam.js +0 -7
- package/dist/components/icon/available-icons/search.js +0 -6
- package/dist/components/icon/available-icons/send.js +0 -6
- package/dist/components/icon/available-icons/sentiment-dissatisfied.js +0 -3
- package/dist/components/icon/available-icons/sentiment-satisfied.js +0 -3
- package/dist/components/icon/available-icons/settings.js +0 -6
- package/dist/components/icon/available-icons/share.js +0 -5
- package/dist/components/icon/available-icons/show-chart.js +0 -3
- package/dist/components/icon/available-icons/silence-removal.js +0 -9
- package/dist/components/icon/available-icons/skip-back.js +0 -5
- package/dist/components/icon/available-icons/slack.js +0 -8
- package/dist/components/icon/available-icons/smile-alt.js +0 -6
- package/dist/components/icon/available-icons/smile-select.js +0 -5
- package/dist/components/icon/available-icons/smile.js +0 -6
- package/dist/components/icon/available-icons/sparkle.js +0 -3
- package/dist/components/icon/available-icons/speed-fast.js +0 -5
- package/dist/components/icon/available-icons/speed-medium.js +0 -5
- package/dist/components/icon/available-icons/speed-slow.js +0 -5
- package/dist/components/icon/available-icons/speed-x-fast.js +0 -5
- package/dist/components/icon/available-icons/speed-x-slow.js +0 -5
- package/dist/components/icon/available-icons/split.js +0 -5
- package/dist/components/icon/available-icons/star-outline.js +0 -5
- package/dist/components/icon/available-icons/star.js +0 -5
- package/dist/components/icon/available-icons/stop.js +0 -5
- package/dist/components/icon/available-icons/sun.js +0 -14
- package/dist/components/icon/available-icons/tag-faces.js +0 -3
- package/dist/components/icon/available-icons/task.js +0 -6
- package/dist/components/icon/available-icons/text.js +0 -5
- package/dist/components/icon/available-icons/timeline-editor.js +0 -7
- package/dist/components/icon/available-icons/timer.js +0 -5
- package/dist/components/icon/available-icons/touch-app.js +0 -3
- package/dist/components/icon/available-icons/transcript.js +0 -3
- package/dist/components/icon/available-icons/trash-forever.js +0 -8
- package/dist/components/icon/available-icons/trash.js +0 -7
- package/dist/components/icon/available-icons/tune.js +0 -3
- package/dist/components/icon/available-icons/unarchive.js +0 -7
- package/dist/components/icon/available-icons/undo.js +0 -6
- package/dist/components/icon/available-icons/upload.js +0 -6
- package/dist/components/icon/available-icons/user.js +0 -5
- package/dist/components/icon/available-icons/users-add.js +0 -6
- package/dist/components/icon/available-icons/users.js +0 -5
- package/dist/components/icon/available-icons/variables.js +0 -5
- package/dist/components/icon/available-icons/vertical-align-bottom.js +0 -3
- package/dist/components/icon/available-icons/video-cam.js +0 -6
- package/dist/components/icon/available-icons/video-library.js +0 -7
- package/dist/components/icon/available-icons/video-off.js +0 -6
- package/dist/components/icon/available-icons/videocam-off.js +0 -3
- package/dist/components/icon/available-icons/videocam.js +0 -3
- package/dist/components/icon/available-icons/view-list.js +0 -3
- package/dist/components/icon/available-icons/volume-down.js +0 -3
- package/dist/components/icon/available-icons/volume-mute.js +0 -3
- package/dist/components/icon/available-icons/volume-off.js +0 -3
- package/dist/components/icon/available-icons/volume-up.js +0 -3
- package/dist/components/icon/available-icons/volume-x.js +0 -6
- package/dist/components/icon/available-icons/volume1.js +0 -5
- package/dist/components/icon/available-icons/volume2.js +0 -5
- package/dist/components/icon/available-icons/warning-alert.js +0 -3
- package/dist/components/icon/available-icons/warning-amber.js +0 -3
- package/dist/components/icon/available-icons/watch-later-add.js +0 -5
- package/dist/components/icon/available-icons/watch-later-added.js +0 -5
- package/dist/components/icon/available-icons/watch-later-remove.js +0 -5
- package/dist/components/icon/available-icons/watch-later.js +0 -5
- package/dist/components/icon/available-icons/windows.js +0 -5
- package/dist/components/icon/available-icons/x-circle.js +0 -7
- package/dist/components/icon/available-icons/zap-outline.js +0 -5
- package/dist/components/icon/available-icons/zap.js +0 -5
- package/dist/components/icon/icon.js +0 -45
- package/dist/components/icon-button/icon-button.js +0 -82
- package/dist/components/illustration/illustration.js +0 -31
- package/dist/components/index.js +0 -47
- package/dist/components/layout/layout.js +0 -48
- package/dist/components/link/link.js +0 -67
- package/dist/components/list/list.js +0 -103
- package/dist/components/loader/loader.js +0 -79
- package/dist/components/logo/logo.js +0 -113
- package/dist/components/logo-loader/logo-loader.js +0 -26
- package/dist/components/menu/menu.js +0 -82
- package/dist/components/modal/modal.js +0 -163
- package/dist/components/notification-bar/notification-bar.js +0 -96
- package/dist/components/notification-bar/types.js +0 -1
- package/dist/components/pill/pill.js +0 -40
- package/dist/components/popover/popover.js +0 -96
- package/dist/components/radio/radio.js +0 -86
- package/dist/components/select/select.js +0 -208
- package/dist/components/skeleton-text/skeleton-text.js +0 -32
- package/dist/components/spacer/spacer.js +0 -28
- package/dist/components/split/split.js +0 -67
- package/dist/components/switch/switch.js +0 -127
- package/dist/components/tabs/tabs.js +0 -192
- package/dist/components/text/text.js +0 -107
- package/dist/components/text-button/text-button.js +0 -88
- package/dist/components/text-input/text-input.js +0 -130
- package/dist/components/textarea/textarea.js +0 -67
- package/dist/components/toast/toast.js +0 -87
- package/dist/components/tooltip/tooltip.js +0 -157
- package/dist/console-messages.js +0 -5
- package/dist/constants/routes.js +0 -1
- package/dist/css-utilities/generate-utilities.js +0 -64
- package/dist/css-utilities/index.js +0 -2
- package/dist/css-utilities/rules.js +0 -449
- package/dist/css-variables/index.js +0 -136
- package/dist/hooks/index.js +0 -5
- package/dist/hooks/use-focused-element.js +0 -26
- package/dist/hooks/use-media.js +0 -23
- package/dist/hooks/use-on-click-outside.js +0 -17
- package/dist/hooks/use-prevent-scroll.js +0 -73
- package/dist/hooks/use-push-page-down.js +0 -24
- package/dist/illustrations/accounts-and-billing.js +0 -7
- package/dist/illustrations/archived.js +0 -7
- package/dist/illustrations/ask-for-more.js +0 -6
- package/dist/illustrations/business-plan.js +0 -6
- package/dist/illustrations/chrome-notifications-empty-state.js +0 -14
- package/dist/illustrations/collaborate-with-teammates.js +0 -6
- package/dist/illustrations/comments.js +0 -7
- package/dist/illustrations/community-alt.js +0 -6
- package/dist/illustrations/community.js +0 -6
- package/dist/illustrations/content-limit.js +0 -6
- package/dist/illustrations/custom-branding.js +0 -6
- package/dist/illustrations/desktop-app-and-chrome-extension.js +0 -9
- package/dist/illustrations/device-compatibility.js +0 -7
- package/dist/illustrations/downgrade.js +0 -6
- package/dist/illustrations/embrace-the-weird.js +0 -6
- package/dist/illustrations/enterprise-plan.js +0 -6
- package/dist/illustrations/faq-and-security.js +0 -8
- package/dist/illustrations/five-minute-limit.js +0 -6
- package/dist/illustrations/folders-empty-state-mobile.js +0 -7
- package/dist/illustrations/getting-started.js +0 -9
- package/dist/illustrations/growth-through-empathy.js +0 -12
- package/dist/illustrations/health-plans.js +0 -6
- package/dist/illustrations/help-ios.js +0 -7
- package/dist/illustrations/how-to-use-loom.js +0 -6
- package/dist/illustrations/index.js +0 -48
- package/dist/illustrations/invite-members.js +0 -6
- package/dist/illustrations/invite.js +0 -9
- package/dist/illustrations/lead-with-transparency.js +0 -6
- package/dist/illustrations/learning-and-development.js +0 -8
- package/dist/illustrations/loom-plans.js +0 -7
- package/dist/illustrations/my-videos-empty-state-mobile.js +0 -7
- package/dist/illustrations/option-grants.js +0 -6
- package/dist/illustrations/parental-leave.js +0 -6
- package/dist/illustrations/pto.js +0 -6
- package/dist/illustrations/recents-empty-state-mobile.js +0 -6
- package/dist/illustrations/record.js +0 -10
- package/dist/illustrations/remote-first.js +0 -8
- package/dist/illustrations/roadmap.js +0 -7
- package/dist/illustrations/screenshot.js +0 -6
- package/dist/illustrations/share-with-your-team.js +0 -11
- package/dist/illustrations/share.js +0 -8
- package/dist/illustrations/starred.js +0 -6
- package/dist/illustrations/starter-plus-plan.js +0 -6
- package/dist/illustrations/strong-upload-speed.js +0 -7
- package/dist/illustrations/troubleshooting.js +0 -9
- package/dist/illustrations/upgrade.js +0 -6
- package/dist/illustrations/upload-drag-and-drop.js +0 -6
- package/dist/illustrations/use-cases.js +0 -6
- package/dist/illustrations/wellness.js +0 -8
- package/dist/index.js +0 -10
- package/dist/types.js +0 -1
- package/dist/utilities/case.js +0 -6
- package/dist/utilities/color.js +0 -23
- package/dist/utilities/downshift.js +0 -24
- package/dist/utilities/index.js +0 -5
- package/dist/utilities/responsive.js +0 -101
- package/dist/utilities/size.js +0 -34
- package/dist/utilities/styles.js +0 -34
- package/dist/variables.js +0 -81
- /package/dist/{components/icon/available-icons/index.js → icons/index.d.ts} +0 -0
package/dist/components/index.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export { default as Avatar } from './avatar/avatar';
|
|
2
|
-
export { default as BaseStyles, buildGlobalStylesheet, } from './base-styles/base-styles';
|
|
3
|
-
export { default as Button } from './button/button';
|
|
4
|
-
export { default as Text } from './text/text';
|
|
5
|
-
export { default as Spacer } from './spacer/spacer';
|
|
6
|
-
export { default as Icon } from './icon/icon';
|
|
7
|
-
export { default as TextInput } from './text-input/text-input';
|
|
8
|
-
export { default as Distribute } from './distribute/distribute';
|
|
9
|
-
export { default as Container } from './container/container';
|
|
10
|
-
export { default as ErrorContainer } from './error-container/error-container';
|
|
11
|
-
export { default as Layout } from './layout/layout';
|
|
12
|
-
export { default as IconButton } from './icon-button/icon-button';
|
|
13
|
-
export { IconButtonBox } from './icon-button/icon-button';
|
|
14
|
-
export { default as Loader } from './loader/loader';
|
|
15
|
-
export { default as Checkbox } from './checkbox/checkbox';
|
|
16
|
-
export { default as TextButton } from './text-button/text-button';
|
|
17
|
-
export { default as Select } from './select/select';
|
|
18
|
-
export { default as Backdrop } from './backdrop/backdrop';
|
|
19
|
-
export { default as Menu, MenuItem } from './menu/menu';
|
|
20
|
-
export { default as Modal } from './modal/modal';
|
|
21
|
-
export { ModalCard } from './modal/modal';
|
|
22
|
-
export { default as Align } from './align/align';
|
|
23
|
-
export { default as Link } from './link/link';
|
|
24
|
-
export { default as Textarea } from './textarea/textarea';
|
|
25
|
-
export { default as Dropdown } from './dropdown/dropdown';
|
|
26
|
-
export { default as FormField } from './form-field/form-field';
|
|
27
|
-
export { default as NotificationBar } from './notification-bar/notification-bar';
|
|
28
|
-
export { default as Toast } from './toast/toast';
|
|
29
|
-
export { default as Tooltip } from './tooltip/tooltip';
|
|
30
|
-
export { TooltipBox } from './tooltip/tooltip';
|
|
31
|
-
export { default as Switch } from './switch/switch';
|
|
32
|
-
export { default as SkeletonText } from './skeleton-text/skeleton-text';
|
|
33
|
-
export { default as Logo } from './logo/logo';
|
|
34
|
-
export { default as LogoLoader } from './logo-loader/logo-loader';
|
|
35
|
-
export { default as Radio } from './radio/radio';
|
|
36
|
-
export { default as List } from './list/list';
|
|
37
|
-
export { ListRow } from './list/list';
|
|
38
|
-
export { default as Tabs } from './tabs/tabs';
|
|
39
|
-
export { Tab } from './tabs/tabs';
|
|
40
|
-
export { default as Pill } from './pill/pill';
|
|
41
|
-
export { default as Popover } from './popover/popover';
|
|
42
|
-
export { default as Illustration } from './illustration/illustration';
|
|
43
|
-
export { default as Arrange } from './arrange/arrange';
|
|
44
|
-
export { default as Split } from './split/split';
|
|
45
|
-
export { SplitSection } from './split/split';
|
|
46
|
-
export { default as ColorPicker } from './color-picker/color-picker';
|
|
47
|
-
export { FolderPlus, PictureInPicture, SvgAccount, SvgAccountCircle, SvgActivity, SvgAdd, SvgAddAPhoto, SvgAddCircleOutline, SvgAddPhoto, SvgAlarmClock, SvgAlarmClockComplete, SvgAlertTriangle, SvgAlignBottom, SvgApple, SvgApps, SvgArchive, SvgArrowBack, SvgArrowDownward, SvgArrowDropDown, SvgArrowDropUp, SvgArrowForward, SvgArrowLeft, SvgArrowLeftAlt, SvgArrowRight, SvgArrowRightAlt, SvgArrowUpward, SvgAtMention, SvgAutoChapters, SvgAutoSummaries, SvgAutoTasks, SvgAutoTitles, SvgBack, SvgBack5, SvgBarChart, SvgBell, SvgBellOff, SvgBellRing, SvgBlur, SvgBook, SvgBorderColor, SvgBulb, SvgCallToAction, SvgCamBubble, SvgCamBubbleSmall, SvgCanvas, SvgCaretFolder, SvgCCOff, SvgCCOn, SvgChart, SvgCheck, SvgCheckCircle, SvgCheckCircleFill, SvgCheckCircleOutline, SvgChevronDown, SvgChevronLeft, SvgChevronRight, SvgChevronsLeft, SvgChevronSmallDown, SvgChevronSmallLeft, SvgChevronSmallRight, SvgChevronSmallUp, SvgChevronsRight, SvgChevronUp, SvgChrome, SvgChromeLogo, SvgClock, SvgClose, SvgCode, SvgCollapse, SvgCollapseReplies, SvgColorLens, SvgComment, SvgConfetti, SvgContactSupport, SvgCopy, SvgCreate, SvgCrop169, SvgCrop169Expanded, SvgCrop54, SvgCrop75, SvgCropExpanded169, SvgCut, SvgDelete, SvgDeleteForever, SvgDesktopMac, SvgDomain, SvgDownload, SvgEdgeLogo, SvgEdit, SvgEditBorder, SvgExitToApp, SvgExpand, SvgExpandReplies, SvgExtension, SvgExternalLink, SvgEye, SvgEyeOff, SvgFiberManualRecord, SvgFillerWordRemoval, SvgFirefoxLogo, SvgFirstPage, SvgFolder, SvgFolderPlus, SvgFolderShared, SvgForward, SvgForward5, SvgFrown, SvgFullscreen, SvgFullscreenExit, SvgGoogle, SvgGrid, SvgGroupAdd, SvgHelp, SvgHelpCircle, SvgHighlightOff, SvgHome, SvgImage, SvgImage1, SvgImage2, SvgImport, SvgInfo, SvgInfoFill, SvgInfoOutline, SvgKeyboardArrowDown, SvgKeyboardArrowLeft, SvgKeyboardArrowRight, SvgKeyboardArrowUp, SvgLaunch, SvgLightbulbOutline, SvgLink, SvgLinkedIn, SvgLinkOff, SvgList, SvgLocation, SvgLock, SvgLockFill, SvgLogOut, SvgMail, SvgMaximize, SvgMenu, SvgMenuHide, SvgMenuShow, SvgMic, SvgMicOff, SvgMinimize, SvgMinusCircle, SvgMobileDevices, SvgMoney, SvgMoon, SvgMoreHoriz, SvgMovieFilter, SvgMute, SvgNearMe, SvgNotes, SvgNotifications, SvgOfflineBolt, SvgOutlook, SvgPalette, SvgPause, SvgPeople, SvgPerson, SvgPhonelinkOff, SvgPhoneLinkOff, SvgPhotoSizeSelectActual, SvgPictureInPicture, SvgPin, SvgPinFill, SvgPlay, SvgPlayArrow, SvgPlayCircle, SvgPlayCircleFilled, SvgPlusCircle, SvgPower, SvgPresent, SvgPublicoff, SvgPublicOff, SvgPublicon, SvgPublicOn, SvgQuickEdit, SvgRecord, SvgRedo, SvgRefresh, SvgRemoveCircleOutline, SvgRemoveRedEye, SvgRepeat, SvgReplay, SvgReplay5, SvgReply, SvgReplyLeft, SvgReplyRight, SvgRewind, SvgRotateLeft, SvgSafariLogo, SvgSalesforce, SvgSalesforceBlk, SvgSchool, SvgScissors, SvgScreenCam, SvgSearch, SvgSend, SvgSentimentDissatisfied, SvgSentimentSatisfied, SvgSettings, SvgShare, SvgShowChart, SvgSilenceRemoval, SvgSkipBack, SvgSlack, SvgSmile, SvgSmileAlt, SvgSmileSelect, SvgSparkle, SvgSpeedFast, SvgSpeedMedium, SvgSpeedSlow, SvgSpeedXFast, SvgSpeedXSlow, SvgSplit, SvgStar, SvgStarOutline, SvgStop, SvgSun, SvgTagFaces, SvgTask, SvgText, SvgTimelineEditor, SvgTimer, SvgTouchApp, SvgTranscript, SvgTrash, SvgTrashForever, SvgTune, SvgUnarchive, SvgUndo, SvgUpload, SvgUser, SvgUsers, SvgUsersAdd, SvgVariables, SvgVerticalAlignBottom, SvgVideocam, SvgVideoCam, SvgVideocamOff, SvgVideoLibrary, SvgVideoOff, SvgViewList, SvgVolume1, SvgVolume2, SvgVolumeDown, SvgVolumeMute, SvgVolumeOff, SvgVolumeUp, SvgVolumeX, SvgWarningAlert, SvgWarningAmber, SvgWatchLater, SvgWatchLaterAdd, SvgWatchLaterAdded, SvgWatchLaterRemove, SvgWindows, SvgXCircle, SvgZap, SvgZapOutline, } from './icon/available-icons';
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React, { Component } from 'react';
|
|
13
|
-
import styled from '@emotion/styled';
|
|
14
|
-
import { getSize, getAlignmentStyles } from '../../utilities';
|
|
15
|
-
import { layoutDeprecatedWarning } from '../../console-messages';
|
|
16
|
-
const alignments = {
|
|
17
|
-
start: 'flex-start',
|
|
18
|
-
center: 'center',
|
|
19
|
-
end: 'flex-end',
|
|
20
|
-
};
|
|
21
|
-
const LayoutWrapper = styled.div `
|
|
22
|
-
display: flex;
|
|
23
|
-
${props => getAlignmentStyles(props.alignment, alignments)};
|
|
24
|
-
|
|
25
|
-
& > * + * {
|
|
26
|
-
${props => props.gap && getSize('margin-left', props.gap)};
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
29
|
-
const LayoutSectionWrapper = styled.div `
|
|
30
|
-
min-width: 0px;
|
|
31
|
-
flex-shrink: 0;
|
|
32
|
-
${props => getSize('width', props.width)};
|
|
33
|
-
${props => getSize('max-width', props.maxWidth)};
|
|
34
|
-
${props => (props.width ? `flex-shrink: 0` : `flex: 1 1 0%`)};
|
|
35
|
-
`;
|
|
36
|
-
export const LayoutSection = (_a) => {
|
|
37
|
-
var { width, maxWidth, children } = _a, props = __rest(_a, ["width", "maxWidth", "children"]);
|
|
38
|
-
console.warn(layoutDeprecatedWarning);
|
|
39
|
-
return (React.createElement(LayoutSectionWrapper, Object.assign({ width: width, maxWidth: maxWidth }, props), children));
|
|
40
|
-
};
|
|
41
|
-
class Layout extends Component {
|
|
42
|
-
render() {
|
|
43
|
-
console.warn(layoutDeprecatedWarning);
|
|
44
|
-
return React.createElement(LayoutWrapper, Object.assign({}, this.props), this.props.children);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
Layout.Section = LayoutSection;
|
|
48
|
-
export default Layout;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React from 'react';
|
|
13
|
-
import styled from '@emotion/styled';
|
|
14
|
-
import { css } from '@emotion/core';
|
|
15
|
-
import { getColorValue, getFocusRing } from '../../utilities';
|
|
16
|
-
const variants = {
|
|
17
|
-
neutral: {
|
|
18
|
-
color: getColorValue('inherit'),
|
|
19
|
-
focusRing: getFocusRing(),
|
|
20
|
-
},
|
|
21
|
-
primary: {
|
|
22
|
-
color: getColorValue('primary'),
|
|
23
|
-
focusRing: getFocusRing(),
|
|
24
|
-
},
|
|
25
|
-
};
|
|
26
|
-
const statusStyles = {
|
|
27
|
-
enabled: css `
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
`,
|
|
30
|
-
disabled: css `
|
|
31
|
-
pointer-events: none;
|
|
32
|
-
color: ${getColorValue('disabledContent')};
|
|
33
|
-
`,
|
|
34
|
-
};
|
|
35
|
-
const buttonStyles = {
|
|
36
|
-
isButton: css `
|
|
37
|
-
background: none;
|
|
38
|
-
border: none;
|
|
39
|
-
font: inherit;
|
|
40
|
-
`,
|
|
41
|
-
};
|
|
42
|
-
const LinkWrapper = styled.a `
|
|
43
|
-
${props => !props.disabled && `color: ${variants[props.variant].color}`};
|
|
44
|
-
${props => (props.disabled ? statusStyles.disabled : statusStyles.enabled)};
|
|
45
|
-
${props => props.as === 'button' && buttonStyles.isButton};
|
|
46
|
-
border-radius: 0.28em;
|
|
47
|
-
box-shadow: 0 0 0 1px transparent;
|
|
48
|
-
text-decoration: underline;
|
|
49
|
-
text-underline-offset: 0.35em;
|
|
50
|
-
transition: 0.3s box-shadow;
|
|
51
|
-
&:focus,
|
|
52
|
-
&:focus-visible {
|
|
53
|
-
outline: 1px solid transparent;
|
|
54
|
-
}
|
|
55
|
-
&:focus-visible {
|
|
56
|
-
${getFocusRing()};
|
|
57
|
-
}
|
|
58
|
-
&::-moz-focus-inner {
|
|
59
|
-
border: 0;
|
|
60
|
-
}
|
|
61
|
-
`;
|
|
62
|
-
const Link = (_a) => {
|
|
63
|
-
var { children, href, variant = 'primary', htmlTag = 'a', isDisabled } = _a, props = __rest(_a, ["children", "href", "variant", "htmlTag", "isDisabled"]);
|
|
64
|
-
return (React.createElement(LinkWrapper, Object.assign({ href: href, variant: variant, as: htmlTag, disabled: isDisabled }, props), children));
|
|
65
|
-
};
|
|
66
|
-
export const availableVariants = Object.keys(variants);
|
|
67
|
-
export default Link;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { getRadius, getSize, getSizeValue, getColorValue, } from '../../utilities';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
import { css } from '@emotion/core';
|
|
15
|
-
import styled from '@emotion/styled';
|
|
16
|
-
const ssrComment = `/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */`;
|
|
17
|
-
const variantStyles = {
|
|
18
|
-
border: css `
|
|
19
|
-
.ListRowWrapper:last-child {
|
|
20
|
-
border-bottom: 1px solid ${getColorValue('border')};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ListRowWrapper,
|
|
24
|
-
.ListRowWrapper:first-child ${ssrComment} {
|
|
25
|
-
border-top: 1px solid ${getColorValue('border')};
|
|
26
|
-
}
|
|
27
|
-
`,
|
|
28
|
-
stripe: css `
|
|
29
|
-
.ListRowWrapper {
|
|
30
|
-
&:nth-child(odd) ${ssrComment} {
|
|
31
|
-
background-color: ${getColorValue('backgroundSecondary')};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ListRowWrapper {
|
|
36
|
-
${getRadius('medium')};
|
|
37
|
-
}
|
|
38
|
-
`,
|
|
39
|
-
clear: css ``,
|
|
40
|
-
};
|
|
41
|
-
const ListWrapper = styled.div `
|
|
42
|
-
.ListRowWrapper {
|
|
43
|
-
grid-template-columns: ${props => props.columns && props.columns};
|
|
44
|
-
${props => getSize('gap', props.gap)};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
${props => variantStyles[props.variant]};
|
|
48
|
-
`;
|
|
49
|
-
const ListRowWrapper = styled.div `
|
|
50
|
-
display: grid;
|
|
51
|
-
align-items: center;
|
|
52
|
-
text-decoration: none;
|
|
53
|
-
color: inherit;
|
|
54
|
-
|
|
55
|
-
${props => getSize('height', props.height)};
|
|
56
|
-
${props => getSize('min-height', props.minHeight)};
|
|
57
|
-
${props => getSize('max-height', props.maxHeight)};
|
|
58
|
-
${props => getSize('padding', props.padding)};
|
|
59
|
-
${props => getSize('padding-top', props.paddingTop)};
|
|
60
|
-
${props => getSize('padding-bottom', props.paddingBottom)};
|
|
61
|
-
${props => getSize('padding-left', props.paddingLeft)};
|
|
62
|
-
${props => getSize('padding-right', props.paddingRight)};
|
|
63
|
-
|
|
64
|
-
${props => props.paddingY &&
|
|
65
|
-
`
|
|
66
|
-
${getSize('padding-top', props.paddingY)}
|
|
67
|
-
${getSize('padding-bottom', props.paddingY)}
|
|
68
|
-
`};
|
|
69
|
-
|
|
70
|
-
${props => props.paddingX &&
|
|
71
|
-
`
|
|
72
|
-
${getSize('padding-left', props.paddingX)}
|
|
73
|
-
${getSize('padding-right', props.paddingX)}
|
|
74
|
-
`};
|
|
75
|
-
|
|
76
|
-
${props => (props.onClick || props.href) && `cursor: pointer;`};
|
|
77
|
-
|
|
78
|
-
&.ListRowWrapper:nth-child(even),
|
|
79
|
-
&.ListRowWrapper:nth-child(odd) ${ssrComment} {
|
|
80
|
-
${props => props.backgroundColor &&
|
|
81
|
-
`background-color: ${getColorValue(props.backgroundColor)}`};
|
|
82
|
-
|
|
83
|
-
&:hover {
|
|
84
|
-
${props => (props.onClick || props.href) &&
|
|
85
|
-
`
|
|
86
|
-
background-color: ${getColorValue('backgroundHover')};
|
|
87
|
-
border-color: transparent;
|
|
88
|
-
${getRadius('medium')};
|
|
89
|
-
`};
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
`;
|
|
93
|
-
export const ListRow = (_a) => {
|
|
94
|
-
var { children, htmlTag, className, backgroundColor, onClick, href } = _a, props = __rest(_a, ["children", "htmlTag", "className", "backgroundColor", "onClick", "href"]);
|
|
95
|
-
const classNameFromProp = className ? ` ${className}` : ``;
|
|
96
|
-
return (React.createElement(ListRowWrapper, Object.assign({ className: `ListRowWrapper${classNameFromProp}`, as: htmlTag, backgroundColor: backgroundColor, onClick: onClick, href: href }, props), children));
|
|
97
|
-
};
|
|
98
|
-
const formatColumns = columns => columns.map(columnValue => getSizeValue(columnValue)).join(' ');
|
|
99
|
-
const List = (_a) => {
|
|
100
|
-
var { children, columns, gap, variant = 'stripe' } = _a, props = __rest(_a, ["children", "columns", "gap", "variant"]);
|
|
101
|
-
return (React.createElement(ListWrapper, Object.assign({ columns: columns && formatColumns(columns), gap: gap, variant: variant }, props), children));
|
|
102
|
-
};
|
|
103
|
-
export default List;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React from 'react';
|
|
13
|
-
import styled from '@emotion/styled';
|
|
14
|
-
import { keyframes } from '@emotion/core';
|
|
15
|
-
import { getColorValue } from '../../utilities';
|
|
16
|
-
const speed = 1;
|
|
17
|
-
const dotsAmount = 8;
|
|
18
|
-
const sizes = {
|
|
19
|
-
medium: {
|
|
20
|
-
totalSize: 24,
|
|
21
|
-
},
|
|
22
|
-
large: {
|
|
23
|
-
totalSize: 48,
|
|
24
|
-
},
|
|
25
|
-
};
|
|
26
|
-
const getDotSize = props => {
|
|
27
|
-
return sizes[props.size].totalSize / 6;
|
|
28
|
-
};
|
|
29
|
-
const getTotalSize = props => {
|
|
30
|
-
return sizes[props.size].totalSize;
|
|
31
|
-
};
|
|
32
|
-
const dotScale = keyframes `
|
|
33
|
-
50% {
|
|
34
|
-
transform: scale(1);
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
37
|
-
const LoaderWrapper = styled.span `
|
|
38
|
-
display: inline-block;
|
|
39
|
-
vertical-align: middle;
|
|
40
|
-
height: ${props => getTotalSize(props)}px;
|
|
41
|
-
width: ${props => getTotalSize(props)}px;
|
|
42
|
-
`;
|
|
43
|
-
const Dots = styled.span `
|
|
44
|
-
display: grid;
|
|
45
|
-
grid-template-areas: 'stack';
|
|
46
|
-
height: 100%;
|
|
47
|
-
width: 100%;
|
|
48
|
-
`;
|
|
49
|
-
const DotWrapper = styled.span `
|
|
50
|
-
grid-area: stack;
|
|
51
|
-
place-self: center;
|
|
52
|
-
transform: rotate(${props => props.position * (360 / dotsAmount)}deg)
|
|
53
|
-
translateY(${props => getTotalSize(props) / 2 - getDotSize(props) / 2}px);
|
|
54
|
-
|
|
55
|
-
&:after {
|
|
56
|
-
content: '';
|
|
57
|
-
height: ${props => getDotSize(props)}px;
|
|
58
|
-
width: ${props => getDotSize(props)}px;
|
|
59
|
-
border-radius: ${props => getDotSize(props)}px;
|
|
60
|
-
background-color: ${props => getColorValue(props.color)};
|
|
61
|
-
display: block;
|
|
62
|
-
transform: scale(0.65);
|
|
63
|
-
animation: ${dotScale} ${speed}s
|
|
64
|
-
${props => (props.position * speed) / dotsAmount}s ease-in-out infinite;
|
|
65
|
-
}
|
|
66
|
-
`;
|
|
67
|
-
const Dot = ({ position, color, size }) => (React.createElement(DotWrapper, { color: color, position: position, size: size }));
|
|
68
|
-
const Loader = (_a) => {
|
|
69
|
-
var { color = 'body', size = 'medium' } = _a, props = __rest(_a, ["color", "size"]);
|
|
70
|
-
let i;
|
|
71
|
-
const dotsList = [];
|
|
72
|
-
for (i = 0; i < dotsAmount; i++) {
|
|
73
|
-
dotsList.push(React.createElement(Dot, { color: color, position: i, size: size, key: i }));
|
|
74
|
-
}
|
|
75
|
-
return (React.createElement(LoaderWrapper, Object.assign({ size: size }, props),
|
|
76
|
-
React.createElement(Dots, null, dotsList)));
|
|
77
|
-
};
|
|
78
|
-
export const availableSizes = Object.keys(sizes);
|
|
79
|
-
export default Loader;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React from 'react';
|
|
13
|
-
import { getSize, getColorValue } from '../../utilities';
|
|
14
|
-
import styled from '@emotion/styled';
|
|
15
|
-
const LoomAiGradientDef = (customId) => {
|
|
16
|
-
return (React.createElement("defs", null,
|
|
17
|
-
React.createElement("radialGradient", { id: `ai-logo-${customId}-gradient-1`, cx: "50%", cy: "50%", r: "100%", fx: "0%", fy: "0%" },
|
|
18
|
-
React.createElement("stop", { offset: "30%", stopColor: "#97ACFD" }),
|
|
19
|
-
React.createElement("stop", { offset: "33%", stopColor: "#B3B2F4" }),
|
|
20
|
-
React.createElement("stop", { offset: "43%", stopColor: "#DEB0E0" }),
|
|
21
|
-
React.createElement("stop", { offset: "50%", stopColor: "#DFC6E5" }),
|
|
22
|
-
React.createElement("stop", { offset: "72%", stopColor: "#6663F6" })),
|
|
23
|
-
React.createElement("radialGradient", { id: `ai-logo-${customId}-gradient-2`, r: "100%", fx: "40%", fy: "72%" },
|
|
24
|
-
React.createElement("stop", { offset: "20%", stopColor: "#615CF500" }),
|
|
25
|
-
React.createElement("stop", { offset: "32%", stopColor: "#615CF550" }),
|
|
26
|
-
React.createElement("stop", { offset: "48%", stopColor: "#6663F6" })),
|
|
27
|
-
React.createElement("radialGradient", { id: `ai-logo-${customId}-gradient-3`, r: "100%", fx: "0%", fy: "100%" },
|
|
28
|
-
React.createElement("stop", { offset: "25%", stopColor: "#6663F6" }),
|
|
29
|
-
React.createElement("stop", { offset: "38%", stopColor: "#6E68F450" }),
|
|
30
|
-
React.createElement("stop", { offset: "45%", stopColor: "#6E68F400" }))));
|
|
31
|
-
};
|
|
32
|
-
const symbolLogoPath = 'M30 15.4433C30 16.6091 29.0933 16.8581 27.9562 16.9301C22.5158 17.2323 16.7962 22.686 16.4795 28.112C16.422 29.2634 16.173 30.1702 15.0072 30.1702C13.8414 30.1702 13.578 29.2634 13.5205 28.0976C13.2038 22.686 7.48416 17.2323 2.05814 16.9301C0.906735 16.8581 0 16.6091 0 15.4433C0 14.2775 0.906735 14.043 2.05814 13.971C7.48416 13.6687 13.2038 7.65433 13.5205 2.22831C13.578 1.0769 13.827 0.170166 15.0072 0.170166C16.1874 0.170166 16.422 1.0769 16.4795 2.22831C16.7962 7.65433 22.5158 13.6687 27.9419 13.971C29.0933 14.043 30 14.2919 30 15.4433Z';
|
|
33
|
-
const SymbolLogoSvg = (_a) => {
|
|
34
|
-
var { brand, symbolColor, customId, title } = _a, props = __rest(_a, ["brand", "symbolColor", "customId", "title"]);
|
|
35
|
-
switch (brand) {
|
|
36
|
-
case 'ai':
|
|
37
|
-
return (React.createElement("svg", Object.assign({ viewBox: "0 0 30 31", fill: "none" }, props),
|
|
38
|
-
title && React.createElement("title", null, title),
|
|
39
|
-
!symbolColor ? (React.createElement(React.Fragment, null,
|
|
40
|
-
LoomAiGradientDef(customId),
|
|
41
|
-
[...Array(3)].map((_, i) => (React.createElement("path", { key: i, d: symbolLogoPath, fill: `url(#ai-logo-${customId}-gradient-${i + 1}` }))))) : (React.createElement("path", { d: symbolLogoPath, fill: getColorValue(symbolColor) }))));
|
|
42
|
-
default:
|
|
43
|
-
return (React.createElement("svg", Object.assign({ viewBox: "0 0 31 30", fill: "none" }, props),
|
|
44
|
-
title && React.createElement("title", null, title),
|
|
45
|
-
React.createElement("path", { d: "M30.01 13.43h-9.142l7.917-4.57-1.57-2.72-7.918 4.57 4.57-7.915-2.72-1.57-4.571 7.913V0h-3.142v9.139L8.863 1.225l-2.721 1.57 4.57 7.913L2.796 6.14 1.225 8.86l7.917 4.57H0v3.141h9.141l-7.916 4.57 1.57 2.72 7.918-4.57-4.571 7.915 2.72 1.57 4.572-7.914V30h3.142v-9.334l4.655 8.06 2.551-1.472-4.656-8.062 8.087 4.668 1.571-2.72-7.916-4.57h9.141v-3.14h.001zm-15.005 5.84a4.271 4.271 0 11-.001-8.542 4.271 4.271 0 01.001 8.542z", fill: symbolColor
|
|
46
|
-
? getColorValue(symbolColor)
|
|
47
|
-
: getColorValue('primary') })));
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
const WordmarkLogoSvg = (_a) => {
|
|
51
|
-
var { brand, wordmarkColor, title } = _a, props = __rest(_a, ["brand", "wordmarkColor", "title"]);
|
|
52
|
-
switch (brand) {
|
|
53
|
-
case 'ai':
|
|
54
|
-
return (React.createElement("svg", Object.assign({ viewBox: "0 0 94 23", fill: wordmarkColor }, props),
|
|
55
|
-
title && React.createElement("title", null, title),
|
|
56
|
-
React.createElement("path", { d: "M4.12637 22.4624H0V0H4.12637V22.4624Z" }),
|
|
57
|
-
React.createElement("path", { d: "M13.3999 19.1737C15.4166 19.1737 17.2781 17.7155 17.2781 14.8301C17.2781 11.9448 15.4166 10.4866 13.3999 10.4866C11.3833 10.4866 9.52175 11.9448 9.52175 14.8301C9.52175 17.6845 11.3833 19.1737 13.3999 19.1737ZM13.3999 6.7325C17.9606 6.7325 21.4045 10.1143 21.4045 14.8301C21.4045 19.515 17.9606 22.9277 13.3999 22.9277C8.83919 22.9277 5.39538 19.515 5.39538 14.8301C5.39538 10.1143 8.83919 6.7325 13.3999 6.7325Z" }),
|
|
58
|
-
React.createElement("path", { d: "M29.7548 19.1737C31.7714 19.1737 33.6329 17.7155 33.6329 14.8301C33.6329 11.9448 31.7714 10.4866 29.7548 10.4866C27.7381 10.4866 25.8766 11.9448 25.8766 14.8301C25.8766 17.6845 27.7381 19.1737 29.7548 19.1737ZM29.7548 6.7325C34.3155 6.7325 37.7593 10.1143 37.7593 14.8301C37.7593 19.515 34.3155 22.9277 29.7548 22.9277C25.194 22.9277 21.7502 19.515 21.7502 14.8301C21.7502 10.1143 25.194 6.7325 29.7548 6.7325Z" }),
|
|
59
|
-
React.createElement("path", { d: "M43.1622 22.4624H39.0358V7.19788H42.976V9.05941C43.8137 7.57019 45.7683 6.76353 47.4437 6.76353C49.5224 6.76353 51.1978 7.66326 51.9734 9.30761C53.1834 7.44609 54.7967 6.76353 56.8134 6.76353C59.6367 6.76353 62.3359 8.46992 62.3359 12.5653V22.4624H58.3336V13.403C58.3336 11.7586 57.5269 10.5176 55.6344 10.5176C53.8659 10.5176 52.8111 11.8827 52.8111 13.5271V22.4624H48.7157V13.403C48.7157 11.7586 47.878 10.5176 46.0165 10.5176C44.2171 10.5176 43.1622 11.8517 43.1622 13.5271V22.4624Z" }),
|
|
60
|
-
React.createElement("path", { d: "M84.1324 22.4624L82.3019 17.4363H73.3666L71.5361 22.4624H67.0064L75.4453 0.46538H80.4093L88.7862 22.4624H84.1324ZM77.8342 5.21226L74.7937 13.5271H80.8747L77.8342 5.21226Z" }),
|
|
61
|
-
React.createElement("path", { d: "M94 22.4624H89.6565V0.46538H94V22.4624Z" })));
|
|
62
|
-
default:
|
|
63
|
-
return (React.createElement("svg", Object.assign({ viewBox: "0 0 62 23", fill: wordmarkColor }, props),
|
|
64
|
-
title && React.createElement("title", null, title),
|
|
65
|
-
React.createElement("path", { d: "M.109 21.973V.027h4.028v21.946H.109zM38.742 7.059h3.846v1.82c.818-1.456 2.727-2.244 4.362-2.244 2.03 0 3.665.88 4.422 2.485 1.18-1.82 2.756-2.485 4.725-2.485 2.756 0 5.39 1.667 5.39 5.668v9.67h-3.906v-8.851c0-1.607-.788-2.82-2.636-2.82-1.727 0-2.757 1.335-2.757 2.942v8.73h-3.997v-8.852c0-1.607-.817-2.82-2.635-2.82-1.757 0-2.787 1.305-2.787 2.942v8.73h-4.027V7.059zM13.24 22.405c-4.537 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.288 7.889-7.824 7.889zm0-12.135a4.25 4.25 0 00-4.244 4.247 4.25 4.25 0 004.244 4.247 4.25 4.25 0 004.243-4.247 4.25 4.25 0 00-4.243-4.247zM29.667 22.405c-4.538 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.29 7.889-7.824 7.889zm0-12.186a4.3 4.3 0 00-4.293 4.296 4.3 4.3 0 004.293 4.296 4.3 4.3 0 004.293-4.296 4.3 4.3 0 00-4.293-4.296z" })));
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
const combinedLogoPath = 'M100 7.76427C100 8.35691 99.539 8.48348 98.961 8.52007C96.1953 8.67371 93.2877 11.4461 93.1267 14.2045C93.0975 14.7898 92.9709 15.2508 92.3783 15.2508C91.7856 15.2508 91.6517 14.7898 91.6225 14.1972C91.4615 11.4461 88.5539 8.67371 85.7955 8.52007C85.2102 8.48348 84.7492 8.35691 84.7492 7.76427C84.7492 7.17162 85.2102 7.05237 85.7955 7.01578C88.5539 6.86213 91.4615 3.80464 91.6225 1.04628C91.6517 0.460948 91.7783 0 92.3783 0C92.9782 0 93.0975 0.460948 93.1267 1.04628C93.2877 3.80464 96.1953 6.86213 98.9537 7.01578C99.539 7.05237 100 7.17894 100 7.76427Z';
|
|
69
|
-
const CombinedLogoSvg = (_a) => {
|
|
70
|
-
var { brand, wordmarkColor, symbolColor, customId, title } = _a, props = __rest(_a, ["brand", "wordmarkColor", "symbolColor", "customId", "title"]);
|
|
71
|
-
switch (brand) {
|
|
72
|
-
case 'ai':
|
|
73
|
-
return (React.createElement("svg", Object.assign({ viewBox: "0 0 100 30", fill: "none" }, props),
|
|
74
|
-
title && React.createElement("title", null, title),
|
|
75
|
-
!symbolColor ? (React.createElement(React.Fragment, null,
|
|
76
|
-
LoomAiGradientDef(customId),
|
|
77
|
-
[...Array(3)].map((_, i) => (React.createElement("path", { key: i, d: combinedLogoPath, fill: `url(#ai-logo-${customId}-gradient-${i + 1}` }))))) : (React.createElement("path", { d: combinedLogoPath, fill: getColorValue(symbolColor) })),
|
|
78
|
-
React.createElement("g", { fill: wordmarkColor },
|
|
79
|
-
React.createElement("path", { d: "M4.1997 29.5909H0.570312V9.83386H4.1997V29.5909Z" }),
|
|
80
|
-
React.createElement("path", { d: "M12.3563 26.6983C14.1301 26.6983 15.7674 25.4157 15.7674 22.8778C15.7674 20.34 14.1301 19.0574 12.3563 19.0574C10.5826 19.0574 8.94526 20.34 8.94526 22.8778C8.94526 25.3884 10.5826 26.6983 12.3563 26.6983ZM12.3563 15.7555C16.3678 15.7555 19.3968 18.73 19.3968 22.8778C19.3968 26.9984 16.3678 30.0002 12.3563 30.0002C8.34491 30.0002 5.31587 26.9984 5.31587 22.8778C5.31587 18.73 8.34491 15.7555 12.3563 15.7555Z" }),
|
|
81
|
-
React.createElement("path", { d: "M26.7414 26.6983C28.5152 26.6983 30.1525 25.4157 30.1525 22.8778C30.1525 20.34 28.5152 19.0574 26.7414 19.0574C24.9676 19.0574 23.3303 20.34 23.3303 22.8778C23.3303 25.3884 24.9676 26.6983 26.7414 26.6983ZM26.7414 15.7555C30.7528 15.7555 33.7819 18.73 33.7819 22.8778C33.7819 26.9984 30.7528 30.0002 26.7414 30.0002C22.73 30.0002 19.7009 26.9984 19.7009 22.8778C19.7009 18.73 22.73 15.7555 26.7414 15.7555Z" }),
|
|
82
|
-
React.createElement("path", { d: "M38.534 29.5909H34.9047V16.1648H38.3703V17.8022C39.1071 16.4923 40.8263 15.7828 42.2999 15.7828C44.1282 15.7828 45.6018 16.5742 46.284 18.0205C47.3483 16.3831 48.7673 15.7828 50.5411 15.7828C53.0243 15.7828 55.3984 17.2837 55.3984 20.8858V29.5909H51.8782V21.6226C51.8782 20.1763 51.1687 19.0847 49.5041 19.0847C47.9486 19.0847 47.0208 20.2854 47.0208 21.7317V29.5909H43.4187V21.6226C43.4187 20.1763 42.6819 19.0847 41.0446 19.0847C39.4619 19.0847 38.534 20.2581 38.534 21.7317V29.5909Z" }),
|
|
83
|
-
React.createElement("path", { d: "M74.5698 29.5909L72.9598 25.1701H65.1006L63.4906 29.5909H59.5064L66.929 10.2432H71.2951L78.6631 29.5909H74.5698ZM69.0302 14.4184L66.3559 21.7317H71.7045L69.0302 14.4184Z" }),
|
|
84
|
-
React.createElement("path", { d: "M83.249 29.5909H79.4285V10.2432H83.249V29.5909Z" }))));
|
|
85
|
-
default:
|
|
86
|
-
return (React.createElement("svg", Object.assign({ viewBox: "0 0 100 30", fill: "none" }, props),
|
|
87
|
-
title && React.createElement("title", null, title),
|
|
88
|
-
React.createElement("path", { d: "M30.01 13.43h-9.142l7.917-4.57-1.57-2.72-7.918 4.57 4.57-7.915-2.72-1.57-4.571 7.913V0h-3.142v9.139L8.863 1.225l-2.721 1.57 4.57 7.913L2.796 6.14 1.225 8.86l7.917 4.57H0v3.141h9.141l-7.916 4.57 1.57 2.72 7.918-4.57-4.571 7.915 2.72 1.57 4.572-7.914V30h3.142v-9.334l4.655 8.06 2.551-1.472-4.656-8.062 8.087 4.668 1.571-2.72-7.916-4.57h9.141v-3.14h.001zm-15.005 5.84a4.271 4.271 0 11-.001-8.542 4.271 4.271 0 01.001 8.542z", fill: symbolColor
|
|
89
|
-
? getColorValue(symbolColor)
|
|
90
|
-
: getColorValue('primary') }),
|
|
91
|
-
React.createElement("path", { d: "M38.109 25.973V4.027h4.028v21.946h-4.028zM76.742 11.059h3.846v1.82c.818-1.455 2.727-2.244 4.362-2.244 2.03 0 3.665.88 4.422 2.485 1.18-1.82 2.756-2.485 4.725-2.485 2.756 0 5.39 1.667 5.39 5.668v9.67h-3.906v-8.851c0-1.607-.788-2.82-2.636-2.82-1.727 0-2.757 1.335-2.757 2.942v8.73h-3.996v-8.852c0-1.607-.818-2.82-2.636-2.82-1.757 0-2.787 1.305-2.787 2.942v8.73h-4.027V11.059zM51.24 26.405c-4.538 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.288 7.889-7.824 7.889zm0-12.135a4.25 4.25 0 00-4.244 4.247 4.25 4.25 0 004.244 4.247 4.25 4.25 0 004.243-4.247 4.25 4.25 0 00-4.243-4.247zM67.667 26.405c-4.538 0-7.824-3.367-7.824-7.889 0-4.45 3.276-7.896 7.824-7.896 4.57 0 7.824 3.478 7.824 7.896 0 4.49-3.29 7.889-7.824 7.889zm0-12.186a4.3 4.3 0 00-4.293 4.296 4.3 4.3 0 004.293 4.296 4.3 4.3 0 004.293-4.296 4.3 4.3 0 00-4.293-4.296z", fill: wordmarkColor })));
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
const LogoWrapper = styled.span `
|
|
95
|
-
display: block;
|
|
96
|
-
${props => props.maxWidth && getSize('max-width', props.maxWidth)};
|
|
97
|
-
|
|
98
|
-
& > svg.lns-logoSvg {
|
|
99
|
-
display: block;
|
|
100
|
-
width: 100%;
|
|
101
|
-
height: 100%;
|
|
102
|
-
${props => props.maxWidth && getSize('max-width', props.maxWidth)};
|
|
103
|
-
}
|
|
104
|
-
`;
|
|
105
|
-
const Logo = (_a) => {
|
|
106
|
-
var { variant = 'combined', maxWidth, symbolColor, wordmarkColor = 'body', brand = 'loom', customId = '', title = '' } = _a, props = __rest(_a, ["variant", "maxWidth", "symbolColor", "wordmarkColor", "brand", "customId", "title"]);
|
|
107
|
-
return (React.createElement(LogoWrapper, Object.assign({ variant: variant, maxWidth: maxWidth }, props),
|
|
108
|
-
variant === 'combined' && (React.createElement(CombinedLogoSvg, { brand: brand, symbolColor: symbolColor, wordmarkColor: getColorValue(wordmarkColor), customId: customId, className: "lns-logoSvg", title: title })),
|
|
109
|
-
variant === 'symbol' && (React.createElement(SymbolLogoSvg, { brand: brand, symbolColor: symbolColor, customId: customId, className: "lns-logoSvg", title: title })),
|
|
110
|
-
variant === 'wordmark' && (React.createElement(WordmarkLogoSvg, { brand: brand, wordmarkColor: getColorValue(wordmarkColor), className: "lns-logoSvg", title: title }))));
|
|
111
|
-
};
|
|
112
|
-
export const availableVariants = ['combined', 'symbol', 'wordmark'];
|
|
113
|
-
export default Logo;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import styled from '@emotion/styled';
|
|
3
|
-
import { LENS_CDN } from '../../constants/routes';
|
|
4
|
-
const sizeToPx = {
|
|
5
|
-
small: '40px',
|
|
6
|
-
medium: '80px',
|
|
7
|
-
};
|
|
8
|
-
const LogoLoaderWrapper = styled.span `
|
|
9
|
-
animation: ${props => props.animation};
|
|
10
|
-
background-image: url(${LENS_CDN}/${props => props.brand}-loader.svg);
|
|
11
|
-
background-size: cover;
|
|
12
|
-
background-position: left center;
|
|
13
|
-
display: block;
|
|
14
|
-
height: ${props => sizeToPx[props.size]};
|
|
15
|
-
width: ${props => sizeToPx[props.size]};
|
|
16
|
-
|
|
17
|
-
@keyframes spin {
|
|
18
|
-
100% {
|
|
19
|
-
background-position: right center;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
23
|
-
const LogoLoader = ({ animation = 'spin 2s infinite steps(49) forwards', brand = 'loom', size = 'medium', }) => {
|
|
24
|
-
return React.createElement(LogoLoaderWrapper, { animation: animation, brand: brand, size: size });
|
|
25
|
-
};
|
|
26
|
-
export default LogoLoader;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { getColorValue, getRadius, getShadow, getSize, u, } from '../../utilities';
|
|
13
|
-
import Icon from '../icon/icon';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import { SvgCheck } from '../icon/available-icons';
|
|
16
|
-
import Text from '../text/text';
|
|
17
|
-
import styled from '@emotion/styled';
|
|
18
|
-
export const menuPositions = {
|
|
19
|
-
left: 'bottom-start',
|
|
20
|
-
right: 'bottom-end',
|
|
21
|
-
['topLeft']: 'top-start',
|
|
22
|
-
['topRight']: 'top-end',
|
|
23
|
-
};
|
|
24
|
-
const MenuWrapper = styled.ul `
|
|
25
|
-
background-color: ${getColorValue('overlay')};
|
|
26
|
-
list-style: none;
|
|
27
|
-
padding: ${u(1.5)};
|
|
28
|
-
margin: 0;
|
|
29
|
-
${props => getSize('min-width', props.minWidth)};
|
|
30
|
-
${props => getSize('max-width', props.maxWidth)};
|
|
31
|
-
${props => getSize('max-height', props.maxHeight)};
|
|
32
|
-
z-index: ${props => props.zIndex};
|
|
33
|
-
overflow: auto;
|
|
34
|
-
border: 1px solid ${getColorValue('border')};
|
|
35
|
-
${getShadow('medium')};
|
|
36
|
-
${getRadius('large')};
|
|
37
|
-
`;
|
|
38
|
-
const MenuItemWrapper = styled.li `
|
|
39
|
-
display: ${({ hidden }) => (hidden ? 'none' : 'grid')};
|
|
40
|
-
grid-auto-flow: column;
|
|
41
|
-
grid-template-columns: ${props => props.columns};
|
|
42
|
-
${getSize('grid-gap', 'small')};
|
|
43
|
-
${getRadius('xlarge')};
|
|
44
|
-
align-items: center;
|
|
45
|
-
min-height: ${u(5)};
|
|
46
|
-
padding: 0 ${u(2)};
|
|
47
|
-
cursor: ${props => (props.isDisabled ? 'default' : 'pointer')};
|
|
48
|
-
${props => props.isHighlighted &&
|
|
49
|
-
!props.isDisabled &&
|
|
50
|
-
`
|
|
51
|
-
background-color: ${getColorValue('backgroundHover')};
|
|
52
|
-
`};
|
|
53
|
-
${props => props.hasDivider &&
|
|
54
|
-
`
|
|
55
|
-
position: relative;
|
|
56
|
-
margin-top: ${u(3)};
|
|
57
|
-
&:before {
|
|
58
|
-
content: '';
|
|
59
|
-
border-top: 1px solid ${getColorValue('border')};
|
|
60
|
-
position: absolute;
|
|
61
|
-
top: ${u(-1.5)};
|
|
62
|
-
left: ${u(-1.5)};
|
|
63
|
-
width: calc(100% + ${u(3)});
|
|
64
|
-
}
|
|
65
|
-
`};
|
|
66
|
-
`;
|
|
67
|
-
export const MenuItem = (_a) => {
|
|
68
|
-
var { isDisabled, isHighlighted, isSelected, icon, hasDivider, children } = _a, props = __rest(_a, ["isDisabled", "isHighlighted", "isSelected", "icon", "hasDivider", "children"]);
|
|
69
|
-
const checkColumn = isSelected ? 'auto' : '';
|
|
70
|
-
const iconColumn = icon ? 'auto' : '';
|
|
71
|
-
const columns = `${iconColumn} 1fr ${checkColumn}`;
|
|
72
|
-
const color = isDisabled ? 'disabledContent' : undefined;
|
|
73
|
-
return (React.createElement(MenuItemWrapper, Object.assign({ isHighlighted: isHighlighted, isDisabled: isDisabled, columns: columns, hasDivider: hasDivider }, props),
|
|
74
|
-
icon && React.createElement(Icon, { icon: icon, color: color }),
|
|
75
|
-
React.createElement(Text, { color: color, hasEllipsis: true }, children),
|
|
76
|
-
isSelected && React.createElement(Icon, { icon: React.createElement(SvgCheck, null), color: color })));
|
|
77
|
-
};
|
|
78
|
-
const Menu = (_a) => {
|
|
79
|
-
var { position, zIndex, minWidth, maxWidth, maxHeight, children, downshiftMenuProps = () => null } = _a, props = __rest(_a, ["position", "zIndex", "minWidth", "maxWidth", "maxHeight", "children", "downshiftMenuProps"]);
|
|
80
|
-
return (React.createElement(MenuWrapper, Object.assign({ zIndex: zIndex, position: position, minWidth: minWidth, maxWidth: maxWidth, maxHeight: maxHeight }, downshiftMenuProps(), props), children));
|
|
81
|
-
};
|
|
82
|
-
export default Menu;
|