@loomhq/lens 12.1.1 → 12.3.0
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 +2 -0
- package/dist/cjs/icons/auto-chapters.js +2 -25
- package/dist/cjs/icons/auto-chapters.js.map +3 -3
- package/dist/cjs/icons/auto-draft.js +2 -8
- package/dist/cjs/icons/auto-draft.js.map +3 -3
- package/dist/cjs/icons/auto-summaries.js +2 -1
- package/dist/cjs/icons/auto-summaries.js.map +3 -3
- package/dist/cjs/icons/auto-titles.js +2 -13
- package/dist/cjs/icons/auto-titles.js.map +3 -3
- package/dist/cjs/icons/blur.js +2 -73
- package/dist/cjs/icons/blur.js.map +3 -3
- package/dist/cjs/icons/book.js +2 -9
- package/dist/cjs/icons/book.js.map +3 -3
- package/dist/cjs/icons/captions.js +2 -9
- package/dist/cjs/icons/captions.js.map +3 -3
- package/dist/cjs/icons/cc-off.js +2 -9
- package/dist/cjs/icons/cc-off.js.map +3 -3
- package/dist/cjs/icons/cc-on.js +2 -9
- package/dist/cjs/icons/cc-on.js.map +3 -3
- package/dist/cjs/icons/clip.js +2 -9
- package/dist/cjs/icons/clip.js.map +3 -3
- package/dist/cjs/icons/crop169.js +2 -9
- package/dist/cjs/icons/crop169.js.map +3 -3
- package/dist/cjs/icons/edit-border.js +2 -9
- package/dist/cjs/icons/edit-border.js.map +3 -3
- package/dist/cjs/icons/{repeat.js → editions.js} +9 -9
- package/dist/cjs/icons/editions.js.map +7 -0
- package/dist/cjs/icons/extension.js +2 -9
- package/dist/cjs/icons/extension.js.map +3 -3
- package/dist/cjs/icons/filler-word-removal.js +2 -21
- package/dist/cjs/icons/filler-word-removal.js.map +3 -3
- package/dist/cjs/icons/folder-shared.js +2 -21
- package/dist/cjs/icons/folder-shared.js.map +3 -3
- package/dist/cjs/icons/google-calendar-logo.js +1 -1
- package/dist/cjs/icons/google-calendar-logo.js.map +2 -2
- package/dist/cjs/icons/google.js +1 -1
- package/dist/cjs/icons/google.js.map +2 -2
- package/dist/cjs/icons/image-strikethrough.js +57 -0
- package/dist/cjs/icons/image-strikethrough.js.map +7 -0
- package/dist/cjs/icons/index.js +694 -1210
- package/dist/cjs/icons/index.js.map +4 -4
- package/dist/cjs/icons/jira.js +1 -1
- package/dist/cjs/icons/jira.js.map +2 -2
- package/dist/cjs/icons/linearDark.js +1 -1
- package/dist/cjs/icons/linearDark.js.map +2 -2
- package/dist/cjs/icons/link-off.js +2 -33
- package/dist/cjs/icons/link-off.js.map +3 -3
- package/dist/cjs/icons/mic-off.js +2 -27
- package/dist/cjs/icons/mic-off.js.map +3 -3
- package/dist/cjs/icons/microsoft-teams-logo.js +1 -1
- package/dist/cjs/icons/microsoft-teams-logo.js.map +2 -2
- package/dist/cjs/icons/overlays.js +4 -9
- package/dist/cjs/icons/overlays.js.map +3 -3
- package/dist/cjs/icons/picture-in-picture.js +2 -15
- package/dist/cjs/icons/picture-in-picture.js.map +3 -3
- package/dist/cjs/icons/play-circle.js +2 -15
- package/dist/cjs/icons/play-circle.js.map +3 -3
- package/dist/cjs/icons/plus-circle.js +2 -9
- package/dist/cjs/icons/plus-circle.js.map +3 -3
- package/dist/cjs/icons/power.js +4 -9
- package/dist/cjs/icons/power.js.map +3 -3
- package/dist/cjs/icons/pronunciation.js +4 -9
- package/dist/cjs/icons/pronunciation.js.map +3 -3
- package/dist/cjs/icons/public-off.js +2 -25
- package/dist/cjs/icons/public-off.js.map +3 -3
- package/dist/cjs/icons/record.js +2 -7
- package/dist/cjs/icons/record.js.map +3 -3
- package/dist/cjs/icons/reply-left.js +2 -9
- package/dist/cjs/icons/reply-left.js.map +3 -3
- package/dist/cjs/icons/reply-right.js +2 -9
- package/dist/cjs/icons/reply-right.js.map +3 -3
- package/dist/cjs/icons/rewind.js +2 -21
- package/dist/cjs/icons/rewind.js.map +3 -3
- package/dist/cjs/icons/salesforce.js +1 -1
- package/dist/cjs/icons/salesforce.js.map +2 -2
- package/dist/cjs/icons/screen-cam.js +2 -13
- package/dist/cjs/icons/screen-cam.js.map +3 -3
- package/dist/cjs/icons/silence-removal.js +2 -51
- package/dist/cjs/icons/silence-removal.js.map +3 -3
- package/dist/cjs/icons/slack.js +1 -1
- package/dist/cjs/icons/slack.js.map +2 -2
- package/dist/cjs/icons/speed-fast.js +2 -2
- package/dist/cjs/icons/speed-fast.js.map +3 -3
- package/dist/cjs/icons/speed-medium.js +2 -21
- package/dist/cjs/icons/speed-medium.js.map +3 -3
- package/dist/cjs/icons/speed-slow.js +2 -21
- package/dist/cjs/icons/speed-slow.js.map +3 -3
- package/dist/cjs/icons/split.js +2 -9
- package/dist/cjs/icons/split.js.map +3 -3
- package/dist/cjs/icons/timeline-editor.js +2 -9
- package/dist/cjs/icons/timeline-editor.js.map +3 -3
- package/dist/cjs/icons/transcript.js +4 -9
- package/dist/cjs/icons/transcript.js.map +3 -3
- package/dist/cjs/icons/variables.js +2 -19
- package/dist/cjs/icons/variables.js.map +3 -3
- package/dist/cjs/icons/version-control.js +2 -9
- package/dist/cjs/icons/version-control.js.map +3 -3
- package/dist/cjs/icons/video-off.js +2 -19
- package/dist/cjs/icons/video-off.js.map +3 -3
- package/dist/cjs/icons/watch-later-added.js +2 -9
- package/dist/cjs/icons/watch-later-added.js.map +3 -3
- package/dist/cjs/icons/watch-later-remove.js +2 -9
- package/dist/cjs/icons/watch-later-remove.js.map +3 -3
- package/dist/cjs/icons/waveform.js +2 -9
- package/dist/cjs/icons/waveform.js.map +3 -3
- package/dist/cjs/icons/zoom-logo.js +1 -1
- package/dist/cjs/icons/zoom-logo.js.map +2 -2
- package/dist/cjs/index.js +1404 -810
- package/dist/cjs/index.js.map +4 -4
- package/dist/esm/icons/auto-chapters.js +1 -1
- package/dist/esm/icons/auto-draft.js +1 -1
- package/dist/esm/icons/auto-summaries.js +1 -1
- package/dist/esm/icons/auto-titles.js +1 -1
- package/dist/esm/icons/blur.js +1 -1
- package/dist/esm/icons/book.js +1 -1
- package/dist/esm/icons/captions.js +1 -1
- package/dist/esm/icons/cc-off.js +1 -1
- package/dist/esm/icons/cc-on.js +1 -1
- package/dist/esm/icons/{chunk-HAZUB6KE.js → chunk-24RL2WNZ.js} +2 -2
- package/dist/esm/icons/chunk-24RL2WNZ.js.map +7 -0
- package/dist/esm/icons/chunk-2FKO2VHS.js +11 -0
- package/dist/esm/icons/chunk-2FKO2VHS.js.map +7 -0
- package/dist/esm/icons/chunk-2JPBEH6W.js +11 -0
- package/dist/esm/icons/chunk-2JPBEH6W.js.map +7 -0
- package/dist/esm/icons/chunk-2WM7CTYF.js +11 -0
- package/dist/esm/icons/chunk-2WM7CTYF.js.map +7 -0
- package/dist/esm/icons/chunk-3B4Y5TCU.js +11 -0
- package/dist/esm/icons/chunk-3B4Y5TCU.js.map +7 -0
- package/dist/esm/icons/{chunk-TFONSMSM.js → chunk-6LTCMS66.js} +2 -2
- package/dist/esm/icons/chunk-6LTCMS66.js.map +7 -0
- package/dist/esm/icons/chunk-6WJ5SW36.js +11 -0
- package/dist/esm/icons/chunk-6WJ5SW36.js.map +7 -0
- package/dist/esm/icons/{chunk-MIDMJID5.js → chunk-7DXLMQ7D.js} +2 -2
- package/dist/esm/icons/chunk-7DXLMQ7D.js.map +7 -0
- package/dist/esm/icons/chunk-7R5X5NJH.js +11 -0
- package/dist/esm/icons/chunk-7R5X5NJH.js.map +7 -0
- package/dist/esm/icons/chunk-AA7SIBLA.js +11 -0
- package/dist/esm/icons/chunk-AA7SIBLA.js.map +7 -0
- package/dist/esm/icons/chunk-AXJ6VJAQ.js +11 -0
- package/dist/esm/icons/chunk-AXJ6VJAQ.js.map +7 -0
- package/dist/esm/icons/chunk-BFPFVG5V.js +11 -0
- package/dist/esm/icons/chunk-BFPFVG5V.js.map +7 -0
- package/dist/esm/icons/chunk-CKTMKAKK.js +11 -0
- package/dist/esm/icons/chunk-CKTMKAKK.js.map +7 -0
- package/dist/esm/icons/chunk-E7NOP4A2.js +11 -0
- package/dist/esm/icons/chunk-E7NOP4A2.js.map +7 -0
- package/dist/esm/icons/{chunk-B62QVFQU.js → chunk-FZL3BQHV.js} +2 -2
- package/dist/esm/icons/chunk-FZL3BQHV.js.map +7 -0
- package/dist/esm/icons/chunk-G6TTJAGH.js +11 -0
- package/dist/esm/icons/chunk-G6TTJAGH.js.map +7 -0
- package/dist/esm/icons/chunk-GAV52C5I.js +11 -0
- package/dist/esm/icons/chunk-GAV52C5I.js.map +7 -0
- package/dist/esm/icons/chunk-GZUPKYEY.js +11 -0
- package/dist/esm/icons/chunk-GZUPKYEY.js.map +7 -0
- package/dist/esm/icons/chunk-H62FBNYX.js +11 -0
- package/dist/esm/icons/chunk-H62FBNYX.js.map +7 -0
- package/dist/esm/icons/chunk-HZJRA7SF.js +11 -0
- package/dist/esm/icons/chunk-HZJRA7SF.js.map +7 -0
- package/dist/esm/icons/chunk-IRJ7ZBRL.js +11 -0
- package/dist/esm/icons/chunk-IRJ7ZBRL.js.map +7 -0
- package/dist/esm/icons/chunk-J5YSTD2O.js +11 -0
- package/dist/esm/icons/chunk-J5YSTD2O.js.map +7 -0
- package/dist/esm/icons/chunk-JHH2EMTN.js +11 -0
- package/dist/esm/icons/chunk-JHH2EMTN.js.map +7 -0
- package/dist/esm/icons/chunk-JMAS7HF6.js +11 -0
- package/dist/esm/icons/chunk-JMAS7HF6.js.map +7 -0
- package/dist/esm/icons/chunk-JRVAE4EQ.js +11 -0
- package/dist/esm/icons/chunk-JRVAE4EQ.js.map +7 -0
- package/dist/esm/icons/chunk-K6JVLXSS.js +28 -0
- package/dist/esm/icons/chunk-K6JVLXSS.js.map +7 -0
- package/dist/esm/icons/chunk-KB5FU4C5.js +11 -0
- package/dist/esm/icons/chunk-KB5FU4C5.js.map +7 -0
- package/dist/esm/icons/{chunk-KZNHIRFC.js → chunk-KIMRTGIR.js} +2 -2
- package/dist/esm/icons/chunk-KIMRTGIR.js.map +7 -0
- package/dist/esm/icons/chunk-KKDUUWDW.js +11 -0
- package/dist/esm/icons/chunk-KKDUUWDW.js.map +7 -0
- package/dist/esm/icons/chunk-KRDPKGQU.js +11 -0
- package/dist/esm/icons/chunk-KRDPKGQU.js.map +7 -0
- package/dist/esm/icons/chunk-L5ZPSV3X.js +11 -0
- package/dist/esm/icons/chunk-L5ZPSV3X.js.map +7 -0
- package/dist/esm/icons/chunk-MNSIAPHQ.js +11 -0
- package/dist/esm/icons/chunk-MNSIAPHQ.js.map +7 -0
- package/dist/esm/icons/chunk-NINABXFB.js +11 -0
- package/dist/esm/icons/chunk-NINABXFB.js.map +7 -0
- package/dist/esm/icons/chunk-PDJ7WDI4.js +11 -0
- package/dist/esm/icons/chunk-PDJ7WDI4.js.map +7 -0
- package/dist/esm/icons/chunk-PPB2A6RQ.js +11 -0
- package/dist/esm/icons/chunk-PPB2A6RQ.js.map +7 -0
- package/dist/esm/icons/chunk-RCV6EMGX.js +11 -0
- package/dist/esm/icons/chunk-RCV6EMGX.js.map +7 -0
- package/dist/esm/icons/{chunk-4AUMTYIM.js → chunk-RJFOILDN.js} +2 -2
- package/dist/esm/icons/chunk-RJFOILDN.js.map +7 -0
- package/dist/esm/icons/chunk-SCWSS4CT.js +11 -0
- package/dist/esm/icons/chunk-SCWSS4CT.js.map +7 -0
- package/dist/esm/icons/chunk-SOFWAOZ4.js +11 -0
- package/dist/esm/icons/chunk-SOFWAOZ4.js.map +7 -0
- package/dist/esm/icons/chunk-SP64S4HO.js +11 -0
- package/dist/esm/icons/chunk-SP64S4HO.js.map +7 -0
- package/dist/esm/icons/{chunk-FP43T6XN.js → chunk-SQJ4LMXN.js} +2 -2
- package/dist/esm/icons/chunk-SQJ4LMXN.js.map +7 -0
- package/dist/esm/icons/chunk-T4L22EHS.js +11 -0
- package/dist/esm/icons/chunk-T4L22EHS.js.map +7 -0
- package/dist/esm/icons/{chunk-7SBOGIXT.js → chunk-TRQRZIOC.js} +2 -2
- package/dist/esm/icons/chunk-TRQRZIOC.js.map +7 -0
- package/dist/esm/icons/chunk-TVTTMZZ4.js +11 -0
- package/dist/esm/icons/chunk-TVTTMZZ4.js.map +7 -0
- package/dist/esm/icons/chunk-U4E3DMZI.js +11 -0
- package/dist/esm/icons/chunk-U4E3DMZI.js.map +7 -0
- package/dist/esm/icons/chunk-UHAMA5YO.js +11 -0
- package/dist/esm/icons/chunk-UHAMA5YO.js.map +7 -0
- package/dist/esm/icons/chunk-VIGGSGOL.js +11 -0
- package/dist/esm/icons/chunk-VIGGSGOL.js.map +7 -0
- package/dist/esm/icons/chunk-VQTS3NUI.js +11 -0
- package/dist/esm/icons/chunk-VQTS3NUI.js.map +7 -0
- package/dist/esm/icons/chunk-VSKPW4OH.js +11 -0
- package/dist/esm/icons/chunk-VSKPW4OH.js.map +7 -0
- package/dist/esm/icons/chunk-WCXLT4Z4.js +11 -0
- package/dist/esm/icons/chunk-WCXLT4Z4.js.map +7 -0
- package/dist/esm/icons/chunk-WIDBKSIN.js +11 -0
- package/dist/esm/icons/chunk-WIDBKSIN.js.map +7 -0
- package/dist/esm/icons/clip.js +1 -1
- package/dist/esm/icons/crop169.js +2 -9
- package/dist/esm/icons/crop169.js.map +2 -2
- package/dist/esm/icons/edit-border.js +1 -1
- package/dist/esm/icons/editions.js +8 -0
- package/dist/esm/icons/extension.js +1 -1
- package/dist/esm/icons/filler-word-removal.js +1 -1
- package/dist/esm/icons/folder-shared.js +1 -1
- package/dist/esm/icons/google-calendar-logo.js +1 -1
- package/dist/esm/icons/google.js +1 -1
- package/dist/esm/icons/image-strikethrough.js +8 -0
- package/dist/esm/icons/image-strikethrough.js.map +7 -0
- package/dist/esm/icons/index.js +130 -126
- package/dist/esm/icons/jira.js +1 -1
- package/dist/esm/icons/linearDark.js +1 -1
- package/dist/esm/icons/link-off.js +1 -1
- package/dist/esm/icons/mic-off.js +1 -1
- package/dist/esm/icons/microsoft-teams-logo.js +1 -1
- package/dist/esm/icons/overlays.js +1 -1
- package/dist/esm/icons/picture-in-picture.js +1 -1
- package/dist/esm/icons/play-circle.js +1 -1
- package/dist/esm/icons/plus-circle.js +1 -1
- package/dist/esm/icons/power.js +1 -1
- package/dist/esm/icons/pronunciation.js +1 -1
- package/dist/esm/icons/public-off.js +1 -1
- package/dist/esm/icons/record.js +1 -1
- package/dist/esm/icons/reply-left.js +1 -1
- package/dist/esm/icons/reply-right.js +1 -1
- package/dist/esm/icons/rewind.js +1 -1
- package/dist/esm/icons/salesforce.js +1 -1
- package/dist/esm/icons/screen-cam.js +1 -1
- package/dist/esm/icons/silence-removal.js +1 -1
- package/dist/esm/icons/slack.js +1 -1
- package/dist/esm/icons/speed-fast.js +1 -1
- package/dist/esm/icons/speed-medium.js +1 -1
- package/dist/esm/icons/speed-slow.js +1 -1
- package/dist/esm/icons/split.js +1 -1
- package/dist/esm/icons/timeline-editor.js +1 -1
- package/dist/esm/icons/transcript.js +1 -1
- package/dist/esm/icons/variables.js +1 -1
- package/dist/esm/icons/version-control.js +1 -1
- package/dist/esm/icons/video-off.js +1 -1
- package/dist/esm/icons/watch-later-added.js +1 -1
- package/dist/esm/icons/watch-later-remove.js +1 -1
- package/dist/esm/icons/waveform.js +1 -1
- package/dist/esm/icons/zoom-logo.js +1 -1
- package/dist/esm/index.js +1384 -785
- package/dist/esm/index.js.map +4 -4
- package/dist/types/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/auto-chapters.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/auto-draft.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/auto-summaries.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/auto-titles.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/blur.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/book.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/captions.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/cc-off.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/cc-on.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/clip.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/crop169.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/edit-border.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/editions.d.ts +3 -0
- package/dist/types/components/icon/available-icons/editions.d.ts.map +1 -0
- package/dist/types/components/icon/available-icons/extension.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/filler-word-removal.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/folder-shared.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/image-strikethrough.d.ts +3 -0
- package/dist/types/components/icon/available-icons/image-strikethrough.d.ts.map +1 -0
- package/dist/types/components/icon/available-icons/index.d.ts +2 -1
- package/dist/types/components/icon/available-icons/index.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/link-off.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/mic-off.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/overlays.d.ts +1 -1
- package/dist/types/components/icon/available-icons/overlays.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/picture-in-picture.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/play-circle.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/plus-circle.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/power.d.ts +1 -1
- package/dist/types/components/icon/available-icons/power.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/pronunciation.d.ts +1 -1
- package/dist/types/components/icon/available-icons/pronunciation.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/public-off.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/record.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/reply-left.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/reply-right.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/rewind.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/screen-cam.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/silence-removal.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/speed-medium.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/speed-slow.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/split.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/timeline-editor.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/transcript.d.ts +1 -1
- package/dist/types/components/icon/available-icons/transcript.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/variables.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/version-control.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/video-off.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/watch-later-added.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/watch-later-remove.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/waveform.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +48 -40
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/list/list.d.ts.map +1 -1
- package/dist/types/components/logo/logo.d.ts +1 -2
- package/dist/types/components/logo/logo.d.ts.map +1 -1
- package/dist/types/components/menu/menu.d.ts.map +1 -1
- package/dist/types/components/modal/modal.d.ts +32 -7
- package/dist/types/components/modal/modal.d.ts.map +1 -1
- package/dist/types/components/popover/popover.d.ts +2 -1
- package/dist/types/components/popover/popover.d.ts.map +1 -1
- package/dist/types/components/radio/radio.d.ts.map +1 -1
- package/dist/types/components/select/select.d.ts +3 -1
- package/dist/types/components/select/select.d.ts.map +1 -1
- package/dist/types/components/switch/switch.d.ts.map +1 -1
- package/dist/types/components/text-input/text-input.d.ts +1 -1
- package/dist/types/components/text-input/text-input.d.ts.map +1 -1
- package/dist/types/components/toast/toast.d.ts.map +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/components/typeahead/typeahead.d.ts +42 -0
- package/dist/types/components/typeahead/typeahead.d.ts.map +1 -0
- package/dist/types/icons/auto-chapters.d.ts.map +1 -1
- package/dist/types/icons/auto-draft.d.ts.map +1 -1
- package/dist/types/icons/auto-summaries.d.ts.map +1 -1
- package/dist/types/icons/auto-titles.d.ts.map +1 -1
- package/dist/types/icons/blur.d.ts.map +1 -1
- package/dist/types/icons/book.d.ts.map +1 -1
- package/dist/types/icons/captions.d.ts.map +1 -1
- package/dist/types/icons/cc-off.d.ts.map +1 -1
- package/dist/types/icons/cc-on.d.ts.map +1 -1
- package/dist/types/icons/clip.d.ts.map +1 -1
- package/dist/types/icons/crop169.d.ts.map +1 -1
- package/dist/types/icons/edit-border.d.ts.map +1 -1
- package/dist/types/icons/editions.d.ts +3 -0
- package/dist/types/icons/editions.d.ts.map +1 -0
- package/dist/types/icons/extension.d.ts.map +1 -1
- package/dist/types/icons/filler-word-removal.d.ts.map +1 -1
- package/dist/types/icons/folder-shared.d.ts.map +1 -1
- package/dist/types/icons/image-strikethrough.d.ts +3 -0
- package/dist/types/icons/image-strikethrough.d.ts.map +1 -0
- package/dist/types/icons/index.d.ts +2 -1
- package/dist/types/icons/index.d.ts.map +1 -1
- package/dist/types/icons/link-off.d.ts.map +1 -1
- package/dist/types/icons/mic-off.d.ts.map +1 -1
- package/dist/types/icons/overlays.d.ts +1 -1
- package/dist/types/icons/overlays.d.ts.map +1 -1
- package/dist/types/icons/picture-in-picture.d.ts.map +1 -1
- package/dist/types/icons/play-circle.d.ts.map +1 -1
- package/dist/types/icons/plus-circle.d.ts.map +1 -1
- package/dist/types/icons/power.d.ts +1 -1
- package/dist/types/icons/power.d.ts.map +1 -1
- package/dist/types/icons/pronunciation.d.ts +1 -1
- package/dist/types/icons/pronunciation.d.ts.map +1 -1
- package/dist/types/icons/public-off.d.ts.map +1 -1
- package/dist/types/icons/record.d.ts.map +1 -1
- package/dist/types/icons/reply-left.d.ts.map +1 -1
- package/dist/types/icons/reply-right.d.ts.map +1 -1
- package/dist/types/icons/rewind.d.ts.map +1 -1
- package/dist/types/icons/screen-cam.d.ts.map +1 -1
- package/dist/types/icons/silence-removal.d.ts.map +1 -1
- package/dist/types/icons/speed-medium.d.ts.map +1 -1
- package/dist/types/icons/speed-slow.d.ts.map +1 -1
- package/dist/types/icons/split.d.ts.map +1 -1
- package/dist/types/icons/timeline-editor.d.ts.map +1 -1
- package/dist/types/icons/transcript.d.ts +1 -1
- package/dist/types/icons/transcript.d.ts.map +1 -1
- package/dist/types/icons/variables.d.ts.map +1 -1
- package/dist/types/icons/version-control.d.ts.map +1 -1
- package/dist/types/icons/video-off.d.ts.map +1 -1
- package/dist/types/icons/watch-later-added.d.ts.map +1 -1
- package/dist/types/icons/watch-later-remove.d.ts.map +1 -1
- package/dist/types/icons/waveform.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/cjs/icons/repeat.js.map +0 -7
- package/dist/esm/icons/chunk-2M46FGQW.js +0 -16
- package/dist/esm/icons/chunk-2M46FGQW.js.map +0 -7
- package/dist/esm/icons/chunk-35KOAD7N.js +0 -22
- package/dist/esm/icons/chunk-35KOAD7N.js.map +0 -7
- package/dist/esm/icons/chunk-46LHSJAB.js +0 -18
- package/dist/esm/icons/chunk-46LHSJAB.js.map +0 -7
- package/dist/esm/icons/chunk-4AUMTYIM.js.map +0 -7
- package/dist/esm/icons/chunk-4UVMFXE3.js +0 -60
- package/dist/esm/icons/chunk-4UVMFXE3.js.map +0 -7
- package/dist/esm/icons/chunk-53XJJLCV.js +0 -18
- package/dist/esm/icons/chunk-53XJJLCV.js.map +0 -7
- package/dist/esm/icons/chunk-64FCBLNP.js +0 -82
- package/dist/esm/icons/chunk-64FCBLNP.js.map +0 -7
- package/dist/esm/icons/chunk-6UXT7CUD.js +0 -28
- package/dist/esm/icons/chunk-6UXT7CUD.js.map +0 -7
- package/dist/esm/icons/chunk-7SBOGIXT.js.map +0 -7
- package/dist/esm/icons/chunk-7TJZ4GYR.js +0 -18
- package/dist/esm/icons/chunk-7TJZ4GYR.js.map +0 -7
- package/dist/esm/icons/chunk-AVJEOYSO.js +0 -18
- package/dist/esm/icons/chunk-AVJEOYSO.js.map +0 -7
- package/dist/esm/icons/chunk-B62QVFQU.js.map +0 -7
- package/dist/esm/icons/chunk-DRPHVZ7T.js +0 -17
- package/dist/esm/icons/chunk-DRPHVZ7T.js.map +0 -7
- package/dist/esm/icons/chunk-DTAF5ST5.js +0 -30
- package/dist/esm/icons/chunk-DTAF5ST5.js.map +0 -7
- package/dist/esm/icons/chunk-E7VZY6AM.js +0 -18
- package/dist/esm/icons/chunk-E7VZY6AM.js.map +0 -7
- package/dist/esm/icons/chunk-FP43T6XN.js.map +0 -7
- package/dist/esm/icons/chunk-FQGEGVYI.js +0 -36
- package/dist/esm/icons/chunk-FQGEGVYI.js.map +0 -7
- package/dist/esm/icons/chunk-FUYGQMUM.js +0 -34
- package/dist/esm/icons/chunk-FUYGQMUM.js.map +0 -7
- package/dist/esm/icons/chunk-GDHFSWNQ.js +0 -18
- package/dist/esm/icons/chunk-GDHFSWNQ.js.map +0 -7
- package/dist/esm/icons/chunk-H52Q46TG.js +0 -18
- package/dist/esm/icons/chunk-H52Q46TG.js.map +0 -7
- package/dist/esm/icons/chunk-HAZUB6KE.js.map +0 -7
- package/dist/esm/icons/chunk-HMPHLP7W.js +0 -11
- package/dist/esm/icons/chunk-HMPHLP7W.js.map +0 -7
- package/dist/esm/icons/chunk-IOGZAHOF.js +0 -30
- package/dist/esm/icons/chunk-IOGZAHOF.js.map +0 -7
- package/dist/esm/icons/chunk-KDZQYPCN.js +0 -24
- package/dist/esm/icons/chunk-KDZQYPCN.js.map +0 -7
- package/dist/esm/icons/chunk-KZNHIRFC.js.map +0 -7
- package/dist/esm/icons/chunk-LC3E76F2.js +0 -28
- package/dist/esm/icons/chunk-LC3E76F2.js.map +0 -7
- package/dist/esm/icons/chunk-LCKTU6EI.js +0 -30
- package/dist/esm/icons/chunk-LCKTU6EI.js.map +0 -7
- package/dist/esm/icons/chunk-MIDMJID5.js.map +0 -7
- package/dist/esm/icons/chunk-MRS52DHC.js +0 -24
- package/dist/esm/icons/chunk-MRS52DHC.js.map +0 -7
- package/dist/esm/icons/chunk-MSAIAEES.js +0 -18
- package/dist/esm/icons/chunk-MSAIAEES.js.map +0 -7
- package/dist/esm/icons/chunk-MVX3XCNC.js +0 -18
- package/dist/esm/icons/chunk-MVX3XCNC.js.map +0 -7
- package/dist/esm/icons/chunk-N3ZSIEDO.js +0 -16
- package/dist/esm/icons/chunk-N3ZSIEDO.js.map +0 -7
- package/dist/esm/icons/chunk-NFDCKN3D.js +0 -18
- package/dist/esm/icons/chunk-NFDCKN3D.js.map +0 -7
- package/dist/esm/icons/chunk-OLXN4K3X.js +0 -16
- package/dist/esm/icons/chunk-OLXN4K3X.js.map +0 -7
- package/dist/esm/icons/chunk-PLL667HO.js +0 -22
- package/dist/esm/icons/chunk-PLL667HO.js.map +0 -7
- package/dist/esm/icons/chunk-Q5MDRMSK.js +0 -10
- package/dist/esm/icons/chunk-Q5MDRMSK.js.map +0 -7
- package/dist/esm/icons/chunk-R5QVGV4D.js +0 -18
- package/dist/esm/icons/chunk-R5QVGV4D.js.map +0 -7
- package/dist/esm/icons/chunk-SXHZ6Q5U.js +0 -18
- package/dist/esm/icons/chunk-SXHZ6Q5U.js.map +0 -7
- package/dist/esm/icons/chunk-SZKEG7AA.js +0 -42
- package/dist/esm/icons/chunk-SZKEG7AA.js.map +0 -7
- package/dist/esm/icons/chunk-T6RD4PJ3.js +0 -11
- package/dist/esm/icons/chunk-T6RD4PJ3.js.map +0 -7
- package/dist/esm/icons/chunk-TF3HITI7.js +0 -34
- package/dist/esm/icons/chunk-TF3HITI7.js.map +0 -7
- package/dist/esm/icons/chunk-TFONSMSM.js.map +0 -7
- package/dist/esm/icons/chunk-TFS5JSUC.js +0 -18
- package/dist/esm/icons/chunk-TFS5JSUC.js.map +0 -7
- package/dist/esm/icons/chunk-U5Q7IIRC.js +0 -16
- package/dist/esm/icons/chunk-U5Q7IIRC.js.map +0 -7
- package/dist/esm/icons/chunk-UIXR3PME.js +0 -16
- package/dist/esm/icons/chunk-UIXR3PME.js.map +0 -7
- package/dist/esm/icons/chunk-V4R466Q3.js +0 -18
- package/dist/esm/icons/chunk-V4R466Q3.js.map +0 -7
- package/dist/esm/icons/chunk-WWR5WRHL.js +0 -30
- package/dist/esm/icons/chunk-WWR5WRHL.js.map +0 -7
- package/dist/esm/icons/chunk-Y6FHVNXK.js +0 -18
- package/dist/esm/icons/chunk-Y6FHVNXK.js.map +0 -7
- package/dist/esm/icons/chunk-YC4UXZES.js +0 -18
- package/dist/esm/icons/chunk-YC4UXZES.js.map +0 -7
- package/dist/esm/icons/chunk-Z2YFXWC2.js +0 -30
- package/dist/esm/icons/chunk-Z2YFXWC2.js.map +0 -7
- package/dist/esm/icons/repeat.js +0 -8
- package/dist/types/components/icon/available-icons/repeat.d.ts +0 -3
- package/dist/types/components/icon/available-icons/repeat.d.ts.map +0 -1
- package/dist/types/icons/repeat.d.ts +0 -3
- package/dist/types/icons/repeat.d.ts.map +0 -1
- /package/dist/esm/icons/{repeat.js.map → editions.js.map} +0 -0
package/dist/esm/index.js
CHANGED
|
@@ -2255,8 +2255,231 @@ var Spacer = (_a) => {
|
|
|
2255
2255
|
var spacer_default = Spacer;
|
|
2256
2256
|
|
|
2257
2257
|
// src/components/text-input/text-input.tsx
|
|
2258
|
+
import styled9 from "@emotion/styled";
|
|
2259
|
+
import React11, { forwardRef } from "react";
|
|
2260
|
+
|
|
2261
|
+
// src/components/align/align.tsx
|
|
2258
2262
|
import styled7 from "@emotion/styled";
|
|
2259
|
-
import React9
|
|
2263
|
+
import React9 from "react";
|
|
2264
|
+
var alignmentsPlaceItems = {
|
|
2265
|
+
topLeft: "start",
|
|
2266
|
+
topCenter: "start center",
|
|
2267
|
+
topRight: "start end",
|
|
2268
|
+
centerLeft: "center start",
|
|
2269
|
+
center: "center",
|
|
2270
|
+
centerRight: "center end",
|
|
2271
|
+
bottomLeft: "end start",
|
|
2272
|
+
bottomCenter: "end center",
|
|
2273
|
+
bottomRight: "end"
|
|
2274
|
+
};
|
|
2275
|
+
var getPlaceItems = (alignment) => {
|
|
2276
|
+
if (Array.isArray(alignment)) {
|
|
2277
|
+
return alignment.map(
|
|
2278
|
+
(alignmentArrayItem) => alignmentsPlaceItems[alignmentArrayItem]
|
|
2279
|
+
);
|
|
2280
|
+
}
|
|
2281
|
+
if (typeof alignment === "object") {
|
|
2282
|
+
const alignmentsPlaceItemsObject = {};
|
|
2283
|
+
Object.entries(alignment).forEach(([key, value]) => {
|
|
2284
|
+
return alignmentsPlaceItemsObject[key] = alignmentsPlaceItems[value];
|
|
2285
|
+
});
|
|
2286
|
+
return alignmentsPlaceItemsObject;
|
|
2287
|
+
}
|
|
2288
|
+
return alignmentsPlaceItems[alignment];
|
|
2289
|
+
};
|
|
2290
|
+
var AlignWrapper = styled7.div`
|
|
2291
|
+
width: 100%;
|
|
2292
|
+
height: 100%;
|
|
2293
|
+
display: grid;
|
|
2294
|
+
${(props) => getResponsiveOneOf("place-items", getPlaceItems(props.alignment))};
|
|
2295
|
+
`;
|
|
2296
|
+
var Align = (_a) => {
|
|
2297
|
+
var _b = _a, {
|
|
2298
|
+
children,
|
|
2299
|
+
alignment = "center",
|
|
2300
|
+
htmlTag = "div"
|
|
2301
|
+
} = _b, props = __objRest(_b, [
|
|
2302
|
+
"children",
|
|
2303
|
+
"alignment",
|
|
2304
|
+
"htmlTag"
|
|
2305
|
+
]);
|
|
2306
|
+
return /* @__PURE__ */ React9.createElement(AlignWrapper, __spreadValues({ alignment, as: htmlTag }, props), children);
|
|
2307
|
+
};
|
|
2308
|
+
var availableAlignments = Object.keys(alignmentsPlaceItems);
|
|
2309
|
+
var align_default = Align;
|
|
2310
|
+
|
|
2311
|
+
// src/components/container/container.tsx
|
|
2312
|
+
import styled8 from "@emotion/styled";
|
|
2313
|
+
import React10 from "react";
|
|
2314
|
+
var getBorderSideAndColor = (side, color, width) => {
|
|
2315
|
+
const borderColor = color ? color : "border";
|
|
2316
|
+
const borderWidth = getSizeValue(width);
|
|
2317
|
+
const borderStyle = `${borderWidth} solid ${getColorValue(borderColor)}`;
|
|
2318
|
+
if (side) {
|
|
2319
|
+
if (side === "all") {
|
|
2320
|
+
return `border: ${borderStyle};`;
|
|
2321
|
+
}
|
|
2322
|
+
return `border-${side}: ${borderStyle};`;
|
|
2323
|
+
}
|
|
2324
|
+
};
|
|
2325
|
+
var ContainerWrapper = styled8.div`
|
|
2326
|
+
${(props) => props.position && `position: ${props.position}`};
|
|
2327
|
+
${(props) => props.overflow && `overflow: ${props.overflow}`};
|
|
2328
|
+
${(props) => props.backgroundColor && `background-color: ${getColorValue(props.backgroundColor)}`};
|
|
2329
|
+
${(props) => props.backgroundImage && `background-image: ${props.backgroundImage}`}
|
|
2330
|
+
${(props) => props.contentColor && `color: ${getColorValue(props.contentColor)}`};
|
|
2331
|
+
${(props) => getBorderSideAndColor(
|
|
2332
|
+
props.borderSide,
|
|
2333
|
+
props.borderColor,
|
|
2334
|
+
props.borderWidth
|
|
2335
|
+
)};
|
|
2336
|
+
${(props) => getRadius(props.radius)};
|
|
2337
|
+
${(props) => getShadow(props.shadow)};
|
|
2338
|
+
${(props) => getSize("width", props.width)};
|
|
2339
|
+
${(props) => getSize("height", props.height)};
|
|
2340
|
+
${(props) => getSize("min-width", props.minWidth)};
|
|
2341
|
+
${(props) => getSize("min-height", props.minHeight)};
|
|
2342
|
+
${(props) => getSize("max-width", props.maxWidth)};
|
|
2343
|
+
${(props) => getSize("max-height", props.maxHeight)};
|
|
2344
|
+
${(props) => getSize("padding", props.padding)};
|
|
2345
|
+
${(props) => getSize("padding-top", props.paddingTop)};
|
|
2346
|
+
${(props) => getSize("padding-right", props.paddingRight)};
|
|
2347
|
+
${(props) => getSize("padding-bottom", props.paddingBottom)};
|
|
2348
|
+
${(props) => getSize("padding-left", props.paddingLeft)};
|
|
2349
|
+
${(props) => getSize("margin", props.margin)};
|
|
2350
|
+
${(props) => getSize("margin-top", props.marginTop)};
|
|
2351
|
+
${(props) => getSize("margin-right", props.marginRight)};
|
|
2352
|
+
${(props) => getSize("margin-bottom", props.marginBottom)};
|
|
2353
|
+
${(props) => getSize("margin-left", props.marginLeft)};
|
|
2354
|
+
${(props) => getSize("top", props.top)};
|
|
2355
|
+
${(props) => getSize("right", props.right)};
|
|
2356
|
+
${(props) => getSize("bottom", props.bottom)};
|
|
2357
|
+
${(props) => getSize("left", props.left)};
|
|
2358
|
+
${(props) => props.zIndex && `z-index: ${props.zIndex}`};
|
|
2359
|
+
`;
|
|
2360
|
+
var Container = (_a) => {
|
|
2361
|
+
var _b = _a, {
|
|
2362
|
+
children,
|
|
2363
|
+
backgroundColor,
|
|
2364
|
+
backgroundImage,
|
|
2365
|
+
contentColor,
|
|
2366
|
+
borderColor,
|
|
2367
|
+
radius,
|
|
2368
|
+
borderSide,
|
|
2369
|
+
borderWidth = "1px",
|
|
2370
|
+
shadow,
|
|
2371
|
+
padding,
|
|
2372
|
+
paddingX,
|
|
2373
|
+
paddingY,
|
|
2374
|
+
paddingLeft,
|
|
2375
|
+
paddingRight,
|
|
2376
|
+
paddingTop,
|
|
2377
|
+
paddingBottom,
|
|
2378
|
+
margin,
|
|
2379
|
+
marginX,
|
|
2380
|
+
marginY,
|
|
2381
|
+
marginLeft,
|
|
2382
|
+
marginRight,
|
|
2383
|
+
marginTop,
|
|
2384
|
+
marginBottom,
|
|
2385
|
+
width,
|
|
2386
|
+
height,
|
|
2387
|
+
minWidth,
|
|
2388
|
+
minHeight,
|
|
2389
|
+
maxWidth,
|
|
2390
|
+
maxHeight,
|
|
2391
|
+
htmlTag = "div",
|
|
2392
|
+
position,
|
|
2393
|
+
overflow,
|
|
2394
|
+
zIndex,
|
|
2395
|
+
top,
|
|
2396
|
+
bottom,
|
|
2397
|
+
left,
|
|
2398
|
+
right,
|
|
2399
|
+
refHandler
|
|
2400
|
+
} = _b, props = __objRest(_b, [
|
|
2401
|
+
"children",
|
|
2402
|
+
"backgroundColor",
|
|
2403
|
+
"backgroundImage",
|
|
2404
|
+
"contentColor",
|
|
2405
|
+
"borderColor",
|
|
2406
|
+
"radius",
|
|
2407
|
+
"borderSide",
|
|
2408
|
+
"borderWidth",
|
|
2409
|
+
"shadow",
|
|
2410
|
+
"padding",
|
|
2411
|
+
"paddingX",
|
|
2412
|
+
"paddingY",
|
|
2413
|
+
"paddingLeft",
|
|
2414
|
+
"paddingRight",
|
|
2415
|
+
"paddingTop",
|
|
2416
|
+
"paddingBottom",
|
|
2417
|
+
"margin",
|
|
2418
|
+
"marginX",
|
|
2419
|
+
"marginY",
|
|
2420
|
+
"marginLeft",
|
|
2421
|
+
"marginRight",
|
|
2422
|
+
"marginTop",
|
|
2423
|
+
"marginBottom",
|
|
2424
|
+
"width",
|
|
2425
|
+
"height",
|
|
2426
|
+
"minWidth",
|
|
2427
|
+
"minHeight",
|
|
2428
|
+
"maxWidth",
|
|
2429
|
+
"maxHeight",
|
|
2430
|
+
"htmlTag",
|
|
2431
|
+
"position",
|
|
2432
|
+
"overflow",
|
|
2433
|
+
"zIndex",
|
|
2434
|
+
"top",
|
|
2435
|
+
"bottom",
|
|
2436
|
+
"left",
|
|
2437
|
+
"right",
|
|
2438
|
+
"refHandler"
|
|
2439
|
+
]);
|
|
2440
|
+
return /* @__PURE__ */ React10.createElement(
|
|
2441
|
+
ContainerWrapper,
|
|
2442
|
+
__spreadValues({
|
|
2443
|
+
backgroundColor,
|
|
2444
|
+
backgroundImage,
|
|
2445
|
+
contentColor,
|
|
2446
|
+
borderColor,
|
|
2447
|
+
radius,
|
|
2448
|
+
borderSide,
|
|
2449
|
+
shadow,
|
|
2450
|
+
padding,
|
|
2451
|
+
paddingLeft: paddingX || paddingLeft,
|
|
2452
|
+
paddingRight: paddingX || paddingRight,
|
|
2453
|
+
paddingTop: paddingY || paddingTop,
|
|
2454
|
+
paddingBottom: paddingY || paddingBottom,
|
|
2455
|
+
margin,
|
|
2456
|
+
marginLeft: marginX || marginLeft,
|
|
2457
|
+
marginRight: marginX || marginRight,
|
|
2458
|
+
marginTop: marginY || marginTop,
|
|
2459
|
+
marginBottom: marginY || marginBottom,
|
|
2460
|
+
width,
|
|
2461
|
+
height,
|
|
2462
|
+
minWidth,
|
|
2463
|
+
minHeight,
|
|
2464
|
+
maxWidth,
|
|
2465
|
+
maxHeight,
|
|
2466
|
+
as: htmlTag,
|
|
2467
|
+
position,
|
|
2468
|
+
top,
|
|
2469
|
+
bottom,
|
|
2470
|
+
left,
|
|
2471
|
+
right,
|
|
2472
|
+
overflow,
|
|
2473
|
+
zIndex,
|
|
2474
|
+
borderWidth,
|
|
2475
|
+
ref: (ref) => refHandler && refHandler(ref)
|
|
2476
|
+
}, props),
|
|
2477
|
+
children
|
|
2478
|
+
);
|
|
2479
|
+
};
|
|
2480
|
+
var container_default = Container;
|
|
2481
|
+
|
|
2482
|
+
// src/components/text-input/text-input.tsx
|
|
2260
2483
|
var sizesStyles2 = {
|
|
2261
2484
|
small: {
|
|
2262
2485
|
height: u(4),
|
|
@@ -2296,7 +2519,7 @@ var inputRightPadding = (props) => {
|
|
|
2296
2519
|
}
|
|
2297
2520
|
return padding;
|
|
2298
2521
|
};
|
|
2299
|
-
var InputField =
|
|
2522
|
+
var InputField = styled9.input`
|
|
2300
2523
|
-webkit-appearance: none;
|
|
2301
2524
|
font-family: inherit;
|
|
2302
2525
|
width: 100%;
|
|
@@ -2339,11 +2562,11 @@ var InputField = styled7.input`
|
|
|
2339
2562
|
color: ${getColorValue("bodyDimmed")};
|
|
2340
2563
|
}
|
|
2341
2564
|
`;
|
|
2342
|
-
var InputFieldWrapper =
|
|
2565
|
+
var InputFieldWrapper = styled9.div`
|
|
2343
2566
|
position: relative;
|
|
2344
2567
|
width: 100%;
|
|
2345
2568
|
`;
|
|
2346
|
-
var IconSection2 =
|
|
2569
|
+
var IconSection2 = styled9.div`
|
|
2347
2570
|
position: absolute;
|
|
2348
2571
|
pointer-events: none;
|
|
2349
2572
|
width: ${(props) => sizesStyles2[props.size].width};
|
|
@@ -2353,7 +2576,15 @@ var IconSection2 = styled7.div`
|
|
|
2353
2576
|
align-items: center;
|
|
2354
2577
|
justify-content: center;
|
|
2355
2578
|
`;
|
|
2356
|
-
var
|
|
2579
|
+
var Image = styled9.img`
|
|
2580
|
+
height: 100%;
|
|
2581
|
+
width: auto;
|
|
2582
|
+
min-width: 100%;
|
|
2583
|
+
min-height: 100%;
|
|
2584
|
+
object-fit: cover;
|
|
2585
|
+
opacity: ${({ isDisabled }) => isDisabled ? 0.5 : 1};
|
|
2586
|
+
`;
|
|
2587
|
+
var AddOnWrapper = styled9.div`
|
|
2357
2588
|
position: absolute;
|
|
2358
2589
|
height: 100%;
|
|
2359
2590
|
display: flex;
|
|
@@ -2393,7 +2624,7 @@ var TextInput = forwardRef(
|
|
|
2393
2624
|
"size",
|
|
2394
2625
|
"addOn"
|
|
2395
2626
|
]);
|
|
2396
|
-
const inputField = /* @__PURE__ */
|
|
2627
|
+
const inputField = /* @__PURE__ */ React11.createElement(
|
|
2397
2628
|
InputField,
|
|
2398
2629
|
__spreadValues({
|
|
2399
2630
|
type,
|
|
@@ -2411,21 +2642,30 @@ var TextInput = forwardRef(
|
|
|
2411
2642
|
addOn
|
|
2412
2643
|
}, props)
|
|
2413
2644
|
);
|
|
2414
|
-
return icon || addOn ? /* @__PURE__ */
|
|
2645
|
+
return icon || addOn ? /* @__PURE__ */ React11.createElement(InputFieldWrapper, null, icon && /* @__PURE__ */ React11.createElement(IconSection2, { size }, typeof icon === "string" ? /* @__PURE__ */ React11.createElement(
|
|
2646
|
+
container_default,
|
|
2647
|
+
{
|
|
2648
|
+
radius: "50",
|
|
2649
|
+
width: sizesStyles2[size].iconSize,
|
|
2650
|
+
height: sizesStyles2[size].iconSize,
|
|
2651
|
+
overflow: "hidden"
|
|
2652
|
+
},
|
|
2653
|
+
/* @__PURE__ */ React11.createElement(align_default, { alignment: "center" }, /* @__PURE__ */ React11.createElement(Image, { src: icon, alt: "", isDisabled }))
|
|
2654
|
+
) : /* @__PURE__ */ React11.createElement(
|
|
2415
2655
|
icon_default,
|
|
2416
2656
|
{
|
|
2417
2657
|
icon,
|
|
2418
2658
|
size: sizesStyles2[size].iconSize,
|
|
2419
2659
|
color: getColorValue(isDisabled ? "disabledContent" : "body")
|
|
2420
2660
|
}
|
|
2421
|
-
)), inputField, addOn && /* @__PURE__ */
|
|
2661
|
+
)), inputField, addOn && /* @__PURE__ */ React11.createElement(AddOnWrapper, { size }, addOn)) : inputField;
|
|
2422
2662
|
}
|
|
2423
2663
|
);
|
|
2424
2664
|
var text_input_default = TextInput;
|
|
2425
2665
|
|
|
2426
2666
|
// src/components/distribute/distribute.tsx
|
|
2427
|
-
import
|
|
2428
|
-
import
|
|
2667
|
+
import styled10 from "@emotion/styled";
|
|
2668
|
+
import React12 from "react";
|
|
2429
2669
|
var alignments2 = {
|
|
2430
2670
|
start: "flex-start",
|
|
2431
2671
|
center: "center",
|
|
@@ -2468,7 +2708,7 @@ var getDirectionAndGap = (direction, gap) => {
|
|
|
2468
2708
|
);
|
|
2469
2709
|
return arrayToBreakpoints(gapsRulesets) + arrayToBreakpoints(directionsRulesets);
|
|
2470
2710
|
};
|
|
2471
|
-
var DistributeWrapper =
|
|
2711
|
+
var DistributeWrapper = styled10.div`
|
|
2472
2712
|
display: flex;
|
|
2473
2713
|
flex-wrap: wrap;
|
|
2474
2714
|
${(props) => getDirectionAndGap(props.flexDirection, props.gap)};
|
|
@@ -2503,7 +2743,7 @@ var Distribute = (_a) => {
|
|
|
2503
2743
|
console.warn(distributeDeprecatedWarning);
|
|
2504
2744
|
alreadyWarned = true;
|
|
2505
2745
|
}
|
|
2506
|
-
return /* @__PURE__ */
|
|
2746
|
+
return /* @__PURE__ */ React12.createElement(
|
|
2507
2747
|
DistributeWrapper,
|
|
2508
2748
|
__spreadValues({
|
|
2509
2749
|
gap,
|
|
@@ -2515,188 +2755,17 @@ var Distribute = (_a) => {
|
|
|
2515
2755
|
children
|
|
2516
2756
|
);
|
|
2517
2757
|
};
|
|
2518
|
-
var
|
|
2758
|
+
var availableAlignments2 = Object.keys(alignments2);
|
|
2519
2759
|
var distribute_default = Distribute;
|
|
2520
2760
|
|
|
2521
|
-
// src/components/container/container.tsx
|
|
2522
|
-
import styled9 from "@emotion/styled";
|
|
2523
|
-
import React11 from "react";
|
|
2524
|
-
var getBorderSideAndColor = (side, color, width) => {
|
|
2525
|
-
const borderColor = color ? color : "border";
|
|
2526
|
-
const borderWidth = getSizeValue(width);
|
|
2527
|
-
const borderStyle = `${borderWidth} solid ${getColorValue(borderColor)}`;
|
|
2528
|
-
if (side) {
|
|
2529
|
-
if (side === "all") {
|
|
2530
|
-
return `border: ${borderStyle};`;
|
|
2531
|
-
}
|
|
2532
|
-
return `border-${side}: ${borderStyle};`;
|
|
2533
|
-
}
|
|
2534
|
-
};
|
|
2535
|
-
var ContainerWrapper = styled9.div`
|
|
2536
|
-
${(props) => props.position && `position: ${props.position}`};
|
|
2537
|
-
${(props) => props.overflow && `overflow: ${props.overflow}`};
|
|
2538
|
-
${(props) => props.backgroundColor && `background-color: ${getColorValue(props.backgroundColor)}`};
|
|
2539
|
-
${(props) => props.backgroundImage && `background-image: ${props.backgroundImage}`}
|
|
2540
|
-
${(props) => props.contentColor && `color: ${getColorValue(props.contentColor)}`};
|
|
2541
|
-
${(props) => getBorderSideAndColor(
|
|
2542
|
-
props.borderSide,
|
|
2543
|
-
props.borderColor,
|
|
2544
|
-
props.borderWidth
|
|
2545
|
-
)};
|
|
2546
|
-
${(props) => getRadius(props.radius)};
|
|
2547
|
-
${(props) => getShadow(props.shadow)};
|
|
2548
|
-
${(props) => getSize("width", props.width)};
|
|
2549
|
-
${(props) => getSize("height", props.height)};
|
|
2550
|
-
${(props) => getSize("min-width", props.minWidth)};
|
|
2551
|
-
${(props) => getSize("min-height", props.minHeight)};
|
|
2552
|
-
${(props) => getSize("max-width", props.maxWidth)};
|
|
2553
|
-
${(props) => getSize("max-height", props.maxHeight)};
|
|
2554
|
-
${(props) => getSize("padding", props.padding)};
|
|
2555
|
-
${(props) => getSize("padding-top", props.paddingTop)};
|
|
2556
|
-
${(props) => getSize("padding-right", props.paddingRight)};
|
|
2557
|
-
${(props) => getSize("padding-bottom", props.paddingBottom)};
|
|
2558
|
-
${(props) => getSize("padding-left", props.paddingLeft)};
|
|
2559
|
-
${(props) => getSize("margin", props.margin)};
|
|
2560
|
-
${(props) => getSize("margin-top", props.marginTop)};
|
|
2561
|
-
${(props) => getSize("margin-right", props.marginRight)};
|
|
2562
|
-
${(props) => getSize("margin-bottom", props.marginBottom)};
|
|
2563
|
-
${(props) => getSize("margin-left", props.marginLeft)};
|
|
2564
|
-
${(props) => getSize("top", props.top)};
|
|
2565
|
-
${(props) => getSize("right", props.right)};
|
|
2566
|
-
${(props) => getSize("bottom", props.bottom)};
|
|
2567
|
-
${(props) => getSize("left", props.left)};
|
|
2568
|
-
${(props) => props.zIndex && `z-index: ${props.zIndex}`};
|
|
2569
|
-
`;
|
|
2570
|
-
var Container = (_a) => {
|
|
2571
|
-
var _b = _a, {
|
|
2572
|
-
children,
|
|
2573
|
-
backgroundColor,
|
|
2574
|
-
backgroundImage,
|
|
2575
|
-
contentColor,
|
|
2576
|
-
borderColor,
|
|
2577
|
-
radius,
|
|
2578
|
-
borderSide,
|
|
2579
|
-
borderWidth = "1px",
|
|
2580
|
-
shadow,
|
|
2581
|
-
padding,
|
|
2582
|
-
paddingX,
|
|
2583
|
-
paddingY,
|
|
2584
|
-
paddingLeft,
|
|
2585
|
-
paddingRight,
|
|
2586
|
-
paddingTop,
|
|
2587
|
-
paddingBottom,
|
|
2588
|
-
margin,
|
|
2589
|
-
marginX,
|
|
2590
|
-
marginY,
|
|
2591
|
-
marginLeft,
|
|
2592
|
-
marginRight,
|
|
2593
|
-
marginTop,
|
|
2594
|
-
marginBottom,
|
|
2595
|
-
width,
|
|
2596
|
-
height,
|
|
2597
|
-
minWidth,
|
|
2598
|
-
minHeight,
|
|
2599
|
-
maxWidth,
|
|
2600
|
-
maxHeight,
|
|
2601
|
-
htmlTag = "div",
|
|
2602
|
-
position,
|
|
2603
|
-
overflow,
|
|
2604
|
-
zIndex,
|
|
2605
|
-
top,
|
|
2606
|
-
bottom,
|
|
2607
|
-
left,
|
|
2608
|
-
right,
|
|
2609
|
-
refHandler
|
|
2610
|
-
} = _b, props = __objRest(_b, [
|
|
2611
|
-
"children",
|
|
2612
|
-
"backgroundColor",
|
|
2613
|
-
"backgroundImage",
|
|
2614
|
-
"contentColor",
|
|
2615
|
-
"borderColor",
|
|
2616
|
-
"radius",
|
|
2617
|
-
"borderSide",
|
|
2618
|
-
"borderWidth",
|
|
2619
|
-
"shadow",
|
|
2620
|
-
"padding",
|
|
2621
|
-
"paddingX",
|
|
2622
|
-
"paddingY",
|
|
2623
|
-
"paddingLeft",
|
|
2624
|
-
"paddingRight",
|
|
2625
|
-
"paddingTop",
|
|
2626
|
-
"paddingBottom",
|
|
2627
|
-
"margin",
|
|
2628
|
-
"marginX",
|
|
2629
|
-
"marginY",
|
|
2630
|
-
"marginLeft",
|
|
2631
|
-
"marginRight",
|
|
2632
|
-
"marginTop",
|
|
2633
|
-
"marginBottom",
|
|
2634
|
-
"width",
|
|
2635
|
-
"height",
|
|
2636
|
-
"minWidth",
|
|
2637
|
-
"minHeight",
|
|
2638
|
-
"maxWidth",
|
|
2639
|
-
"maxHeight",
|
|
2640
|
-
"htmlTag",
|
|
2641
|
-
"position",
|
|
2642
|
-
"overflow",
|
|
2643
|
-
"zIndex",
|
|
2644
|
-
"top",
|
|
2645
|
-
"bottom",
|
|
2646
|
-
"left",
|
|
2647
|
-
"right",
|
|
2648
|
-
"refHandler"
|
|
2649
|
-
]);
|
|
2650
|
-
return /* @__PURE__ */ React11.createElement(
|
|
2651
|
-
ContainerWrapper,
|
|
2652
|
-
__spreadValues({
|
|
2653
|
-
backgroundColor,
|
|
2654
|
-
backgroundImage,
|
|
2655
|
-
contentColor,
|
|
2656
|
-
borderColor,
|
|
2657
|
-
radius,
|
|
2658
|
-
borderSide,
|
|
2659
|
-
shadow,
|
|
2660
|
-
padding,
|
|
2661
|
-
paddingLeft: paddingX || paddingLeft,
|
|
2662
|
-
paddingRight: paddingX || paddingRight,
|
|
2663
|
-
paddingTop: paddingY || paddingTop,
|
|
2664
|
-
paddingBottom: paddingY || paddingBottom,
|
|
2665
|
-
margin,
|
|
2666
|
-
marginLeft: marginX || marginLeft,
|
|
2667
|
-
marginRight: marginX || marginRight,
|
|
2668
|
-
marginTop: marginY || marginTop,
|
|
2669
|
-
marginBottom: marginY || marginBottom,
|
|
2670
|
-
width,
|
|
2671
|
-
height,
|
|
2672
|
-
minWidth,
|
|
2673
|
-
minHeight,
|
|
2674
|
-
maxWidth,
|
|
2675
|
-
maxHeight,
|
|
2676
|
-
as: htmlTag,
|
|
2677
|
-
position,
|
|
2678
|
-
top,
|
|
2679
|
-
bottom,
|
|
2680
|
-
left,
|
|
2681
|
-
right,
|
|
2682
|
-
overflow,
|
|
2683
|
-
zIndex,
|
|
2684
|
-
borderWidth,
|
|
2685
|
-
ref: (ref) => refHandler && refHandler(ref)
|
|
2686
|
-
}, props),
|
|
2687
|
-
children
|
|
2688
|
-
);
|
|
2689
|
-
};
|
|
2690
|
-
var container_default = Container;
|
|
2691
|
-
|
|
2692
2761
|
// src/components/error-container/error-container.tsx
|
|
2693
|
-
import
|
|
2694
|
-
import
|
|
2762
|
+
import styled12 from "@emotion/styled";
|
|
2763
|
+
import React15 from "react";
|
|
2695
2764
|
|
|
2696
2765
|
// src/components/arrange/arrange.tsx
|
|
2697
|
-
import
|
|
2698
|
-
import
|
|
2699
|
-
var ArrangeWrapper =
|
|
2766
|
+
import styled11 from "@emotion/styled";
|
|
2767
|
+
import React13 from "react";
|
|
2768
|
+
var ArrangeWrapper = styled11.div`
|
|
2700
2769
|
display: grid;
|
|
2701
2770
|
${(props) => getResponsiveOneOf("align-items", props.alignItems)};
|
|
2702
2771
|
${(props) => getResponsiveOneOf("justify-content", props.justifyContent)};
|
|
@@ -2760,7 +2829,7 @@ var Arrange = (_a) => {
|
|
|
2760
2829
|
if (className || style) {
|
|
2761
2830
|
console.warn(customStylesWarning);
|
|
2762
2831
|
}
|
|
2763
|
-
return /* @__PURE__ */
|
|
2832
|
+
return /* @__PURE__ */ React13.createElement(
|
|
2764
2833
|
ArrangeWrapper,
|
|
2765
2834
|
__spreadValues({
|
|
2766
2835
|
alignItems,
|
|
@@ -2786,13 +2855,13 @@ var arrange_default = Arrange;
|
|
|
2786
2855
|
|
|
2787
2856
|
// src/components/icon/available-icons/alert-triangle.tsx
|
|
2788
2857
|
import WarningIcon from "@atlaskit/icon/core/warning";
|
|
2789
|
-
import * as
|
|
2858
|
+
import * as React14 from "react";
|
|
2790
2859
|
function SvgAlertTriangle() {
|
|
2791
|
-
return /* @__PURE__ */
|
|
2860
|
+
return /* @__PURE__ */ React14.createElement(WarningIcon, { label: "", testId: "ads-refreshed-icon" });
|
|
2792
2861
|
}
|
|
2793
2862
|
|
|
2794
2863
|
// src/components/error-container/error-container.tsx
|
|
2795
|
-
var ErrorContainerBorder =
|
|
2864
|
+
var ErrorContainerBorder = styled12.div`
|
|
2796
2865
|
position: relative;
|
|
2797
2866
|
::before {
|
|
2798
2867
|
content: '';
|
|
@@ -2812,21 +2881,21 @@ var ErrorContainer = ({
|
|
|
2812
2881
|
errorMessage = "Oops, that didn't work. Try again."
|
|
2813
2882
|
}) => {
|
|
2814
2883
|
if (!errorActive) {
|
|
2815
|
-
return /* @__PURE__ */
|
|
2884
|
+
return /* @__PURE__ */ React15.createElement(React15.Fragment, null, children);
|
|
2816
2885
|
}
|
|
2817
|
-
return /* @__PURE__ */
|
|
2886
|
+
return /* @__PURE__ */ React15.createElement(ErrorContainerBorder, null, /* @__PURE__ */ React15.createElement(arrange_default, { autoFlow: "row", gap: "small" }, children, errorMessage ? /* @__PURE__ */ React15.createElement(arrange_default, { gap: "xsmall" }, /* @__PURE__ */ React15.createElement(icon_default, { icon: /* @__PURE__ */ React15.createElement(SvgAlertTriangle, null), size: 2, color: "danger" }), /* @__PURE__ */ React15.createElement(text_default, { size: "body-sm", color: "danger" }, errorMessage)) : null));
|
|
2818
2887
|
};
|
|
2819
2888
|
var error_container_default = ErrorContainer;
|
|
2820
2889
|
|
|
2821
2890
|
// src/components/layout/layout.tsx
|
|
2822
|
-
import
|
|
2823
|
-
import
|
|
2891
|
+
import styled13 from "@emotion/styled";
|
|
2892
|
+
import React16, { Component } from "react";
|
|
2824
2893
|
var alignments3 = {
|
|
2825
2894
|
start: "flex-start",
|
|
2826
2895
|
center: "center",
|
|
2827
2896
|
end: "flex-end"
|
|
2828
2897
|
};
|
|
2829
|
-
var LayoutWrapper =
|
|
2898
|
+
var LayoutWrapper = styled13.div`
|
|
2830
2899
|
display: flex;
|
|
2831
2900
|
${(props) => getAlignmentStyles(props.alignment, alignments3)};
|
|
2832
2901
|
|
|
@@ -2834,7 +2903,7 @@ var LayoutWrapper = styled12.div`
|
|
|
2834
2903
|
${(props) => props.gap && getSize("margin-left", props.gap)};
|
|
2835
2904
|
}
|
|
2836
2905
|
`;
|
|
2837
|
-
var LayoutSectionWrapper =
|
|
2906
|
+
var LayoutSectionWrapper = styled13.div`
|
|
2838
2907
|
min-width: 0px;
|
|
2839
2908
|
flex-shrink: 0;
|
|
2840
2909
|
${(props) => getSize("width", props.width)};
|
|
@@ -2852,20 +2921,20 @@ var LayoutSection = (_a) => {
|
|
|
2852
2921
|
"children"
|
|
2853
2922
|
]);
|
|
2854
2923
|
console.warn(layoutDeprecatedWarning);
|
|
2855
|
-
return /* @__PURE__ */
|
|
2924
|
+
return /* @__PURE__ */ React16.createElement(LayoutSectionWrapper, __spreadValues({ width, maxWidth }, props), children);
|
|
2856
2925
|
};
|
|
2857
2926
|
var Layout = class extends Component {
|
|
2858
2927
|
render() {
|
|
2859
2928
|
console.warn(layoutDeprecatedWarning);
|
|
2860
|
-
return /* @__PURE__ */
|
|
2929
|
+
return /* @__PURE__ */ React16.createElement(LayoutWrapper, __spreadValues({}, this.props), this.props.children);
|
|
2861
2930
|
}
|
|
2862
2931
|
};
|
|
2863
2932
|
Layout.Section = LayoutSection;
|
|
2864
2933
|
var layout_default = Layout;
|
|
2865
2934
|
|
|
2866
2935
|
// src/components/icon-button/icon-button.tsx
|
|
2867
|
-
import
|
|
2868
|
-
import
|
|
2936
|
+
import styled14 from "@emotion/styled";
|
|
2937
|
+
import React17 from "react";
|
|
2869
2938
|
var sizeStyles = {
|
|
2870
2939
|
small: {
|
|
2871
2940
|
size: u(3),
|
|
@@ -2883,7 +2952,7 @@ var sizeStyles = {
|
|
|
2883
2952
|
radius: "var(--lns-radius-175)"
|
|
2884
2953
|
}
|
|
2885
2954
|
};
|
|
2886
|
-
var IconButtonBox =
|
|
2955
|
+
var IconButtonBox = styled14.button`
|
|
2887
2956
|
background-color: ${(props) => getColorValue(
|
|
2888
2957
|
props.isActive ? "backgroundActive" : props.backgroundColor
|
|
2889
2958
|
) || "transparent"};
|
|
@@ -2937,7 +3006,7 @@ var IconButtonBox = styled13.button`
|
|
|
2937
3006
|
border: 0;
|
|
2938
3007
|
}
|
|
2939
3008
|
`;
|
|
2940
|
-
var IconButton =
|
|
3009
|
+
var IconButton = React17.forwardRef(
|
|
2941
3010
|
(_a, ref) => {
|
|
2942
3011
|
var _b = _a, {
|
|
2943
3012
|
altText,
|
|
@@ -2958,7 +3027,7 @@ var IconButton = React16.forwardRef(
|
|
|
2958
3027
|
"isDisabled",
|
|
2959
3028
|
"size"
|
|
2960
3029
|
]);
|
|
2961
|
-
return /* @__PURE__ */
|
|
3030
|
+
return /* @__PURE__ */ React17.createElement(
|
|
2962
3031
|
IconButtonBox,
|
|
2963
3032
|
__spreadValues({
|
|
2964
3033
|
"aria-label": altText,
|
|
@@ -2969,7 +3038,7 @@ var IconButton = React16.forwardRef(
|
|
|
2969
3038
|
backgroundColor,
|
|
2970
3039
|
ref
|
|
2971
3040
|
}, props),
|
|
2972
|
-
/* @__PURE__ */
|
|
3041
|
+
/* @__PURE__ */ React17.createElement(
|
|
2973
3042
|
icon_default,
|
|
2974
3043
|
{
|
|
2975
3044
|
icon,
|
|
@@ -2984,9 +3053,9 @@ IconButton.displayName = "IconButton";
|
|
|
2984
3053
|
var icon_button_default = IconButton;
|
|
2985
3054
|
|
|
2986
3055
|
// src/components/checkbox/checkbox.tsx
|
|
2987
|
-
import
|
|
2988
|
-
import
|
|
2989
|
-
var SvgCheckboxCheck = (props) => /* @__PURE__ */
|
|
3056
|
+
import styled15 from "@emotion/styled";
|
|
3057
|
+
import React18, { forwardRef as forwardRef2, useEffect, useRef } from "react";
|
|
3058
|
+
var SvgCheckboxCheck = (props) => /* @__PURE__ */ React18.createElement("svg", __spreadValues({ width: 12, height: 9, viewBox: "0 0 12 9", fill: "none" }, props), /* @__PURE__ */ React18.createElement(
|
|
2990
3059
|
"path",
|
|
2991
3060
|
{
|
|
2992
3061
|
fillRule: "evenodd",
|
|
@@ -2995,7 +3064,7 @@ var SvgCheckboxCheck = (props) => /* @__PURE__ */ React17.createElement("svg", _
|
|
|
2995
3064
|
fill: "currentColor"
|
|
2996
3065
|
}
|
|
2997
3066
|
));
|
|
2998
|
-
var SvgCheckboxMinus = (props) => /* @__PURE__ */
|
|
3067
|
+
var SvgCheckboxMinus = (props) => /* @__PURE__ */ React18.createElement("svg", __spreadValues({ width: 12, height: 2, viewBox: "0 0 12 2", fill: "none" }, props), /* @__PURE__ */ React18.createElement(
|
|
2999
3068
|
"path",
|
|
3000
3069
|
{
|
|
3001
3070
|
fillRule: "evenodd",
|
|
@@ -3004,11 +3073,11 @@ var SvgCheckboxMinus = (props) => /* @__PURE__ */ React17.createElement("svg", _
|
|
|
3004
3073
|
fill: "currentColor"
|
|
3005
3074
|
}
|
|
3006
3075
|
));
|
|
3007
|
-
var CheckboxWrapper =
|
|
3076
|
+
var CheckboxWrapper = styled15.div`
|
|
3008
3077
|
display: block;
|
|
3009
3078
|
position: relative;
|
|
3010
3079
|
`;
|
|
3011
|
-
var CheckboxInput =
|
|
3080
|
+
var CheckboxInput = styled15.input`
|
|
3012
3081
|
height: 100%;
|
|
3013
3082
|
margin: 0;
|
|
3014
3083
|
opacity: 0;
|
|
@@ -3058,7 +3127,7 @@ var CheckboxInput = styled14.input`
|
|
|
3058
3127
|
display: block;
|
|
3059
3128
|
}
|
|
3060
3129
|
`;
|
|
3061
|
-
var CheckboxBox =
|
|
3130
|
+
var CheckboxBox = styled15.span`
|
|
3062
3131
|
cursor: pointer;
|
|
3063
3132
|
width: ${u(2.25)};
|
|
3064
3133
|
height: ${u(2.25)};
|
|
@@ -3093,10 +3162,9 @@ var Checkbox = forwardRef2(
|
|
|
3093
3162
|
useEffect(() => {
|
|
3094
3163
|
checkboxRef.current.indeterminate = isIndeterminate;
|
|
3095
3164
|
});
|
|
3096
|
-
return /* @__PURE__ */
|
|
3165
|
+
return /* @__PURE__ */ React18.createElement(CheckboxWrapper, null, /* @__PURE__ */ React18.createElement(
|
|
3097
3166
|
CheckboxInput,
|
|
3098
3167
|
__spreadValues({
|
|
3099
|
-
role: "checkbox",
|
|
3100
3168
|
type: "checkbox",
|
|
3101
3169
|
disabled: isDisabled,
|
|
3102
3170
|
checked: isChecked,
|
|
@@ -3106,14 +3174,14 @@ var Checkbox = forwardRef2(
|
|
|
3106
3174
|
ref: checkboxRef,
|
|
3107
3175
|
"aria-checked": isChecked
|
|
3108
3176
|
}, props)
|
|
3109
|
-
), /* @__PURE__ */
|
|
3177
|
+
), /* @__PURE__ */ React18.createElement(CheckboxBox, { className: "CheckboxBox" }, /* @__PURE__ */ React18.createElement(SvgCheckboxMinus, { className: "Icon IconMinus", color: iconColor }), /* @__PURE__ */ React18.createElement(SvgCheckboxCheck, { className: "Icon IconCheck", color: iconColor })));
|
|
3110
3178
|
}
|
|
3111
3179
|
);
|
|
3112
3180
|
var checkbox_default = Checkbox;
|
|
3113
3181
|
|
|
3114
3182
|
// src/components/text-button/text-button.tsx
|
|
3115
|
-
import
|
|
3116
|
-
import
|
|
3183
|
+
import styled16 from "@emotion/styled";
|
|
3184
|
+
import React19 from "react";
|
|
3117
3185
|
var sizeStyles2 = {
|
|
3118
3186
|
small: {
|
|
3119
3187
|
textSize: "small",
|
|
@@ -3137,7 +3205,7 @@ var sizeStyles2 = {
|
|
|
3137
3205
|
radius: "var(--lns-radius-200)"
|
|
3138
3206
|
}
|
|
3139
3207
|
};
|
|
3140
|
-
var TextButtonWrapper =
|
|
3208
|
+
var TextButtonWrapper = styled16.button`
|
|
3141
3209
|
background-color: ${(props) => props.isActive ? getColorValue("backgroundActive") : "transparent"};
|
|
3142
3210
|
display: inline-flex;
|
|
3143
3211
|
vertical-align: middle;
|
|
@@ -3149,7 +3217,7 @@ var TextButtonWrapper = styled15.button`
|
|
|
3149
3217
|
height: ${(props) => sizeStyles2[props.size].height};
|
|
3150
3218
|
cursor: pointer;
|
|
3151
3219
|
transition: 0.6s background-color;
|
|
3152
|
-
color: ${getColorValue("body")};
|
|
3220
|
+
color: ${(props) => getColorValue(props.color || "body")};
|
|
3153
3221
|
${getFontWeight("bold")};
|
|
3154
3222
|
border-radius: ${(props) => sizeStyles2[props.size].radius};
|
|
3155
3223
|
${(props) => getTextSize(sizeStyles2[props.size].textSize)};
|
|
@@ -3184,7 +3252,7 @@ var TextButtonWrapper = styled15.button`
|
|
|
3184
3252
|
pointer-events: none;
|
|
3185
3253
|
}
|
|
3186
3254
|
`;
|
|
3187
|
-
var TextButton =
|
|
3255
|
+
var TextButton = React19.forwardRef(
|
|
3188
3256
|
(_a, ref) => {
|
|
3189
3257
|
var _b = _a, {
|
|
3190
3258
|
onClick,
|
|
@@ -3207,14 +3275,14 @@ var TextButton = React18.forwardRef(
|
|
|
3207
3275
|
"htmlTag",
|
|
3208
3276
|
"offsetSide"
|
|
3209
3277
|
]);
|
|
3210
|
-
const iconComponent = /* @__PURE__ */
|
|
3278
|
+
const iconComponent = /* @__PURE__ */ React19.createElement(
|
|
3211
3279
|
container_default,
|
|
3212
3280
|
{
|
|
3213
3281
|
paddingLeft: iconPosition === "right" && "small",
|
|
3214
3282
|
paddingRight: iconPosition === "left" && "small",
|
|
3215
3283
|
htmlTag: "span"
|
|
3216
3284
|
},
|
|
3217
|
-
/* @__PURE__ */
|
|
3285
|
+
/* @__PURE__ */ React19.createElement(
|
|
3218
3286
|
icon_default,
|
|
3219
3287
|
{
|
|
3220
3288
|
icon,
|
|
@@ -3223,7 +3291,7 @@ var TextButton = React18.forwardRef(
|
|
|
3223
3291
|
}
|
|
3224
3292
|
)
|
|
3225
3293
|
);
|
|
3226
|
-
return /* @__PURE__ */
|
|
3294
|
+
return /* @__PURE__ */ React19.createElement(
|
|
3227
3295
|
TextButtonWrapper,
|
|
3228
3296
|
__spreadValues({
|
|
3229
3297
|
onClick,
|
|
@@ -3276,9 +3344,9 @@ var getDownshiftEnvironment = (container) => {
|
|
|
3276
3344
|
|
|
3277
3345
|
// src/components/icon/available-icons/chevron-down.tsx
|
|
3278
3346
|
import ChevronDownIcon from "@atlaskit/icon/utility/chevron-down";
|
|
3279
|
-
import * as
|
|
3347
|
+
import * as React20 from "react";
|
|
3280
3348
|
function SvgChevronDown() {
|
|
3281
|
-
return /* @__PURE__ */
|
|
3349
|
+
return /* @__PURE__ */ React20.createElement(ChevronDownIcon, { label: "", spacing: "compact", testId: "ads-refreshed-icon" });
|
|
3282
3350
|
}
|
|
3283
3351
|
|
|
3284
3352
|
// src/components/menu/menu.tsx
|
|
@@ -3287,61 +3355,11 @@ import React22 from "react";
|
|
|
3287
3355
|
|
|
3288
3356
|
// src/components/icon/available-icons/check.tsx
|
|
3289
3357
|
import CheckMarkIcon from "@atlaskit/icon/core/check-mark";
|
|
3290
|
-
import * as
|
|
3358
|
+
import * as React21 from "react";
|
|
3291
3359
|
function SvgCheck() {
|
|
3292
|
-
return /* @__PURE__ */
|
|
3360
|
+
return /* @__PURE__ */ React21.createElement(CheckMarkIcon, { label: "", testId: "ads-refreshed-icon" });
|
|
3293
3361
|
}
|
|
3294
3362
|
|
|
3295
|
-
// src/components/align/align.tsx
|
|
3296
|
-
import styled16 from "@emotion/styled";
|
|
3297
|
-
import React21 from "react";
|
|
3298
|
-
var alignmentsPlaceItems = {
|
|
3299
|
-
topLeft: "start",
|
|
3300
|
-
topCenter: "start center",
|
|
3301
|
-
topRight: "start end",
|
|
3302
|
-
centerLeft: "center start",
|
|
3303
|
-
center: "center",
|
|
3304
|
-
centerRight: "center end",
|
|
3305
|
-
bottomLeft: "end start",
|
|
3306
|
-
bottomCenter: "end center",
|
|
3307
|
-
bottomRight: "end"
|
|
3308
|
-
};
|
|
3309
|
-
var getPlaceItems = (alignment) => {
|
|
3310
|
-
if (Array.isArray(alignment)) {
|
|
3311
|
-
return alignment.map(
|
|
3312
|
-
(alignmentArrayItem) => alignmentsPlaceItems[alignmentArrayItem]
|
|
3313
|
-
);
|
|
3314
|
-
}
|
|
3315
|
-
if (typeof alignment === "object") {
|
|
3316
|
-
const alignmentsPlaceItemsObject = {};
|
|
3317
|
-
Object.entries(alignment).forEach(([key, value]) => {
|
|
3318
|
-
return alignmentsPlaceItemsObject[key] = alignmentsPlaceItems[value];
|
|
3319
|
-
});
|
|
3320
|
-
return alignmentsPlaceItemsObject;
|
|
3321
|
-
}
|
|
3322
|
-
return alignmentsPlaceItems[alignment];
|
|
3323
|
-
};
|
|
3324
|
-
var AlignWrapper = styled16.div`
|
|
3325
|
-
width: 100%;
|
|
3326
|
-
height: 100%;
|
|
3327
|
-
display: grid;
|
|
3328
|
-
${(props) => getResponsiveOneOf("place-items", getPlaceItems(props.alignment))};
|
|
3329
|
-
`;
|
|
3330
|
-
var Align = (_a) => {
|
|
3331
|
-
var _b = _a, {
|
|
3332
|
-
children,
|
|
3333
|
-
alignment = "center",
|
|
3334
|
-
htmlTag = "div"
|
|
3335
|
-
} = _b, props = __objRest(_b, [
|
|
3336
|
-
"children",
|
|
3337
|
-
"alignment",
|
|
3338
|
-
"htmlTag"
|
|
3339
|
-
]);
|
|
3340
|
-
return /* @__PURE__ */ React21.createElement(AlignWrapper, __spreadValues({ alignment, as: htmlTag }, props), children);
|
|
3341
|
-
};
|
|
3342
|
-
var availableAlignments2 = Object.keys(alignmentsPlaceItems);
|
|
3343
|
-
var align_default = Align;
|
|
3344
|
-
|
|
3345
3363
|
// src/components/menu/menu.tsx
|
|
3346
3364
|
var menuPositions = {
|
|
3347
3365
|
left: "bottom-start",
|
|
@@ -3391,12 +3409,13 @@ var MenuItemWrapper = styled17.li`
|
|
|
3391
3409
|
}
|
|
3392
3410
|
`};
|
|
3393
3411
|
`;
|
|
3394
|
-
var
|
|
3412
|
+
var Image2 = styled17.img`
|
|
3395
3413
|
height: 100%;
|
|
3396
3414
|
width: auto;
|
|
3397
3415
|
min-width: 100%;
|
|
3398
3416
|
min-height: 100%;
|
|
3399
3417
|
object-fit: cover;
|
|
3418
|
+
opacity: ${({ isDisabled }) => isDisabled ? 0.5 : 1};
|
|
3400
3419
|
`;
|
|
3401
3420
|
var MenuItem = (_a) => {
|
|
3402
3421
|
var _b = _a, {
|
|
@@ -3426,7 +3445,7 @@ var MenuItem = (_a) => {
|
|
|
3426
3445
|
columns,
|
|
3427
3446
|
hasDivider
|
|
3428
3447
|
}, props),
|
|
3429
|
-
icon && (typeof icon === "string" ? /* @__PURE__ */ React22.createElement(container_default, { radius: "50", width: 3, height: 3, overflow: "hidden" }, /* @__PURE__ */ React22.createElement(align_default, { alignment: "center" }, /* @__PURE__ */ React22.createElement(
|
|
3448
|
+
icon && (typeof icon === "string" ? /* @__PURE__ */ React22.createElement(container_default, { radius: "50", width: 3, height: 3, overflow: "hidden" }, /* @__PURE__ */ React22.createElement(align_default, { alignment: "center" }, /* @__PURE__ */ React22.createElement(Image2, { src: icon, alt: "", isDisabled }))) : /* @__PURE__ */ React22.createElement(icon_default, { icon, color })),
|
|
3430
3449
|
/* @__PURE__ */ React22.createElement(text_default, { color, hasEllipsis: true }, children),
|
|
3431
3450
|
isSelected && /* @__PURE__ */ React22.createElement(icon_default, { icon: /* @__PURE__ */ React22.createElement(SvgCheck, null), color })
|
|
3432
3451
|
);
|
|
@@ -3485,12 +3504,12 @@ var SelectHeaderWrapper = styled18.button`
|
|
|
3485
3504
|
background-color: ${getColorValue("formFieldBackground")};
|
|
3486
3505
|
transition: 0.3s box-shadow;
|
|
3487
3506
|
border-radius: var(--lns-formFieldRadius);
|
|
3488
|
-
box-shadow: inset 0 0 0
|
|
3489
|
-
var(--lns-color-formFieldBorder);
|
|
3507
|
+
box-shadow: inset 0 0 0
|
|
3508
|
+
${(props) => props.hasError ? "var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger)" : "var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)"};
|
|
3490
3509
|
|
|
3491
3510
|
&:hover:not(:disabled) {
|
|
3492
3511
|
box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)
|
|
3493
|
-
var(--lns-color-blurple);
|
|
3512
|
+
${(props) => props.hasError ? "var(--lns-color-danger)" : "var(--lns-color-blurple)"};
|
|
3494
3513
|
}
|
|
3495
3514
|
|
|
3496
3515
|
&:focus {
|
|
@@ -3498,24 +3517,38 @@ var SelectHeaderWrapper = styled18.button`
|
|
|
3498
3517
|
box-shadow: var(--lns-formFieldBorderShadowFocus);
|
|
3499
3518
|
}
|
|
3500
3519
|
|
|
3520
|
+
&:focus:hover {
|
|
3521
|
+
outline: 1px solid transparent;
|
|
3522
|
+
box-shadow: var(--lns-formFieldBorderShadowFocus);
|
|
3523
|
+
}
|
|
3524
|
+
|
|
3501
3525
|
&:disabled {
|
|
3502
3526
|
color: ${getColorValue("disabledContent")};
|
|
3503
3527
|
background-color: ${getColorValue("disabledBackground")};
|
|
3504
3528
|
cursor: default;
|
|
3505
3529
|
}
|
|
3506
3530
|
`;
|
|
3507
|
-
var
|
|
3531
|
+
var Image3 = styled18.img`
|
|
3508
3532
|
height: 100%;
|
|
3509
3533
|
width: auto;
|
|
3510
3534
|
min-width: 100%;
|
|
3511
3535
|
min-height: 100%;
|
|
3512
3536
|
object-fit: cover;
|
|
3537
|
+
opacity: ${({ isDisabled }) => isDisabled ? 0.5 : 1};
|
|
3513
3538
|
`;
|
|
3514
3539
|
var Group = styled18.ul`
|
|
3515
3540
|
list-style: none;
|
|
3516
3541
|
margin: 0;
|
|
3517
3542
|
padding: 0;
|
|
3518
3543
|
`;
|
|
3544
|
+
var ErrorMessage = styled18.span`
|
|
3545
|
+
color: var(--lns-color-red);
|
|
3546
|
+
margin-top: var(--lns-space-xsmall);
|
|
3547
|
+
display: block;
|
|
3548
|
+
width: 100%;
|
|
3549
|
+
grid-column-start: 1;
|
|
3550
|
+
grid-column-end: 3;
|
|
3551
|
+
`;
|
|
3519
3552
|
var isGrouped = (options) => Array.isArray(options) && options.length > 0 && "group" in options[0];
|
|
3520
3553
|
var getSelectedOptionObject = ({ options, selectedOptionValue }) => {
|
|
3521
3554
|
if (!options || !selectedOptionValue) {
|
|
@@ -3565,11 +3598,12 @@ var getHeaderAccessibilityProps = ({
|
|
|
3565
3598
|
ariaMenuName
|
|
3566
3599
|
}) => {
|
|
3567
3600
|
const valueLabel = selectedItem ? `selected value is ${selectedItem.title}` : "no value selected";
|
|
3601
|
+
const toggleLabel = getToggleButtonProps == null ? void 0 : getToggleButtonProps()["aria-label"];
|
|
3568
3602
|
return {
|
|
3569
3603
|
// Ensures all options within the list of selections can be narrated by a screen reader
|
|
3570
3604
|
"aria-activedescendant": getInputProps()["aria-activedescendant"],
|
|
3571
3605
|
// The existing aria-label includes whether or not the menu is open or closed, and we add the valueLabel to make a screen reader narrate what is selected
|
|
3572
|
-
"aria-label":
|
|
3606
|
+
"aria-label": [ariaMenuName, toggleLabel, valueLabel].filter(Boolean).join(", ")
|
|
3573
3607
|
};
|
|
3574
3608
|
};
|
|
3575
3609
|
var SelectHeader = ({
|
|
@@ -3581,7 +3615,8 @@ var SelectHeader = ({
|
|
|
3581
3615
|
isDisabled,
|
|
3582
3616
|
options,
|
|
3583
3617
|
getInputProps,
|
|
3584
|
-
ariaMenuName
|
|
3618
|
+
ariaMenuName,
|
|
3619
|
+
hasError
|
|
3585
3620
|
}) => {
|
|
3586
3621
|
const icon = getIcon({ options, selectedItem, selectedOptionValue });
|
|
3587
3622
|
const hasIcon = Boolean(icon);
|
|
@@ -3599,9 +3634,10 @@ var SelectHeader = ({
|
|
|
3599
3634
|
})), {
|
|
3600
3635
|
hasValue: inputValue || selectedOptionValue,
|
|
3601
3636
|
disabled: isDisabled,
|
|
3602
|
-
columns
|
|
3637
|
+
columns,
|
|
3638
|
+
hasError
|
|
3603
3639
|
}),
|
|
3604
|
-
hasIcon && (typeof icon === "string" ? /* @__PURE__ */ React23.createElement(container_default, { radius: "50", width: 3, height: 3, overflow: "hidden" }, /* @__PURE__ */ React23.createElement(align_default, { alignment: "center" }, /* @__PURE__ */ React23.createElement(
|
|
3640
|
+
hasIcon && (typeof icon === "string" ? /* @__PURE__ */ React23.createElement(container_default, { radius: "50", width: 3, height: 3, overflow: "hidden" }, /* @__PURE__ */ React23.createElement(align_default, { alignment: "center" }, /* @__PURE__ */ React23.createElement(Image3, { src: icon, alt: "", isDisabled }))) : /* @__PURE__ */ React23.createElement(
|
|
3605
3641
|
icon_default,
|
|
3606
3642
|
{
|
|
3607
3643
|
icon: getIcon({ options, selectedItem, selectedOptionValue }),
|
|
@@ -3626,7 +3662,9 @@ var CustomHeader = ({
|
|
|
3626
3662
|
selectPlaceholder,
|
|
3627
3663
|
isDisabled,
|
|
3628
3664
|
getInputProps,
|
|
3629
|
-
ariaMenuName
|
|
3665
|
+
ariaMenuName,
|
|
3666
|
+
hasError,
|
|
3667
|
+
errorMessage
|
|
3630
3668
|
}) => {
|
|
3631
3669
|
const buttonProps = () => {
|
|
3632
3670
|
return __spreadValues(__spreadValues({}, getToggleButtonProps()), getHeaderAccessibilityProps({
|
|
@@ -3636,28 +3674,20 @@ var CustomHeader = ({
|
|
|
3636
3674
|
ariaMenuName
|
|
3637
3675
|
}));
|
|
3638
3676
|
};
|
|
3639
|
-
const
|
|
3677
|
+
const getSelectedItem = () => {
|
|
3640
3678
|
if (selectedItem) {
|
|
3641
|
-
return selectedItem
|
|
3679
|
+
return selectedItem;
|
|
3642
3680
|
}
|
|
3643
|
-
if (
|
|
3644
|
-
return getSelectedOptionObject({ options, selectedOptionValue })
|
|
3681
|
+
if (selectedOptionValue) {
|
|
3682
|
+
return getSelectedOptionObject({ options, selectedOptionValue });
|
|
3645
3683
|
}
|
|
3646
3684
|
};
|
|
3647
|
-
const
|
|
3648
|
-
if (selectedItem && selectedItem.icon) {
|
|
3649
|
-
return selectedItem.icon;
|
|
3650
|
-
}
|
|
3651
|
-
if (!selectedItem && selectedOptionValue) {
|
|
3652
|
-
return getSelectedOptionObject({ options, selectedOptionValue }).icon;
|
|
3653
|
-
}
|
|
3654
|
-
};
|
|
3655
|
-
const triggerContent = {
|
|
3656
|
-
title: getTriggerTitle(),
|
|
3685
|
+
const triggerContent = __spreadProps(__spreadValues({}, getSelectedItem()), {
|
|
3657
3686
|
placeholder: selectPlaceholder,
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3687
|
+
isDisabled,
|
|
3688
|
+
hasError,
|
|
3689
|
+
errorMessage
|
|
3690
|
+
});
|
|
3661
3691
|
return trigger(triggerContent, buttonProps());
|
|
3662
3692
|
};
|
|
3663
3693
|
var getSelectedOption = (value, options) => {
|
|
@@ -3758,7 +3788,9 @@ var Select = (_a) => {
|
|
|
3758
3788
|
menuPosition = "left",
|
|
3759
3789
|
isDisabled,
|
|
3760
3790
|
onOpenChange,
|
|
3761
|
-
trigger
|
|
3791
|
+
trigger,
|
|
3792
|
+
hasError,
|
|
3793
|
+
errorMessage = "Oops, that didn't work."
|
|
3762
3794
|
} = _b, props = __objRest(_b, [
|
|
3763
3795
|
"container",
|
|
3764
3796
|
"onChange",
|
|
@@ -3774,7 +3806,9 @@ var Select = (_a) => {
|
|
|
3774
3806
|
"menuPosition",
|
|
3775
3807
|
"isDisabled",
|
|
3776
3808
|
"onOpenChange",
|
|
3777
|
-
"trigger"
|
|
3809
|
+
"trigger",
|
|
3810
|
+
"hasError",
|
|
3811
|
+
"errorMessage"
|
|
3778
3812
|
]);
|
|
3779
3813
|
const environment = getDownshiftEnvironment(container);
|
|
3780
3814
|
const [downshiftIsOpen, setDownshiftIsOpen] = useState(false);
|
|
@@ -3791,7 +3825,8 @@ var Select = (_a) => {
|
|
|
3791
3825
|
onChange: onDownshiftChange,
|
|
3792
3826
|
onOuterClick,
|
|
3793
3827
|
environment,
|
|
3794
|
-
selectedItem
|
|
3828
|
+
selectedItem,
|
|
3829
|
+
isOpen: downshiftIsOpen
|
|
3795
3830
|
};
|
|
3796
3831
|
if (environment) {
|
|
3797
3832
|
downshiftProps.environment = environment;
|
|
@@ -3836,6 +3871,7 @@ var Select = (_a) => {
|
|
|
3836
3871
|
}) => {
|
|
3837
3872
|
return (
|
|
3838
3873
|
// Don't set the role to combobox to ensure a consistent experience for screen readers
|
|
3874
|
+
/* eslint-disable-next-line jsx-a11y/aria-role */
|
|
3839
3875
|
/* @__PURE__ */ React23.createElement("div", { role: null }, /* @__PURE__ */ React23.createElement("div", __spreadValues({}, triggerProps), trigger ? /* @__PURE__ */ React23.createElement(
|
|
3840
3876
|
CustomHeader,
|
|
3841
3877
|
{
|
|
@@ -3847,7 +3883,9 @@ var Select = (_a) => {
|
|
|
3847
3883
|
options,
|
|
3848
3884
|
trigger,
|
|
3849
3885
|
getInputProps,
|
|
3850
|
-
ariaMenuName
|
|
3886
|
+
ariaMenuName,
|
|
3887
|
+
hasError,
|
|
3888
|
+
errorMessage
|
|
3851
3889
|
}
|
|
3852
3890
|
) : /* @__PURE__ */ React23.createElement(
|
|
3853
3891
|
SelectHeader,
|
|
@@ -3860,7 +3898,8 @@ var Select = (_a) => {
|
|
|
3860
3898
|
inputValue,
|
|
3861
3899
|
isDisabled,
|
|
3862
3900
|
getInputProps,
|
|
3863
|
-
ariaMenuName
|
|
3901
|
+
ariaMenuName,
|
|
3902
|
+
hasError
|
|
3864
3903
|
}
|
|
3865
3904
|
)), downshiftIsOpen && isOpen && renderLayer(
|
|
3866
3905
|
/* @__PURE__ */ React23.createElement(
|
|
@@ -3887,7 +3926,7 @@ var Select = (_a) => {
|
|
|
3887
3926
|
}
|
|
3888
3927
|
)
|
|
3889
3928
|
)
|
|
3890
|
-
))
|
|
3929
|
+
), hasError && !downshiftIsOpen && /* @__PURE__ */ React23.createElement(ErrorMessage, null, errorMessage))
|
|
3891
3930
|
);
|
|
3892
3931
|
}));
|
|
3893
3932
|
};
|
|
@@ -4115,7 +4154,8 @@ var ModalCard = (_a) => {
|
|
|
4115
4154
|
ariaModal,
|
|
4116
4155
|
ariaLabelledBy,
|
|
4117
4156
|
ref,
|
|
4118
|
-
removeClose
|
|
4157
|
+
removeClose,
|
|
4158
|
+
initialFocus
|
|
4119
4159
|
} = _b, props = __objRest(_b, [
|
|
4120
4160
|
"children",
|
|
4121
4161
|
"onCloseClick",
|
|
@@ -4127,7 +4167,8 @@ var ModalCard = (_a) => {
|
|
|
4127
4167
|
"ariaModal",
|
|
4128
4168
|
"ariaLabelledBy",
|
|
4129
4169
|
"ref",
|
|
4130
|
-
"removeClose"
|
|
4170
|
+
"removeClose",
|
|
4171
|
+
"initialFocus"
|
|
4131
4172
|
]);
|
|
4132
4173
|
useEffect3(() => {
|
|
4133
4174
|
const keyListener = (e) => {
|
|
@@ -4148,10 +4189,10 @@ var ModalCard = (_a) => {
|
|
|
4148
4189
|
FocusTrap,
|
|
4149
4190
|
{
|
|
4150
4191
|
active: isOpen,
|
|
4151
|
-
focusTrapOptions: {
|
|
4192
|
+
focusTrapOptions: __spreadValues({
|
|
4152
4193
|
clickOutsideDeactivates: false,
|
|
4153
4194
|
allowOutsideClick: true
|
|
4154
|
-
}
|
|
4195
|
+
}, initialFocus !== void 0 ? { initialFocus } : {})
|
|
4155
4196
|
},
|
|
4156
4197
|
/* @__PURE__ */ React26.createElement(
|
|
4157
4198
|
ModalCardWrapper,
|
|
@@ -4162,7 +4203,6 @@ var ModalCard = (_a) => {
|
|
|
4162
4203
|
placement,
|
|
4163
4204
|
onClick: (e) => e.stopPropagation(),
|
|
4164
4205
|
ref,
|
|
4165
|
-
role: "dialog",
|
|
4166
4206
|
"aria-label": ariaLabel,
|
|
4167
4207
|
"aria-modal": ariaModal,
|
|
4168
4208
|
"aria-labelledby": ariaLabelledBy
|
|
@@ -4207,7 +4247,8 @@ var Modal = React26.forwardRef(
|
|
|
4207
4247
|
zIndex = 1e3,
|
|
4208
4248
|
ariaLabel,
|
|
4209
4249
|
ariaModal = true,
|
|
4210
|
-
ariaLabelledBy
|
|
4250
|
+
ariaLabelledBy,
|
|
4251
|
+
initialFocus
|
|
4211
4252
|
} = _b, props = __objRest(_b, [
|
|
4212
4253
|
"children",
|
|
4213
4254
|
"id",
|
|
@@ -4227,7 +4268,8 @@ var Modal = React26.forwardRef(
|
|
|
4227
4268
|
"zIndex",
|
|
4228
4269
|
"ariaLabel",
|
|
4229
4270
|
"ariaModal",
|
|
4230
|
-
"ariaLabelledBy"
|
|
4271
|
+
"ariaLabelledBy",
|
|
4272
|
+
"initialFocus"
|
|
4231
4273
|
]);
|
|
4232
4274
|
var _a2;
|
|
4233
4275
|
const titleId = id ? `${id}-modal-title` : "modal-title";
|
|
@@ -4259,7 +4301,8 @@ var Modal = React26.forwardRef(
|
|
|
4259
4301
|
onCloseClick,
|
|
4260
4302
|
ariaLabel,
|
|
4261
4303
|
ariaModal,
|
|
4262
|
-
ariaLabelledBy: (_a2 = ariaLabelledBy != null ? ariaLabelledBy : titleId) != null ? _a2 : void 0
|
|
4304
|
+
ariaLabelledBy: (_a2 = ariaLabelledBy != null ? ariaLabelledBy : titleId) != null ? _a2 : void 0,
|
|
4305
|
+
initialFocus
|
|
4263
4306
|
},
|
|
4264
4307
|
/* @__PURE__ */ React26.createElement(
|
|
4265
4308
|
ContentWrapper,
|
|
@@ -4478,12 +4521,531 @@ var Textarea = React28.forwardRef(
|
|
|
4478
4521
|
);
|
|
4479
4522
|
var textarea_default = Textarea;
|
|
4480
4523
|
|
|
4524
|
+
// src/components/typeahead/typeahead.tsx
|
|
4525
|
+
import styled23 from "@emotion/styled";
|
|
4526
|
+
import Downshift2 from "downshift";
|
|
4527
|
+
import React29, {
|
|
4528
|
+
useEffect as useEffect4,
|
|
4529
|
+
useState as useState2,
|
|
4530
|
+
useMemo,
|
|
4531
|
+
useRef as useRef2
|
|
4532
|
+
} from "react";
|
|
4533
|
+
import { useLayer as useLayer2 } from "react-laag";
|
|
4534
|
+
import ResizeObserver2 from "resize-observer-polyfill";
|
|
4535
|
+
var TypeaheadWrapper = styled23.div`
|
|
4536
|
+
position: relative;
|
|
4537
|
+
`;
|
|
4538
|
+
var Group2 = styled23.ul`
|
|
4539
|
+
list-style: none;
|
|
4540
|
+
margin: 0;
|
|
4541
|
+
padding: 0;
|
|
4542
|
+
`;
|
|
4543
|
+
var ErrorMessage2 = styled23.span`
|
|
4544
|
+
color: var(--lns-color-red);
|
|
4545
|
+
margin-top: var(--lns-space-xsmall);
|
|
4546
|
+
display: block;
|
|
4547
|
+
width: 100%;
|
|
4548
|
+
grid-column-start: 1;
|
|
4549
|
+
grid-column-end: 3;
|
|
4550
|
+
`;
|
|
4551
|
+
var isGrouped2 = (options) => Array.isArray(options) && options.length > 0 && "group" in options[0];
|
|
4552
|
+
var getSelectedOptionObject2 = ({ options, selectedOptionValue }) => {
|
|
4553
|
+
if (!options || !selectedOptionValue) {
|
|
4554
|
+
return { icon: null, title: null };
|
|
4555
|
+
}
|
|
4556
|
+
if (isGrouped2(options)) {
|
|
4557
|
+
for (const option of options) {
|
|
4558
|
+
const foundItem = option.items.find(
|
|
4559
|
+
(item) => item.value === selectedOptionValue
|
|
4560
|
+
);
|
|
4561
|
+
if (foundItem) {
|
|
4562
|
+
return foundItem;
|
|
4563
|
+
}
|
|
4564
|
+
}
|
|
4565
|
+
} else {
|
|
4566
|
+
const foundItem = options.find((item) => item.value === selectedOptionValue);
|
|
4567
|
+
return foundItem || { icon: null, title: null };
|
|
4568
|
+
}
|
|
4569
|
+
return { icon: null, title: null };
|
|
4570
|
+
};
|
|
4571
|
+
var getIcon2 = ({ options, selectedItem, selectedOptionValue }) => {
|
|
4572
|
+
if (selectedItem) {
|
|
4573
|
+
return selectedItem.icon;
|
|
4574
|
+
}
|
|
4575
|
+
if (selectedOptionValue) {
|
|
4576
|
+
return getSelectedOptionObject2({ options, selectedOptionValue }).icon;
|
|
4577
|
+
}
|
|
4578
|
+
};
|
|
4579
|
+
var getTitle2 = ({
|
|
4580
|
+
options,
|
|
4581
|
+
selectedItem,
|
|
4582
|
+
selectedOptionValue,
|
|
4583
|
+
placeholder
|
|
4584
|
+
}) => {
|
|
4585
|
+
if (selectedItem) {
|
|
4586
|
+
return selectedItem.title;
|
|
4587
|
+
}
|
|
4588
|
+
if (selectedOptionValue) {
|
|
4589
|
+
return getSelectedOptionObject2({ options, selectedOptionValue }).title;
|
|
4590
|
+
}
|
|
4591
|
+
return placeholder;
|
|
4592
|
+
};
|
|
4593
|
+
var getHeaderAccessibilityProps2 = ({
|
|
4594
|
+
selectedItem,
|
|
4595
|
+
getInputProps,
|
|
4596
|
+
ariaMenuName
|
|
4597
|
+
}) => {
|
|
4598
|
+
const valueLabel = selectedItem ? `selected value is ${selectedItem.title}` : "no value selected";
|
|
4599
|
+
return {
|
|
4600
|
+
// Ensures all options within the list of selections can be narrated by a screen reader
|
|
4601
|
+
"aria-activedescendant": getInputProps()["aria-activedescendant"],
|
|
4602
|
+
// The existing aria-label includes whether or not the menu is open or closed, and we add the valueLabel to make a screen reader narrate what is selected
|
|
4603
|
+
"aria-label": [ariaMenuName, valueLabel].filter(Boolean).join(", ")
|
|
4604
|
+
};
|
|
4605
|
+
};
|
|
4606
|
+
var TypeaheadHeaderWrapper = styled23.button`
|
|
4607
|
+
position: relative;
|
|
4608
|
+
width: 100%;
|
|
4609
|
+
background: none;
|
|
4610
|
+
border: none;
|
|
4611
|
+
padding: 0;
|
|
4612
|
+
margin: 0;
|
|
4613
|
+
font: inherit;
|
|
4614
|
+
color: inherit;
|
|
4615
|
+
cursor: pointer;
|
|
4616
|
+
|
|
4617
|
+
&:disabled {
|
|
4618
|
+
cursor: default;
|
|
4619
|
+
}
|
|
4620
|
+
`;
|
|
4621
|
+
var TypeaheadInputField = styled23.input`
|
|
4622
|
+
-webkit-appearance: none;
|
|
4623
|
+
font-family: inherit;
|
|
4624
|
+
width: 100%;
|
|
4625
|
+
height: var(--lns-formFieldHeight);
|
|
4626
|
+
border: none;
|
|
4627
|
+
color: inherit;
|
|
4628
|
+
background-color: ${getColorValue("formFieldBackground")};
|
|
4629
|
+
transition: 0.3s box-shadow;
|
|
4630
|
+
padding-top: 0;
|
|
4631
|
+
padding-bottom: 0;
|
|
4632
|
+
padding-left: ${(props) => props.hasIcon ? u(5.5) : "var(--lns-formFieldHorizontalPadding)"};
|
|
4633
|
+
padding-right: ${(props) => props.hasAddOn ? u(5.5) : "var(--lns-formFieldHorizontalPadding)"};
|
|
4634
|
+
border-radius: var(--lns-formFieldRadius);
|
|
4635
|
+
box-shadow: inset 0 0 0
|
|
4636
|
+
${(props) => props.hasError ? "var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger)" : "var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)"};
|
|
4637
|
+
|
|
4638
|
+
${getSize("font-size", "medium")};
|
|
4639
|
+
|
|
4640
|
+
&:hover:not(:disabled):not(:focus) {
|
|
4641
|
+
box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)
|
|
4642
|
+
${(props) => props.hasError ? "var(--lns-color-danger)" : "var(--lns-color-blurple)"};
|
|
4643
|
+
}
|
|
4644
|
+
|
|
4645
|
+
&:focus {
|
|
4646
|
+
outline: 1px solid transparent;
|
|
4647
|
+
box-shadow: var(--lns-formFieldBorderShadowFocus);
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
&:disabled {
|
|
4651
|
+
color: ${getColorValue("disabledContent")};
|
|
4652
|
+
background-color: ${getColorValue("disabledBackground")};
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
&:disabled:hover {
|
|
4656
|
+
box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidth)
|
|
4657
|
+
var(--lns-color-formFieldBorder);
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4660
|
+
&::placeholder {
|
|
4661
|
+
color: ${getColorValue("bodyDimmed")};
|
|
4662
|
+
}
|
|
4663
|
+
`;
|
|
4664
|
+
var IconSection3 = styled23.div`
|
|
4665
|
+
position: absolute;
|
|
4666
|
+
pointer-events: none;
|
|
4667
|
+
width: ${u(6)};
|
|
4668
|
+
height: 100%;
|
|
4669
|
+
display: flex;
|
|
4670
|
+
align-items: center;
|
|
4671
|
+
justify-content: center;
|
|
4672
|
+
left: 0;
|
|
4673
|
+
`;
|
|
4674
|
+
var AddOnSection = styled23.div`
|
|
4675
|
+
position: absolute;
|
|
4676
|
+
height: 100%;
|
|
4677
|
+
display: flex;
|
|
4678
|
+
align-items: center;
|
|
4679
|
+
justify-content: center;
|
|
4680
|
+
right: 0;
|
|
4681
|
+
width: ${u(6)};
|
|
4682
|
+
top: 50%;
|
|
4683
|
+
transform: translateY(-50%);
|
|
4684
|
+
`;
|
|
4685
|
+
var TextOverlay = styled23.div`
|
|
4686
|
+
position: absolute;
|
|
4687
|
+
top: 0;
|
|
4688
|
+
left: ${(props) => props.hasIcon ? u(5.5) : "var(--lns-formFieldHorizontalPadding)"};
|
|
4689
|
+
right: ${u(5.5)};
|
|
4690
|
+
bottom: 0;
|
|
4691
|
+
display: flex;
|
|
4692
|
+
align-items: center;
|
|
4693
|
+
pointer-events: none;
|
|
4694
|
+
color: inherit;
|
|
4695
|
+
`;
|
|
4696
|
+
var TypeaheadImage = styled23.img`
|
|
4697
|
+
height: 100%;
|
|
4698
|
+
width: auto;
|
|
4699
|
+
min-width: 100%;
|
|
4700
|
+
min-height: 100%;
|
|
4701
|
+
object-fit: cover;
|
|
4702
|
+
opacity: ${({ isDisabled }) => isDisabled ? 0.5 : 1};
|
|
4703
|
+
`;
|
|
4704
|
+
var TypeaheadHeader = ({
|
|
4705
|
+
selectedItem,
|
|
4706
|
+
selectedOptionValue,
|
|
4707
|
+
placeholder,
|
|
4708
|
+
isDisabled,
|
|
4709
|
+
options,
|
|
4710
|
+
getInputProps,
|
|
4711
|
+
ariaMenuName,
|
|
4712
|
+
isOpen,
|
|
4713
|
+
onInputFocus,
|
|
4714
|
+
hasError,
|
|
4715
|
+
hasLoader,
|
|
4716
|
+
inputValue,
|
|
4717
|
+
handleInputValueChange,
|
|
4718
|
+
inputRef
|
|
4719
|
+
}) => {
|
|
4720
|
+
const icon = getIcon2({ options, selectedItem, selectedOptionValue });
|
|
4721
|
+
const hasIcon = Boolean(icon);
|
|
4722
|
+
const color = isDisabled ? "disabledContent" : void 0;
|
|
4723
|
+
const handleClickAndFocus = () => {
|
|
4724
|
+
if (!isDisabled) {
|
|
4725
|
+
onInputFocus();
|
|
4726
|
+
}
|
|
4727
|
+
};
|
|
4728
|
+
const inputProps = __spreadValues(__spreadValues({
|
|
4729
|
+
role: "combobox",
|
|
4730
|
+
"aria-autocomplete": "list",
|
|
4731
|
+
"aria-haspopup": "listbox",
|
|
4732
|
+
"aria-expanded": isOpen
|
|
4733
|
+
}, getHeaderAccessibilityProps2({
|
|
4734
|
+
selectedItem,
|
|
4735
|
+
getInputProps,
|
|
4736
|
+
ariaMenuName
|
|
4737
|
+
})), getInputProps({
|
|
4738
|
+
disabled: isDisabled,
|
|
4739
|
+
onFocus: handleClickAndFocus,
|
|
4740
|
+
onClick: handleClickAndFocus,
|
|
4741
|
+
value: inputValue,
|
|
4742
|
+
onBlur: () => {
|
|
4743
|
+
handleInputValueChange("");
|
|
4744
|
+
},
|
|
4745
|
+
onChange: (e) => handleInputValueChange(e.target.value)
|
|
4746
|
+
}));
|
|
4747
|
+
const showPlaceholder = !inputValue && !selectedOptionValue;
|
|
4748
|
+
return /* @__PURE__ */ React29.createElement(TypeaheadHeaderWrapper, { onClick: handleClickAndFocus, disabled: isDisabled }, hasIcon && /* @__PURE__ */ React29.createElement(IconSection3, null, typeof icon === "string" ? /* @__PURE__ */ React29.createElement(container_default, { radius: "50", width: 3, height: 3, overflow: "hidden" }, /* @__PURE__ */ React29.createElement(align_default, { alignment: "center" }, /* @__PURE__ */ React29.createElement(TypeaheadImage, { src: icon, alt: "", isDisabled }))) : /* @__PURE__ */ React29.createElement(icon_default, { icon, color })), /* @__PURE__ */ React29.createElement(
|
|
4749
|
+
TypeaheadInputField,
|
|
4750
|
+
__spreadProps(__spreadValues({
|
|
4751
|
+
ref: inputRef
|
|
4752
|
+
}, inputProps), {
|
|
4753
|
+
hasIcon,
|
|
4754
|
+
hasAddOn: true,
|
|
4755
|
+
hasError,
|
|
4756
|
+
isDisabled
|
|
4757
|
+
})
|
|
4758
|
+
), !inputValue && /* @__PURE__ */ React29.createElement(TextOverlay, { hasIcon }, /* @__PURE__ */ React29.createElement(text_default, { hasEllipsis: true, color: showPlaceholder ? "bodyDimmed" : "inherit" }, getTitle2({
|
|
4759
|
+
options,
|
|
4760
|
+
selectedItem,
|
|
4761
|
+
selectedOptionValue,
|
|
4762
|
+
placeholder
|
|
4763
|
+
}))), /* @__PURE__ */ React29.createElement(AddOnSection, null, hasLoader ? /* @__PURE__ */ React29.createElement(loader_default, { size: "small" }) : /* @__PURE__ */ React29.createElement(icon_default, { icon: /* @__PURE__ */ React29.createElement(SvgChevronDown, null), color })));
|
|
4764
|
+
};
|
|
4765
|
+
var getSelectedOption2 = (value, options) => {
|
|
4766
|
+
var _a;
|
|
4767
|
+
if (isGrouped2(options)) {
|
|
4768
|
+
for (const option of options) {
|
|
4769
|
+
const foundItem = option.items.find((item) => item.value === value);
|
|
4770
|
+
if (foundItem) {
|
|
4771
|
+
return foundItem;
|
|
4772
|
+
}
|
|
4773
|
+
}
|
|
4774
|
+
} else {
|
|
4775
|
+
return (_a = options.find((item) => item.value === value)) != null ? _a : null;
|
|
4776
|
+
}
|
|
4777
|
+
return null;
|
|
4778
|
+
};
|
|
4779
|
+
var didSelectedOptionValueChange2 = (selectedOptionValue, prevSelectedItem) => {
|
|
4780
|
+
const didChange = (selectedOptionValue || null) != (prevSelectedItem == null ? void 0 : prevSelectedItem.value);
|
|
4781
|
+
return didChange;
|
|
4782
|
+
};
|
|
4783
|
+
var renderOption2 = (item, index, selectedItem, selectedOptionValue, highlightedIndex, getItemProps) => {
|
|
4784
|
+
const isSelected = !selectedItem && item.value === selectedOptionValue || selectedItem && selectedItem.value === item.value;
|
|
4785
|
+
return /* @__PURE__ */ React29.createElement(
|
|
4786
|
+
MenuItem,
|
|
4787
|
+
__spreadProps(__spreadValues({
|
|
4788
|
+
key: index,
|
|
4789
|
+
getItemProps,
|
|
4790
|
+
icon: item.icon,
|
|
4791
|
+
hidden: item.hidden
|
|
4792
|
+
}, getItemProps({
|
|
4793
|
+
key: `${item.value}-${index}`,
|
|
4794
|
+
index,
|
|
4795
|
+
item,
|
|
4796
|
+
disabled: item.isDisabled,
|
|
4797
|
+
"aria-selected": isSelected
|
|
4798
|
+
})), {
|
|
4799
|
+
isDisabled: item.isDisabled,
|
|
4800
|
+
hasDivider: item.hasDivider,
|
|
4801
|
+
isHighlighted: highlightedIndex === index,
|
|
4802
|
+
isSelected
|
|
4803
|
+
}),
|
|
4804
|
+
item.title
|
|
4805
|
+
);
|
|
4806
|
+
};
|
|
4807
|
+
var TypeaheadMenu = (_a) => {
|
|
4808
|
+
var _b = _a, {
|
|
4809
|
+
options,
|
|
4810
|
+
selectedItem,
|
|
4811
|
+
selectedOptionValue,
|
|
4812
|
+
highlightedIndex,
|
|
4813
|
+
getItemProps,
|
|
4814
|
+
isLoading,
|
|
4815
|
+
loadingMessage,
|
|
4816
|
+
emptyResultsMessage,
|
|
4817
|
+
hasAvailableOptions
|
|
4818
|
+
} = _b, menuProps = __objRest(_b, [
|
|
4819
|
+
"options",
|
|
4820
|
+
"selectedItem",
|
|
4821
|
+
"selectedOptionValue",
|
|
4822
|
+
"highlightedIndex",
|
|
4823
|
+
"getItemProps",
|
|
4824
|
+
"isLoading",
|
|
4825
|
+
"loadingMessage",
|
|
4826
|
+
"emptyResultsMessage",
|
|
4827
|
+
"hasAvailableOptions"
|
|
4828
|
+
]);
|
|
4829
|
+
const defaultLoadingMessage = loadingMessage || /* @__PURE__ */ React29.createElement(loader_default, null);
|
|
4830
|
+
const defaultEmptyResultsMessage = emptyResultsMessage || "No results";
|
|
4831
|
+
if (isLoading) {
|
|
4832
|
+
return /* @__PURE__ */ React29.createElement(menu_default, __spreadValues({ as: "div" }, menuProps), /* @__PURE__ */ React29.createElement(container_default, { padding: "large" }, /* @__PURE__ */ React29.createElement(align_default, { alignment: "center" }, defaultLoadingMessage)));
|
|
4833
|
+
}
|
|
4834
|
+
if (!hasAvailableOptions) {
|
|
4835
|
+
return /* @__PURE__ */ React29.createElement(menu_default, __spreadValues({ as: "div" }, menuProps), /* @__PURE__ */ React29.createElement(container_default, { padding: "large" }, /* @__PURE__ */ React29.createElement(align_default, { alignment: "center" }, defaultEmptyResultsMessage)));
|
|
4836
|
+
}
|
|
4837
|
+
if (!isGrouped2(options)) {
|
|
4838
|
+
return /* @__PURE__ */ React29.createElement(menu_default, __spreadValues({}, menuProps), options.map(
|
|
4839
|
+
(item, index) => renderOption2(
|
|
4840
|
+
item,
|
|
4841
|
+
index,
|
|
4842
|
+
selectedItem,
|
|
4843
|
+
selectedOptionValue,
|
|
4844
|
+
highlightedIndex,
|
|
4845
|
+
getItemProps
|
|
4846
|
+
)
|
|
4847
|
+
));
|
|
4848
|
+
}
|
|
4849
|
+
let downshiftIndex = 0;
|
|
4850
|
+
return /* @__PURE__ */ React29.createElement(menu_default, __spreadValues({}, menuProps), options.map((group) => {
|
|
4851
|
+
const groupId = `group-${group.group.replace(/\s+/g, "-")}`;
|
|
4852
|
+
return /* @__PURE__ */ React29.createElement("li", { key: groupId }, /* @__PURE__ */ React29.createElement(spacer_default, { left: "medium", top: "small", bottom: "xsmall" }, /* @__PURE__ */ React29.createElement(text_default, { id: groupId, size: "body-sm", fontWeight: "bold" }, group.group)), /* @__PURE__ */ React29.createElement(Group2, { role: "group", "aria-labelledby": groupId }, group.items.map((item) => {
|
|
4853
|
+
return renderOption2(
|
|
4854
|
+
item,
|
|
4855
|
+
downshiftIndex++,
|
|
4856
|
+
selectedItem,
|
|
4857
|
+
selectedOptionValue,
|
|
4858
|
+
highlightedIndex,
|
|
4859
|
+
getItemProps
|
|
4860
|
+
);
|
|
4861
|
+
})));
|
|
4862
|
+
}));
|
|
4863
|
+
};
|
|
4864
|
+
var Typeahead = (_a) => {
|
|
4865
|
+
var _b = _a, {
|
|
4866
|
+
container,
|
|
4867
|
+
onOptionChange,
|
|
4868
|
+
onInputValueChange,
|
|
4869
|
+
menuZIndex = 1100,
|
|
4870
|
+
menuMaxWidth,
|
|
4871
|
+
menuMaxHeight = 34,
|
|
4872
|
+
menuMinWidth,
|
|
4873
|
+
ariaMenuName,
|
|
4874
|
+
selectedOptionValue,
|
|
4875
|
+
onOuterClick,
|
|
4876
|
+
options,
|
|
4877
|
+
placeholder,
|
|
4878
|
+
menuPosition = "left",
|
|
4879
|
+
isDisabled,
|
|
4880
|
+
onOpenChange,
|
|
4881
|
+
isLoading,
|
|
4882
|
+
loadingMessage,
|
|
4883
|
+
emptyResultsMessage,
|
|
4884
|
+
errorMessage
|
|
4885
|
+
} = _b, props = __objRest(_b, [
|
|
4886
|
+
"container",
|
|
4887
|
+
"onOptionChange",
|
|
4888
|
+
"onInputValueChange",
|
|
4889
|
+
"menuZIndex",
|
|
4890
|
+
"menuMaxWidth",
|
|
4891
|
+
"menuMaxHeight",
|
|
4892
|
+
"menuMinWidth",
|
|
4893
|
+
"ariaMenuName",
|
|
4894
|
+
"selectedOptionValue",
|
|
4895
|
+
"onOuterClick",
|
|
4896
|
+
"options",
|
|
4897
|
+
"placeholder",
|
|
4898
|
+
"menuPosition",
|
|
4899
|
+
"isDisabled",
|
|
4900
|
+
"onOpenChange",
|
|
4901
|
+
"isLoading",
|
|
4902
|
+
"loadingMessage",
|
|
4903
|
+
"emptyResultsMessage",
|
|
4904
|
+
"errorMessage"
|
|
4905
|
+
]);
|
|
4906
|
+
const environment = getDownshiftEnvironment(container);
|
|
4907
|
+
const inputRef = useRef2(null);
|
|
4908
|
+
const [inputValue, setInputValue] = useState2("");
|
|
4909
|
+
const [downshiftIsOpen, setDownshiftIsOpen] = useState2(false);
|
|
4910
|
+
const [prevSelectedItem, setPrevSelectedItem] = useState2(
|
|
4911
|
+
getSelectedOption2(selectedOptionValue, options)
|
|
4912
|
+
);
|
|
4913
|
+
const [selectedItem, setSelectedItem] = useState2(
|
|
4914
|
+
prevSelectedItem
|
|
4915
|
+
);
|
|
4916
|
+
const handleInputValueChange = (value) => {
|
|
4917
|
+
setInputValue(value);
|
|
4918
|
+
onInputValueChange && onInputValueChange(value);
|
|
4919
|
+
};
|
|
4920
|
+
const onDownshiftChange = (item) => {
|
|
4921
|
+
const value = item || null;
|
|
4922
|
+
setSelectedItem(value);
|
|
4923
|
+
onOptionChange && onOptionChange(value);
|
|
4924
|
+
};
|
|
4925
|
+
const downshiftProps = {
|
|
4926
|
+
itemToString: (item) => item ? item.value : "",
|
|
4927
|
+
onChange: onDownshiftChange,
|
|
4928
|
+
onOuterClick,
|
|
4929
|
+
environment,
|
|
4930
|
+
selectedItem,
|
|
4931
|
+
isOpen: downshiftIsOpen
|
|
4932
|
+
};
|
|
4933
|
+
if (environment) {
|
|
4934
|
+
downshiftProps.environment = environment;
|
|
4935
|
+
}
|
|
4936
|
+
const { layerProps, triggerProps, renderLayer, triggerBounds } = useLayer2({
|
|
4937
|
+
isOpen: downshiftIsOpen,
|
|
4938
|
+
container,
|
|
4939
|
+
ResizeObserver: ResizeObserver2,
|
|
4940
|
+
placement: menuPositions[menuPosition],
|
|
4941
|
+
auto: true,
|
|
4942
|
+
snap: true
|
|
4943
|
+
});
|
|
4944
|
+
useEffect4(() => {
|
|
4945
|
+
if (didSelectedOptionValueChange2(selectedOptionValue, prevSelectedItem)) {
|
|
4946
|
+
const item = getSelectedOption2(selectedOptionValue, options);
|
|
4947
|
+
setPrevSelectedItem(item);
|
|
4948
|
+
setSelectedItem(item);
|
|
4949
|
+
setInputValue("");
|
|
4950
|
+
}
|
|
4951
|
+
}, [selectedOptionValue, options, prevSelectedItem]);
|
|
4952
|
+
useEffect4(() => {
|
|
4953
|
+
var _a2;
|
|
4954
|
+
onOpenChange && onOpenChange(downshiftIsOpen);
|
|
4955
|
+
if (!downshiftIsOpen) {
|
|
4956
|
+
(_a2 = inputRef.current) == null ? void 0 : _a2.blur();
|
|
4957
|
+
}
|
|
4958
|
+
}, [downshiftIsOpen, onOpenChange]);
|
|
4959
|
+
const hasAvailableOptions = useMemo(() => {
|
|
4960
|
+
if (!Array.isArray(options)) {
|
|
4961
|
+
return false;
|
|
4962
|
+
}
|
|
4963
|
+
return isGrouped2(options) ? options.some((group) => group.items.length > 0) : options.length > 0;
|
|
4964
|
+
}, [options]);
|
|
4965
|
+
const stateReducer = (state, changes) => {
|
|
4966
|
+
if (changes.isOpen !== void 0) {
|
|
4967
|
+
if (changes.type === Downshift2.stateChangeTypes.keyDownEscape) {
|
|
4968
|
+
setDownshiftIsOpen(false);
|
|
4969
|
+
return { isOpen: false };
|
|
4970
|
+
}
|
|
4971
|
+
setDownshiftIsOpen(changes.isOpen);
|
|
4972
|
+
}
|
|
4973
|
+
return changes;
|
|
4974
|
+
};
|
|
4975
|
+
return /* @__PURE__ */ React29.createElement(TypeaheadWrapper, __spreadValues({}, props), /* @__PURE__ */ React29.createElement(Downshift2, __spreadProps(__spreadValues({}, downshiftProps), { stateReducer }), ({
|
|
4976
|
+
getItemProps,
|
|
4977
|
+
getInputProps,
|
|
4978
|
+
getMenuProps,
|
|
4979
|
+
isOpen,
|
|
4980
|
+
highlightedIndex,
|
|
4981
|
+
selectedItem: selectedItem2
|
|
4982
|
+
}) => {
|
|
4983
|
+
return (
|
|
4984
|
+
// Don't set the role to combobox to ensure a consistent experience for screen readers
|
|
4985
|
+
/* eslint-disable-next-line jsx-a11y/aria-role */
|
|
4986
|
+
/* @__PURE__ */ React29.createElement("div", { role: null }, /* @__PURE__ */ React29.createElement("div", __spreadValues({}, triggerProps), /* @__PURE__ */ React29.createElement(
|
|
4987
|
+
TypeaheadHeader,
|
|
4988
|
+
{
|
|
4989
|
+
inputRef,
|
|
4990
|
+
selectedItem: selectedItem2,
|
|
4991
|
+
selectedOptionValue,
|
|
4992
|
+
placeholder,
|
|
4993
|
+
isDisabled,
|
|
4994
|
+
options,
|
|
4995
|
+
getInputProps,
|
|
4996
|
+
ariaMenuName,
|
|
4997
|
+
inputValue,
|
|
4998
|
+
handleInputValueChange,
|
|
4999
|
+
isOpen: downshiftIsOpen && isOpen,
|
|
5000
|
+
onInputFocus: () => {
|
|
5001
|
+
if (hasAvailableOptions || isLoading) {
|
|
5002
|
+
setDownshiftIsOpen(true);
|
|
5003
|
+
}
|
|
5004
|
+
},
|
|
5005
|
+
hasLoader: isLoading,
|
|
5006
|
+
hasError: Boolean(errorMessage)
|
|
5007
|
+
}
|
|
5008
|
+
)), downshiftIsOpen && isOpen && renderLayer(
|
|
5009
|
+
/* @__PURE__ */ React29.createElement(
|
|
5010
|
+
"div",
|
|
5011
|
+
__spreadProps(__spreadValues({}, layerProps), {
|
|
5012
|
+
style: __spreadProps(__spreadValues({}, layerProps.style), {
|
|
5013
|
+
zIndex: menuZIndex,
|
|
5014
|
+
width: menuMinWidth ? "auto" : triggerBounds == null ? void 0 : triggerBounds.width
|
|
5015
|
+
})
|
|
5016
|
+
}),
|
|
5017
|
+
/* @__PURE__ */ React29.createElement(
|
|
5018
|
+
TypeaheadMenu,
|
|
5019
|
+
{
|
|
5020
|
+
options,
|
|
5021
|
+
selectedItem: selectedItem2,
|
|
5022
|
+
selectedOptionValue,
|
|
5023
|
+
hasAvailableOptions,
|
|
5024
|
+
highlightedIndex,
|
|
5025
|
+
getItemProps,
|
|
5026
|
+
isLoading,
|
|
5027
|
+
loadingMessage,
|
|
5028
|
+
emptyResultsMessage,
|
|
5029
|
+
position: menuPosition,
|
|
5030
|
+
downshiftMenuProps: getMenuProps,
|
|
5031
|
+
maxWidth: menuMaxWidth,
|
|
5032
|
+
maxHeight: menuMaxHeight,
|
|
5033
|
+
minWidth: menuMinWidth
|
|
5034
|
+
}
|
|
5035
|
+
)
|
|
5036
|
+
)
|
|
5037
|
+
), Boolean(errorMessage) && !downshiftIsOpen ? /* @__PURE__ */ React29.createElement(ErrorMessage2, null, errorMessage) : null)
|
|
5038
|
+
);
|
|
5039
|
+
}));
|
|
5040
|
+
};
|
|
5041
|
+
var typeahead_default = Typeahead;
|
|
5042
|
+
|
|
4481
5043
|
// src/components/dropdown/dropdown.tsx
|
|
4482
|
-
import
|
|
4483
|
-
import
|
|
4484
|
-
import
|
|
4485
|
-
import { useLayer as
|
|
4486
|
-
import
|
|
5044
|
+
import styled24 from "@emotion/styled";
|
|
5045
|
+
import Downshift3 from "downshift";
|
|
5046
|
+
import React30, { useEffect as useEffect5, useState as useState3 } from "react";
|
|
5047
|
+
import { useLayer as useLayer3 } from "react-laag";
|
|
5048
|
+
import ResizeObserver3 from "resize-observer-polyfill";
|
|
4487
5049
|
var getAccessibilityProps = ({
|
|
4488
5050
|
ariaMenuName,
|
|
4489
5051
|
getInputProps,
|
|
@@ -4497,7 +5059,7 @@ var getAccessibilityProps = ({
|
|
|
4497
5059
|
"aria-label": ariaMenuName ? ariaMenuName : ""
|
|
4498
5060
|
};
|
|
4499
5061
|
};
|
|
4500
|
-
var TriggerSection =
|
|
5062
|
+
var TriggerSection = styled24.div`
|
|
4501
5063
|
display: inline-block;
|
|
4502
5064
|
vertical-align: middle;
|
|
4503
5065
|
`;
|
|
@@ -4534,18 +5096,18 @@ var Dropdown = (_a) => {
|
|
|
4534
5096
|
"onOpenChange"
|
|
4535
5097
|
]);
|
|
4536
5098
|
const environment = getDownshiftEnvironment(container);
|
|
4537
|
-
const [downshiftIsOpen, setDownshiftIsOpen] =
|
|
5099
|
+
const [downshiftIsOpen, setDownshiftIsOpen] = useState3(false);
|
|
4538
5100
|
const isOpen = isOpenFromProps || downshiftIsOpen;
|
|
4539
|
-
const { layerProps, triggerProps, renderLayer } =
|
|
5101
|
+
const { layerProps, triggerProps, renderLayer } = useLayer3({
|
|
4540
5102
|
isOpen,
|
|
4541
5103
|
container,
|
|
4542
5104
|
placement: menuPositions[menuPosition],
|
|
4543
|
-
ResizeObserver:
|
|
5105
|
+
ResizeObserver: ResizeObserver3,
|
|
4544
5106
|
auto: true,
|
|
4545
5107
|
snap: true,
|
|
4546
5108
|
triggerOffset
|
|
4547
5109
|
});
|
|
4548
|
-
|
|
5110
|
+
useEffect5(() => {
|
|
4549
5111
|
onOpenChange && onOpenChange(isOpen);
|
|
4550
5112
|
}, [isOpen, onOpenChange]);
|
|
4551
5113
|
const stateReducer = (state, changes) => {
|
|
@@ -4554,8 +5116,8 @@ var Dropdown = (_a) => {
|
|
|
4554
5116
|
}
|
|
4555
5117
|
return changes;
|
|
4556
5118
|
};
|
|
4557
|
-
return /* @__PURE__ */
|
|
4558
|
-
|
|
5119
|
+
return /* @__PURE__ */ React30.createElement(
|
|
5120
|
+
Downshift3,
|
|
4559
5121
|
{
|
|
4560
5122
|
stateReducer,
|
|
4561
5123
|
itemToString: (item) => item ? item.title : "",
|
|
@@ -4570,7 +5132,7 @@ var Dropdown = (_a) => {
|
|
|
4570
5132
|
getToggleButtonProps,
|
|
4571
5133
|
highlightedIndex,
|
|
4572
5134
|
isOpen: isOpen2
|
|
4573
|
-
}) => /* @__PURE__ */
|
|
5135
|
+
}) => /* @__PURE__ */ React30.createElement(
|
|
4574
5136
|
"div",
|
|
4575
5137
|
__spreadValues(__spreadValues({}, props), triggerCallback ? {
|
|
4576
5138
|
// the Downshift component appears to set the following props,
|
|
@@ -4580,18 +5142,18 @@ var Dropdown = (_a) => {
|
|
|
4580
5142
|
"aria-expanded": null,
|
|
4581
5143
|
"aria-labelledby": null
|
|
4582
5144
|
} : {}),
|
|
4583
|
-
/* @__PURE__ */
|
|
5145
|
+
/* @__PURE__ */ React30.createElement("div", __spreadValues({}, triggerProps), triggerCallback ? triggerCallback(__spreadValues(__spreadValues({}, getToggleButtonProps()), getAccessibilityProps({
|
|
4584
5146
|
ariaMenuName,
|
|
4585
5147
|
getInputProps,
|
|
4586
5148
|
isOpen: isOpen2
|
|
4587
|
-
}))) : /* @__PURE__ */
|
|
5149
|
+
}))) : /* @__PURE__ */ React30.createElement(TriggerSection, __spreadValues({}, getToggleButtonProps({})), trigger)),
|
|
4588
5150
|
isOpen2 && renderLayer(
|
|
4589
|
-
/* @__PURE__ */
|
|
5151
|
+
/* @__PURE__ */ React30.createElement(
|
|
4590
5152
|
"div",
|
|
4591
5153
|
__spreadProps(__spreadValues({}, layerProps), {
|
|
4592
5154
|
style: __spreadProps(__spreadValues({}, layerProps.style), { zIndex: menuZIndex })
|
|
4593
5155
|
}),
|
|
4594
|
-
/* @__PURE__ */
|
|
5156
|
+
/* @__PURE__ */ React30.createElement(
|
|
4595
5157
|
menu_default,
|
|
4596
5158
|
{
|
|
4597
5159
|
position: menuPosition,
|
|
@@ -4601,7 +5163,7 @@ var Dropdown = (_a) => {
|
|
|
4601
5163
|
downshiftMenuProps: getMenuProps
|
|
4602
5164
|
},
|
|
4603
5165
|
options.map((item, index) => {
|
|
4604
|
-
return /* @__PURE__ */
|
|
5166
|
+
return /* @__PURE__ */ React30.createElement(
|
|
4605
5167
|
MenuItem,
|
|
4606
5168
|
__spreadValues({
|
|
4607
5169
|
key: index,
|
|
@@ -4629,13 +5191,13 @@ var Dropdown = (_a) => {
|
|
|
4629
5191
|
var dropdown_default = Dropdown;
|
|
4630
5192
|
|
|
4631
5193
|
// src/components/form-field/form-field.tsx
|
|
4632
|
-
import
|
|
4633
|
-
import
|
|
5194
|
+
import styled27 from "@emotion/styled";
|
|
5195
|
+
import React33, { isValidElement } from "react";
|
|
4634
5196
|
|
|
4635
5197
|
// src/components/radio/radio.tsx
|
|
4636
|
-
import
|
|
4637
|
-
import
|
|
4638
|
-
var RadioLabel =
|
|
5198
|
+
import styled25 from "@emotion/styled";
|
|
5199
|
+
import React31, { forwardRef as forwardRef3 } from "react";
|
|
5200
|
+
var RadioLabel = styled25.label`
|
|
4639
5201
|
display: block;
|
|
4640
5202
|
position: relative;
|
|
4641
5203
|
|
|
@@ -4643,7 +5205,7 @@ var RadioLabel = styled24.label`
|
|
|
4643
5205
|
background-color: transparent;
|
|
4644
5206
|
}
|
|
4645
5207
|
`;
|
|
4646
|
-
var RadioInput =
|
|
5208
|
+
var RadioInput = styled25.input`
|
|
4647
5209
|
position: absolute;
|
|
4648
5210
|
opacity: 0;
|
|
4649
5211
|
|
|
@@ -4682,7 +5244,7 @@ var RadioInput = styled24.input`
|
|
|
4682
5244
|
${getFocusRing()};
|
|
4683
5245
|
}
|
|
4684
5246
|
`;
|
|
4685
|
-
var RadioBox =
|
|
5247
|
+
var RadioBox = styled25.span`
|
|
4686
5248
|
cursor: pointer;
|
|
4687
5249
|
width: ${u(2.25)};
|
|
4688
5250
|
height: ${u(2.25)};
|
|
@@ -4715,25 +5277,28 @@ var Radio = forwardRef3(
|
|
|
4715
5277
|
"onChange",
|
|
4716
5278
|
"onBlur"
|
|
4717
5279
|
]);
|
|
4718
|
-
return
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
5280
|
+
return (
|
|
5281
|
+
/* eslint-disable-next-line styled-components-a11y/label-has-associated-control */
|
|
5282
|
+
/* @__PURE__ */ React31.createElement(RadioLabel, null, /* @__PURE__ */ React31.createElement(
|
|
5283
|
+
RadioInput,
|
|
5284
|
+
__spreadValues({
|
|
5285
|
+
type: "radio",
|
|
5286
|
+
disabled: isDisabled,
|
|
5287
|
+
checked: isChecked,
|
|
5288
|
+
onFocus,
|
|
5289
|
+
onChange,
|
|
5290
|
+
onBlur,
|
|
5291
|
+
ref
|
|
5292
|
+
}, props)
|
|
5293
|
+
), /* @__PURE__ */ React31.createElement(RadioBox, { className: "RadioBox" }))
|
|
5294
|
+
);
|
|
4730
5295
|
}
|
|
4731
5296
|
);
|
|
4732
5297
|
var radio_default = Radio;
|
|
4733
5298
|
|
|
4734
5299
|
// src/components/switch/switch.tsx
|
|
4735
|
-
import
|
|
4736
|
-
import
|
|
5300
|
+
import styled26 from "@emotion/styled";
|
|
5301
|
+
import React32 from "react";
|
|
4737
5302
|
var sizes2 = {
|
|
4738
5303
|
medium: {
|
|
4739
5304
|
switchHeight: 16,
|
|
@@ -4774,11 +5339,11 @@ var getKnobTravel = (props) => {
|
|
|
4774
5339
|
var getKnobSize = (props) => {
|
|
4775
5340
|
return sizes2[props.switchSize].switchHeight - sizes2[props.switchSize].knobOffset * 2;
|
|
4776
5341
|
};
|
|
4777
|
-
var SwitchLabel =
|
|
5342
|
+
var SwitchLabel = styled26.label`
|
|
4778
5343
|
display: block;
|
|
4779
5344
|
position: relative;
|
|
4780
5345
|
`;
|
|
4781
|
-
var SwitchInput =
|
|
5346
|
+
var SwitchInput = styled26.input`
|
|
4782
5347
|
position: absolute;
|
|
4783
5348
|
opacity: 0;
|
|
4784
5349
|
cursor: pointer;
|
|
@@ -4815,7 +5380,7 @@ var SwitchInput = styled25.input`
|
|
|
4815
5380
|
pointer-events: none;
|
|
4816
5381
|
}
|
|
4817
5382
|
`;
|
|
4818
|
-
var SwitchBox =
|
|
5383
|
+
var SwitchBox = styled26.div`
|
|
4819
5384
|
width: ${(props) => sizes2[props.switchSize].switchWidth}px;
|
|
4820
5385
|
height: ${(props) => sizes2[props.switchSize].switchHeight}px;
|
|
4821
5386
|
position: relative;
|
|
@@ -4855,27 +5420,30 @@ var Switch = (_a) => {
|
|
|
4855
5420
|
"ariaLabelledby and ariaLabel serve the same purpose and therefore cannot be used at the same time. Choose the one that best suites your needs."
|
|
4856
5421
|
);
|
|
4857
5422
|
}
|
|
4858
|
-
return
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
5423
|
+
return (
|
|
5424
|
+
/* eslint-disable-next-line styled-components-a11y/label-has-associated-control */
|
|
5425
|
+
/* @__PURE__ */ React32.createElement(SwitchLabel, null, /* @__PURE__ */ React32.createElement(
|
|
5426
|
+
SwitchInput,
|
|
5427
|
+
__spreadProps(__spreadValues({}, props), {
|
|
5428
|
+
checked: isActive,
|
|
5429
|
+
disabled: isDisabled,
|
|
5430
|
+
onChange,
|
|
5431
|
+
type: "checkbox",
|
|
5432
|
+
switchSize: size,
|
|
5433
|
+
"aria-labelledby": ariaLabelledby,
|
|
5434
|
+
"aria-label": ariaLabel,
|
|
5435
|
+
"aria-checked": isActive
|
|
5436
|
+
})
|
|
5437
|
+
), /* @__PURE__ */ React32.createElement(
|
|
5438
|
+
SwitchBox,
|
|
5439
|
+
{
|
|
5440
|
+
className: "SwitchBox",
|
|
5441
|
+
isDisabled,
|
|
5442
|
+
isActive,
|
|
5443
|
+
switchSize: size
|
|
5444
|
+
}
|
|
5445
|
+
))
|
|
5446
|
+
);
|
|
4879
5447
|
};
|
|
4880
5448
|
var switch_default = Switch;
|
|
4881
5449
|
|
|
@@ -4895,15 +5463,15 @@ var directionStyles = {
|
|
|
4895
5463
|
label: { marginBottom: "var(--lns-space-xsmall)" }
|
|
4896
5464
|
}
|
|
4897
5465
|
};
|
|
4898
|
-
var FormFieldWrapper =
|
|
5466
|
+
var FormFieldWrapper = styled27.div`
|
|
4899
5467
|
${(props) => props.direction && directionStyles[props.direction].wrapper};
|
|
4900
5468
|
`;
|
|
4901
|
-
var Label =
|
|
5469
|
+
var Label = styled27.label`
|
|
4902
5470
|
display: block;
|
|
4903
5471
|
${(props) => props.direction && directionStyles[props.direction].label};
|
|
4904
5472
|
${(props) => props.isLabelClickable && "cursor: pointer"};
|
|
4905
5473
|
`;
|
|
4906
|
-
var
|
|
5474
|
+
var ErrorMessage3 = styled27.span`
|
|
4907
5475
|
color: var(--lns-color-red);
|
|
4908
5476
|
margin-top: var(--lns-space-xsmall);
|
|
4909
5477
|
display: block;
|
|
@@ -4933,12 +5501,12 @@ var FormField = (_a) => {
|
|
|
4933
5501
|
"labelFor",
|
|
4934
5502
|
"direction"
|
|
4935
5503
|
]);
|
|
4936
|
-
const isLabelClickable =
|
|
5504
|
+
const isLabelClickable = React33.Children.toArray(children).some(
|
|
4937
5505
|
(child) => isValidElement(child) && // The child might be a div, span, etc (type string) so we
|
|
4938
5506
|
// have to typeguard before we check if our child is of interactive
|
|
4939
5507
|
typeof child.type !== "string" && isInteractiveComponent(child.type)
|
|
4940
5508
|
);
|
|
4941
|
-
const labelElement = label && /* @__PURE__ */
|
|
5509
|
+
const labelElement = label && /* @__PURE__ */ React33.createElement(
|
|
4942
5510
|
Label,
|
|
4943
5511
|
{
|
|
4944
5512
|
direction,
|
|
@@ -4947,18 +5515,18 @@ var FormField = (_a) => {
|
|
|
4947
5515
|
},
|
|
4948
5516
|
label
|
|
4949
5517
|
);
|
|
4950
|
-
return /* @__PURE__ */
|
|
5518
|
+
return /* @__PURE__ */ React33.createElement(FormFieldWrapper, __spreadValues({ direction }, props), direction === "row" && /* @__PURE__ */ React33.createElement(React33.Fragment, null, children, labelElement), direction === "column" && /* @__PURE__ */ React33.createElement(React33.Fragment, null, labelElement, children), errorMessage && /* @__PURE__ */ React33.createElement(ErrorMessage3, null, errorMessage));
|
|
4951
5519
|
};
|
|
4952
5520
|
var form_field_default = FormField;
|
|
4953
5521
|
|
|
4954
5522
|
// src/components/notification-bar/notification-bar.tsx
|
|
4955
|
-
import
|
|
4956
|
-
import
|
|
5523
|
+
import styled28 from "@emotion/styled";
|
|
5524
|
+
import React37, { useEffect as useEffect7 } from "react";
|
|
4957
5525
|
|
|
4958
5526
|
// src/hooks/use-on-click-outside.js
|
|
4959
|
-
import
|
|
5527
|
+
import React34 from "react";
|
|
4960
5528
|
function useOnClickOutside(ref, handler) {
|
|
4961
|
-
|
|
5529
|
+
React34.useEffect(() => {
|
|
4962
5530
|
const listener = (event) => {
|
|
4963
5531
|
if (!ref.current || ref.current.contains(event.target)) {
|
|
4964
5532
|
return;
|
|
@@ -4975,9 +5543,9 @@ function useOnClickOutside(ref, handler) {
|
|
|
4975
5543
|
}
|
|
4976
5544
|
|
|
4977
5545
|
// src/hooks/use-focused-element.tsx
|
|
4978
|
-
import { useCallback as useCallback2, useEffect as
|
|
5546
|
+
import { useCallback as useCallback2, useEffect as useEffect6, useState as useState4 } from "react";
|
|
4979
5547
|
function useFocusedElement(ref) {
|
|
4980
|
-
const [isFocused, setIsFocused] =
|
|
5548
|
+
const [isFocused, setIsFocused] = useState4(false);
|
|
4981
5549
|
const handleFocus = useCallback2(
|
|
4982
5550
|
(e) => {
|
|
4983
5551
|
const currentRef = ref.current;
|
|
@@ -4996,7 +5564,7 @@ function useFocusedElement(ref) {
|
|
|
4996
5564
|
},
|
|
4997
5565
|
[ref]
|
|
4998
5566
|
);
|
|
4999
|
-
|
|
5567
|
+
useEffect6(() => {
|
|
5000
5568
|
document.addEventListener("focusin", handleFocus);
|
|
5001
5569
|
document.addEventListener("focusout", handleBlur);
|
|
5002
5570
|
return () => {
|
|
@@ -5030,14 +5598,14 @@ var use_push_page_down_default = usePushPageDown;
|
|
|
5030
5598
|
|
|
5031
5599
|
// src/components/icon/available-icons/info.tsx
|
|
5032
5600
|
import InformationCircleIcon from "@atlaskit/icon/core/information-circle";
|
|
5033
|
-
import * as
|
|
5601
|
+
import * as React35 from "react";
|
|
5034
5602
|
function SvgInfo() {
|
|
5035
|
-
return /* @__PURE__ */
|
|
5603
|
+
return /* @__PURE__ */ React35.createElement(InformationCircleIcon, { label: "", testId: "ads-refreshed-icon" });
|
|
5036
5604
|
}
|
|
5037
5605
|
|
|
5038
5606
|
// src/components/icon/available-icons/warning-alert.tsx
|
|
5039
|
-
import
|
|
5040
|
-
var SvgWarningAlert = (props) => /* @__PURE__ */
|
|
5607
|
+
import React36 from "react";
|
|
5608
|
+
var SvgWarningAlert = (props) => /* @__PURE__ */ React36.createElement("svg", __spreadValues({ viewBox: "0 0 24 24", fill: "none" }, props), /* @__PURE__ */ React36.createElement(
|
|
5041
5609
|
"path",
|
|
5042
5610
|
{
|
|
5043
5611
|
fill: "currentColor",
|
|
@@ -5051,31 +5619,31 @@ var SvgWarningAlert = (props) => /* @__PURE__ */ React35.createElement("svg", __
|
|
|
5051
5619
|
var severityStyles = {
|
|
5052
5620
|
info: {
|
|
5053
5621
|
bgColor: "var(--lns-color-blurple)",
|
|
5054
|
-
icon: /* @__PURE__ */
|
|
5622
|
+
icon: /* @__PURE__ */ React37.createElement(SvgInfo, null),
|
|
5055
5623
|
color: "var(--lns-color-white)",
|
|
5056
5624
|
fontFamily: "inherit"
|
|
5057
5625
|
},
|
|
5058
5626
|
warning: {
|
|
5059
5627
|
bgColor: "var(--lns-color-warning)",
|
|
5060
|
-
icon: /* @__PURE__ */
|
|
5628
|
+
icon: /* @__PURE__ */ React37.createElement(SvgWarningAlert, null),
|
|
5061
5629
|
color: "var(--lns-color-grey8)",
|
|
5062
5630
|
fontFamily: "inherit"
|
|
5063
5631
|
},
|
|
5064
5632
|
error: {
|
|
5065
5633
|
bgColor: "var(--lns-color-danger)",
|
|
5066
|
-
icon: /* @__PURE__ */
|
|
5634
|
+
icon: /* @__PURE__ */ React37.createElement(SvgAlertTriangle, null),
|
|
5067
5635
|
color: "var(--lns-color-white)",
|
|
5068
5636
|
fontFamily: "inherit"
|
|
5069
5637
|
},
|
|
5070
5638
|
internal: {
|
|
5071
|
-
icon: /* @__PURE__ */
|
|
5639
|
+
icon: /* @__PURE__ */ React37.createElement("span", { role: "img" }, "\u{1F514}"),
|
|
5072
5640
|
color: "var(--lns-color-tealLight)",
|
|
5073
5641
|
bgColor: "var(--lns-color-grey8)",
|
|
5074
5642
|
fontFamily: "var(--lns-fontFamily-code)"
|
|
5075
5643
|
}
|
|
5076
5644
|
};
|
|
5077
5645
|
var DURATION = 350;
|
|
5078
|
-
var NotificationBarWrapper =
|
|
5646
|
+
var NotificationBarWrapper = styled28.aside`
|
|
5079
5647
|
--paddingXOffset: var(--lns-space-large);
|
|
5080
5648
|
--alignItems: start;
|
|
5081
5649
|
|
|
@@ -5111,7 +5679,7 @@ var NotificationBar = ({
|
|
|
5111
5679
|
id
|
|
5112
5680
|
}) => {
|
|
5113
5681
|
var _a, _b, _c;
|
|
5114
|
-
|
|
5682
|
+
useEffect7(() => {
|
|
5115
5683
|
if (!isOpen) {
|
|
5116
5684
|
return;
|
|
5117
5685
|
}
|
|
@@ -5128,7 +5696,7 @@ var NotificationBar = ({
|
|
|
5128
5696
|
}, [isOpen, onCloseClick]);
|
|
5129
5697
|
use_push_page_down_default(isOpen);
|
|
5130
5698
|
const isInternalAlert = severity === "internal";
|
|
5131
|
-
return isOpen ? /* @__PURE__ */
|
|
5699
|
+
return isOpen ? /* @__PURE__ */ React37.createElement(NotificationBarWrapper, { isOpen, severity, id }, /* @__PURE__ */ React37.createElement(
|
|
5132
5700
|
arrange_default,
|
|
5133
5701
|
{
|
|
5134
5702
|
alignItems: { default: "start", small: "center" },
|
|
@@ -5136,21 +5704,21 @@ var NotificationBar = ({
|
|
|
5136
5704
|
autoFlow: isInternalAlert ? "column" : void 0,
|
|
5137
5705
|
columns: !isInternalAlert ? ["1fr auto"] : void 0
|
|
5138
5706
|
},
|
|
5139
|
-
/* @__PURE__ */
|
|
5707
|
+
/* @__PURE__ */ React37.createElement(
|
|
5140
5708
|
container_default,
|
|
5141
5709
|
{
|
|
5142
5710
|
paddingY: { default: "xsmall", xsmall: 0 },
|
|
5143
5711
|
paddingLeft: !isInternalAlert ? { default: 0, medium: u(3.5) } : void 0,
|
|
5144
5712
|
width: "100%"
|
|
5145
5713
|
},
|
|
5146
|
-
/* @__PURE__ */
|
|
5714
|
+
/* @__PURE__ */ React37.createElement(
|
|
5147
5715
|
arrange_default,
|
|
5148
5716
|
{
|
|
5149
5717
|
autoFlow: "column",
|
|
5150
5718
|
gap: isInternalAlert ? "medium" : "small",
|
|
5151
5719
|
justifyContent: "center"
|
|
5152
5720
|
},
|
|
5153
|
-
((_a = severityStyles[severity]) == null ? void 0 : _a.icon) ? /* @__PURE__ */
|
|
5721
|
+
((_a = severityStyles[severity]) == null ? void 0 : _a.icon) ? /* @__PURE__ */ React37.createElement(align_default, { alignment: "topLeft" }, /* @__PURE__ */ React37.createElement(
|
|
5154
5722
|
icon_default,
|
|
5155
5723
|
{
|
|
5156
5724
|
icon: severityStyles[severity].icon,
|
|
@@ -5161,13 +5729,13 @@ var NotificationBar = ({
|
|
|
5161
5729
|
children
|
|
5162
5730
|
)
|
|
5163
5731
|
)
|
|
5164
|
-
), onCloseClick && /* @__PURE__ */
|
|
5732
|
+
), onCloseClick && /* @__PURE__ */ React37.createElement(
|
|
5165
5733
|
icon_button_default,
|
|
5166
5734
|
{
|
|
5167
5735
|
iconColor: (_c = severityStyles[severity].color) != null ? _c : "var(--lns-color-white)",
|
|
5168
5736
|
tabIndex: 0,
|
|
5169
5737
|
altText: "Close",
|
|
5170
|
-
icon: /* @__PURE__ */
|
|
5738
|
+
icon: /* @__PURE__ */ React37.createElement(SvgClose, null),
|
|
5171
5739
|
onClick: onCloseClick
|
|
5172
5740
|
}
|
|
5173
5741
|
)) : null;
|
|
@@ -5176,8 +5744,8 @@ var notification_bar_default = NotificationBar;
|
|
|
5176
5744
|
|
|
5177
5745
|
// src/components/toast/toast.tsx
|
|
5178
5746
|
import { keyframes as keyframes2 } from "@emotion/react";
|
|
5179
|
-
import
|
|
5180
|
-
import
|
|
5747
|
+
import styled29 from "@emotion/styled";
|
|
5748
|
+
import React38, { useEffect as useEffect8 } from "react";
|
|
5181
5749
|
var WEBAPP = "web-app";
|
|
5182
5750
|
var CHROME_EXTENSION = "chrome-extension";
|
|
5183
5751
|
var toastDurations = { short: 3e3, long: 8e3 };
|
|
@@ -5219,7 +5787,7 @@ var getBottom = (platform) => {
|
|
|
5219
5787
|
return u(4);
|
|
5220
5788
|
}
|
|
5221
5789
|
};
|
|
5222
|
-
var ToastWrapper =
|
|
5790
|
+
var ToastWrapper = styled29.div`
|
|
5223
5791
|
animation: ${(props) => enter(props.toastDuration, props.platform)}
|
|
5224
5792
|
${(props) => props.toastDuration}ms forwards;
|
|
5225
5793
|
background-color: ${getColorValue("backgroundInverse")};
|
|
@@ -5241,7 +5809,7 @@ var ToastWrapper = styled28.div`
|
|
|
5241
5809
|
width: max-content;
|
|
5242
5810
|
z-index: ${(props) => props.zIndex};
|
|
5243
5811
|
`;
|
|
5244
|
-
var ChildrenSection3 =
|
|
5812
|
+
var ChildrenSection3 = styled29.div`
|
|
5245
5813
|
align-self: center;
|
|
5246
5814
|
`;
|
|
5247
5815
|
var Toast = ({
|
|
@@ -5253,7 +5821,7 @@ var Toast = ({
|
|
|
5253
5821
|
platform = "web-app"
|
|
5254
5822
|
}) => {
|
|
5255
5823
|
const toastDuration = toastDurations[duration2];
|
|
5256
|
-
|
|
5824
|
+
useEffect8(() => {
|
|
5257
5825
|
const timer = setTimeout(() => {
|
|
5258
5826
|
if (isOpen) {
|
|
5259
5827
|
onCloseClick();
|
|
@@ -5261,7 +5829,8 @@ var Toast = ({
|
|
|
5261
5829
|
}, toastDuration);
|
|
5262
5830
|
return () => clearTimeout(timer);
|
|
5263
5831
|
}, [isOpen]);
|
|
5264
|
-
return /* @__PURE__ */
|
|
5832
|
+
return /* @__PURE__ */ React38.createElement(React38.Fragment, null, isOpen && /* eslint-disable-next-line styled-components-a11y/click-events-have-key-events, styled-components-a11y/no-static-element-interactions */
|
|
5833
|
+
/* @__PURE__ */ React38.createElement(
|
|
5265
5834
|
ToastWrapper,
|
|
5266
5835
|
{
|
|
5267
5836
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -5270,12 +5839,12 @@ var Toast = ({
|
|
|
5270
5839
|
toastDuration,
|
|
5271
5840
|
platform
|
|
5272
5841
|
},
|
|
5273
|
-
/* @__PURE__ */
|
|
5274
|
-
onCloseClick && /* @__PURE__ */
|
|
5842
|
+
/* @__PURE__ */ React38.createElement(ChildrenSection3, { "aria-live": "polite" }, children),
|
|
5843
|
+
onCloseClick && /* @__PURE__ */ React38.createElement(
|
|
5275
5844
|
icon_button_default,
|
|
5276
5845
|
{
|
|
5277
5846
|
altText: "Close",
|
|
5278
|
-
icon: /* @__PURE__ */
|
|
5847
|
+
icon: /* @__PURE__ */ React38.createElement(SvgClose, null),
|
|
5279
5848
|
onClick: onCloseClick,
|
|
5280
5849
|
iconColor: "bodyInverse"
|
|
5281
5850
|
}
|
|
@@ -5285,10 +5854,10 @@ var Toast = ({
|
|
|
5285
5854
|
var toast_default = Toast;
|
|
5286
5855
|
|
|
5287
5856
|
// src/components/tooltip/tooltip.tsx
|
|
5288
|
-
import
|
|
5289
|
-
import
|
|
5290
|
-
import { useHover, useLayer as
|
|
5291
|
-
import
|
|
5857
|
+
import styled30 from "@emotion/styled";
|
|
5858
|
+
import React39, { useState as useState5, useRef as useRef3, useEffect as useEffect9 } from "react";
|
|
5859
|
+
import { useHover, useLayer as useLayer4, mergeRefs } from "react-laag";
|
|
5860
|
+
import ResizeObserver4 from "resize-observer-polyfill";
|
|
5292
5861
|
var placements = {
|
|
5293
5862
|
topLeft: "top-start",
|
|
5294
5863
|
topCenter: "top-center",
|
|
@@ -5306,7 +5875,7 @@ var placements = {
|
|
|
5306
5875
|
var tooltipMinHeight = 4;
|
|
5307
5876
|
var textHeight = textSizes.small.fontSize * textSizes.small.lineHeight;
|
|
5308
5877
|
var tooltipYPadding = (tooltipMinHeight - textHeight) / 2;
|
|
5309
|
-
var TooltipBoxWrapper =
|
|
5878
|
+
var TooltipBoxWrapper = styled30.div`
|
|
5310
5879
|
background-color: ${getColorValue("backgroundInverse")};
|
|
5311
5880
|
color: ${getColorValue("bodyInverse")};
|
|
5312
5881
|
${getRadius("150")};
|
|
@@ -5318,7 +5887,7 @@ var TooltipBoxWrapper = styled29.div`
|
|
|
5318
5887
|
padding: ${u(tooltipYPadding)} ${u(1.5)};
|
|
5319
5888
|
z-index: ${(props) => props.zIndex};
|
|
5320
5889
|
`;
|
|
5321
|
-
var ShortcutWrapper =
|
|
5890
|
+
var ShortcutWrapper = styled30.div`
|
|
5322
5891
|
background-color: ${getColorValue("grey7")};
|
|
5323
5892
|
border-radius: 3px;
|
|
5324
5893
|
color: ${getColorValue("grey3")};
|
|
@@ -5329,7 +5898,7 @@ var ShortcutWrapper = styled29.div`
|
|
|
5329
5898
|
`;
|
|
5330
5899
|
var ShortcutBox = ({
|
|
5331
5900
|
children
|
|
5332
|
-
}) => /* @__PURE__ */
|
|
5901
|
+
}) => /* @__PURE__ */ React39.createElement(ShortcutWrapper, null, children);
|
|
5333
5902
|
var TooltipBox = (_a) => {
|
|
5334
5903
|
var _b = _a, {
|
|
5335
5904
|
children,
|
|
@@ -5346,18 +5915,21 @@ var TooltipBox = (_a) => {
|
|
|
5346
5915
|
"layerProps",
|
|
5347
5916
|
"zIndex"
|
|
5348
5917
|
]);
|
|
5349
|
-
return
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5918
|
+
return (
|
|
5919
|
+
/* eslint-disable-next-line styled-components-a11y/no-static-element-interactions */
|
|
5920
|
+
/* @__PURE__ */ React39.createElement(
|
|
5921
|
+
TooltipBoxWrapper,
|
|
5922
|
+
__spreadValues(__spreadValues({
|
|
5923
|
+
maxWidth,
|
|
5924
|
+
onMouseEnter,
|
|
5925
|
+
onMouseLeave,
|
|
5926
|
+
zIndex
|
|
5927
|
+
}, layerProps), rest),
|
|
5928
|
+
children
|
|
5929
|
+
)
|
|
5358
5930
|
);
|
|
5359
5931
|
};
|
|
5360
|
-
var TooltipChildren =
|
|
5932
|
+
var TooltipChildren = styled30.div`
|
|
5361
5933
|
display: ${(props) => props.isInline ? "inline-block" : "block"};
|
|
5362
5934
|
${(props) => props.verticalAlign && `vertical-align: ${props.verticalAlign}`};
|
|
5363
5935
|
&:focus-visible {
|
|
@@ -5417,12 +5989,12 @@ var Tooltip = (_a) => {
|
|
|
5417
5989
|
delayEnter: getInitialDelaySpeed(delay),
|
|
5418
5990
|
delayLeave: 200
|
|
5419
5991
|
});
|
|
5420
|
-
const [isOverTooltip, setIsOverTooltip] =
|
|
5421
|
-
const [isOpen, setIsOpen] =
|
|
5422
|
-
const [enterOrSpaceKeyDown, setEnterOrSpaceKeyDown] =
|
|
5423
|
-
const focusRef =
|
|
5992
|
+
const [isOverTooltip, setIsOverTooltip] = useState5(false);
|
|
5993
|
+
const [isOpen, setIsOpen] = useState5(false);
|
|
5994
|
+
const [enterOrSpaceKeyDown, setEnterOrSpaceKeyDown] = useState5(false);
|
|
5995
|
+
const focusRef = useRef3();
|
|
5424
5996
|
const isTooltipDisabled = !content || isDisabled;
|
|
5425
|
-
|
|
5997
|
+
useEffect9(() => {
|
|
5426
5998
|
if (isTooltipDisabled) {
|
|
5427
5999
|
setIsOpen(false);
|
|
5428
6000
|
return;
|
|
@@ -5454,7 +6026,7 @@ var Tooltip = (_a) => {
|
|
|
5454
6026
|
setIsOpen(false);
|
|
5455
6027
|
setEnterOrSpaceKeyDown(false);
|
|
5456
6028
|
};
|
|
5457
|
-
|
|
6029
|
+
useEffect9(() => {
|
|
5458
6030
|
if (!isOpen) {
|
|
5459
6031
|
return;
|
|
5460
6032
|
}
|
|
@@ -5469,19 +6041,21 @@ var Tooltip = (_a) => {
|
|
|
5469
6041
|
window.removeEventListener("keydown", keyListener);
|
|
5470
6042
|
};
|
|
5471
6043
|
}, [isOpen, setIsOpen]);
|
|
5472
|
-
const { layerProps, triggerProps, renderLayer } =
|
|
6044
|
+
const { layerProps, triggerProps, renderLayer } = useLayer4({
|
|
5473
6045
|
isOpen,
|
|
5474
6046
|
placement: placements[placement],
|
|
5475
|
-
ResizeObserver:
|
|
6047
|
+
ResizeObserver: ResizeObserver4,
|
|
5476
6048
|
triggerOffset,
|
|
5477
6049
|
container,
|
|
5478
6050
|
auto: true
|
|
5479
6051
|
});
|
|
5480
|
-
return /* @__PURE__ */
|
|
6052
|
+
return /* @__PURE__ */ React39.createElement(React39.Fragment, null, /* @__PURE__ */ React39.createElement(
|
|
5481
6053
|
TooltipChildren,
|
|
5482
6054
|
__spreadProps(__spreadValues(__spreadValues({}, triggerProps), hoverProps), {
|
|
5483
|
-
onClick: () => {
|
|
5484
|
-
|
|
6055
|
+
onClick: (e) => {
|
|
6056
|
+
if (e.detail === 0) {
|
|
6057
|
+
setEnterOrSpaceKeyDown(true);
|
|
6058
|
+
}
|
|
5485
6059
|
},
|
|
5486
6060
|
onFocus: handleFocus,
|
|
5487
6061
|
onBlur: handleBlur,
|
|
@@ -5491,8 +6065,8 @@ var Tooltip = (_a) => {
|
|
|
5491
6065
|
ref: mergeRefs(triggerProps.ref, focusRef)
|
|
5492
6066
|
}),
|
|
5493
6067
|
children
|
|
5494
|
-
), ariaLive && /* @__PURE__ */
|
|
5495
|
-
/* @__PURE__ */
|
|
6068
|
+
), ariaLive && /* @__PURE__ */ React39.createElement("span", { className: "srOnly", "aria-live": "polite" }, isOpen && content), isOpen && renderLayer(
|
|
6069
|
+
/* @__PURE__ */ React39.createElement("div", __spreadProps(__spreadValues({}, layerProps), { style: __spreadProps(__spreadValues({}, layerProps.style), { zIndex }) }), /* @__PURE__ */ React39.createElement(
|
|
5496
6070
|
TooltipBox,
|
|
5497
6071
|
__spreadValues({
|
|
5498
6072
|
maxWidth,
|
|
@@ -5501,7 +6075,7 @@ var Tooltip = (_a) => {
|
|
|
5501
6075
|
role: "tooltip",
|
|
5502
6076
|
id: tooltipId
|
|
5503
6077
|
}, rest),
|
|
5504
|
-
/* @__PURE__ */
|
|
6078
|
+
/* @__PURE__ */ React39.createElement(arrange_default, { gap: "small" }, /* @__PURE__ */ React39.createElement(text_default, { size: "small", fontWeight: "bold" }, content), shortcut && /* @__PURE__ */ React39.createElement(arrange_default, { gap: "xsmall" }, shortcut.map((char, index) => /* @__PURE__ */ React39.createElement(ShortcutBox, { key: index }, char))))
|
|
5505
6079
|
))
|
|
5506
6080
|
));
|
|
5507
6081
|
};
|
|
@@ -5510,8 +6084,8 @@ var tooltip_default = Tooltip;
|
|
|
5510
6084
|
|
|
5511
6085
|
// src/components/skeleton/skeleton.tsx
|
|
5512
6086
|
import { css as css4 } from "@emotion/react";
|
|
5513
|
-
import
|
|
5514
|
-
import
|
|
6087
|
+
import styled31 from "@emotion/styled";
|
|
6088
|
+
import React40 from "react";
|
|
5515
6089
|
var SkeletonAnimation = css4`
|
|
5516
6090
|
@media (prefers-reduced-motion: no-preference) {
|
|
5517
6091
|
animation: shimmer 2s infinite linear;
|
|
@@ -5532,7 +6106,7 @@ var SkeletonAnimation = css4`
|
|
|
5532
6106
|
}
|
|
5533
6107
|
}
|
|
5534
6108
|
`;
|
|
5535
|
-
var SkeletonTextWrapper =
|
|
6109
|
+
var SkeletonTextWrapper = styled31.div`
|
|
5536
6110
|
${(props) => getTextSize(props.size)};
|
|
5537
6111
|
color: transparent;
|
|
5538
6112
|
position: relative;
|
|
@@ -5558,7 +6132,7 @@ var SkeletonTextWrapper = styled30.div`
|
|
|
5558
6132
|
}
|
|
5559
6133
|
`};
|
|
5560
6134
|
`;
|
|
5561
|
-
var SkeletonContainerWrapper =
|
|
6135
|
+
var SkeletonContainerWrapper = styled31.div`
|
|
5562
6136
|
background-color: var(--lns-color-disabledBackground);
|
|
5563
6137
|
${(props) => getRadius(props.radius)};
|
|
5564
6138
|
height: ${(props) => props.height};
|
|
@@ -5570,7 +6144,7 @@ var SkeletonText = ({
|
|
|
5570
6144
|
lines = 1,
|
|
5571
6145
|
animated = false
|
|
5572
6146
|
}) => {
|
|
5573
|
-
return /* @__PURE__ */
|
|
6147
|
+
return /* @__PURE__ */ React40.createElement(React40.Fragment, null, [...Array(lines)].map((_, i) => /* @__PURE__ */ React40.createElement(
|
|
5574
6148
|
SkeletonTextWrapper,
|
|
5575
6149
|
{
|
|
5576
6150
|
key: i,
|
|
@@ -5587,7 +6161,7 @@ var SkeletonContainer = ({
|
|
|
5587
6161
|
radius = "full",
|
|
5588
6162
|
width = "40px"
|
|
5589
6163
|
}) => {
|
|
5590
|
-
return /* @__PURE__ */
|
|
6164
|
+
return /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(
|
|
5591
6165
|
SkeletonContainerWrapper,
|
|
5592
6166
|
{
|
|
5593
6167
|
animated,
|
|
@@ -5599,10 +6173,10 @@ var SkeletonContainer = ({
|
|
|
5599
6173
|
};
|
|
5600
6174
|
|
|
5601
6175
|
// src/components/logo/logo.tsx
|
|
5602
|
-
import
|
|
5603
|
-
import
|
|
6176
|
+
import styled32 from "@emotion/styled";
|
|
6177
|
+
import React41 from "react";
|
|
5604
6178
|
var LoomAiGradientDef = (customId) => {
|
|
5605
|
-
return /* @__PURE__ */
|
|
6179
|
+
return /* @__PURE__ */ React41.createElement("defs", null, /* @__PURE__ */ React41.createElement(
|
|
5606
6180
|
"radialGradient",
|
|
5607
6181
|
{
|
|
5608
6182
|
id: `ai-logo-${customId}-gradient-1`,
|
|
@@ -5612,12 +6186,12 @@ var LoomAiGradientDef = (customId) => {
|
|
|
5612
6186
|
fx: "0%",
|
|
5613
6187
|
fy: "0%"
|
|
5614
6188
|
},
|
|
5615
|
-
/* @__PURE__ */
|
|
5616
|
-
/* @__PURE__ */
|
|
5617
|
-
/* @__PURE__ */
|
|
5618
|
-
/* @__PURE__ */
|
|
5619
|
-
/* @__PURE__ */
|
|
5620
|
-
), /* @__PURE__ */
|
|
6189
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "30%", stopColor: "#97ACFD" }),
|
|
6190
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "33%", stopColor: "#B3B2F4" }),
|
|
6191
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "43%", stopColor: "#DEB0E0" }),
|
|
6192
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "50%", stopColor: "#DFC6E5" }),
|
|
6193
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "72%", stopColor: "#6663F6" })
|
|
6194
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5621
6195
|
"radialGradient",
|
|
5622
6196
|
{
|
|
5623
6197
|
id: `ai-logo-${customId}-gradient-2`,
|
|
@@ -5625,10 +6199,10 @@ var LoomAiGradientDef = (customId) => {
|
|
|
5625
6199
|
fx: "40%",
|
|
5626
6200
|
fy: "72%"
|
|
5627
6201
|
},
|
|
5628
|
-
/* @__PURE__ */
|
|
5629
|
-
/* @__PURE__ */
|
|
5630
|
-
/* @__PURE__ */
|
|
5631
|
-
), /* @__PURE__ */
|
|
6202
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "20%", stopColor: "#615CF500" }),
|
|
6203
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "32%", stopColor: "#615CF550" }),
|
|
6204
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "48%", stopColor: "#6663F6" })
|
|
6205
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5632
6206
|
"radialGradient",
|
|
5633
6207
|
{
|
|
5634
6208
|
id: `ai-logo-${customId}-gradient-3`,
|
|
@@ -5636,32 +6210,32 @@ var LoomAiGradientDef = (customId) => {
|
|
|
5636
6210
|
fx: "0%",
|
|
5637
6211
|
fy: "100%"
|
|
5638
6212
|
},
|
|
5639
|
-
/* @__PURE__ */
|
|
5640
|
-
/* @__PURE__ */
|
|
5641
|
-
/* @__PURE__ */
|
|
6213
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "25%", stopColor: "#6663F6" }),
|
|
6214
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "38%", stopColor: "#6E68F450" }),
|
|
6215
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "45%", stopColor: "#6E68F400" })
|
|
5642
6216
|
));
|
|
5643
6217
|
};
|
|
5644
6218
|
var 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";
|
|
5645
6219
|
var SymbolLogoSvg = (_a) => {
|
|
5646
|
-
var _b = _a, { brand, symbolColor, customId
|
|
6220
|
+
var _b = _a, { brand, symbolColor, customId } = _b, props = __objRest(_b, ["brand", "symbolColor", "customId"]);
|
|
5647
6221
|
switch (brand) {
|
|
5648
6222
|
case "ai":
|
|
5649
|
-
return /* @__PURE__ */
|
|
6223
|
+
return /* @__PURE__ */ React41.createElement("svg", __spreadValues({ "aria-label": "Loom AI", viewBox: "0 0 30 31", fill: "none" }, props), /* @__PURE__ */ React41.createElement("title", null, "Loom AI"), !symbolColor ? /* @__PURE__ */ React41.createElement(React41.Fragment, null, LoomAiGradientDef(customId), [...Array(3)].map((_, i) => /* @__PURE__ */ React41.createElement(
|
|
5650
6224
|
"path",
|
|
5651
6225
|
{
|
|
5652
6226
|
key: i,
|
|
5653
6227
|
d: symbolLogoPath,
|
|
5654
6228
|
fill: `url(#ai-logo-${customId}-gradient-${i + 1}`
|
|
5655
6229
|
}
|
|
5656
|
-
))) : /* @__PURE__ */
|
|
6230
|
+
))) : /* @__PURE__ */ React41.createElement("path", { d: symbolLogoPath, fill: getColorValue(symbolColor) }));
|
|
5657
6231
|
case "apptile":
|
|
5658
|
-
return /* @__PURE__ */
|
|
6232
|
+
return /* @__PURE__ */ React41.createElement("svg", __spreadValues({ "aria-label": "Loom", viewBox: "0 0 40 40", fill: "none" }, props), /* @__PURE__ */ React41.createElement("title", null, "Loom"), /* @__PURE__ */ React41.createElement(
|
|
5659
6233
|
"path",
|
|
5660
6234
|
{
|
|
5661
6235
|
d: "M0 12C0 5.37258 5.37258 0 12 0H28C34.6274 0 40 5.37258 40 12V28C40 34.6274 34.6274 40 28 40H12C5.37258 40 0 34.6274 0 28V12Z",
|
|
5662
6236
|
fill: symbolColor ? getColorValue(symbolColor) : getColorValue("blurple")
|
|
5663
6237
|
}
|
|
5664
|
-
), /* @__PURE__ */
|
|
6238
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5665
6239
|
"path",
|
|
5666
6240
|
{
|
|
5667
6241
|
d: "M32.3962 18.6213H25.1467L31.4251 14.9965L30.0463 12.6077L23.768 16.2325L27.392 9.95464L25.0032 8.57506L21.3792 14.8529V7.604H18.6215V14.8536L14.9961 8.57506L12.6081 9.95395L16.2327 16.2318L9.95437 12.6077L8.57552 14.9958L14.8539 18.6206H7.60449V21.3784H14.8532L8.57552 25.0032L9.95437 27.392L16.2321 23.7679L12.6074 30.0457L14.9961 31.4246L18.6208 25.1461V32.3957H21.3785V25.1468L25.0025 31.4246L27.3912 30.0457L23.7665 23.7672L30.0449 27.392L31.4238 25.0032L25.1461 21.3791H32.3947V18.6213H32.3962ZM20.0003 23.7505C17.921 23.7505 16.2355 22.0651 16.2355 19.9856C16.2355 17.9062 17.921 16.2207 20.0003 16.2207C22.0797 16.2207 23.7651 17.9062 23.7651 19.9856C23.7651 22.0651 22.0797 23.7505 20.0003 23.7505Z",
|
|
@@ -5669,7 +6243,7 @@ var SymbolLogoSvg = (_a) => {
|
|
|
5669
6243
|
}
|
|
5670
6244
|
));
|
|
5671
6245
|
default:
|
|
5672
|
-
return /* @__PURE__ */
|
|
6246
|
+
return /* @__PURE__ */ React41.createElement("svg", __spreadValues({ "aria-label": "Loom", viewBox: "0 0 31 30", fill: "none" }, props), /* @__PURE__ */ React41.createElement("title", null, "Loom"), /* @__PURE__ */ React41.createElement(
|
|
5673
6247
|
"path",
|
|
5674
6248
|
{
|
|
5675
6249
|
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",
|
|
@@ -5679,12 +6253,35 @@ var SymbolLogoSvg = (_a) => {
|
|
|
5679
6253
|
}
|
|
5680
6254
|
};
|
|
5681
6255
|
var WordmarkLogoSvg = (_a) => {
|
|
5682
|
-
var _b = _a, { brand, wordmarkColor
|
|
6256
|
+
var _b = _a, { brand, wordmarkColor } = _b, props = __objRest(_b, ["brand", "wordmarkColor"]);
|
|
5683
6257
|
switch (brand) {
|
|
5684
6258
|
case "ai":
|
|
5685
|
-
return /* @__PURE__ */
|
|
6259
|
+
return /* @__PURE__ */ React41.createElement(
|
|
6260
|
+
"svg",
|
|
6261
|
+
__spreadValues({
|
|
6262
|
+
"aria-label": "Loom AI",
|
|
6263
|
+
viewBox: "0 0 94 23",
|
|
6264
|
+
fill: wordmarkColor
|
|
6265
|
+
}, props),
|
|
6266
|
+
/* @__PURE__ */ React41.createElement("title", null, "Loom AI"),
|
|
6267
|
+
/* @__PURE__ */ React41.createElement("path", { d: "M4.12637 22.4624H0V0H4.12637V22.4624Z" }),
|
|
6268
|
+
/* @__PURE__ */ React41.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" }),
|
|
6269
|
+
/* @__PURE__ */ React41.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" }),
|
|
6270
|
+
/* @__PURE__ */ React41.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" }),
|
|
6271
|
+
/* @__PURE__ */ React41.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" }),
|
|
6272
|
+
/* @__PURE__ */ React41.createElement("path", { d: "M94 22.4624H89.6565V0.46538H94V22.4624Z" })
|
|
6273
|
+
);
|
|
5686
6274
|
default:
|
|
5687
|
-
return /* @__PURE__ */
|
|
6275
|
+
return /* @__PURE__ */ React41.createElement(
|
|
6276
|
+
"svg",
|
|
6277
|
+
__spreadValues({
|
|
6278
|
+
"aria-label": "Loom",
|
|
6279
|
+
viewBox: "0 0 62 23",
|
|
6280
|
+
fill: wordmarkColor
|
|
6281
|
+
}, props),
|
|
6282
|
+
/* @__PURE__ */ React41.createElement("title", null, "Loom"),
|
|
6283
|
+
/* @__PURE__ */ React41.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" })
|
|
6284
|
+
);
|
|
5688
6285
|
}
|
|
5689
6286
|
};
|
|
5690
6287
|
var 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";
|
|
@@ -5693,47 +6290,45 @@ var CombinedLogoSvg = (_a) => {
|
|
|
5693
6290
|
brand,
|
|
5694
6291
|
wordmarkColor,
|
|
5695
6292
|
symbolColor,
|
|
5696
|
-
customId
|
|
5697
|
-
title
|
|
6293
|
+
customId
|
|
5698
6294
|
} = _b, props = __objRest(_b, [
|
|
5699
6295
|
"brand",
|
|
5700
6296
|
"wordmarkColor",
|
|
5701
6297
|
"symbolColor",
|
|
5702
|
-
"customId"
|
|
5703
|
-
"title"
|
|
6298
|
+
"customId"
|
|
5704
6299
|
]);
|
|
5705
6300
|
switch (brand) {
|
|
5706
6301
|
case "ai":
|
|
5707
|
-
return /* @__PURE__ */
|
|
6302
|
+
return /* @__PURE__ */ React41.createElement("svg", __spreadValues({ "aria-label": "Loom AI", viewBox: "0 0 100 30", fill: "none" }, props), /* @__PURE__ */ React41.createElement("title", null, "Loom AI"), !symbolColor ? /* @__PURE__ */ React41.createElement(React41.Fragment, null, LoomAiGradientDef(customId), [...Array(3)].map((_, i) => /* @__PURE__ */ React41.createElement(
|
|
5708
6303
|
"path",
|
|
5709
6304
|
{
|
|
5710
6305
|
key: i,
|
|
5711
6306
|
d: combinedLogoPath,
|
|
5712
6307
|
fill: `url(#ai-logo-${customId}-gradient-${i + 1}`
|
|
5713
6308
|
}
|
|
5714
|
-
))) : /* @__PURE__ */
|
|
6309
|
+
))) : /* @__PURE__ */ React41.createElement("path", { d: combinedLogoPath, fill: getColorValue(symbolColor) }), /* @__PURE__ */ React41.createElement("g", { fill: wordmarkColor }, /* @__PURE__ */ React41.createElement("path", { d: "M4.1997 29.5909H0.570312V9.83386H4.1997V29.5909Z" }), /* @__PURE__ */ React41.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" }), /* @__PURE__ */ React41.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" }), /* @__PURE__ */ React41.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" }), /* @__PURE__ */ React41.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" }), /* @__PURE__ */ React41.createElement("path", { d: "M83.249 29.5909H79.4285V10.2432H83.249V29.5909Z" })));
|
|
5715
6310
|
case "apptile":
|
|
5716
|
-
return /* @__PURE__ */
|
|
6311
|
+
return /* @__PURE__ */ React41.createElement("svg", __spreadValues({ "aria-label": "Loom", viewBox: "0 0 103 40", fill: "none" }, props), /* @__PURE__ */ React41.createElement("title", null, "Loom"), /* @__PURE__ */ React41.createElement(
|
|
5717
6312
|
"path",
|
|
5718
6313
|
{
|
|
5719
6314
|
d: "M0 12C0 5.37258 5.37258 0 12 0H28C34.6274 0 40 5.37258 40 12V28C40 34.6274 34.6274 40 28 40H12C5.37258 40 0 34.6274 0 28V12Z",
|
|
5720
6315
|
fill: symbolColor ? getColorValue(symbolColor) : getColorValue("blurple")
|
|
5721
6316
|
}
|
|
5722
|
-
), /* @__PURE__ */
|
|
6317
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5723
6318
|
"path",
|
|
5724
6319
|
{
|
|
5725
6320
|
d: "M32.3962 18.6213H25.1467L31.4251 14.9965L30.0463 12.6077L23.768 16.2325L27.392 9.95464L25.0032 8.57506L21.3792 14.8529V7.604H18.6215V14.8536L14.9961 8.57506L12.6081 9.95395L16.2327 16.2318L9.95437 12.6077L8.57552 14.9958L14.8539 18.6206H7.60449V21.3784H14.8532L8.57552 25.0032L9.95437 27.392L16.2321 23.7679L12.6074 30.0457L14.9961 31.4246L18.6208 25.1461V32.3957H21.3785V25.1468L25.0025 31.4246L27.3912 30.0457L23.7665 23.7672L30.0449 27.392L31.4238 25.0032L25.1461 21.3791H32.3947V18.6213H32.3962ZM20.0003 23.7505C17.921 23.7505 16.2355 22.0651 16.2355 19.9856C16.2355 17.9062 17.921 16.2207 20.0003 16.2207C22.0797 16.2207 23.7651 17.9062 23.7651 19.9856C23.7651 22.0651 22.0797 23.7505 20.0003 23.7505Z",
|
|
5726
6321
|
fill: "white"
|
|
5727
6322
|
}
|
|
5728
|
-
), /* @__PURE__ */
|
|
6323
|
+
), /* @__PURE__ */ React41.createElement("g", { fill: wordmarkColor }, /* @__PURE__ */ React41.createElement("path", { d: "M47.6001 29.5076V10H51.1816V29.5076H47.6001Z" }), /* @__PURE__ */ React41.createElement("path", { d: "M81.9516 16.2509H85.3718V17.8682C86.0987 16.575 87.7961 15.8739 89.2499 15.8739C91.0549 15.8739 92.5086 16.6556 93.1818 18.0832C94.2314 16.4659 95.633 15.8739 97.3834 15.8739C99.8338 15.8739 102.177 17.356 102.177 20.9122V29.5076H98.7027V21.6402C98.7027 20.2119 98.0019 19.1345 96.3591 19.1345C94.8238 19.1345 93.9079 20.3202 93.9079 21.7485V29.5084H90.3541V21.6402C90.3541 20.2119 89.6272 19.1345 88.0104 19.1345C86.4483 19.1345 85.5323 20.2933 85.5323 21.7485V29.5084H81.9516V16.2509Z" }), /* @__PURE__ */ React41.createElement("path", { d: "M59.2755 29.8916C55.2407 29.8916 52.3189 26.899 52.3189 22.8795C52.3189 18.9241 55.2312 15.8603 59.2755 15.8603C63.3394 15.8603 66.232 18.9526 66.232 22.8795C66.232 26.8697 63.3086 29.8916 59.2755 29.8916ZM59.2755 19.1051C57.1944 19.1051 55.5018 20.7983 55.5018 22.8803C55.5018 24.9624 57.1944 26.6555 59.2755 26.6555C61.3565 26.6555 63.0484 24.9624 63.0484 22.8803C63.0484 20.7983 61.3565 19.1051 59.2755 19.1051Z" }), /* @__PURE__ */ React41.createElement("path", { d: "M73.8823 29.8916C69.8476 29.8916 66.9258 26.899 66.9258 22.8795C66.9258 18.9241 69.8381 15.8603 73.8823 15.8603C77.9463 15.8603 80.8389 18.9526 80.8389 22.8795C80.8389 26.8697 77.9139 29.8916 73.8823 29.8916ZM73.8823 19.0601C71.7776 19.0601 70.0652 20.7738 70.0652 22.8788C70.0652 24.9837 71.7776 26.6974 73.8823 26.6974C75.9871 26.6974 77.6995 24.9837 77.6995 22.8788C77.6988 20.7738 75.9863 19.0601 73.8823 19.0601Z" })));
|
|
5729
6324
|
default:
|
|
5730
|
-
return /* @__PURE__ */
|
|
6325
|
+
return /* @__PURE__ */ React41.createElement("svg", __spreadValues({ "aria-label": "Loom", viewBox: "0 0 100 30", fill: "none" }, props), /* @__PURE__ */ React41.createElement("title", null, "Loom"), /* @__PURE__ */ React41.createElement(
|
|
5731
6326
|
"path",
|
|
5732
6327
|
{
|
|
5733
6328
|
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",
|
|
5734
6329
|
fill: symbolColor ? getColorValue(symbolColor) : getColorValue("primary")
|
|
5735
6330
|
}
|
|
5736
|
-
), /* @__PURE__ */
|
|
6331
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5737
6332
|
"path",
|
|
5738
6333
|
{
|
|
5739
6334
|
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",
|
|
@@ -5742,7 +6337,7 @@ var CombinedLogoSvg = (_a) => {
|
|
|
5742
6337
|
));
|
|
5743
6338
|
}
|
|
5744
6339
|
};
|
|
5745
|
-
var LogoWrapper =
|
|
6340
|
+
var LogoWrapper = styled32.span`
|
|
5746
6341
|
display: block;
|
|
5747
6342
|
${(props) => props.maxWidth && getSize("max-width", props.maxWidth)};
|
|
5748
6343
|
|
|
@@ -5760,51 +6355,46 @@ var Logo = (_a) => {
|
|
|
5760
6355
|
symbolColor,
|
|
5761
6356
|
wordmarkColor = "body",
|
|
5762
6357
|
brand = "loom",
|
|
5763
|
-
customId = ""
|
|
5764
|
-
title = ""
|
|
6358
|
+
customId = ""
|
|
5765
6359
|
} = _b, props = __objRest(_b, [
|
|
5766
6360
|
"variant",
|
|
5767
6361
|
"maxWidth",
|
|
5768
6362
|
"symbolColor",
|
|
5769
6363
|
"wordmarkColor",
|
|
5770
6364
|
"brand",
|
|
5771
|
-
"customId"
|
|
5772
|
-
"title"
|
|
6365
|
+
"customId"
|
|
5773
6366
|
]);
|
|
5774
|
-
return /* @__PURE__ */
|
|
6367
|
+
return /* @__PURE__ */ React41.createElement(LogoWrapper, __spreadValues({ variant, maxWidth }, props), variant === "combined" && /* @__PURE__ */ React41.createElement(
|
|
5775
6368
|
CombinedLogoSvg,
|
|
5776
6369
|
{
|
|
5777
6370
|
brand,
|
|
5778
6371
|
symbolColor,
|
|
5779
6372
|
wordmarkColor: getColorValue(wordmarkColor),
|
|
5780
6373
|
customId,
|
|
5781
|
-
className: "lns-logoSvg"
|
|
5782
|
-
title
|
|
6374
|
+
className: "lns-logoSvg"
|
|
5783
6375
|
}
|
|
5784
|
-
), variant === "symbol" && /* @__PURE__ */
|
|
6376
|
+
), variant === "symbol" && /* @__PURE__ */ React41.createElement(
|
|
5785
6377
|
SymbolLogoSvg,
|
|
5786
6378
|
{
|
|
5787
6379
|
brand,
|
|
5788
6380
|
symbolColor,
|
|
5789
6381
|
customId,
|
|
5790
|
-
className: "lns-logoSvg"
|
|
5791
|
-
title
|
|
6382
|
+
className: "lns-logoSvg"
|
|
5792
6383
|
}
|
|
5793
|
-
), variant === "wordmark" && /* @__PURE__ */
|
|
6384
|
+
), variant === "wordmark" && /* @__PURE__ */ React41.createElement(
|
|
5794
6385
|
WordmarkLogoSvg,
|
|
5795
6386
|
{
|
|
5796
6387
|
brand,
|
|
5797
6388
|
wordmarkColor: getColorValue(wordmarkColor),
|
|
5798
|
-
className: "lns-logoSvg"
|
|
5799
|
-
title
|
|
6389
|
+
className: "lns-logoSvg"
|
|
5800
6390
|
}
|
|
5801
6391
|
));
|
|
5802
6392
|
};
|
|
5803
6393
|
var logo_default = Logo;
|
|
5804
6394
|
|
|
5805
6395
|
// src/components/logo-loader/logo-loader.tsx
|
|
5806
|
-
import
|
|
5807
|
-
import
|
|
6396
|
+
import styled33 from "@emotion/styled";
|
|
6397
|
+
import React42 from "react";
|
|
5808
6398
|
|
|
5809
6399
|
// src/constants/routes.ts
|
|
5810
6400
|
var LENS_CDN = "https://cdn.loom.com/assets/lens";
|
|
@@ -5814,7 +6404,7 @@ var sizeToPx = {
|
|
|
5814
6404
|
small: "40px",
|
|
5815
6405
|
medium: "80px"
|
|
5816
6406
|
};
|
|
5817
|
-
var LogoLoaderWrapper =
|
|
6407
|
+
var LogoLoaderWrapper = styled33.span`
|
|
5818
6408
|
animation: ${(props) => props.animation};
|
|
5819
6409
|
background-image: url(${LENS_CDN}/${(props) => props.brand}-loader.svg);
|
|
5820
6410
|
background-size: cover;
|
|
@@ -5834,14 +6424,14 @@ var LogoLoader = ({
|
|
|
5834
6424
|
brand = "loom",
|
|
5835
6425
|
size = "medium"
|
|
5836
6426
|
}) => {
|
|
5837
|
-
return /* @__PURE__ */
|
|
6427
|
+
return /* @__PURE__ */ React42.createElement(LogoLoaderWrapper, { animation, brand, size });
|
|
5838
6428
|
};
|
|
5839
6429
|
var logo_loader_default = LogoLoader;
|
|
5840
6430
|
|
|
5841
6431
|
// src/components/list/list.tsx
|
|
5842
6432
|
import { css as css5 } from "@emotion/react";
|
|
5843
|
-
import
|
|
5844
|
-
import
|
|
6433
|
+
import styled34 from "@emotion/styled";
|
|
6434
|
+
import React43 from "react";
|
|
5845
6435
|
var ssrComment = `/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */`;
|
|
5846
6436
|
var variantStyles2 = {
|
|
5847
6437
|
border: css5`
|
|
@@ -5867,7 +6457,7 @@ var variantStyles2 = {
|
|
|
5867
6457
|
`,
|
|
5868
6458
|
clear: css5``
|
|
5869
6459
|
};
|
|
5870
|
-
var ListWrapper =
|
|
6460
|
+
var ListWrapper = styled34.div`
|
|
5871
6461
|
.ListRowWrapper {
|
|
5872
6462
|
grid-template-columns: ${(props) => props.columns && props.columns};
|
|
5873
6463
|
${(props) => getSize("gap", props.gap)};
|
|
@@ -5875,7 +6465,7 @@ var ListWrapper = styled33.div`
|
|
|
5875
6465
|
|
|
5876
6466
|
${(props) => variantStyles2[props.variant]};
|
|
5877
6467
|
`;
|
|
5878
|
-
var ListRowWrapper =
|
|
6468
|
+
var ListRowWrapper = styled34.div`
|
|
5879
6469
|
display: grid;
|
|
5880
6470
|
align-items: center;
|
|
5881
6471
|
text-decoration: none;
|
|
@@ -5932,16 +6522,19 @@ var ListRow = (_a) => {
|
|
|
5932
6522
|
"href"
|
|
5933
6523
|
]);
|
|
5934
6524
|
const classNameFromProp = className ? ` ${className}` : ``;
|
|
5935
|
-
return
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
6525
|
+
return (
|
|
6526
|
+
/* eslint-disable styled-components-a11y/no-static-element-interactions, styled-components-a11y/click-events-have-key-events */
|
|
6527
|
+
/* @__PURE__ */ React43.createElement(
|
|
6528
|
+
ListRowWrapper,
|
|
6529
|
+
__spreadValues({
|
|
6530
|
+
className: `ListRowWrapper${classNameFromProp}`,
|
|
6531
|
+
as: htmlTag,
|
|
6532
|
+
backgroundColor,
|
|
6533
|
+
onClick,
|
|
6534
|
+
href
|
|
6535
|
+
}, props),
|
|
6536
|
+
children
|
|
6537
|
+
)
|
|
5945
6538
|
);
|
|
5946
6539
|
};
|
|
5947
6540
|
var formatColumns = (columns) => columns.map((columnValue) => getSizeValue(columnValue)).join(" ");
|
|
@@ -5957,7 +6550,7 @@ var List = (_a) => {
|
|
|
5957
6550
|
"gap",
|
|
5958
6551
|
"variant"
|
|
5959
6552
|
]);
|
|
5960
|
-
return /* @__PURE__ */
|
|
6553
|
+
return /* @__PURE__ */ React43.createElement(
|
|
5961
6554
|
ListWrapper,
|
|
5962
6555
|
__spreadValues({
|
|
5963
6556
|
columns: columns && formatColumns(columns),
|
|
@@ -5970,15 +6563,15 @@ var List = (_a) => {
|
|
|
5970
6563
|
var list_default = List;
|
|
5971
6564
|
|
|
5972
6565
|
// src/components/tabs/tabs.tsx
|
|
5973
|
-
import
|
|
5974
|
-
import
|
|
5975
|
-
var TabsContext =
|
|
6566
|
+
import styled35 from "@emotion/styled";
|
|
6567
|
+
import React44 from "react";
|
|
6568
|
+
var TabsContext = React44.createContext({});
|
|
5976
6569
|
var negativeScrollOffset = (scrollOffset) => `calc(-1 * ${getSizeValue(scrollOffset)})`;
|
|
5977
|
-
var Wrapper =
|
|
6570
|
+
var Wrapper = styled35.div`
|
|
5978
6571
|
${(props) => props.scrollOffset && `margin: 0 ${negativeScrollOffset(props.scrollOffset)};
|
|
5979
6572
|
`};
|
|
5980
6573
|
`;
|
|
5981
|
-
var TabsNav =
|
|
6574
|
+
var TabsNav = styled35.nav`
|
|
5982
6575
|
--activeIndicatorHeight: 3px;
|
|
5983
6576
|
|
|
5984
6577
|
display: flex;
|
|
@@ -6019,7 +6612,7 @@ var TabsNav = styled34.nav`
|
|
|
6019
6612
|
${(props) => props.scrollOffset && getSize("width", props.scrollOffset)};
|
|
6020
6613
|
}
|
|
6021
6614
|
`;
|
|
6022
|
-
var TabsNavPilled =
|
|
6615
|
+
var TabsNavPilled = styled35.nav`
|
|
6023
6616
|
${getRadius("200")};
|
|
6024
6617
|
background-color: var(--lns-color-backgroundSecondary);
|
|
6025
6618
|
|
|
@@ -6057,7 +6650,7 @@ var TabsNavPilled = styled34.nav`
|
|
|
6057
6650
|
${(props) => props.scrollOffset && getSize("width", props.scrollOffset)};
|
|
6058
6651
|
}
|
|
6059
6652
|
`;
|
|
6060
|
-
var TabWrapper =
|
|
6653
|
+
var TabWrapper = styled35.button`
|
|
6061
6654
|
appearance: none;
|
|
6062
6655
|
font: inherit;
|
|
6063
6656
|
background: transparent;
|
|
@@ -6104,7 +6697,7 @@ var TabWrapper = styled34.button`
|
|
|
6104
6697
|
${(props) => props.isActive && `background-color: ${getColorValue("primary")}`};
|
|
6105
6698
|
}
|
|
6106
6699
|
`;
|
|
6107
|
-
var TabWrapperPilled =
|
|
6700
|
+
var TabWrapperPilled = styled35.button`
|
|
6108
6701
|
padding: ${u(1)} 0;
|
|
6109
6702
|
|
|
6110
6703
|
appearance: none;
|
|
@@ -6155,20 +6748,20 @@ var Tab = (_a) => {
|
|
|
6155
6748
|
"htmlTag",
|
|
6156
6749
|
"icon"
|
|
6157
6750
|
]);
|
|
6158
|
-
const { isPilledDesign } =
|
|
6751
|
+
const { isPilledDesign } = React44.useContext(TabsContext);
|
|
6159
6752
|
if (isPilledDesign) {
|
|
6160
|
-
return /* @__PURE__ */
|
|
6753
|
+
return /* @__PURE__ */ React44.createElement("li", null, /* @__PURE__ */ React44.createElement(
|
|
6161
6754
|
TabWrapperPilled,
|
|
6162
6755
|
__spreadValues({
|
|
6163
6756
|
as: htmlTag,
|
|
6164
6757
|
isActive,
|
|
6165
6758
|
icon
|
|
6166
6759
|
}, props),
|
|
6167
|
-
icon && /* @__PURE__ */
|
|
6760
|
+
icon && /* @__PURE__ */ React44.createElement(container_default, { htmlTag: "span", paddingRight: children && "small" }, /* @__PURE__ */ React44.createElement(icon_default, { icon, color: "currentColor" })),
|
|
6168
6761
|
children
|
|
6169
6762
|
));
|
|
6170
6763
|
}
|
|
6171
|
-
return /* @__PURE__ */
|
|
6764
|
+
return /* @__PURE__ */ React44.createElement("li", null, /* @__PURE__ */ React44.createElement(TabWrapper, __spreadValues({ as: htmlTag, isActive, icon }, props), icon && /* @__PURE__ */ React44.createElement(container_default, { htmlTag: "span", paddingRight: children && "small" }, /* @__PURE__ */ React44.createElement(icon_default, { icon, color: "currentColor" })), children));
|
|
6172
6765
|
};
|
|
6173
6766
|
var Tabs = (_a) => {
|
|
6174
6767
|
var _b = _a, {
|
|
@@ -6184,33 +6777,33 @@ var Tabs = (_a) => {
|
|
|
6184
6777
|
"isPilledDesign",
|
|
6185
6778
|
"hasBottomBorder"
|
|
6186
6779
|
]);
|
|
6187
|
-
const tabsContent = isPilledDesign ? /* @__PURE__ */
|
|
6780
|
+
const tabsContent = isPilledDesign ? /* @__PURE__ */ React44.createElement(
|
|
6188
6781
|
TabsNavPilled,
|
|
6189
6782
|
__spreadValues({
|
|
6190
6783
|
hasFullTabs,
|
|
6191
6784
|
scrollOffset
|
|
6192
6785
|
}, props),
|
|
6193
|
-
/* @__PURE__ */
|
|
6194
|
-
) : /* @__PURE__ */
|
|
6786
|
+
/* @__PURE__ */ React44.createElement("ul", null, children)
|
|
6787
|
+
) : /* @__PURE__ */ React44.createElement(
|
|
6195
6788
|
TabsNav,
|
|
6196
6789
|
__spreadValues({
|
|
6197
6790
|
hasFullTabs,
|
|
6198
6791
|
scrollOffset,
|
|
6199
6792
|
hasBottomBorder
|
|
6200
6793
|
}, props),
|
|
6201
|
-
/* @__PURE__ */
|
|
6794
|
+
/* @__PURE__ */ React44.createElement("ul", null, children)
|
|
6202
6795
|
);
|
|
6203
6796
|
if (scrollOffset) {
|
|
6204
|
-
return /* @__PURE__ */
|
|
6797
|
+
return /* @__PURE__ */ React44.createElement(Wrapper, { scrollOffset }, tabsContent);
|
|
6205
6798
|
}
|
|
6206
|
-
return /* @__PURE__ */
|
|
6799
|
+
return /* @__PURE__ */ React44.createElement(TabsContext.Provider, { value: { isPilledDesign } }, tabsContent);
|
|
6207
6800
|
};
|
|
6208
6801
|
var tabs_default = Tabs;
|
|
6209
6802
|
|
|
6210
6803
|
// src/components/pill/pill.tsx
|
|
6211
|
-
import
|
|
6212
|
-
import
|
|
6213
|
-
var PillWrapper =
|
|
6804
|
+
import styled36 from "@emotion/styled";
|
|
6805
|
+
import React45 from "react";
|
|
6806
|
+
var PillWrapper = styled36.div`
|
|
6214
6807
|
display: inline-grid;
|
|
6215
6808
|
grid-auto-flow: column;
|
|
6216
6809
|
align-items: center;
|
|
@@ -6238,21 +6831,21 @@ var Pill = (_a) => {
|
|
|
6238
6831
|
"icon",
|
|
6239
6832
|
"iconPosition"
|
|
6240
6833
|
]);
|
|
6241
|
-
const iconComponent = /* @__PURE__ */
|
|
6834
|
+
const iconComponent = /* @__PURE__ */ React45.createElement(
|
|
6242
6835
|
container_default,
|
|
6243
6836
|
{
|
|
6244
6837
|
htmlTag: "span",
|
|
6245
6838
|
paddingLeft: iconPosition === "right" && "xsmall",
|
|
6246
6839
|
paddingRight: iconPosition === "left" && "xsmall"
|
|
6247
6840
|
},
|
|
6248
|
-
/* @__PURE__ */
|
|
6841
|
+
/* @__PURE__ */ React45.createElement(icon_default, { icon, color: "currentColor", size: 2 })
|
|
6249
6842
|
);
|
|
6250
|
-
return /* @__PURE__ */
|
|
6843
|
+
return /* @__PURE__ */ React45.createElement(PillWrapper, __spreadValues({ color, backgroundColor }, props), icon && iconPosition === "left" && iconComponent, children, icon && iconPosition === "right" && iconComponent);
|
|
6251
6844
|
};
|
|
6252
6845
|
var pill_default = Pill;
|
|
6253
6846
|
|
|
6254
6847
|
// src/components/popover/popover.tsx
|
|
6255
|
-
import
|
|
6848
|
+
import styled37 from "@emotion/styled";
|
|
6256
6849
|
import {
|
|
6257
6850
|
autoUpdate,
|
|
6258
6851
|
flip,
|
|
@@ -6261,7 +6854,7 @@ import {
|
|
|
6261
6854
|
shift,
|
|
6262
6855
|
useFloating
|
|
6263
6856
|
} from "@floating-ui/react-dom";
|
|
6264
|
-
import
|
|
6857
|
+
import React46, { useEffect as useEffect10 } from "react";
|
|
6265
6858
|
import ReactDOM from "react-dom";
|
|
6266
6859
|
import { useTransition as useTransition2 } from "transition-hook";
|
|
6267
6860
|
var placements2 = {
|
|
@@ -6278,14 +6871,14 @@ var placements2 = {
|
|
|
6278
6871
|
rightCenter: "right",
|
|
6279
6872
|
rightBottom: "right-end"
|
|
6280
6873
|
};
|
|
6281
|
-
var Wrapper2 =
|
|
6874
|
+
var Wrapper2 = styled37.div`
|
|
6282
6875
|
position: relative;
|
|
6283
6876
|
width: fit-content;
|
|
6284
6877
|
// transform forces the popover to calculate the position from the trigger instead of the viewport
|
|
6285
6878
|
transform: translate(0);
|
|
6286
|
-
z-index:
|
|
6879
|
+
z-index: ${(props) => props.childrenZIndex};
|
|
6287
6880
|
`;
|
|
6288
|
-
var ContentWrapper2 =
|
|
6881
|
+
var ContentWrapper2 = styled37.div`
|
|
6289
6882
|
${(props) => props.zIndex && `z-index: ${props.zIndex}`};
|
|
6290
6883
|
`;
|
|
6291
6884
|
var Popover = (_a) => {
|
|
@@ -6296,6 +6889,7 @@ var Popover = (_a) => {
|
|
|
6296
6889
|
boundaryOffset = 0.5,
|
|
6297
6890
|
isOpen,
|
|
6298
6891
|
zIndex = 500,
|
|
6892
|
+
childrenZIndex = 1,
|
|
6299
6893
|
placement = "topCenter",
|
|
6300
6894
|
rootId,
|
|
6301
6895
|
boundaryElement = "body",
|
|
@@ -6308,6 +6902,7 @@ var Popover = (_a) => {
|
|
|
6308
6902
|
"boundaryOffset",
|
|
6309
6903
|
"isOpen",
|
|
6310
6904
|
"zIndex",
|
|
6905
|
+
"childrenZIndex",
|
|
6311
6906
|
"placement",
|
|
6312
6907
|
"rootId",
|
|
6313
6908
|
"boundaryElement",
|
|
@@ -6344,7 +6939,7 @@ var Popover = (_a) => {
|
|
|
6344
6939
|
],
|
|
6345
6940
|
strategy: "fixed"
|
|
6346
6941
|
});
|
|
6347
|
-
|
|
6942
|
+
useEffect10(() => {
|
|
6348
6943
|
if (!refs.reference.current || !refs.floating.current) {
|
|
6349
6944
|
return;
|
|
6350
6945
|
}
|
|
@@ -6361,17 +6956,17 @@ var Popover = (_a) => {
|
|
|
6361
6956
|
opacity: stage === "enter" ? 1 : 0
|
|
6362
6957
|
}
|
|
6363
6958
|
};
|
|
6364
|
-
return /* @__PURE__ */
|
|
6365
|
-
/* @__PURE__ */
|
|
6959
|
+
return /* @__PURE__ */ React46.createElement(Wrapper2, __spreadProps(__spreadValues({ ref: reference }, props), { childrenZIndex }), children, shouldMount && /* @__PURE__ */ React46.createElement(React46.Fragment, null, !rootNode && /* @__PURE__ */ React46.createElement(ContentWrapper2, __spreadValues({}, contentProps), content), rootNode && ReactDOM.createPortal(
|
|
6960
|
+
/* @__PURE__ */ React46.createElement(ContentWrapper2, __spreadValues({}, contentProps), content),
|
|
6366
6961
|
rootNode
|
|
6367
6962
|
)));
|
|
6368
6963
|
};
|
|
6369
6964
|
var popover_default = Popover;
|
|
6370
6965
|
|
|
6371
6966
|
// src/components/illustration/illustration.tsx
|
|
6372
|
-
import
|
|
6373
|
-
import
|
|
6374
|
-
var IllustrationWrapper =
|
|
6967
|
+
import styled38 from "@emotion/styled";
|
|
6968
|
+
import React47 from "react";
|
|
6969
|
+
var IllustrationWrapper = styled38.span`
|
|
6375
6970
|
display: block;
|
|
6376
6971
|
color: ${(props) => props.color ? getColorValue(props.color) : getColorValue("grey8")};
|
|
6377
6972
|
${(props) => props.size && getSize("width", props.size)};
|
|
@@ -6395,7 +6990,7 @@ var Illustration = (_a) => {
|
|
|
6395
6990
|
"color",
|
|
6396
6991
|
"size"
|
|
6397
6992
|
]);
|
|
6398
|
-
return /* @__PURE__ */
|
|
6993
|
+
return /* @__PURE__ */ React47.createElement(
|
|
6399
6994
|
IllustrationWrapper,
|
|
6400
6995
|
__spreadValues({
|
|
6401
6996
|
"aria-hidden": "true",
|
|
@@ -6410,8 +7005,8 @@ var illustration_default = Illustration;
|
|
|
6410
7005
|
|
|
6411
7006
|
// src/components/split/split.tsx
|
|
6412
7007
|
import { css as css6 } from "@emotion/react";
|
|
6413
|
-
import
|
|
6414
|
-
import
|
|
7008
|
+
import styled39 from "@emotion/styled";
|
|
7009
|
+
import React48, { Children, cloneElement } from "react";
|
|
6415
7010
|
var getSizeStyles = (props) => css6`
|
|
6416
7011
|
${getSize("width", props.width)};
|
|
6417
7012
|
${getSize("height", props.height)};
|
|
@@ -6420,7 +7015,7 @@ var getSizeStyles = (props) => css6`
|
|
|
6420
7015
|
${getSize("max-width", props.maxWidth)};
|
|
6421
7016
|
${getSize("max-height", props.maxHeight)};
|
|
6422
7017
|
`;
|
|
6423
|
-
var SplitWrapper =
|
|
7018
|
+
var SplitWrapper = styled39.div`
|
|
6424
7019
|
display: flex;
|
|
6425
7020
|
${(props) => getResponsiveOneOf("align-items", props.alignItems)};
|
|
6426
7021
|
${(props) => props.justifyContent && getResponsiveOneOf("justify-content", props.justifyContent)};
|
|
@@ -6433,7 +7028,7 @@ var SplitWrapper = styled38.div`
|
|
|
6433
7028
|
${(props) => getSizeStyles(props)};
|
|
6434
7029
|
${(props) => getListContainer(props.as)};
|
|
6435
7030
|
`;
|
|
6436
|
-
var SplitSectionWrapper =
|
|
7031
|
+
var SplitSectionWrapper = styled39.div`
|
|
6437
7032
|
${(props) => getResponsiveNumber("flex-grow", props.grow)};
|
|
6438
7033
|
${(props) => getResponsiveNumber("flex-shrink", props.shrink)};
|
|
6439
7034
|
${(props) => props.basis && getSize("flex-basis", props.basis)};
|
|
@@ -6472,7 +7067,7 @@ var SplitSection = (_a) => {
|
|
|
6472
7067
|
if (className || style) {
|
|
6473
7068
|
console.warn(customStylesWarning);
|
|
6474
7069
|
}
|
|
6475
|
-
return /* @__PURE__ */
|
|
7070
|
+
return /* @__PURE__ */ React48.createElement(
|
|
6476
7071
|
SplitSectionWrapper,
|
|
6477
7072
|
__spreadValues({
|
|
6478
7073
|
as: htmlTag,
|
|
@@ -6530,7 +7125,7 @@ var Split = (_a) => {
|
|
|
6530
7125
|
if (className || style) {
|
|
6531
7126
|
console.warn(customStylesWarning);
|
|
6532
7127
|
}
|
|
6533
|
-
return /* @__PURE__ */
|
|
7128
|
+
return /* @__PURE__ */ React48.createElement(
|
|
6534
7129
|
SplitWrapper,
|
|
6535
7130
|
__spreadValues({
|
|
6536
7131
|
as: htmlTag,
|
|
@@ -6559,10 +7154,10 @@ var Split = (_a) => {
|
|
|
6559
7154
|
var split_default = Split;
|
|
6560
7155
|
|
|
6561
7156
|
// src/components/color-picker/color-picker.tsx
|
|
6562
|
-
import
|
|
6563
|
-
import
|
|
7157
|
+
import styled40 from "@emotion/styled";
|
|
7158
|
+
import React49, { useState as useState6 } from "react";
|
|
6564
7159
|
import { HexColorPicker, HexColorInput } from "react-colorful";
|
|
6565
|
-
var ColorfulWrapper =
|
|
7160
|
+
var ColorfulWrapper = styled40.div`
|
|
6566
7161
|
padding: var(--lns-space-medium);
|
|
6567
7162
|
& .react-colorful {
|
|
6568
7163
|
width: auto;
|
|
@@ -6601,7 +7196,7 @@ var ColorfulWrapper = styled39.div`
|
|
|
6601
7196
|
border: 2px solid white;
|
|
6602
7197
|
}
|
|
6603
7198
|
`;
|
|
6604
|
-
var ColorPickerContainer =
|
|
7199
|
+
var ColorPickerContainer = styled40.div`
|
|
6605
7200
|
position: relative;
|
|
6606
7201
|
width: ${u(31)};
|
|
6607
7202
|
background-color: var(--lns-color-overlay);
|
|
@@ -6610,7 +7205,7 @@ var ColorPickerContainer = styled39.div`
|
|
|
6610
7205
|
0 0 0 1px var(--lns-color-border),
|
|
6611
7206
|
var(--lns-shadow-medium);
|
|
6612
7207
|
`;
|
|
6613
|
-
var InputContainer =
|
|
7208
|
+
var InputContainer = styled40.div`
|
|
6614
7209
|
position: relative;
|
|
6615
7210
|
width: 100%;
|
|
6616
7211
|
|
|
@@ -6639,7 +7234,7 @@ var InputContainer = styled39.div`
|
|
|
6639
7234
|
}
|
|
6640
7235
|
}
|
|
6641
7236
|
`;
|
|
6642
|
-
var ColorBox =
|
|
7237
|
+
var ColorBox = styled40.div`
|
|
6643
7238
|
position: absolute;
|
|
6644
7239
|
width: ${u(3)};
|
|
6645
7240
|
height: ${u(3)};
|
|
@@ -6649,20 +7244,20 @@ var ColorBox = styled39.div`
|
|
|
6649
7244
|
${getRadius("100")};
|
|
6650
7245
|
background-color: ${(props) => props.color};
|
|
6651
7246
|
`;
|
|
6652
|
-
var ButtonWrapper2 =
|
|
7247
|
+
var ButtonWrapper2 = styled40.div`
|
|
6653
7248
|
position: relative;
|
|
6654
7249
|
border-radius: var(--lns-radius-medium);
|
|
6655
7250
|
padding: 0 var(--lns-space-medium) var(--lns-space-medium)
|
|
6656
7251
|
var(--lns-space-medium);
|
|
6657
7252
|
`;
|
|
6658
|
-
var SwatchesContainer =
|
|
7253
|
+
var SwatchesContainer = styled40.div`
|
|
6659
7254
|
display: grid;
|
|
6660
7255
|
grid-template-columns: repeat(7, ${u(3)});
|
|
6661
7256
|
gap: ${u(1)} ${u(1)};
|
|
6662
7257
|
border-bottom: 1px solid var(--lns-color-border);
|
|
6663
7258
|
padding: var(--lns-space-medium);
|
|
6664
7259
|
`;
|
|
6665
|
-
var Swatch =
|
|
7260
|
+
var Swatch = styled40.div`
|
|
6666
7261
|
cursor: pointer;
|
|
6667
7262
|
width: ${u(3)};
|
|
6668
7263
|
height: ${u(3)};
|
|
@@ -6673,18 +7268,21 @@ var Swatch = styled39.div`
|
|
|
6673
7268
|
`;
|
|
6674
7269
|
var SwatchSelector = ({ swatches, currentColor, onSwatchClick }) => {
|
|
6675
7270
|
const selectedSwatch = swatches.includes(currentColor) && currentColor;
|
|
6676
|
-
return /* @__PURE__ */
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
7271
|
+
return /* @__PURE__ */ React49.createElement(SwatchesContainer, null, swatches.map((swatch) => (
|
|
7272
|
+
/* eslint-disable styled-components-a11y/click-events-have-key-events, styled-components-a11y/no-static-element-interactions */
|
|
7273
|
+
/* @__PURE__ */ React49.createElement(
|
|
7274
|
+
Swatch,
|
|
7275
|
+
{
|
|
7276
|
+
key: swatch,
|
|
7277
|
+
color: swatch,
|
|
7278
|
+
selected: selectedSwatch,
|
|
7279
|
+
onClick: () => onSwatchClick(swatch)
|
|
7280
|
+
}
|
|
7281
|
+
)
|
|
6684
7282
|
)));
|
|
6685
7283
|
};
|
|
6686
7284
|
var ColorSelector = ({ color, setColor }) => {
|
|
6687
|
-
return /* @__PURE__ */
|
|
7285
|
+
return /* @__PURE__ */ React49.createElement(ColorfulWrapper, null, /* @__PURE__ */ React49.createElement(HexColorPicker, { color, onChange: setColor }), /* @__PURE__ */ React49.createElement(InputContainer, null, /* @__PURE__ */ React49.createElement(HexColorInput, { prefixed: true, color, onChange: setColor }), /* @__PURE__ */ React49.createElement(ColorBox, { color })));
|
|
6688
7286
|
};
|
|
6689
7287
|
var ColorPicker = (_a) => {
|
|
6690
7288
|
var _b = _a, {
|
|
@@ -6698,7 +7296,7 @@ var ColorPicker = (_a) => {
|
|
|
6698
7296
|
"swatches",
|
|
6699
7297
|
"onChange"
|
|
6700
7298
|
]);
|
|
6701
|
-
const [tempColor, setTempColor] =
|
|
7299
|
+
const [tempColor, setTempColor] = useState6(
|
|
6702
7300
|
defaultColor ? defaultColor : "#FFFFFF"
|
|
6703
7301
|
);
|
|
6704
7302
|
const handleOnChange = (hex) => {
|
|
@@ -6708,28 +7306,28 @@ var ColorPicker = (_a) => {
|
|
|
6708
7306
|
const onSwatchClick = (swatch) => {
|
|
6709
7307
|
handleOnChange(swatch);
|
|
6710
7308
|
};
|
|
6711
|
-
return /* @__PURE__ */
|
|
7309
|
+
return /* @__PURE__ */ React49.createElement(ColorPickerContainer, __spreadValues({}, props), swatches && /* @__PURE__ */ React49.createElement(
|
|
6712
7310
|
SwatchSelector,
|
|
6713
7311
|
{
|
|
6714
7312
|
swatches,
|
|
6715
7313
|
currentColor: tempColor,
|
|
6716
7314
|
onSwatchClick
|
|
6717
7315
|
}
|
|
6718
|
-
), /* @__PURE__ */
|
|
7316
|
+
), /* @__PURE__ */ React49.createElement(ColorSelector, { color: tempColor, setColor: handleOnChange }), confirmButton && /* @__PURE__ */ React49.createElement(ButtonWrapper2, null, confirmButton));
|
|
6719
7317
|
};
|
|
6720
7318
|
var color_picker_default = ColorPicker;
|
|
6721
7319
|
|
|
6722
7320
|
// src/illustrations/accounts-and-billing.js
|
|
6723
|
-
import * as
|
|
7321
|
+
import * as React50 from "react";
|
|
6724
7322
|
function IllustrationAccountsBilling(props) {
|
|
6725
|
-
return /* @__PURE__ */
|
|
7323
|
+
return /* @__PURE__ */ React50.createElement(
|
|
6726
7324
|
"svg",
|
|
6727
7325
|
__spreadValues({
|
|
6728
7326
|
viewBox: "0 0 102 101",
|
|
6729
7327
|
fill: "none",
|
|
6730
7328
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6731
7329
|
}, props),
|
|
6732
|
-
/* @__PURE__ */
|
|
7330
|
+
/* @__PURE__ */ React50.createElement(
|
|
6733
7331
|
"path",
|
|
6734
7332
|
{
|
|
6735
7333
|
d: "M96.072 5.826H5.928v90.145h90.144V5.826z",
|
|
@@ -6738,7 +7336,7 @@ function IllustrationAccountsBilling(props) {
|
|
|
6738
7336
|
strokeMiterlimit: 10
|
|
6739
7337
|
}
|
|
6740
7338
|
),
|
|
6741
|
-
/* @__PURE__ */
|
|
7339
|
+
/* @__PURE__ */ React50.createElement(
|
|
6742
7340
|
"path",
|
|
6743
7341
|
{
|
|
6744
7342
|
d: "M69.38 59.21c14.74 0 26.691-11.95 26.691-26.692S84.121 5.826 69.38 5.826c-14.741 0-26.692 11.95-26.692 26.692S54.638 59.21 69.38 59.21zM1 95.973h100M1 77.28h100M1 59.213h100M5.928 1v58.213M24.605 1v58.213M42.674 1v58.213",
|
|
@@ -6752,37 +7350,37 @@ function IllustrationAccountsBilling(props) {
|
|
|
6752
7350
|
var accounts_and_billing_default = IllustrationAccountsBilling;
|
|
6753
7351
|
|
|
6754
7352
|
// src/illustrations/invite.js
|
|
6755
|
-
import * as
|
|
7353
|
+
import * as React51 from "react";
|
|
6756
7354
|
function IllustrationInvite(props) {
|
|
6757
|
-
return /* @__PURE__ */
|
|
7355
|
+
return /* @__PURE__ */ React51.createElement(
|
|
6758
7356
|
"svg",
|
|
6759
7357
|
__spreadValues({
|
|
6760
7358
|
viewBox: "0 0 100 101",
|
|
6761
7359
|
fill: "none",
|
|
6762
7360
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6763
7361
|
}, props),
|
|
6764
|
-
/* @__PURE__ */
|
|
7362
|
+
/* @__PURE__ */ React51.createElement(
|
|
6765
7363
|
"path",
|
|
6766
7364
|
{
|
|
6767
7365
|
d: "M50.028 25.007A24.999 24.999 0 0034.586 1.905a25.022 25.022 0 00-27.26 5.42 25.002 25.002 0 0017.688 42.687V25.007h25.014z",
|
|
6768
7366
|
fill: "currentColor"
|
|
6769
7367
|
}
|
|
6770
7368
|
),
|
|
6771
|
-
/* @__PURE__ */
|
|
7369
|
+
/* @__PURE__ */ React51.createElement(
|
|
6772
7370
|
"path",
|
|
6773
7371
|
{
|
|
6774
7372
|
d: "M74.986 50.012a25.02 25.02 0 0023.11-15.436 24.993 24.993 0 00-5.422-27.25 25.017 25.017 0 00-42.702 17.681h25.014v25.005z",
|
|
6775
7373
|
fill: "currentColor"
|
|
6776
7374
|
}
|
|
6777
7375
|
),
|
|
6778
|
-
/* @__PURE__ */
|
|
7376
|
+
/* @__PURE__ */ React51.createElement(
|
|
6779
7377
|
"path",
|
|
6780
7378
|
{
|
|
6781
7379
|
d: "M49.972 74.99a25 25 0 0015.442 23.102 25.025 25.025 0 0027.26-5.42 25.002 25.002 0 00-17.688-42.687V74.99H49.972z",
|
|
6782
7380
|
fill: "currentColor"
|
|
6783
7381
|
}
|
|
6784
7382
|
),
|
|
6785
|
-
/* @__PURE__ */
|
|
7383
|
+
/* @__PURE__ */ React51.createElement(
|
|
6786
7384
|
"path",
|
|
6787
7385
|
{
|
|
6788
7386
|
d: "M25.014 100.003a25.003 25.003 0 0023.103-15.44 25.017 25.017 0 00-5.42-27.259A25.005 25.005 0 00.006 74.991h25.007v25.012z",
|
|
@@ -6794,23 +7392,23 @@ function IllustrationInvite(props) {
|
|
|
6794
7392
|
var invite_default = IllustrationInvite;
|
|
6795
7393
|
|
|
6796
7394
|
// src/illustrations/archived.js
|
|
6797
|
-
import * as
|
|
7395
|
+
import * as React52 from "react";
|
|
6798
7396
|
function IllustrationArchived(props) {
|
|
6799
|
-
return /* @__PURE__ */
|
|
7397
|
+
return /* @__PURE__ */ React52.createElement(
|
|
6800
7398
|
"svg",
|
|
6801
7399
|
__spreadValues({
|
|
6802
7400
|
viewBox: "0 0 100 101",
|
|
6803
7401
|
fill: "none",
|
|
6804
7402
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6805
7403
|
}, props),
|
|
6806
|
-
/* @__PURE__ */
|
|
7404
|
+
/* @__PURE__ */ React52.createElement(
|
|
6807
7405
|
"path",
|
|
6808
7406
|
{
|
|
6809
7407
|
d: "M0 .002v100h100v-100H0zm90 90H10v-80h80v80z",
|
|
6810
7408
|
fill: "currentColor"
|
|
6811
7409
|
}
|
|
6812
7410
|
),
|
|
6813
|
-
/* @__PURE__ */
|
|
7411
|
+
/* @__PURE__ */ React52.createElement(
|
|
6814
7412
|
"path",
|
|
6815
7413
|
{
|
|
6816
7414
|
d: "M87 13.002H53.68c8.41 1.53 15 8.2 16.46 16.63H87v-16.63zM46.32 13.002H13v16.63h16.86c1.45-8.43 8.05-15.1 16.46-16.63zM13 32.632v15.87h18.19c3.12-7.32 10.35-12.47 18.81-12.47 8.46 0 15.69 5.15 18.81 12.47H87v-15.87H13zM13 67.372h20.4c3.71-5.15 9.76-8.52 16.59-8.52 6.84 0 12.88 3.36 16.59 8.52H87v-15.87H13v15.87zM13 87.002h23.47c3.61-3.18 8.34-5.12 13.53-5.12 5.19 0 9.92 1.93 13.53 5.12H87v-16.63H13v16.63z",
|
|
@@ -6822,16 +7420,16 @@ function IllustrationArchived(props) {
|
|
|
6822
7420
|
var archived_default = IllustrationArchived;
|
|
6823
7421
|
|
|
6824
7422
|
// src/illustrations/lead-with-transparency.js
|
|
6825
|
-
import * as
|
|
7423
|
+
import * as React53 from "react";
|
|
6826
7424
|
function IllustrationLeadwithTransparency(props) {
|
|
6827
|
-
return /* @__PURE__ */
|
|
7425
|
+
return /* @__PURE__ */ React53.createElement(
|
|
6828
7426
|
"svg",
|
|
6829
7427
|
__spreadValues({
|
|
6830
7428
|
viewBox: "0 0 110 101",
|
|
6831
7429
|
fill: "none",
|
|
6832
7430
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6833
7431
|
}, props),
|
|
6834
|
-
/* @__PURE__ */
|
|
7432
|
+
/* @__PURE__ */ React53.createElement(
|
|
6835
7433
|
"path",
|
|
6836
7434
|
{
|
|
6837
7435
|
d: "M55 100.888a54.867 54.867 0 0031.361-9.8H23.64a54.867 54.867 0 0031.361 9.8zM20.482 88.728h69.025a54.887 54.887 0 008.8-8.911H11.682a56.245 56.245 0 008.8 8.911zM9.262 76.492h91.476a54.95 54.95 0 004.411-7.957H4.851a54.95 54.95 0 004.41 7.957zM3.124 64.255h103.752a54.896 54.896 0 001.969-7.002H1.166a53.117 53.117 0 001.958 7.002zM0 46.015c0 2.03.121 4.039.33 6.003h109.34c.22-1.975.33-3.973.33-6.003v-.033H0v.033zM.363 39.782h109.274a54.71 54.71 0 00-.814-5.07H1.177a55.308 55.308 0 00-.814 5.07zM3.2 27.556H106.8a58.547 58.547 0 00-1.672-4.115H4.873A51.945 51.945 0 003.2 27.556zM9.405 15.32h91.19a59.831 59.831 0 00-2.321-3.161H11.726a59.814 59.814 0 00-2.321 3.16zM23.716.888a57.211 57.211 0 00-2.959 2.195h68.475A52.837 52.837 0 0086.273.888H23.716z",
|
|
@@ -6843,16 +7441,16 @@ function IllustrationLeadwithTransparency(props) {
|
|
|
6843
7441
|
var lead_with_transparency_default = IllustrationLeadwithTransparency;
|
|
6844
7442
|
|
|
6845
7443
|
// src/illustrations/ask-for-more.js
|
|
6846
|
-
import * as
|
|
7444
|
+
import * as React54 from "react";
|
|
6847
7445
|
function IllustrationAskforMore(props) {
|
|
6848
|
-
return /* @__PURE__ */
|
|
7446
|
+
return /* @__PURE__ */ React54.createElement(
|
|
6849
7447
|
"svg",
|
|
6850
7448
|
__spreadValues({
|
|
6851
7449
|
viewBox: "0 0 100 100",
|
|
6852
7450
|
fill: "none",
|
|
6853
7451
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6854
7452
|
}, props),
|
|
6855
|
-
/* @__PURE__ */
|
|
7453
|
+
/* @__PURE__ */ React54.createElement(
|
|
6856
7454
|
"path",
|
|
6857
7455
|
{
|
|
6858
7456
|
d: "M100 38.086V0H61.914v9.93h21.132L54.963 38.013V16.88h-9.93v21.132L16.951 9.93h21.135V0H0v38.086h9.93V16.951l28.083 28.082H16.88v9.93h21.132L9.93 83.046V61.914H0V100h38.086v-9.93H16.951l28.082-28.086v21.135h9.93V61.984L83.046 90.07H61.914V100H100V61.914h-9.93v21.132L61.987 54.963H83.12v-9.93H61.987L90.07 16.951v21.135H100z",
|
|
@@ -6864,16 +7462,16 @@ function IllustrationAskforMore(props) {
|
|
|
6864
7462
|
var ask_for_more_default = IllustrationAskforMore;
|
|
6865
7463
|
|
|
6866
7464
|
// src/illustrations/learning-and-development.js
|
|
6867
|
-
import * as
|
|
7465
|
+
import * as React55 from "react";
|
|
6868
7466
|
function IllustrationLearningDevelopment(props) {
|
|
6869
|
-
return /* @__PURE__ */
|
|
7467
|
+
return /* @__PURE__ */ React55.createElement(
|
|
6870
7468
|
"svg",
|
|
6871
7469
|
__spreadValues({
|
|
6872
7470
|
viewBox: "0 0 142 142",
|
|
6873
7471
|
fill: "none",
|
|
6874
7472
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6875
7473
|
}, props),
|
|
6876
|
-
/* @__PURE__ */
|
|
7474
|
+
/* @__PURE__ */ React55.createElement(
|
|
6877
7475
|
"path",
|
|
6878
7476
|
{
|
|
6879
7477
|
fillRule: "evenodd",
|
|
@@ -6882,7 +7480,7 @@ function IllustrationLearningDevelopment(props) {
|
|
|
6882
7480
|
fill: "currentColor"
|
|
6883
7481
|
}
|
|
6884
7482
|
),
|
|
6885
|
-
/* @__PURE__ */
|
|
7483
|
+
/* @__PURE__ */ React55.createElement(
|
|
6886
7484
|
"path",
|
|
6887
7485
|
{
|
|
6888
7486
|
fillRule: "evenodd",
|
|
@@ -6891,7 +7489,7 @@ function IllustrationLearningDevelopment(props) {
|
|
|
6891
7489
|
fill: "currentColor"
|
|
6892
7490
|
}
|
|
6893
7491
|
),
|
|
6894
|
-
/* @__PURE__ */
|
|
7492
|
+
/* @__PURE__ */ React55.createElement(
|
|
6895
7493
|
"circle",
|
|
6896
7494
|
{
|
|
6897
7495
|
cx: 70.71,
|
|
@@ -6906,16 +7504,16 @@ function IllustrationLearningDevelopment(props) {
|
|
|
6906
7504
|
var learning_and_development_default = IllustrationLearningDevelopment;
|
|
6907
7505
|
|
|
6908
7506
|
// src/illustrations/business-plan.js
|
|
6909
|
-
import * as
|
|
7507
|
+
import * as React56 from "react";
|
|
6910
7508
|
function IllustrationBusinessPlan(props) {
|
|
6911
|
-
return /* @__PURE__ */
|
|
7509
|
+
return /* @__PURE__ */ React56.createElement(
|
|
6912
7510
|
"svg",
|
|
6913
7511
|
__spreadValues({
|
|
6914
7512
|
viewBox: "0 0 101 100",
|
|
6915
7513
|
fill: "none",
|
|
6916
7514
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6917
7515
|
}, props),
|
|
6918
|
-
/* @__PURE__ */
|
|
7516
|
+
/* @__PURE__ */ React56.createElement(
|
|
6919
7517
|
"path",
|
|
6920
7518
|
{
|
|
6921
7519
|
fillRule: "evenodd",
|
|
@@ -6929,23 +7527,23 @@ function IllustrationBusinessPlan(props) {
|
|
|
6929
7527
|
var business_plan_default = IllustrationBusinessPlan;
|
|
6930
7528
|
|
|
6931
7529
|
// src/illustrations/loom-plans.js
|
|
6932
|
-
import * as
|
|
7530
|
+
import * as React57 from "react";
|
|
6933
7531
|
function IllustrationLoomPlans(props) {
|
|
6934
|
-
return /* @__PURE__ */
|
|
7532
|
+
return /* @__PURE__ */ React57.createElement(
|
|
6935
7533
|
"svg",
|
|
6936
7534
|
__spreadValues({
|
|
6937
7535
|
viewBox: "0 0 100 100",
|
|
6938
7536
|
fill: "none",
|
|
6939
7537
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6940
7538
|
}, props),
|
|
6941
|
-
/* @__PURE__ */
|
|
7539
|
+
/* @__PURE__ */ React57.createElement(
|
|
6942
7540
|
"path",
|
|
6943
7541
|
{
|
|
6944
7542
|
d: "M0 12.288L12.287 0v87.71h37.706L37.706 100H0v-87.71zM49.994 63.743l12.287-12.276v36.245h37.72L87.714 100h-37.72V63.743zM49.994 33.336l12.287-12.288v18.129h37.72L87.714 51.465h-37.72V33.336z",
|
|
6945
7543
|
fill: "currentColor"
|
|
6946
7544
|
}
|
|
6947
7545
|
),
|
|
6948
|
-
/* @__PURE__ */
|
|
7546
|
+
/* @__PURE__ */ React57.createElement(
|
|
6949
7547
|
"path",
|
|
6950
7548
|
{
|
|
6951
7549
|
d: "M49.993 12.288L62.28 0v9.064H100L87.713 21.353h-37.72v-9.065z",
|
|
@@ -6957,16 +7555,16 @@ function IllustrationLoomPlans(props) {
|
|
|
6957
7555
|
var loom_plans_default = IllustrationLoomPlans;
|
|
6958
7556
|
|
|
6959
7557
|
// src/illustrations/collaborate-with-teammates.js
|
|
6960
|
-
import * as
|
|
7558
|
+
import * as React58 from "react";
|
|
6961
7559
|
function IllustrationCollaboratewithTeammatesSharedLibrary(props) {
|
|
6962
|
-
return /* @__PURE__ */
|
|
7560
|
+
return /* @__PURE__ */ React58.createElement(
|
|
6963
7561
|
"svg",
|
|
6964
7562
|
__spreadValues({
|
|
6965
7563
|
viewBox: "0 0 100 100",
|
|
6966
7564
|
fill: "none",
|
|
6967
7565
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6968
7566
|
}, props),
|
|
6969
|
-
/* @__PURE__ */
|
|
7567
|
+
/* @__PURE__ */ React58.createElement(
|
|
6970
7568
|
"path",
|
|
6971
7569
|
{
|
|
6972
7570
|
fillRule: "evenodd",
|
|
@@ -6980,16 +7578,16 @@ function IllustrationCollaboratewithTeammatesSharedLibrary(props) {
|
|
|
6980
7578
|
var collaborate_with_teammates_default = IllustrationCollaboratewithTeammatesSharedLibrary;
|
|
6981
7579
|
|
|
6982
7580
|
// src/illustrations/option-grants.js
|
|
6983
|
-
import * as
|
|
7581
|
+
import * as React59 from "react";
|
|
6984
7582
|
function IllustrationOptionGrants(props) {
|
|
6985
|
-
return /* @__PURE__ */
|
|
7583
|
+
return /* @__PURE__ */ React59.createElement(
|
|
6986
7584
|
"svg",
|
|
6987
7585
|
__spreadValues({
|
|
6988
7586
|
viewBox: "0 0 101 101",
|
|
6989
7587
|
fill: "none",
|
|
6990
7588
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6991
7589
|
}, props),
|
|
6992
|
-
/* @__PURE__ */
|
|
7590
|
+
/* @__PURE__ */ React59.createElement(
|
|
6993
7591
|
"path",
|
|
6994
7592
|
{
|
|
6995
7593
|
fill: "currentColor",
|
|
@@ -7001,16 +7599,16 @@ function IllustrationOptionGrants(props) {
|
|
|
7001
7599
|
var option_grants_default = IllustrationOptionGrants;
|
|
7002
7600
|
|
|
7003
7601
|
// src/illustrations/community.js
|
|
7004
|
-
import * as
|
|
7602
|
+
import * as React60 from "react";
|
|
7005
7603
|
function IllustrationCommunity(props) {
|
|
7006
|
-
return /* @__PURE__ */
|
|
7604
|
+
return /* @__PURE__ */ React60.createElement(
|
|
7007
7605
|
"svg",
|
|
7008
7606
|
__spreadValues({
|
|
7009
7607
|
viewBox: "0 0 101 100",
|
|
7010
7608
|
fill: "none",
|
|
7011
7609
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7012
7610
|
}, props),
|
|
7013
|
-
/* @__PURE__ */
|
|
7611
|
+
/* @__PURE__ */ React60.createElement(
|
|
7014
7612
|
"path",
|
|
7015
7613
|
{
|
|
7016
7614
|
fillRule: "evenodd",
|
|
@@ -7024,16 +7622,16 @@ function IllustrationCommunity(props) {
|
|
|
7024
7622
|
var community_default = IllustrationCommunity;
|
|
7025
7623
|
|
|
7026
7624
|
// src/illustrations/community-alt.js
|
|
7027
|
-
import * as
|
|
7625
|
+
import * as React61 from "react";
|
|
7028
7626
|
function IllustrationCommunityAlt(props) {
|
|
7029
|
-
return /* @__PURE__ */
|
|
7627
|
+
return /* @__PURE__ */ React61.createElement(
|
|
7030
7628
|
"svg",
|
|
7031
7629
|
__spreadValues({
|
|
7032
7630
|
viewBox: "0 0 96 96",
|
|
7033
7631
|
fill: "none",
|
|
7034
7632
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7035
7633
|
}, props),
|
|
7036
|
-
/* @__PURE__ */
|
|
7634
|
+
/* @__PURE__ */ React61.createElement(
|
|
7037
7635
|
"path",
|
|
7038
7636
|
{
|
|
7039
7637
|
fillRule: "evenodd",
|
|
@@ -7047,16 +7645,16 @@ function IllustrationCommunityAlt(props) {
|
|
|
7047
7645
|
var community_alt_default = IllustrationCommunityAlt;
|
|
7048
7646
|
|
|
7049
7647
|
// src/illustrations/parental-leave.js
|
|
7050
|
-
import * as
|
|
7648
|
+
import * as React62 from "react";
|
|
7051
7649
|
function IllustrationParentalLeave(props) {
|
|
7052
|
-
return /* @__PURE__ */
|
|
7650
|
+
return /* @__PURE__ */ React62.createElement(
|
|
7053
7651
|
"svg",
|
|
7054
7652
|
__spreadValues({
|
|
7055
7653
|
viewBox: "0 0 100 101",
|
|
7056
7654
|
fill: "none",
|
|
7057
7655
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7058
7656
|
}, props),
|
|
7059
|
-
/* @__PURE__ */
|
|
7657
|
+
/* @__PURE__ */ React62.createElement(
|
|
7060
7658
|
"path",
|
|
7061
7659
|
{
|
|
7062
7660
|
d: "M49.027 25.443a24.514 24.514 0 10-24.513 24.513V25.443h24.513zM75.486 49.956a24.513 24.513 0 10-24.513-24.513h24.513v24.513zM50.973 76.415a24.514 24.514 0 1024.513-24.513v24.513H50.973zM24.514 51.902a24.513 24.513 0 1024.513 24.513H24.514V51.902z",
|
|
@@ -7068,16 +7666,16 @@ function IllustrationParentalLeave(props) {
|
|
|
7068
7666
|
var parental_leave_default = IllustrationParentalLeave;
|
|
7069
7667
|
|
|
7070
7668
|
// src/illustrations/content-limit.js
|
|
7071
|
-
import * as
|
|
7669
|
+
import * as React63 from "react";
|
|
7072
7670
|
function IllustrationContentLimit(props) {
|
|
7073
|
-
return /* @__PURE__ */
|
|
7671
|
+
return /* @__PURE__ */ React63.createElement(
|
|
7074
7672
|
"svg",
|
|
7075
7673
|
__spreadValues({
|
|
7076
7674
|
viewBox: "0 0 100 100",
|
|
7077
7675
|
fill: "none",
|
|
7078
7676
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7079
7677
|
}, props),
|
|
7080
|
-
/* @__PURE__ */
|
|
7678
|
+
/* @__PURE__ */ React63.createElement(
|
|
7081
7679
|
"path",
|
|
7082
7680
|
{
|
|
7083
7681
|
fillRule: "evenodd",
|
|
@@ -7091,16 +7689,16 @@ function IllustrationContentLimit(props) {
|
|
|
7091
7689
|
var content_limit_default = IllustrationContentLimit;
|
|
7092
7690
|
|
|
7093
7691
|
// src/illustrations/pto.js
|
|
7094
|
-
import * as
|
|
7692
|
+
import * as React64 from "react";
|
|
7095
7693
|
function IllustrationPto(props) {
|
|
7096
|
-
return /* @__PURE__ */
|
|
7694
|
+
return /* @__PURE__ */ React64.createElement(
|
|
7097
7695
|
"svg",
|
|
7098
7696
|
__spreadValues({
|
|
7099
7697
|
viewBox: "0 0 110 111",
|
|
7100
7698
|
fill: "none",
|
|
7101
7699
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7102
7700
|
}, props),
|
|
7103
|
-
/* @__PURE__ */
|
|
7701
|
+
/* @__PURE__ */ React64.createElement(
|
|
7104
7702
|
"path",
|
|
7105
7703
|
{
|
|
7106
7704
|
fillRule: "evenodd",
|
|
@@ -7114,16 +7712,16 @@ function IllustrationPto(props) {
|
|
|
7114
7712
|
var pto_default = IllustrationPto;
|
|
7115
7713
|
|
|
7116
7714
|
// src/illustrations/custom-branding.js
|
|
7117
|
-
import * as
|
|
7715
|
+
import * as React65 from "react";
|
|
7118
7716
|
function IllustrationCustomBranding(props) {
|
|
7119
|
-
return /* @__PURE__ */
|
|
7717
|
+
return /* @__PURE__ */ React65.createElement(
|
|
7120
7718
|
"svg",
|
|
7121
7719
|
__spreadValues({
|
|
7122
7720
|
viewBox: "0 0 134 134",
|
|
7123
7721
|
fill: "none",
|
|
7124
7722
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7125
7723
|
}, props),
|
|
7126
|
-
/* @__PURE__ */
|
|
7724
|
+
/* @__PURE__ */ React65.createElement(
|
|
7127
7725
|
"path",
|
|
7128
7726
|
{
|
|
7129
7727
|
d: "M64.657 63.942L19.983 19.267l-.708.707 44.708 44.708L9.227 33.067l-.5.866L63.4 65.5h-.063L2.407 49.176l-.26.966L59.475 65.5H0v3h55.604L1.889 82.89l.776 2.898 53.719-14.391L8.227 99.2l1.5 2.598 48.184-27.82-39.343 39.343.709.708-.002.001.708.708v-.002l.707.706 39.298-39.299-27.787 48.128 2.598 1.5 27.83-48.202-14.404 53.764 2.898.776L65.5 78.447V134h3V78.395l14.39 53.715.98-.262v.002l.966-.258v-.003l.953-.255-14.392-53.719L99.2 125.772l2.598-1.5-27.803-48.154 39.326 39.325.711-.711.007.007.707-.708-.007-.007.703-.702-39.325-39.326 48.154 27.803 1.5-2.598-48.157-27.804 53.719 14.391.776-2.897L78.395 68.5H134v-3H74.525l57.326-15.358-.259-.966L70.661 65.5h-.064l54.674-31.567-.5-.866-54.697 31.58 44.673-44.673-.707-.707-44.728 44.728 31.621-54.768-.866-.5-31.576 54.69 16.345-61.01-.966-.26L67.5 63.252V0h-1v63.15L50.157 2.148l-.966.258 16.368 61.098L33.933 8.727l-.866.5 31.59 54.715z",
|
|
@@ -7135,53 +7733,53 @@ function IllustrationCustomBranding(props) {
|
|
|
7135
7733
|
var custom_branding_default = IllustrationCustomBranding;
|
|
7136
7734
|
|
|
7137
7735
|
// src/illustrations/record.js
|
|
7138
|
-
import * as
|
|
7736
|
+
import * as React66 from "react";
|
|
7139
7737
|
function IllustrationRecord(props) {
|
|
7140
|
-
return /* @__PURE__ */
|
|
7738
|
+
return /* @__PURE__ */ React66.createElement(
|
|
7141
7739
|
"svg",
|
|
7142
7740
|
__spreadValues({
|
|
7143
7741
|
viewBox: "0 0 100 100",
|
|
7144
7742
|
fill: "none",
|
|
7145
7743
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7146
7744
|
}, props),
|
|
7147
|
-
/* @__PURE__ */
|
|
7148
|
-
/* @__PURE__ */
|
|
7745
|
+
/* @__PURE__ */ React66.createElement("g", { clipPath: "url(#Record_svg__clip0)", fill: "currentColor" }, /* @__PURE__ */ React66.createElement("path", { d: "M79.819 62.343c6.818-16.462-.999-35.334-17.46-42.153-16.463-6.82-35.336.998-42.155 17.46-6.819 16.462.998 35.335 17.46 42.154 16.463 6.819 35.335-.999 42.154-17.46zM53.659 0h-7.303v8.763h7.303V0zM40.498.773l-6.87 1.84 2.268 8.465 6.87-1.84L40.498.772zM28.003 4.978l-5.996 3.46 4.38 7.59 5.996-3.46-4.38-7.59zM17.048 12.274l-4.761 4.76 6.196 6.197 4.761-4.76-6.196-6.197zM8.34 22.174L5.07 27.84l7.588 4.381 3.271-5.666-7.588-4.381zM2.522 33.984L.878 40.121l8.464 2.268 1.644-6.137-8.464-2.268zM8.763 46.926H0v6.163h8.763v-6.163zM9.362 57.697L.898 59.965l1.595 5.953 8.464-2.268-1.595-5.953zM12.806 68.033l-7.589 4.382 2.987 5.173 7.589-4.382-2.987-5.173zM18.811 77.097l-6.196 6.197 4.09 4.09 6.196-6.197-4.09-4.09zM26.969 84.311L22.587 91.9l4.844 2.797 4.382-7.59-4.844-2.796zM36.721 89.14l-2.27 8.464 5.22 1.4 2.27-8.464-5.22-1.4zM52.607 91.237h-5.214V100h5.214v-8.763zM63.083 89.192l-4.839 1.296 2.268 8.464 4.839-1.296-2.268-8.464zM72.698 84.501l-4.173 2.41 4.381 7.59 4.174-2.41-4.382-7.59zM80.772 77.506L77.5 80.78l6.196 6.196 3.274-3.274-6.197-6.196zM86.813 68.694l-2.22 3.845 7.59 4.382 2.22-3.845-7.59-4.382zM90.385 58.633l-1.1 4.105 8.464 2.268 1.1-4.105-8.464-2.268zM100 47.962h-8.763v4.06H100v-4.06zM97.796 35.184l-8.464 2.267 1.002 3.739 8.464-2.268-1.002-3.738zM92.37 23.41l-7.589 4.381 1.84 3.188 7.59-4.382-1.84-3.187zM84.1 13.424l-6.197 6.195 2.467 2.469 6.198-6.195-2.467-2.469zM73.564 5.885l-4.383 7.588 2.858 1.65 4.383-7.587-2.858-1.651zM61.446 1.297l-2.27 8.465 3.005.805 2.27-8.464-3.005-.806z" })),
|
|
7746
|
+
/* @__PURE__ */ React66.createElement("defs", null, /* @__PURE__ */ React66.createElement("clipPath", { id: "Record_svg__clip0" }, /* @__PURE__ */ React66.createElement("path", { fill: "#fff", d: "M0 0h100v100H0z" })))
|
|
7149
7747
|
);
|
|
7150
7748
|
}
|
|
7151
7749
|
var record_default = IllustrationRecord;
|
|
7152
7750
|
|
|
7153
7751
|
// src/illustrations/desktop-app-and-chrome-extension.js
|
|
7154
|
-
import * as
|
|
7752
|
+
import * as React67 from "react";
|
|
7155
7753
|
function IllustrationDesktopAppandChromeExtension(props) {
|
|
7156
|
-
return /* @__PURE__ */
|
|
7754
|
+
return /* @__PURE__ */ React67.createElement(
|
|
7157
7755
|
"svg",
|
|
7158
7756
|
__spreadValues({
|
|
7159
7757
|
viewBox: "0 0 134 134",
|
|
7160
7758
|
fill: "none",
|
|
7161
7759
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7162
7760
|
}, props),
|
|
7163
|
-
/* @__PURE__ */
|
|
7761
|
+
/* @__PURE__ */ React67.createElement(
|
|
7164
7762
|
"path",
|
|
7165
7763
|
{
|
|
7166
7764
|
d: "M64.676 50.418L55.95.916l-1.164.207 8.727 49.502c.195-.042.384-.083.58-.119.194-.035.39-.059.584-.088zM44.664 3.828l-1.158.42L60.694 51.48c.378-.153.768-.29 1.158-.42L44.664 3.829zM34.058 8.656l-1.11.644 25.128 43.528c.36-.225.733-.443 1.111-.644L34.058 8.656zM24.444 15.243l-1.022.856L55.73 54.606c.33-.302.668-.586 1.022-.857L24.444 15.243zM16.117 23.403l-.892 1.058L53.73 56.769c.283-.366.579-.715.892-1.058L16.117 23.403zM9.336 32.88l-.715 1.241 43.534 25.135c.225-.425.461-.839.715-1.247L9.336 32.88zM4.295 43.387l-.508 1.394 47.24 17.194c.147-.473.318-.94.507-1.394L4.295 43.387zM1.153 54.606l-.266 1.519 49.502 8.727c.065-.509.153-1.017.266-1.513L1.153 54.606zM0 66.205v1.59h50.27a15.808 15.808 0 010-1.59H0zM50.375 69.076L.867 77.803l.296 1.66 49.508-8.726c-.066-.272-.119-.55-.166-.828a13.631 13.631 0 01-.13-.833zM3.746 89.102l.597 1.636 47.245-17.194a16.817 16.817 0 01-.591-1.636L3.747 89.102zM8.525 99.725l.893 1.548 43.534-25.135a16.699 16.699 0 01-.892-1.548L8.525 99.725zM15.086 109.361l1.182 1.413 38.518-32.32c-.42-.45-.816-.916-1.182-1.406L15.086 109.36zM23.207 117.715l1.448 1.217 32.32-38.518c-.503-.378-.993-.78-1.454-1.211l-32.314 38.512zM32.662 124.54l1.678.969 25.141-43.54c-.579-.29-1.14-.62-1.678-.975l-25.14 43.546zM43.152 129.623l1.873.679 17.2-47.25c-.638-.19-1.264-.42-1.873-.68l-17.2 47.251zM54.36 132.807l2.008.355 8.733-49.52a16.216 16.216 0 01-2.009-.354l-8.733 49.519zM65.951 134h2.092V83.718c-.703.047-1.4.042-2.092 0V134zM68.846 83.646l8.733 49.525 2.109-.372-8.733-49.525c-.343.082-.697.16-1.052.224-.348.06-.703.107-1.057.148zM88.883 130.337l2.063-.751-17.2-47.25c-.662.29-1.353.543-2.062.75l17.2 47.251zM99.528 125.585l1.944-1.123L76.325 80.91a16.63 16.63 0 01-1.944 1.123l25.147 43.552zM109.189 119.063l1.761-1.477-32.326-38.523c-.55.531-1.14 1.022-1.76 1.477l32.325 38.523zM117.575 110.967l1.506-1.796-38.53-32.332a16.83 16.83 0 01-1.506 1.797l38.53 32.331zM124.423 101.539l1.2-2.074-43.558-25.147a16.44 16.44 0 01-1.2 2.074l43.558 25.147zM129.54 91.069l.839-2.299-47.257-17.2c-.224.792-.508 1.56-.839 2.299l47.257 17.2zM132.764 79.867l.431-2.458-49.531-8.733c-.083.839-.23 1.66-.432 2.458l49.532 8.733zM133.999 68.272v-2.546h-50.3c.065.857.065 1.707.006 2.546H134zM83.666 65.383l49.543-8.732-.449-2.559-49.543 8.733a15.696 15.696 0 01.45 2.558zM130.415 45.33l-.904-2.493-47.269 17.205c.36.798.662 1.631.904 2.494l47.269-17.206zM125.7 34.671l-1.353-2.34-43.564 25.153a16.98 16.98 0 011.353 2.34L125.7 34.671zM119.213 24.988l-1.767-2.11-38.542 32.338c.644.65 1.235 1.353 1.773 2.103l38.536-32.331zM111.141 16.573l-2.145-1.802-32.338 38.542a17.328 17.328 0 012.145 1.802l32.338-38.542zM101.732 9.69l-2.47-1.424-25.159 43.576c.863.407 1.69.88 2.47 1.424L101.732 9.69zM74.07 51.817L91.28 4.537l-2.73-.993-17.188 47.227-.011.053c.939.255 1.849.585 2.718.993z",
|
|
7167
7765
|
fill: "currentColor"
|
|
7168
7766
|
}
|
|
7169
7767
|
),
|
|
7170
|
-
/* @__PURE__ */
|
|
7768
|
+
/* @__PURE__ */ React67.createElement(
|
|
7171
7769
|
"path",
|
|
7172
7770
|
{
|
|
7173
7771
|
d: "M71.346 50.825l.017-.047 8.728-49.496-2.908-.514-8.662 49.1v.455a16.15 16.15 0 012.825.502z",
|
|
7174
7772
|
fill: "currentColor"
|
|
7175
7773
|
}
|
|
7176
7774
|
),
|
|
7177
|
-
/* @__PURE__ */
|
|
7775
|
+
/* @__PURE__ */ React67.createElement(
|
|
7178
7776
|
"path",
|
|
7179
7777
|
{
|
|
7180
7778
|
d: "M71.354 50.825l.011-.053-.017.047c0 .006.006.006.006.006zM68.522 49.868V0h-3.043v50.323a16.573 16.573 0 012.966-.012l.077-.443z",
|
|
7181
7779
|
fill: "currentColor"
|
|
7182
7780
|
}
|
|
7183
7781
|
),
|
|
7184
|
-
/* @__PURE__ */
|
|
7782
|
+
/* @__PURE__ */ React67.createElement(
|
|
7185
7783
|
"path",
|
|
7186
7784
|
{
|
|
7187
7785
|
d: "M68.52 50.317v-.449l-.077.444c.024 0 .053.005.077.005z",
|
|
@@ -7193,16 +7791,16 @@ function IllustrationDesktopAppandChromeExtension(props) {
|
|
|
7193
7791
|
var desktop_app_and_chrome_extension_default = IllustrationDesktopAppandChromeExtension;
|
|
7194
7792
|
|
|
7195
7793
|
// src/illustrations/remote-first.js
|
|
7196
|
-
import * as
|
|
7794
|
+
import * as React68 from "react";
|
|
7197
7795
|
function IllustrationRemoteFirst(props) {
|
|
7198
|
-
return /* @__PURE__ */
|
|
7796
|
+
return /* @__PURE__ */ React68.createElement(
|
|
7199
7797
|
"svg",
|
|
7200
7798
|
__spreadValues({
|
|
7201
7799
|
viewBox: "0 0 110 110",
|
|
7202
7800
|
fill: "none",
|
|
7203
7801
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7204
7802
|
}, props),
|
|
7205
|
-
/* @__PURE__ */
|
|
7803
|
+
/* @__PURE__ */ React68.createElement(
|
|
7206
7804
|
"path",
|
|
7207
7805
|
{
|
|
7208
7806
|
d: "M55 105c27.615 0 50-22.386 50-50S82.615 5 55 5C27.386 5 5 27.386 5 55s22.386 50 50 50z",
|
|
@@ -7211,7 +7809,7 @@ function IllustrationRemoteFirst(props) {
|
|
|
7211
7809
|
strokeMiterlimit: 10
|
|
7212
7810
|
}
|
|
7213
7811
|
),
|
|
7214
|
-
/* @__PURE__ */
|
|
7812
|
+
/* @__PURE__ */ React68.createElement(
|
|
7215
7813
|
"path",
|
|
7216
7814
|
{
|
|
7217
7815
|
d: "M60.849 5.33c13.693 12.157 22.34 29.89 22.34 49.653 0 19.744-8.63 37.495-22.322 49.652M49.131 5.33c-13.693 12.157-22.34 29.89-22.34 49.653 0 19.744 8.629 37.495 22.322 49.652",
|
|
@@ -7220,7 +7818,7 @@ function IllustrationRemoteFirst(props) {
|
|
|
7220
7818
|
strokeMiterlimit: 10
|
|
7221
7819
|
}
|
|
7222
7820
|
),
|
|
7223
|
-
/* @__PURE__ */
|
|
7821
|
+
/* @__PURE__ */ React68.createElement(
|
|
7224
7822
|
"path",
|
|
7225
7823
|
{
|
|
7226
7824
|
d: "M97.467 26.024C86.589 36.9 71.58 43.61 54.999 43.61c-16.07 0-30.658-6.307-41.444-16.6M97.467 83.958C86.589 73.08 71.58 66.37 54.999 66.37c-16.07 0-30.658 6.307-41.444 16.6M104.981 55H5M55 104.982V5",
|
|
@@ -7234,23 +7832,23 @@ function IllustrationRemoteFirst(props) {
|
|
|
7234
7832
|
var remote_first_default = IllustrationRemoteFirst;
|
|
7235
7833
|
|
|
7236
7834
|
// src/illustrations/device-compatibility.js
|
|
7237
|
-
import * as
|
|
7835
|
+
import * as React69 from "react";
|
|
7238
7836
|
function IllustrationDeviceCompatibility(props) {
|
|
7239
|
-
return /* @__PURE__ */
|
|
7837
|
+
return /* @__PURE__ */ React69.createElement(
|
|
7240
7838
|
"svg",
|
|
7241
7839
|
__spreadValues({
|
|
7242
7840
|
viewBox: "0 0 110 110",
|
|
7243
7841
|
fill: "none",
|
|
7244
7842
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7245
7843
|
}, props),
|
|
7246
|
-
/* @__PURE__ */
|
|
7844
|
+
/* @__PURE__ */ React69.createElement(
|
|
7247
7845
|
"path",
|
|
7248
7846
|
{
|
|
7249
7847
|
d: "M55 0C24.626 0 0 24.626 0 55s24.626 55 55 55 55-24.626 55-55S85.374 0 55 0zm0 109.525L.49 55 55 .49l54.525 54.525L55 109.525z",
|
|
7250
7848
|
fill: "currentColor"
|
|
7251
7849
|
}
|
|
7252
7850
|
),
|
|
7253
|
-
/* @__PURE__ */
|
|
7851
|
+
/* @__PURE__ */ React69.createElement(
|
|
7254
7852
|
"path",
|
|
7255
7853
|
{
|
|
7256
7854
|
d: "M27.923 27.923v54.139H82.06V27.923H27.923zm27.076 52.074c-13.798 0-24.982-11.184-24.982-24.982S41.201 30.032 55 30.032c13.799 0 24.983 11.185 24.983 24.983 0 13.783-11.184 24.982-24.983 24.982z",
|
|
@@ -7262,17 +7860,17 @@ function IllustrationDeviceCompatibility(props) {
|
|
|
7262
7860
|
var device_compatibility_default = IllustrationDeviceCompatibility;
|
|
7263
7861
|
|
|
7264
7862
|
// src/illustrations/roadmap.js
|
|
7265
|
-
import * as
|
|
7863
|
+
import * as React70 from "react";
|
|
7266
7864
|
function IllustrationRoadmap(props) {
|
|
7267
|
-
return /* @__PURE__ */
|
|
7865
|
+
return /* @__PURE__ */ React70.createElement(
|
|
7268
7866
|
"svg",
|
|
7269
7867
|
__spreadValues({
|
|
7270
7868
|
viewBox: "0 0 100 100",
|
|
7271
7869
|
fill: "none",
|
|
7272
7870
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7273
7871
|
}, props),
|
|
7274
|
-
/* @__PURE__ */
|
|
7275
|
-
/* @__PURE__ */
|
|
7872
|
+
/* @__PURE__ */ React70.createElement("path", { d: "M100 100H0V0h100v100zM10 90h80V10H10v80z", fill: "currentColor" }),
|
|
7873
|
+
/* @__PURE__ */ React70.createElement(
|
|
7276
7874
|
"path",
|
|
7277
7875
|
{
|
|
7278
7876
|
d: "M50.008 39.806L80 54v-9.806L50.008 30 20 44.194V54l30.008-14.194zM80 20H20v10h60V20z",
|
|
@@ -7284,16 +7882,16 @@ function IllustrationRoadmap(props) {
|
|
|
7284
7882
|
var roadmap_default = IllustrationRoadmap;
|
|
7285
7883
|
|
|
7286
7884
|
// src/illustrations/downgrade.js
|
|
7287
|
-
import * as
|
|
7885
|
+
import * as React71 from "react";
|
|
7288
7886
|
function IllustrationDowngrade(props) {
|
|
7289
|
-
return /* @__PURE__ */
|
|
7887
|
+
return /* @__PURE__ */ React71.createElement(
|
|
7290
7888
|
"svg",
|
|
7291
7889
|
__spreadValues({
|
|
7292
7890
|
viewBox: "0 0 100 100",
|
|
7293
7891
|
fill: "none",
|
|
7294
7892
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7295
7893
|
}, props),
|
|
7296
|
-
/* @__PURE__ */
|
|
7894
|
+
/* @__PURE__ */ React71.createElement(
|
|
7297
7895
|
"path",
|
|
7298
7896
|
{
|
|
7299
7897
|
fillRule: "evenodd",
|
|
@@ -7307,16 +7905,16 @@ function IllustrationDowngrade(props) {
|
|
|
7307
7905
|
var downgrade_default = IllustrationDowngrade;
|
|
7308
7906
|
|
|
7309
7907
|
// src/illustrations/screenshot.js
|
|
7310
|
-
import * as
|
|
7908
|
+
import * as React72 from "react";
|
|
7311
7909
|
function IllustrationScreenshot(props) {
|
|
7312
|
-
return /* @__PURE__ */
|
|
7910
|
+
return /* @__PURE__ */ React72.createElement(
|
|
7313
7911
|
"svg",
|
|
7314
7912
|
__spreadValues({
|
|
7315
7913
|
viewBox: "0 0 100 100",
|
|
7316
7914
|
fill: "none",
|
|
7317
7915
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7318
7916
|
}, props),
|
|
7319
|
-
/* @__PURE__ */
|
|
7917
|
+
/* @__PURE__ */ React72.createElement(
|
|
7320
7918
|
"path",
|
|
7321
7919
|
{
|
|
7322
7920
|
fillRule: "evenodd",
|
|
@@ -7330,16 +7928,16 @@ function IllustrationScreenshot(props) {
|
|
|
7330
7928
|
var screenshot_default = IllustrationScreenshot;
|
|
7331
7929
|
|
|
7332
7930
|
// src/illustrations/embrace-the-weird.js
|
|
7333
|
-
import * as
|
|
7931
|
+
import * as React73 from "react";
|
|
7334
7932
|
function IllustrationEmbracetheWeird(props) {
|
|
7335
|
-
return /* @__PURE__ */
|
|
7933
|
+
return /* @__PURE__ */ React73.createElement(
|
|
7336
7934
|
"svg",
|
|
7337
7935
|
__spreadValues({
|
|
7338
7936
|
viewBox: "0 0 110 110",
|
|
7339
7937
|
fill: "none",
|
|
7340
7938
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7341
7939
|
}, props),
|
|
7342
|
-
/* @__PURE__ */
|
|
7940
|
+
/* @__PURE__ */ React73.createElement(
|
|
7343
7941
|
"path",
|
|
7344
7942
|
{
|
|
7345
7943
|
fillRule: "evenodd",
|
|
@@ -7353,40 +7951,40 @@ function IllustrationEmbracetheWeird(props) {
|
|
|
7353
7951
|
var embrace_the_weird_default = IllustrationEmbracetheWeird;
|
|
7354
7952
|
|
|
7355
7953
|
// src/illustrations/share-with-your-team.js
|
|
7356
|
-
import * as
|
|
7954
|
+
import * as React74 from "react";
|
|
7357
7955
|
function IllustrationSharewithYourTeamTeamLibrary(props) {
|
|
7358
|
-
return /* @__PURE__ */
|
|
7956
|
+
return /* @__PURE__ */ React74.createElement(
|
|
7359
7957
|
"svg",
|
|
7360
7958
|
__spreadValues({
|
|
7361
7959
|
viewBox: "0 0 100 100",
|
|
7362
7960
|
fill: "none",
|
|
7363
7961
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7364
7962
|
}, props),
|
|
7365
|
-
/* @__PURE__ */
|
|
7963
|
+
/* @__PURE__ */ React74.createElement(
|
|
7366
7964
|
"g",
|
|
7367
7965
|
{
|
|
7368
7966
|
clipPath: "url(#Share_with_Your_Team_(Team_Library)_svg__clip0)",
|
|
7369
7967
|
fill: "currentColor"
|
|
7370
7968
|
},
|
|
7371
|
-
/* @__PURE__ */
|
|
7372
|
-
/* @__PURE__ */
|
|
7969
|
+
/* @__PURE__ */ React74.createElement("path", { d: "M33.33 24.946V8.384L24.946 0v24.946H0l8.384 8.384H33.33v-8.384zM58.286 33.33h8.385V8.384L58.286 0v24.946H33.331l8.394 8.384h16.561z" }),
|
|
7970
|
+
/* @__PURE__ */ React74.createElement("path", { d: "M100 8.384L91.614 0v24.946H66.67l8.385 8.384H100V8.384zM33.33 58.286V41.724l-8.384-8.394v24.956H0l8.384 8.384H33.33v-8.384zM33.33 58.286l8.395 8.384H66.67V41.724l-8.385-8.394v24.956H33.331zM66.67 58.286l8.384 8.384H100V41.724l-8.385-8.394v24.956H66.67zM24.946 66.67v24.946H0L8.384 100H33.33V75.054l-8.384-8.384zM58.286 66.67v24.946H33.331L41.725 100H66.67V75.054l-8.385-8.384zM66.67 91.616L75.053 100h24.945V75.054l-8.384-8.384v24.946H66.67z" })
|
|
7373
7971
|
),
|
|
7374
|
-
/* @__PURE__ */
|
|
7972
|
+
/* @__PURE__ */ React74.createElement("defs", null, /* @__PURE__ */ React74.createElement("clipPath", { id: "Share_with_Your_Team_(Team_Library)_svg__clip0" }, /* @__PURE__ */ React74.createElement("path", { fill: "#fff", d: "M0 0h100v100H0z" })))
|
|
7375
7973
|
);
|
|
7376
7974
|
}
|
|
7377
7975
|
var share_with_your_team_default = IllustrationSharewithYourTeamTeamLibrary;
|
|
7378
7976
|
|
|
7379
7977
|
// src/illustrations/enterprise-plan.js
|
|
7380
|
-
import * as
|
|
7978
|
+
import * as React75 from "react";
|
|
7381
7979
|
function IllustrationEnterprisePlan(props) {
|
|
7382
|
-
return /* @__PURE__ */
|
|
7980
|
+
return /* @__PURE__ */ React75.createElement(
|
|
7383
7981
|
"svg",
|
|
7384
7982
|
__spreadValues({
|
|
7385
7983
|
viewBox: "0 0 101 100",
|
|
7386
7984
|
fill: "none",
|
|
7387
7985
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7388
7986
|
}, props),
|
|
7389
|
-
/* @__PURE__ */
|
|
7987
|
+
/* @__PURE__ */ React75.createElement(
|
|
7390
7988
|
"path",
|
|
7391
7989
|
{
|
|
7392
7990
|
fill: "currentColor",
|
|
@@ -7398,30 +7996,30 @@ function IllustrationEnterprisePlan(props) {
|
|
|
7398
7996
|
var enterprise_plan_default = IllustrationEnterprisePlan;
|
|
7399
7997
|
|
|
7400
7998
|
// src/illustrations/share.js
|
|
7401
|
-
import * as
|
|
7999
|
+
import * as React76 from "react";
|
|
7402
8000
|
function IllustrationShare(props) {
|
|
7403
|
-
return /* @__PURE__ */
|
|
8001
|
+
return /* @__PURE__ */ React76.createElement(
|
|
7404
8002
|
"svg",
|
|
7405
8003
|
__spreadValues({
|
|
7406
8004
|
viewBox: "0 0 100 101",
|
|
7407
8005
|
fill: "none",
|
|
7408
8006
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7409
8007
|
}, props),
|
|
7410
|
-
/* @__PURE__ */
|
|
8008
|
+
/* @__PURE__ */ React76.createElement(
|
|
7411
8009
|
"path",
|
|
7412
8010
|
{
|
|
7413
8011
|
d: "M34.27 50.002v15.73H50c-8.69 0-15.73-7.04-15.73-15.73zM65.73 50.002v-15.73H50c8.69 0 15.73 7.04 15.73 15.73zM50 34.272H34.27v15.73c0-8.69 7.04-15.73 15.73-15.73z",
|
|
7414
8012
|
fill: "currentColor"
|
|
7415
8013
|
}
|
|
7416
8014
|
),
|
|
7417
|
-
/* @__PURE__ */
|
|
8015
|
+
/* @__PURE__ */ React76.createElement(
|
|
7418
8016
|
"path",
|
|
7419
8017
|
{
|
|
7420
8018
|
d: "M50 65.732h15.73v-15.73c0 8.69-7.04 15.73-15.73 15.73z",
|
|
7421
8019
|
fill: "currentColor"
|
|
7422
8020
|
}
|
|
7423
8021
|
),
|
|
7424
|
-
/* @__PURE__ */
|
|
8022
|
+
/* @__PURE__ */ React76.createElement(
|
|
7425
8023
|
"path",
|
|
7426
8024
|
{
|
|
7427
8025
|
d: "M0 .002v100h100v-100H0zm81.46 10c3.48 1.79 6.2 4.84 7.57 8.54h-7.57v-8.54zm-15.73 0c6.1 0 11.38 3.47 13.99 8.54H65.73v-8.54zm-15.73 0c6.1 0 11.38 3.47 13.99 8.54H36.01c2.61-5.07 7.89-8.54 13.99-8.54zm-15.73 0v8.54H20.28c2.61-5.07 7.89-8.54 13.99-8.54zm-15.73 80c-3.48-1.79-6.2-4.84-7.57-8.54h7.57v8.54zm0-10.28c-5.07-2.61-8.54-7.89-8.54-13.99h8.54v13.99zm0-15.73c-5.07-2.61-8.54-7.89-8.54-13.99 0-6.1 3.47-11.38 8.54-13.99v27.98zm0-29.72H10c0-6.1 3.47-11.38 8.54-13.99v13.99zm0-15.73h-7.57c1.37-3.7 4.09-6.75 7.57-8.54v8.54zm62.92 71.46v-8.54h7.57c-1.37 3.7-4.09 6.75-7.57 8.54zm0-10.28v-13.99H90c0 6.1-3.47 11.38-8.54 13.99zm0-29.72v-13.99c5.07 2.61 8.54 7.89 8.54 13.99 0 6.1-3.47 11.38-8.54 13.99v-13.99c0 8.69-7.04 15.73-15.73 15.73h15.73c0 8.69-7.04 15.73-15.73 15.73h13.99c-2.61 5.07-7.89 8.54-13.99 8.54v-8.54-15.73c0 8.69-7.04 15.73-15.73 15.73h13.99c-2.61 5.07-7.89 8.54-13.99 8.54-6.1 0-11.38-3.47-13.99-8.54H50c-8.69 0-15.73-7.04-15.73-15.73v24.27c-6.1 0-11.38-3.47-13.99-8.54h13.99c-8.69 0-15.73-7.04-15.73-15.73h15.73c-8.69 0-15.73-7.04-15.73-15.73 0-8.69 7.04-15.73 15.73-15.73H18.54c0-8.69 7.04-15.73 15.73-15.73v15.73c0-8.69 7.04-15.73 15.73-15.73 8.69 0 15.73 7.04 15.73 15.73v-15.73c8.69 0 15.73 7.04 15.73 15.73v-13.99c5.07 2.61 8.54 7.89 8.54 13.99H65.73c8.69 0 15.73 7.04 15.73 15.73z",
|
|
@@ -7433,39 +8031,39 @@ function IllustrationShare(props) {
|
|
|
7433
8031
|
var share_default = IllustrationShare;
|
|
7434
8032
|
|
|
7435
8033
|
// src/illustrations/faq-and-security.js
|
|
7436
|
-
import * as
|
|
8034
|
+
import * as React77 from "react";
|
|
7437
8035
|
function IllustrationFaQandSecurity(props) {
|
|
7438
|
-
return /* @__PURE__ */
|
|
8036
|
+
return /* @__PURE__ */ React77.createElement(
|
|
7439
8037
|
"svg",
|
|
7440
8038
|
__spreadValues({
|
|
7441
8039
|
viewBox: "0 0 100 100",
|
|
7442
8040
|
fill: "none",
|
|
7443
8041
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7444
8042
|
}, props),
|
|
7445
|
-
/* @__PURE__ */
|
|
8043
|
+
/* @__PURE__ */ React77.createElement(
|
|
7446
8044
|
"path",
|
|
7447
8045
|
{
|
|
7448
8046
|
d: "M50 70c11.046 0 20-8.954 20-20s-8.954-20-20-20-20 8.954-20 20 8.954 20 20 20z",
|
|
7449
8047
|
fill: "currentColor"
|
|
7450
8048
|
}
|
|
7451
8049
|
),
|
|
7452
|
-
/* @__PURE__ */
|
|
7453
|
-
/* @__PURE__ */
|
|
8050
|
+
/* @__PURE__ */ React77.createElement("path", { d: "M31 50V0H0v100h99.999V69H31V50z", fill: "currentColor" }),
|
|
8051
|
+
/* @__PURE__ */ React77.createElement("path", { d: "M100 66V0H34v31h35v35h31z", fill: "currentColor" })
|
|
7454
8052
|
);
|
|
7455
8053
|
}
|
|
7456
8054
|
var faq_and_security_default = IllustrationFaQandSecurity;
|
|
7457
8055
|
|
|
7458
8056
|
// src/illustrations/starred.js
|
|
7459
|
-
import * as
|
|
8057
|
+
import * as React78 from "react";
|
|
7460
8058
|
function IllustrationStarred(props) {
|
|
7461
|
-
return /* @__PURE__ */
|
|
8059
|
+
return /* @__PURE__ */ React78.createElement(
|
|
7462
8060
|
"svg",
|
|
7463
8061
|
__spreadValues({
|
|
7464
8062
|
viewBox: "0 0 101 101",
|
|
7465
8063
|
fill: "none",
|
|
7466
8064
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7467
8065
|
}, props),
|
|
7468
|
-
/* @__PURE__ */
|
|
8066
|
+
/* @__PURE__ */ React78.createElement(
|
|
7469
8067
|
"path",
|
|
7470
8068
|
{
|
|
7471
8069
|
d: "M38.963 0C17.45 0 0 18.136 0 40.495v8.507h9.444C30.967 49.002 48 30.41 48 8.05V.002L38.963 0zM100.002 38.965c0-21.513-18.136-38.963-40.495-38.963H51v9.444c0 21.523 18.592 38.556 40.951 38.556H100l.002-9.037zM61.039 100.004c21.513 0 38.963-18.136 38.963-40.495v-8.507h-9.444c-21.523 0-38.556 18.592-38.556 40.951v8.049l9.037.002zM0 61.039c0 21.513 18.136 38.963 40.495 38.963h8.507v-9.444c0-21.523-18.592-38.556-40.952-38.556H.002L0 61.039z",
|
|
@@ -7477,16 +8075,16 @@ function IllustrationStarred(props) {
|
|
|
7477
8075
|
var starred_default = IllustrationStarred;
|
|
7478
8076
|
|
|
7479
8077
|
// src/illustrations/five-minute-limit.js
|
|
7480
|
-
import * as
|
|
8078
|
+
import * as React79 from "react";
|
|
7481
8079
|
function Illustration5MinuteLimit(props) {
|
|
7482
|
-
return /* @__PURE__ */
|
|
8080
|
+
return /* @__PURE__ */ React79.createElement(
|
|
7483
8081
|
"svg",
|
|
7484
8082
|
__spreadValues({
|
|
7485
8083
|
viewBox: "0 0 110 110",
|
|
7486
8084
|
fill: "none",
|
|
7487
8085
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7488
8086
|
}, props),
|
|
7489
|
-
/* @__PURE__ */
|
|
8087
|
+
/* @__PURE__ */ React79.createElement(
|
|
7490
8088
|
"path",
|
|
7491
8089
|
{
|
|
7492
8090
|
fillRule: "evenodd",
|
|
@@ -7500,16 +8098,16 @@ function Illustration5MinuteLimit(props) {
|
|
|
7500
8098
|
var five_minute_limit_default = Illustration5MinuteLimit;
|
|
7501
8099
|
|
|
7502
8100
|
// src/illustrations/starter-plus-plan.js
|
|
7503
|
-
import * as
|
|
8101
|
+
import * as React80 from "react";
|
|
7504
8102
|
function IllustrationStarterPlusPlan(props) {
|
|
7505
|
-
return /* @__PURE__ */
|
|
8103
|
+
return /* @__PURE__ */ React80.createElement(
|
|
7506
8104
|
"svg",
|
|
7507
8105
|
__spreadValues({
|
|
7508
8106
|
viewBox: "0 0 100 100",
|
|
7509
8107
|
fill: "none",
|
|
7510
8108
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7511
8109
|
}, props),
|
|
7512
|
-
/* @__PURE__ */
|
|
8110
|
+
/* @__PURE__ */ React80.createElement(
|
|
7513
8111
|
"path",
|
|
7514
8112
|
{
|
|
7515
8113
|
fillRule: "evenodd",
|
|
@@ -7523,16 +8121,16 @@ function IllustrationStarterPlusPlan(props) {
|
|
|
7523
8121
|
var starter_plus_plan_default = IllustrationStarterPlusPlan;
|
|
7524
8122
|
|
|
7525
8123
|
// src/illustrations/getting-started.js
|
|
7526
|
-
import * as
|
|
8124
|
+
import * as React81 from "react";
|
|
7527
8125
|
function IllustrationGettingStarted(props) {
|
|
7528
|
-
return /* @__PURE__ */
|
|
8126
|
+
return /* @__PURE__ */ React81.createElement(
|
|
7529
8127
|
"svg",
|
|
7530
8128
|
__spreadValues({
|
|
7531
8129
|
viewBox: "0 0 106 106",
|
|
7532
8130
|
fill: "none",
|
|
7533
8131
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7534
8132
|
}, props),
|
|
7535
|
-
/* @__PURE__ */
|
|
8133
|
+
/* @__PURE__ */ React81.createElement(
|
|
7536
8134
|
"path",
|
|
7537
8135
|
{
|
|
7538
8136
|
d: "M53 101c26.51 0 48-21.49 48-48S79.51 5 53 5 5 26.49 5 53s21.49 48 48 48z",
|
|
@@ -7541,7 +8139,7 @@ function IllustrationGettingStarted(props) {
|
|
|
7541
8139
|
strokeMiterlimit: 10
|
|
7542
8140
|
}
|
|
7543
8141
|
),
|
|
7544
|
-
/* @__PURE__ */
|
|
8142
|
+
/* @__PURE__ */ React81.createElement(
|
|
7545
8143
|
"path",
|
|
7546
8144
|
{
|
|
7547
8145
|
d: "M53 100.986c26.51 0 48-14.563 48-32.527 0-17.965-21.49-32.528-48-32.528S5 50.494 5 68.46c0 17.964 21.49 32.527 48 32.527z",
|
|
@@ -7550,7 +8148,7 @@ function IllustrationGettingStarted(props) {
|
|
|
7550
8148
|
strokeMiterlimit: 10
|
|
7551
8149
|
}
|
|
7552
8150
|
),
|
|
7553
|
-
/* @__PURE__ */
|
|
8151
|
+
/* @__PURE__ */ React81.createElement(
|
|
7554
8152
|
"path",
|
|
7555
8153
|
{
|
|
7556
8154
|
d: "M53 100.998c26.51 0 48-8.682 48-19.39 0-10.71-21.49-19.391-48-19.391S5 70.898 5 81.607c0 10.71 21.49 19.391 48 19.391z",
|
|
@@ -7559,7 +8157,7 @@ function IllustrationGettingStarted(props) {
|
|
|
7559
8157
|
strokeMiterlimit: 10
|
|
7560
8158
|
}
|
|
7561
8159
|
),
|
|
7562
|
-
/* @__PURE__ */
|
|
8160
|
+
/* @__PURE__ */ React81.createElement(
|
|
7563
8161
|
"path",
|
|
7564
8162
|
{
|
|
7565
8163
|
d: "M53 100.984c26.51 0 48-3.908 48-8.728S79.51 83.53 53 83.53 5 87.436 5 92.256s21.49 8.728 48 8.728z",
|
|
@@ -7573,23 +8171,23 @@ function IllustrationGettingStarted(props) {
|
|
|
7573
8171
|
var getting_started_default = IllustrationGettingStarted;
|
|
7574
8172
|
|
|
7575
8173
|
// src/illustrations/strong-upload-speed.js
|
|
7576
|
-
import * as
|
|
8174
|
+
import * as React82 from "react";
|
|
7577
8175
|
function IllustrationStrongUploadSpeed(props) {
|
|
7578
|
-
return /* @__PURE__ */
|
|
8176
|
+
return /* @__PURE__ */ React82.createElement(
|
|
7579
8177
|
"svg",
|
|
7580
8178
|
__spreadValues({
|
|
7581
8179
|
viewBox: "0 0 111 110",
|
|
7582
8180
|
fill: "none",
|
|
7583
8181
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7584
8182
|
}, props),
|
|
7585
|
-
/* @__PURE__ */
|
|
8183
|
+
/* @__PURE__ */ React82.createElement(
|
|
7586
8184
|
"path",
|
|
7587
8185
|
{
|
|
7588
8186
|
d: "M.223 57.064l-.208-.356a55.069 55.069 0 002.244 13.991l44.404-40.904-46.44 27.27zM3.27 73.804C10.953 94.924 31.208 110 55 110c23.926 0 44.285-15.269 51.865-36.582l-51.582-47.53L3.27 73.804zm88.867-9.358v24.36L64.838 63.584v39.003a1.49 1.49 0 01-1.486 1.486H47.287a1.49 1.49 0 01-1.486-1.486V63.585l-27.388 25.22V64.446l36.914-33.983 36.81 33.983zM107.861 70.299a54.916 54.916 0 002.125-13.442L63.873 29.78 107.861 70.3zM63.115 25.873l46.886 27.537c-.148-5.228-1.01-10.293-2.526-15.06l-44.36-12.477zM2.482 38.543C.966 43.356.119 48.465 0 53.753l47.436-27.864L2.482 38.543z",
|
|
7589
8187
|
fill: "currentColor"
|
|
7590
8188
|
}
|
|
7591
8189
|
),
|
|
7592
|
-
/* @__PURE__ */
|
|
8190
|
+
/* @__PURE__ */ React82.createElement(
|
|
7593
8191
|
"path",
|
|
7594
8192
|
{
|
|
7595
8193
|
d: "M106.241 34.934C98.216 14.482 78.302 0 55.001 0 31.625 0 11.68 14.57 3.7 35.112l51.582-14.511 50.958 14.333z",
|
|
@@ -7601,16 +8199,16 @@ function IllustrationStrongUploadSpeed(props) {
|
|
|
7601
8199
|
var strong_upload_speed_default = IllustrationStrongUploadSpeed;
|
|
7602
8200
|
|
|
7603
8201
|
// src/illustrations/growth-through-empathy.js
|
|
7604
|
-
import * as
|
|
8202
|
+
import * as React83 from "react";
|
|
7605
8203
|
function IllustrationGrowththroughEmpathy(props) {
|
|
7606
|
-
return /* @__PURE__ */
|
|
8204
|
+
return /* @__PURE__ */ React83.createElement(
|
|
7607
8205
|
"svg",
|
|
7608
8206
|
__spreadValues({
|
|
7609
8207
|
viewBox: "0 0 104 100",
|
|
7610
8208
|
fill: "none",
|
|
7611
8209
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7612
8210
|
}, props),
|
|
7613
|
-
/* @__PURE__ */
|
|
8211
|
+
/* @__PURE__ */ React83.createElement(
|
|
7614
8212
|
"path",
|
|
7615
8213
|
{
|
|
7616
8214
|
d: "M98.75 100.001c0-25.889-20.986-46.876-46.874-46.876C25.987 53.125 5 74.112 5 100.001",
|
|
@@ -7619,7 +8217,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7619
8217
|
strokeMiterlimit: 10
|
|
7620
8218
|
}
|
|
7621
8219
|
),
|
|
7622
|
-
/* @__PURE__ */
|
|
8220
|
+
/* @__PURE__ */ React83.createElement(
|
|
7623
8221
|
"path",
|
|
7624
8222
|
{
|
|
7625
8223
|
d: "M16.704 100.001c0-19.416 15.74-35.171 35.172-35.171 19.43 0 35.171 15.74 35.171 35.171",
|
|
@@ -7628,7 +8226,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7628
8226
|
strokeMiterlimit: 10
|
|
7629
8227
|
}
|
|
7630
8228
|
),
|
|
7631
|
-
/* @__PURE__ */
|
|
8229
|
+
/* @__PURE__ */ React83.createElement(
|
|
7632
8230
|
"path",
|
|
7633
8231
|
{
|
|
7634
8232
|
d: "M28.213 100.001c0-13.07 10.593-23.648 23.648-23.648 13.054 0 23.662 10.579 23.662 23.648",
|
|
@@ -7637,7 +8235,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7637
8235
|
strokeMiterlimit: 10
|
|
7638
8236
|
}
|
|
7639
8237
|
),
|
|
7640
|
-
/* @__PURE__ */
|
|
8238
|
+
/* @__PURE__ */ React83.createElement(
|
|
7641
8239
|
"path",
|
|
7642
8240
|
{
|
|
7643
8241
|
d: "M39.736 100c0-6.692 5.432-12.124 12.124-12.124 6.693 0 12.124 5.432 12.124 12.124M5 0c0 25.889 20.987 46.875 46.875 46.875C77.764 46.875 98.751 25.89 98.751 0",
|
|
@@ -7646,7 +8244,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7646
8244
|
strokeMiterlimit: 10
|
|
7647
8245
|
}
|
|
7648
8246
|
),
|
|
7649
|
-
/* @__PURE__ */
|
|
8247
|
+
/* @__PURE__ */ React83.createElement(
|
|
7650
8248
|
"path",
|
|
7651
8249
|
{
|
|
7652
8250
|
d: "M87.047 0c0 19.416-15.74 35.171-35.172 35.171-19.43 0-35.171-15.74-35.171-35.171",
|
|
@@ -7655,7 +8253,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7655
8253
|
strokeMiterlimit: 10
|
|
7656
8254
|
}
|
|
7657
8255
|
),
|
|
7658
|
-
/* @__PURE__ */
|
|
8256
|
+
/* @__PURE__ */ React83.createElement(
|
|
7659
8257
|
"path",
|
|
7660
8258
|
{
|
|
7661
8259
|
d: "M75.538 0c0 13.07-10.593 23.648-23.648 23.648-13.054 0-23.662-10.579-23.662-23.648",
|
|
@@ -7664,7 +8262,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7664
8262
|
strokeMiterlimit: 10
|
|
7665
8263
|
}
|
|
7666
8264
|
),
|
|
7667
|
-
/* @__PURE__ */
|
|
8265
|
+
/* @__PURE__ */ React83.createElement(
|
|
7668
8266
|
"path",
|
|
7669
8267
|
{
|
|
7670
8268
|
d: "M64.015 0c0 6.693-5.432 12.124-12.124 12.124S39.767 6.693 39.767.002",
|
|
@@ -7678,16 +8276,16 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7678
8276
|
var growth_through_empathy_default = IllustrationGrowththroughEmpathy;
|
|
7679
8277
|
|
|
7680
8278
|
// src/illustrations/troubleshooting.js
|
|
7681
|
-
import * as
|
|
8279
|
+
import * as React84 from "react";
|
|
7682
8280
|
function IllustrationTroubleshooting(props) {
|
|
7683
|
-
return /* @__PURE__ */
|
|
8281
|
+
return /* @__PURE__ */ React84.createElement(
|
|
7684
8282
|
"svg",
|
|
7685
8283
|
__spreadValues({
|
|
7686
8284
|
viewBox: "0 0 110 110",
|
|
7687
8285
|
fill: "none",
|
|
7688
8286
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7689
8287
|
}, props),
|
|
7690
|
-
/* @__PURE__ */
|
|
8288
|
+
/* @__PURE__ */ React84.createElement(
|
|
7691
8289
|
"path",
|
|
7692
8290
|
{
|
|
7693
8291
|
d: "M5 55h99.984c0 27.61-22.375 50-50 50S5 82.61 5 55z",
|
|
@@ -7697,7 +8295,7 @@ function IllustrationTroubleshooting(props) {
|
|
|
7697
8295
|
strokeMiterlimit: 10
|
|
7698
8296
|
}
|
|
7699
8297
|
),
|
|
7700
|
-
/* @__PURE__ */
|
|
8298
|
+
/* @__PURE__ */ React84.createElement(
|
|
7701
8299
|
"path",
|
|
7702
8300
|
{
|
|
7703
8301
|
d: "M55 105c27.614 0 50-22.386 50-50S82.614 5 55 5 5 27.386 5 55s22.386 50 50 50z",
|
|
@@ -7706,7 +8304,7 @@ function IllustrationTroubleshooting(props) {
|
|
|
7706
8304
|
strokeMiterlimit: 10
|
|
7707
8305
|
}
|
|
7708
8306
|
),
|
|
7709
|
-
/* @__PURE__ */
|
|
8307
|
+
/* @__PURE__ */ React84.createElement(
|
|
7710
8308
|
"path",
|
|
7711
8309
|
{
|
|
7712
8310
|
d: "M23.534 55C23.534 37.62 37.62 23.534 55 23.534c17.382 0 31.466 14.085 31.466 31.466",
|
|
@@ -7715,7 +8313,7 @@ function IllustrationTroubleshooting(props) {
|
|
|
7715
8313
|
strokeMiterlimit: 10
|
|
7716
8314
|
}
|
|
7717
8315
|
),
|
|
7718
|
-
/* @__PURE__ */
|
|
8316
|
+
/* @__PURE__ */ React84.createElement(
|
|
7719
8317
|
"path",
|
|
7720
8318
|
{
|
|
7721
8319
|
d: "M42.053 55c0-7.138 5.794-12.932 12.932-12.932 7.138 0 12.932 5.794 12.932 12.932",
|
|
@@ -7729,16 +8327,16 @@ function IllustrationTroubleshooting(props) {
|
|
|
7729
8327
|
var troubleshooting_default = IllustrationTroubleshooting;
|
|
7730
8328
|
|
|
7731
8329
|
// src/illustrations/health-plans.js
|
|
7732
|
-
import * as
|
|
8330
|
+
import * as React85 from "react";
|
|
7733
8331
|
function IllustrationHealthPlans(props) {
|
|
7734
|
-
return /* @__PURE__ */
|
|
8332
|
+
return /* @__PURE__ */ React85.createElement(
|
|
7735
8333
|
"svg",
|
|
7736
8334
|
__spreadValues({
|
|
7737
8335
|
viewBox: "0 0 100 101",
|
|
7738
8336
|
fill: "none",
|
|
7739
8337
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7740
8338
|
}, props),
|
|
7741
|
-
/* @__PURE__ */
|
|
8339
|
+
/* @__PURE__ */ React85.createElement(
|
|
7742
8340
|
"path",
|
|
7743
8341
|
{
|
|
7744
8342
|
fillRule: "evenodd",
|
|
@@ -7752,16 +8350,16 @@ function IllustrationHealthPlans(props) {
|
|
|
7752
8350
|
var health_plans_default = IllustrationHealthPlans;
|
|
7753
8351
|
|
|
7754
8352
|
// src/illustrations/upgrade.js
|
|
7755
|
-
import * as
|
|
8353
|
+
import * as React86 from "react";
|
|
7756
8354
|
function IllustrationUpgrade(props) {
|
|
7757
|
-
return /* @__PURE__ */
|
|
8355
|
+
return /* @__PURE__ */ React86.createElement(
|
|
7758
8356
|
"svg",
|
|
7759
8357
|
__spreadValues({
|
|
7760
8358
|
viewBox: "0 0 100 100",
|
|
7761
8359
|
fill: "none",
|
|
7762
8360
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7763
8361
|
}, props),
|
|
7764
|
-
/* @__PURE__ */
|
|
8362
|
+
/* @__PURE__ */ React86.createElement(
|
|
7765
8363
|
"path",
|
|
7766
8364
|
{
|
|
7767
8365
|
fillRule: "evenodd",
|
|
@@ -7775,16 +8373,16 @@ function IllustrationUpgrade(props) {
|
|
|
7775
8373
|
var upgrade_default = IllustrationUpgrade;
|
|
7776
8374
|
|
|
7777
8375
|
// src/illustrations/how-to-use-loom.js
|
|
7778
|
-
import * as
|
|
8376
|
+
import * as React87 from "react";
|
|
7779
8377
|
function IllustrationHowtoUseLoom(props) {
|
|
7780
|
-
return /* @__PURE__ */
|
|
8378
|
+
return /* @__PURE__ */ React87.createElement(
|
|
7781
8379
|
"svg",
|
|
7782
8380
|
__spreadValues({
|
|
7783
8381
|
viewBox: "0 0 110 110",
|
|
7784
8382
|
fill: "none",
|
|
7785
8383
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7786
8384
|
}, props),
|
|
7787
|
-
/* @__PURE__ */
|
|
8385
|
+
/* @__PURE__ */ React87.createElement(
|
|
7788
8386
|
"path",
|
|
7789
8387
|
{
|
|
7790
8388
|
d: "M61.125 97.536H48.768v12.373h12.357V97.536zM81.608 88.743l-10.701 6.179 6.186 10.714 10.701-6.178-6.186-10.715zM94.92 70.897l-6.178 10.7 10.715 6.187 6.178-10.701-10.714-6.186zM89.445 61.127V48.77H78.014l9.91-5.724-6.178-10.71-9.895 5.724 5.724-9.895-10.71-6.179-5.724 9.895V20.45H48.769V31.88l-5.724-9.895-10.71 6.179 5.723 9.91-9.91-5.723-6.179 10.71 9.91 5.724H20.45v12.356h11.43l-9.91 5.724 6.179 10.71 9.91-5.723-5.723 9.91 10.71 6.178 5.724-9.91v11.431h12.356V78.032l5.724 9.91 10.71-6.178-5.724-9.895 9.895 5.724 6.179-10.71-9.91-5.724h11.447v-.031zM54.947 71.413c-9.095 0-16.465-7.37-16.465-16.465 0-9.095 7.37-16.465 16.465-16.465 9.095 0 16.465 7.37 16.465 16.465 0 9.095-7.37 16.465-16.465 16.465zM109.91 48.77H97.538v12.356h12.372V48.77zM99.46 22.114l-10.714 6.187L94.925 39l10.714-6.186-6.178-10.7zM77.082 4.276L70.896 14.99l10.701 6.179 6.186-10.715-10.7-6.178zM61.125 0H48.768v12.373h12.357V0zM32.825 4.281L22.124 10.46l6.186 10.714 10.701-6.178-6.186-10.715zM10.449 22.127L4.27 32.828l10.714 6.186 6.178-10.7-10.714-6.187zM12.373 48.77H0v12.356h12.373V48.77zM14.99 70.881L4.274 77.067l6.178 10.701 10.715-6.186-6.179-10.7zM28.311 88.746L22.125 99.46l10.701 6.179 6.186-10.715-10.7-6.178z",
|
|
@@ -7796,16 +8394,16 @@ function IllustrationHowtoUseLoom(props) {
|
|
|
7796
8394
|
var how_to_use_loom_default = IllustrationHowtoUseLoom;
|
|
7797
8395
|
|
|
7798
8396
|
// src/illustrations/upload-drag-and-drop.js
|
|
7799
|
-
import * as
|
|
8397
|
+
import * as React88 from "react";
|
|
7800
8398
|
function IllustrationUploadDragAndDrop(props) {
|
|
7801
|
-
return /* @__PURE__ */
|
|
8399
|
+
return /* @__PURE__ */ React88.createElement(
|
|
7802
8400
|
"svg",
|
|
7803
8401
|
__spreadValues({
|
|
7804
8402
|
viewBox: "0 0 100 100",
|
|
7805
8403
|
fill: "none",
|
|
7806
8404
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7807
8405
|
}, props),
|
|
7808
|
-
/* @__PURE__ */
|
|
8406
|
+
/* @__PURE__ */ React88.createElement(
|
|
7809
8407
|
"path",
|
|
7810
8408
|
{
|
|
7811
8409
|
d: "M100 38.086V0H61.914v9.93h21.132L54.963 38.013V16.88h-9.93v21.132L16.951 9.93h21.135V0H0v38.086h9.93V16.951l28.083 28.082H16.88v9.93h21.132L9.93 83.046V61.914H0V100h38.086v-9.93H16.951l28.082-28.086v21.135h9.93V61.984L83.046 90.07H61.914V100H100V61.914h-9.93v21.132L61.987 54.963H83.12v-9.93H61.987L90.07 16.951v21.135H100z",
|
|
@@ -7817,16 +8415,16 @@ function IllustrationUploadDragAndDrop(props) {
|
|
|
7817
8415
|
var upload_drag_and_drop_default = IllustrationUploadDragAndDrop;
|
|
7818
8416
|
|
|
7819
8417
|
// src/illustrations/use-cases.js
|
|
7820
|
-
import * as
|
|
8418
|
+
import * as React89 from "react";
|
|
7821
8419
|
function IllustrationUseCases(props) {
|
|
7822
|
-
return /* @__PURE__ */
|
|
8420
|
+
return /* @__PURE__ */ React89.createElement(
|
|
7823
8421
|
"svg",
|
|
7824
8422
|
__spreadValues({
|
|
7825
8423
|
viewBox: "0 0 100 100",
|
|
7826
8424
|
fill: "none",
|
|
7827
8425
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7828
8426
|
}, props),
|
|
7829
|
-
/* @__PURE__ */
|
|
8427
|
+
/* @__PURE__ */ React89.createElement(
|
|
7830
8428
|
"path",
|
|
7831
8429
|
{
|
|
7832
8430
|
d: "M0 0v100h100V0H0zm90 90H61.91l20.87-12.52L90 89.52V90zm0-71.25H29.01L90 26.56v8.82l-42.3-5.42L90 42.3v9.12l-27.61-8.05L90 56.78v9.73l-15.29-7.42L90 71.34v11.22L76.02 71.35 61.06 90H49.84l24.82-30.94-8.62-4.19L48.98 90h-9.73l22.71-46.76-9.21-2.68L38.34 90h-9.12l17.53-60.15-10.48-1.35L28.4 90h-8.82l9.12-71.25h-9.94V90H10V10h80v8.75z",
|
|
@@ -7838,16 +8436,16 @@ function IllustrationUseCases(props) {
|
|
|
7838
8436
|
var use_cases_default = IllustrationUseCases;
|
|
7839
8437
|
|
|
7840
8438
|
// src/illustrations/invite-members.js
|
|
7841
|
-
import * as
|
|
8439
|
+
import * as React90 from "react";
|
|
7842
8440
|
function IllustrationInviteMembers(props) {
|
|
7843
|
-
return /* @__PURE__ */
|
|
8441
|
+
return /* @__PURE__ */ React90.createElement(
|
|
7844
8442
|
"svg",
|
|
7845
8443
|
__spreadValues({
|
|
7846
8444
|
viewBox: "0 0 134 134",
|
|
7847
8445
|
fill: "none",
|
|
7848
8446
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7849
8447
|
}, props),
|
|
7850
|
-
/* @__PURE__ */
|
|
8448
|
+
/* @__PURE__ */ React90.createElement(
|
|
7851
8449
|
"path",
|
|
7852
8450
|
{
|
|
7853
8451
|
fillRule: "evenodd",
|
|
@@ -7861,45 +8459,45 @@ function IllustrationInviteMembers(props) {
|
|
|
7861
8459
|
var invite_members_default = IllustrationInviteMembers;
|
|
7862
8460
|
|
|
7863
8461
|
// src/illustrations/wellness.js
|
|
7864
|
-
import * as
|
|
8462
|
+
import * as React91 from "react";
|
|
7865
8463
|
function IllustrationWellness(props) {
|
|
7866
|
-
return /* @__PURE__ */
|
|
8464
|
+
return /* @__PURE__ */ React91.createElement(
|
|
7867
8465
|
"svg",
|
|
7868
8466
|
__spreadValues({
|
|
7869
8467
|
viewBox: "0 0 100 101",
|
|
7870
8468
|
fill: "none",
|
|
7871
8469
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7872
8470
|
}, props),
|
|
7873
|
-
/* @__PURE__ */
|
|
8471
|
+
/* @__PURE__ */ React91.createElement(
|
|
7874
8472
|
"path",
|
|
7875
8473
|
{
|
|
7876
8474
|
d: "M66.667.929a33.333 33.333 0 010 66.666V.93zM0 34.263a33.333 33.333 0 0166.667 0H0zM33.333 100.929a33.338 33.338 0 01-23.57-9.763 33.333 33.333 0 0123.57-56.903v66.666z",
|
|
7877
8475
|
fill: "currentColor"
|
|
7878
8476
|
}
|
|
7879
8477
|
),
|
|
7880
|
-
/* @__PURE__ */
|
|
8478
|
+
/* @__PURE__ */ React91.createElement(
|
|
7881
8479
|
"path",
|
|
7882
8480
|
{
|
|
7883
8481
|
d: "M99.999 67.596a33.332 33.332 0 01-64.13 12.756 33.332 33.332 0 01-2.537-12.756h66.667zM33.334.93H.001v33.333h33.333z",
|
|
7884
8482
|
fill: "currentColor"
|
|
7885
8483
|
}
|
|
7886
8484
|
),
|
|
7887
|
-
/* @__PURE__ */
|
|
8485
|
+
/* @__PURE__ */ React91.createElement("path", { fill: "currentColor", d: "M100 67.595H66.667v33.333H100z" })
|
|
7888
8486
|
);
|
|
7889
8487
|
}
|
|
7890
8488
|
var wellness_default = IllustrationWellness;
|
|
7891
8489
|
|
|
7892
8490
|
// src/illustrations/comments.js
|
|
7893
|
-
import * as
|
|
8491
|
+
import * as React92 from "react";
|
|
7894
8492
|
function IllustrationComments(props) {
|
|
7895
|
-
return /* @__PURE__ */
|
|
8493
|
+
return /* @__PURE__ */ React92.createElement(
|
|
7896
8494
|
"svg",
|
|
7897
8495
|
__spreadValues({
|
|
7898
8496
|
viewBox: "0 0 96 96",
|
|
7899
8497
|
fill: "none",
|
|
7900
8498
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7901
8499
|
}, props),
|
|
7902
|
-
/* @__PURE__ */
|
|
8500
|
+
/* @__PURE__ */ React92.createElement(
|
|
7903
8501
|
"path",
|
|
7904
8502
|
{
|
|
7905
8503
|
fillRule: "evenodd",
|
|
@@ -7908,7 +8506,7 @@ function IllustrationComments(props) {
|
|
|
7908
8506
|
fill: "currentColor"
|
|
7909
8507
|
}
|
|
7910
8508
|
),
|
|
7911
|
-
/* @__PURE__ */
|
|
8509
|
+
/* @__PURE__ */ React92.createElement(
|
|
7912
8510
|
"path",
|
|
7913
8511
|
{
|
|
7914
8512
|
fill: "currentColor",
|
|
@@ -7920,16 +8518,16 @@ function IllustrationComments(props) {
|
|
|
7920
8518
|
var comments_default = IllustrationComments;
|
|
7921
8519
|
|
|
7922
8520
|
// src/illustrations/folders-empty-state-mobile.js
|
|
7923
|
-
import * as
|
|
8521
|
+
import * as React93 from "react";
|
|
7924
8522
|
function IllutrationFoldersEmptyStateMobile(props) {
|
|
7925
|
-
return /* @__PURE__ */
|
|
8523
|
+
return /* @__PURE__ */ React93.createElement(
|
|
7926
8524
|
"svg",
|
|
7927
8525
|
__spreadValues({
|
|
7928
8526
|
viewBox: "0 0 96 96",
|
|
7929
8527
|
fill: "none",
|
|
7930
8528
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7931
8529
|
}, props),
|
|
7932
|
-
/* @__PURE__ */
|
|
8530
|
+
/* @__PURE__ */ React93.createElement(
|
|
7933
8531
|
"path",
|
|
7934
8532
|
{
|
|
7935
8533
|
fillRule: "evenodd",
|
|
@@ -7938,7 +8536,7 @@ function IllutrationFoldersEmptyStateMobile(props) {
|
|
|
7938
8536
|
fill: "currentColor"
|
|
7939
8537
|
}
|
|
7940
8538
|
),
|
|
7941
|
-
/* @__PURE__ */
|
|
8539
|
+
/* @__PURE__ */ React93.createElement(
|
|
7942
8540
|
"path",
|
|
7943
8541
|
{
|
|
7944
8542
|
fillRule: "evenodd",
|
|
@@ -7952,23 +8550,23 @@ function IllutrationFoldersEmptyStateMobile(props) {
|
|
|
7952
8550
|
var folders_empty_state_mobile_default = IllutrationFoldersEmptyStateMobile;
|
|
7953
8551
|
|
|
7954
8552
|
// src/illustrations/help-ios.js
|
|
7955
|
-
import * as
|
|
8553
|
+
import * as React94 from "react";
|
|
7956
8554
|
function IllustrationHelpIos(props) {
|
|
7957
|
-
return /* @__PURE__ */
|
|
8555
|
+
return /* @__PURE__ */ React94.createElement(
|
|
7958
8556
|
"svg",
|
|
7959
8557
|
__spreadValues({
|
|
7960
8558
|
viewBox: "0 0 96 96",
|
|
7961
8559
|
fill: "none",
|
|
7962
8560
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7963
8561
|
}, props),
|
|
7964
|
-
/* @__PURE__ */
|
|
8562
|
+
/* @__PURE__ */ React94.createElement(
|
|
7965
8563
|
"path",
|
|
7966
8564
|
{
|
|
7967
8565
|
d: "M22.8 12c5.965 0 10.8 4.835 10.8 10.8 0 .254-.008.505-.026.754C38.542 16.58 46.912 12 56.4 12 71.643 12 84 23.82 84 38.4c0 14.58-12.357 26.4-27.6 26.4-5.744 0-11.078-1.678-15.496-4.55A15.527 15.527 0 0143.2 68.4c0 8.616-6.984 15.6-15.6 15.6C18.985 84 12 77.016 12 68.4s6.985-15.6 15.6-15.6c2.444 0 4.757.562 6.816 1.564C30.892 49.93 28.8 44.399 28.8 38.4c0-2.6.393-5.11 1.125-7.483A10.76 10.76 0 0122.8 33.6c-5.964 0-10.8-4.835-10.8-10.8C12 16.835 16.836 12 22.8 12z",
|
|
7968
8566
|
fill: "currentColor"
|
|
7969
8567
|
}
|
|
7970
8568
|
),
|
|
7971
|
-
/* @__PURE__ */
|
|
8569
|
+
/* @__PURE__ */ React94.createElement(
|
|
7972
8570
|
"path",
|
|
7973
8571
|
{
|
|
7974
8572
|
fillRule: "evenodd",
|
|
@@ -7982,17 +8580,17 @@ function IllustrationHelpIos(props) {
|
|
|
7982
8580
|
var help_ios_default = IllustrationHelpIos;
|
|
7983
8581
|
|
|
7984
8582
|
// src/illustrations/my-videos-empty-state-mobile.js
|
|
7985
|
-
import * as
|
|
8583
|
+
import * as React95 from "react";
|
|
7986
8584
|
function IllustrationMyVideosEmptyStateMobile(props) {
|
|
7987
|
-
return /* @__PURE__ */
|
|
8585
|
+
return /* @__PURE__ */ React95.createElement(
|
|
7988
8586
|
"svg",
|
|
7989
8587
|
__spreadValues({
|
|
7990
8588
|
viewBox: "0 0 96 96",
|
|
7991
8589
|
fill: "none",
|
|
7992
8590
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7993
8591
|
}, props),
|
|
7994
|
-
/* @__PURE__ */
|
|
7995
|
-
/* @__PURE__ */
|
|
8592
|
+
/* @__PURE__ */ React95.createElement("path", { d: "M96 0H0v96h96V0zM84 12v72H12V12h72z", fill: "currentColor" }),
|
|
8593
|
+
/* @__PURE__ */ React95.createElement(
|
|
7996
8594
|
"path",
|
|
7997
8595
|
{
|
|
7998
8596
|
fillRule: "evenodd",
|
|
@@ -8006,16 +8604,16 @@ function IllustrationMyVideosEmptyStateMobile(props) {
|
|
|
8006
8604
|
var my_videos_empty_state_mobile_default = IllustrationMyVideosEmptyStateMobile;
|
|
8007
8605
|
|
|
8008
8606
|
// src/illustrations/recents-empty-state-mobile.js
|
|
8009
|
-
import * as
|
|
8607
|
+
import * as React96 from "react";
|
|
8010
8608
|
function IllustrationRecentsEmptyStateMobile(props) {
|
|
8011
|
-
return /* @__PURE__ */
|
|
8609
|
+
return /* @__PURE__ */ React96.createElement(
|
|
8012
8610
|
"svg",
|
|
8013
8611
|
__spreadValues({
|
|
8014
8612
|
viewBox: "0 0 96 96",
|
|
8015
8613
|
fill: "none",
|
|
8016
8614
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8017
8615
|
}, props),
|
|
8018
|
-
/* @__PURE__ */
|
|
8616
|
+
/* @__PURE__ */ React96.createElement(
|
|
8019
8617
|
"path",
|
|
8020
8618
|
{
|
|
8021
8619
|
fillRule: "evenodd",
|
|
@@ -8029,16 +8627,16 @@ function IllustrationRecentsEmptyStateMobile(props) {
|
|
|
8029
8627
|
var recents_empty_state_mobile_default = IllustrationRecentsEmptyStateMobile;
|
|
8030
8628
|
|
|
8031
8629
|
// src/illustrations/chrome-notifications-empty-state.js
|
|
8032
|
-
import * as
|
|
8630
|
+
import * as React97 from "react";
|
|
8033
8631
|
function IllustrationChromeNotificationsEmptyState(props) {
|
|
8034
|
-
return /* @__PURE__ */
|
|
8632
|
+
return /* @__PURE__ */ React97.createElement(
|
|
8035
8633
|
"svg",
|
|
8036
8634
|
__spreadValues({
|
|
8037
8635
|
viewBox: "0 0 96 96",
|
|
8038
8636
|
fill: "none",
|
|
8039
8637
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8040
8638
|
}, props),
|
|
8041
|
-
/* @__PURE__ */
|
|
8639
|
+
/* @__PURE__ */ React97.createElement(
|
|
8042
8640
|
"circle",
|
|
8043
8641
|
{
|
|
8044
8642
|
cx: 15.84,
|
|
@@ -8048,7 +8646,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8048
8646
|
strokeWidth: 9.6
|
|
8049
8647
|
}
|
|
8050
8648
|
),
|
|
8051
|
-
/* @__PURE__ */
|
|
8649
|
+
/* @__PURE__ */ React97.createElement(
|
|
8052
8650
|
"path",
|
|
8053
8651
|
{
|
|
8054
8652
|
d: "M59.52 15.84c0 5.963-5.022 11.04-11.52 11.04-6.498 0-11.52-5.077-11.52-11.04C36.48 9.877 41.502 4.8 48 4.8c6.498 0 11.52 5.077 11.52 11.04z",
|
|
@@ -8056,8 +8654,8 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8056
8654
|
strokeWidth: 9.6
|
|
8057
8655
|
}
|
|
8058
8656
|
),
|
|
8059
|
-
/* @__PURE__ */
|
|
8060
|
-
/* @__PURE__ */
|
|
8657
|
+
/* @__PURE__ */ React97.createElement("circle", { cx: 80.16, cy: 15.84, r: 15.84, fill: "currentColor" }),
|
|
8658
|
+
/* @__PURE__ */ React97.createElement(
|
|
8061
8659
|
"path",
|
|
8062
8660
|
{
|
|
8063
8661
|
d: "M26.88 48c0 6.498-5.077 11.52-11.04 11.52C9.877 59.52 4.8 54.498 4.8 48c0-6.498 5.077-11.52 11.04-11.52 5.963 0 11.04 5.022 11.04 11.52z",
|
|
@@ -8065,7 +8663,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8065
8663
|
strokeWidth: 9.6
|
|
8066
8664
|
}
|
|
8067
8665
|
),
|
|
8068
|
-
/* @__PURE__ */
|
|
8666
|
+
/* @__PURE__ */ React97.createElement(
|
|
8069
8667
|
"circle",
|
|
8070
8668
|
{
|
|
8071
8669
|
cx: 48,
|
|
@@ -8075,7 +8673,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8075
8673
|
strokeWidth: 9.6
|
|
8076
8674
|
}
|
|
8077
8675
|
),
|
|
8078
|
-
/* @__PURE__ */
|
|
8676
|
+
/* @__PURE__ */ React97.createElement(
|
|
8079
8677
|
"path",
|
|
8080
8678
|
{
|
|
8081
8679
|
d: "M91.2 48c0 6.498-5.077 11.52-11.04 11.52-5.963 0-11.04-5.022-11.04-11.52 0-6.498 5.077-11.52 11.04-11.52 5.963 0 11.04 5.022 11.04 11.52z",
|
|
@@ -8083,7 +8681,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8083
8681
|
strokeWidth: 9.6
|
|
8084
8682
|
}
|
|
8085
8683
|
),
|
|
8086
|
-
/* @__PURE__ */
|
|
8684
|
+
/* @__PURE__ */ React97.createElement(
|
|
8087
8685
|
"circle",
|
|
8088
8686
|
{
|
|
8089
8687
|
cx: 15.84,
|
|
@@ -8093,7 +8691,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8093
8691
|
strokeWidth: 9.6
|
|
8094
8692
|
}
|
|
8095
8693
|
),
|
|
8096
|
-
/* @__PURE__ */
|
|
8694
|
+
/* @__PURE__ */ React97.createElement(
|
|
8097
8695
|
"path",
|
|
8098
8696
|
{
|
|
8099
8697
|
d: "M59.52 80.16c0 5.963-5.022 11.04-11.52 11.04-6.498 0-11.52-5.077-11.52-11.04 0-5.963 5.022-11.04 11.52-11.04 6.498 0 11.52 5.077 11.52 11.04z",
|
|
@@ -8101,7 +8699,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8101
8699
|
strokeWidth: 9.6
|
|
8102
8700
|
}
|
|
8103
8701
|
),
|
|
8104
|
-
/* @__PURE__ */
|
|
8702
|
+
/* @__PURE__ */ React97.createElement(
|
|
8105
8703
|
"circle",
|
|
8106
8704
|
{
|
|
8107
8705
|
cx: 80.16,
|
|
@@ -8213,6 +8811,7 @@ export {
|
|
|
8213
8811
|
toast_default as Toast,
|
|
8214
8812
|
tooltip_default as Tooltip,
|
|
8215
8813
|
TooltipBox,
|
|
8814
|
+
typeahead_default as Typeahead,
|
|
8216
8815
|
accessibilityRules,
|
|
8217
8816
|
alignSelfRules,
|
|
8218
8817
|
alphaFunction,
|