@loomhq/lens 12.1.0 → 12.2.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/image-strikethrough.js +57 -0
- package/dist/cjs/icons/image-strikethrough.js.map +7 -0
- package/dist/cjs/icons/index.js +693 -1209
- package/dist/cjs/icons/index.js.map +4 -4
- 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/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/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/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/index.js +1379 -850
- 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-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-6WJ5SW36.js +11 -0
- package/dist/esm/icons/chunk-6WJ5SW36.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-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-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-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-T4L22EHS.js +11 -0
- package/dist/esm/icons/chunk-T4L22EHS.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/image-strikethrough.js +8 -0
- package/dist/esm/icons/image-strikethrough.js.map +7 -0
- package/dist/esm/icons/index.js +123 -119
- package/dist/esm/icons/link-off.js +1 -1
- package/dist/esm/icons/mic-off.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/screen-cam.js +1 -1
- package/dist/esm/icons/silence-removal.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/index.js +1345 -816
- package/dist/esm/index.js.map +4 -4
- 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/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 +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/select/select.d.ts +9 -3
- package/dist/types/components/select/select.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/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 +11 -11
- 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-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-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-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-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-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-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-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-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,7 +3162,7 @@ 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
3168
|
role: "checkbox",
|
|
@@ -3106,14 +3175,14 @@ var Checkbox = forwardRef2(
|
|
|
3106
3175
|
ref: checkboxRef,
|
|
3107
3176
|
"aria-checked": isChecked
|
|
3108
3177
|
}, props)
|
|
3109
|
-
), /* @__PURE__ */
|
|
3178
|
+
), /* @__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
3179
|
}
|
|
3111
3180
|
);
|
|
3112
3181
|
var checkbox_default = Checkbox;
|
|
3113
3182
|
|
|
3114
3183
|
// src/components/text-button/text-button.tsx
|
|
3115
|
-
import
|
|
3116
|
-
import
|
|
3184
|
+
import styled16 from "@emotion/styled";
|
|
3185
|
+
import React19 from "react";
|
|
3117
3186
|
var sizeStyles2 = {
|
|
3118
3187
|
small: {
|
|
3119
3188
|
textSize: "small",
|
|
@@ -3137,7 +3206,7 @@ var sizeStyles2 = {
|
|
|
3137
3206
|
radius: "var(--lns-radius-200)"
|
|
3138
3207
|
}
|
|
3139
3208
|
};
|
|
3140
|
-
var TextButtonWrapper =
|
|
3209
|
+
var TextButtonWrapper = styled16.button`
|
|
3141
3210
|
background-color: ${(props) => props.isActive ? getColorValue("backgroundActive") : "transparent"};
|
|
3142
3211
|
display: inline-flex;
|
|
3143
3212
|
vertical-align: middle;
|
|
@@ -3149,7 +3218,7 @@ var TextButtonWrapper = styled15.button`
|
|
|
3149
3218
|
height: ${(props) => sizeStyles2[props.size].height};
|
|
3150
3219
|
cursor: pointer;
|
|
3151
3220
|
transition: 0.6s background-color;
|
|
3152
|
-
color: ${getColorValue("body")};
|
|
3221
|
+
color: ${(props) => getColorValue(props.color || "body")};
|
|
3153
3222
|
${getFontWeight("bold")};
|
|
3154
3223
|
border-radius: ${(props) => sizeStyles2[props.size].radius};
|
|
3155
3224
|
${(props) => getTextSize(sizeStyles2[props.size].textSize)};
|
|
@@ -3184,7 +3253,7 @@ var TextButtonWrapper = styled15.button`
|
|
|
3184
3253
|
pointer-events: none;
|
|
3185
3254
|
}
|
|
3186
3255
|
`;
|
|
3187
|
-
var TextButton =
|
|
3256
|
+
var TextButton = React19.forwardRef(
|
|
3188
3257
|
(_a, ref) => {
|
|
3189
3258
|
var _b = _a, {
|
|
3190
3259
|
onClick,
|
|
@@ -3207,14 +3276,14 @@ var TextButton = React18.forwardRef(
|
|
|
3207
3276
|
"htmlTag",
|
|
3208
3277
|
"offsetSide"
|
|
3209
3278
|
]);
|
|
3210
|
-
const iconComponent = /* @__PURE__ */
|
|
3279
|
+
const iconComponent = /* @__PURE__ */ React19.createElement(
|
|
3211
3280
|
container_default,
|
|
3212
3281
|
{
|
|
3213
3282
|
paddingLeft: iconPosition === "right" && "small",
|
|
3214
3283
|
paddingRight: iconPosition === "left" && "small",
|
|
3215
3284
|
htmlTag: "span"
|
|
3216
3285
|
},
|
|
3217
|
-
/* @__PURE__ */
|
|
3286
|
+
/* @__PURE__ */ React19.createElement(
|
|
3218
3287
|
icon_default,
|
|
3219
3288
|
{
|
|
3220
3289
|
icon,
|
|
@@ -3223,7 +3292,7 @@ var TextButton = React18.forwardRef(
|
|
|
3223
3292
|
}
|
|
3224
3293
|
)
|
|
3225
3294
|
);
|
|
3226
|
-
return /* @__PURE__ */
|
|
3295
|
+
return /* @__PURE__ */ React19.createElement(
|
|
3227
3296
|
TextButtonWrapper,
|
|
3228
3297
|
__spreadValues({
|
|
3229
3298
|
onClick,
|
|
@@ -3246,9 +3315,9 @@ TextButton.displayName = "TextButton";
|
|
|
3246
3315
|
var text_button_default = TextButton;
|
|
3247
3316
|
|
|
3248
3317
|
// src/components/select/select.tsx
|
|
3249
|
-
import
|
|
3318
|
+
import styled18 from "@emotion/styled";
|
|
3250
3319
|
import Downshift from "downshift";
|
|
3251
|
-
import
|
|
3320
|
+
import React23, { useEffect as useEffect2, useState } from "react";
|
|
3252
3321
|
import { useLayer } from "react-laag";
|
|
3253
3322
|
import ResizeObserver from "resize-observer-polyfill";
|
|
3254
3323
|
|
|
@@ -3276,20 +3345,20 @@ var getDownshiftEnvironment = (container) => {
|
|
|
3276
3345
|
|
|
3277
3346
|
// src/components/icon/available-icons/chevron-down.tsx
|
|
3278
3347
|
import ChevronDownIcon from "@atlaskit/icon/utility/chevron-down";
|
|
3279
|
-
import * as
|
|
3348
|
+
import * as React20 from "react";
|
|
3280
3349
|
function SvgChevronDown() {
|
|
3281
|
-
return /* @__PURE__ */
|
|
3350
|
+
return /* @__PURE__ */ React20.createElement(ChevronDownIcon, { label: "", spacing: "compact", testId: "ads-refreshed-icon" });
|
|
3282
3351
|
}
|
|
3283
3352
|
|
|
3284
3353
|
// src/components/menu/menu.tsx
|
|
3285
|
-
import
|
|
3286
|
-
import
|
|
3354
|
+
import styled17 from "@emotion/styled";
|
|
3355
|
+
import React22 from "react";
|
|
3287
3356
|
|
|
3288
3357
|
// src/components/icon/available-icons/check.tsx
|
|
3289
3358
|
import CheckMarkIcon from "@atlaskit/icon/core/check-mark";
|
|
3290
|
-
import * as
|
|
3359
|
+
import * as React21 from "react";
|
|
3291
3360
|
function SvgCheck() {
|
|
3292
|
-
return /* @__PURE__ */
|
|
3361
|
+
return /* @__PURE__ */ React21.createElement(CheckMarkIcon, { label: "", testId: "ads-refreshed-icon" });
|
|
3293
3362
|
}
|
|
3294
3363
|
|
|
3295
3364
|
// src/components/menu/menu.tsx
|
|
@@ -3301,7 +3370,7 @@ var menuPositions = {
|
|
|
3301
3370
|
leftSide: "left-start",
|
|
3302
3371
|
rightSide: "right-start"
|
|
3303
3372
|
};
|
|
3304
|
-
var MenuWrapper =
|
|
3373
|
+
var MenuWrapper = styled17.ul`
|
|
3305
3374
|
background-color: ${getColorValue("overlay")};
|
|
3306
3375
|
list-style: none;
|
|
3307
3376
|
padding: ${u(1.5)};
|
|
@@ -3315,7 +3384,7 @@ var MenuWrapper = styled16.ul`
|
|
|
3315
3384
|
${getShadow("medium")};
|
|
3316
3385
|
${getRadius("250")};
|
|
3317
3386
|
`;
|
|
3318
|
-
var MenuItemWrapper =
|
|
3387
|
+
var MenuItemWrapper = styled17.li`
|
|
3319
3388
|
display: ${({ hidden }) => hidden ? "none" : "grid"};
|
|
3320
3389
|
grid-auto-flow: column;
|
|
3321
3390
|
grid-template-columns: ${(props) => props.columns};
|
|
@@ -3341,6 +3410,14 @@ var MenuItemWrapper = styled16.li`
|
|
|
3341
3410
|
}
|
|
3342
3411
|
`};
|
|
3343
3412
|
`;
|
|
3413
|
+
var Image2 = styled17.img`
|
|
3414
|
+
height: 100%;
|
|
3415
|
+
width: auto;
|
|
3416
|
+
min-width: 100%;
|
|
3417
|
+
min-height: 100%;
|
|
3418
|
+
object-fit: cover;
|
|
3419
|
+
opacity: ${({ isDisabled }) => isDisabled ? 0.5 : 1};
|
|
3420
|
+
`;
|
|
3344
3421
|
var MenuItem = (_a) => {
|
|
3345
3422
|
var _b = _a, {
|
|
3346
3423
|
isDisabled,
|
|
@@ -3361,7 +3438,7 @@ var MenuItem = (_a) => {
|
|
|
3361
3438
|
const iconColumn = icon ? "auto" : "";
|
|
3362
3439
|
const columns = `${iconColumn} 1fr ${checkColumn}`;
|
|
3363
3440
|
const color = isDisabled ? "disabledContent" : void 0;
|
|
3364
|
-
return /* @__PURE__ */
|
|
3441
|
+
return /* @__PURE__ */ React22.createElement(
|
|
3365
3442
|
MenuItemWrapper,
|
|
3366
3443
|
__spreadValues({
|
|
3367
3444
|
isHighlighted,
|
|
@@ -3369,9 +3446,9 @@ var MenuItem = (_a) => {
|
|
|
3369
3446
|
columns,
|
|
3370
3447
|
hasDivider
|
|
3371
3448
|
}, props),
|
|
3372
|
-
icon && /* @__PURE__ */
|
|
3373
|
-
/* @__PURE__ */
|
|
3374
|
-
isSelected && /* @__PURE__ */
|
|
3449
|
+
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 })),
|
|
3450
|
+
/* @__PURE__ */ React22.createElement(text_default, { color, hasEllipsis: true }, children),
|
|
3451
|
+
isSelected && /* @__PURE__ */ React22.createElement(icon_default, { icon: /* @__PURE__ */ React22.createElement(SvgCheck, null), color })
|
|
3375
3452
|
);
|
|
3376
3453
|
};
|
|
3377
3454
|
var Menu = (_a) => {
|
|
@@ -3392,7 +3469,7 @@ var Menu = (_a) => {
|
|
|
3392
3469
|
"children",
|
|
3393
3470
|
"downshiftMenuProps"
|
|
3394
3471
|
]);
|
|
3395
|
-
return /* @__PURE__ */
|
|
3472
|
+
return /* @__PURE__ */ React22.createElement(
|
|
3396
3473
|
MenuWrapper,
|
|
3397
3474
|
__spreadValues(__spreadValues({
|
|
3398
3475
|
zIndex,
|
|
@@ -3407,10 +3484,10 @@ var Menu = (_a) => {
|
|
|
3407
3484
|
var menu_default = Menu;
|
|
3408
3485
|
|
|
3409
3486
|
// src/components/select/select.tsx
|
|
3410
|
-
var SelectWrapper =
|
|
3487
|
+
var SelectWrapper = styled18.div`
|
|
3411
3488
|
position: relative;
|
|
3412
3489
|
`;
|
|
3413
|
-
var SelectHeaderWrapper =
|
|
3490
|
+
var SelectHeaderWrapper = styled18.button`
|
|
3414
3491
|
appearance: none;
|
|
3415
3492
|
font: inherit;
|
|
3416
3493
|
text-align: left;
|
|
@@ -3428,12 +3505,12 @@ var SelectHeaderWrapper = styled17.button`
|
|
|
3428
3505
|
background-color: ${getColorValue("formFieldBackground")};
|
|
3429
3506
|
transition: 0.3s box-shadow;
|
|
3430
3507
|
border-radius: var(--lns-formFieldRadius);
|
|
3431
|
-
box-shadow: inset 0 0 0
|
|
3432
|
-
var(--lns-color-formFieldBorder);
|
|
3508
|
+
box-shadow: inset 0 0 0
|
|
3509
|
+
${(props) => props.hasError ? "var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger)" : "var(--lns-formFieldBorderWidth) var(--lns-color-formFieldBorder)"};
|
|
3433
3510
|
|
|
3434
3511
|
&:hover:not(:disabled) {
|
|
3435
3512
|
box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)
|
|
3436
|
-
var(--lns-color-blurple);
|
|
3513
|
+
${(props) => props.hasError ? "var(--lns-color-danger)" : "var(--lns-color-blurple)"};
|
|
3437
3514
|
}
|
|
3438
3515
|
|
|
3439
3516
|
&:focus {
|
|
@@ -3441,17 +3518,57 @@ var SelectHeaderWrapper = styled17.button`
|
|
|
3441
3518
|
box-shadow: var(--lns-formFieldBorderShadowFocus);
|
|
3442
3519
|
}
|
|
3443
3520
|
|
|
3521
|
+
&:focus:hover {
|
|
3522
|
+
outline: 1px solid transparent;
|
|
3523
|
+
box-shadow: var(--lns-formFieldBorderShadowFocus);
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3444
3526
|
&:disabled {
|
|
3445
3527
|
color: ${getColorValue("disabledContent")};
|
|
3446
3528
|
background-color: ${getColorValue("disabledBackground")};
|
|
3447
3529
|
cursor: default;
|
|
3448
3530
|
}
|
|
3449
3531
|
`;
|
|
3532
|
+
var Image3 = styled18.img`
|
|
3533
|
+
height: 100%;
|
|
3534
|
+
width: auto;
|
|
3535
|
+
min-width: 100%;
|
|
3536
|
+
min-height: 100%;
|
|
3537
|
+
object-fit: cover;
|
|
3538
|
+
opacity: ${({ isDisabled }) => isDisabled ? 0.5 : 1};
|
|
3539
|
+
`;
|
|
3540
|
+
var Group = styled18.ul`
|
|
3541
|
+
list-style: none;
|
|
3542
|
+
margin: 0;
|
|
3543
|
+
padding: 0;
|
|
3544
|
+
`;
|
|
3545
|
+
var ErrorMessage = styled18.span`
|
|
3546
|
+
color: var(--lns-color-red);
|
|
3547
|
+
margin-top: var(--lns-space-xsmall);
|
|
3548
|
+
display: block;
|
|
3549
|
+
width: 100%;
|
|
3550
|
+
grid-column-start: 1;
|
|
3551
|
+
grid-column-end: 3;
|
|
3552
|
+
`;
|
|
3553
|
+
var isGrouped = (options) => Array.isArray(options) && options.length > 0 && "group" in options[0];
|
|
3450
3554
|
var getSelectedOptionObject = ({ options, selectedOptionValue }) => {
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3555
|
+
if (!options || !selectedOptionValue) {
|
|
3556
|
+
return { icon: null, title: null };
|
|
3557
|
+
}
|
|
3558
|
+
if (isGrouped(options)) {
|
|
3559
|
+
for (const option of options) {
|
|
3560
|
+
const foundItem = option.items.find(
|
|
3561
|
+
(item) => item.value === selectedOptionValue
|
|
3562
|
+
);
|
|
3563
|
+
if (foundItem) {
|
|
3564
|
+
return foundItem;
|
|
3565
|
+
}
|
|
3566
|
+
}
|
|
3567
|
+
} else {
|
|
3568
|
+
const foundItem = options.find((item) => item.value === selectedOptionValue);
|
|
3569
|
+
return foundItem || { icon: null, title: null };
|
|
3570
|
+
}
|
|
3571
|
+
return { icon: null, title: null };
|
|
3455
3572
|
};
|
|
3456
3573
|
var getIcon = ({ options, selectedItem, selectedOptionValue }) => {
|
|
3457
3574
|
if (selectedItem) {
|
|
@@ -3482,11 +3599,12 @@ var getHeaderAccessibilityProps = ({
|
|
|
3482
3599
|
ariaMenuName
|
|
3483
3600
|
}) => {
|
|
3484
3601
|
const valueLabel = selectedItem ? `selected value is ${selectedItem.title}` : "no value selected";
|
|
3602
|
+
const toggleLabel = getToggleButtonProps == null ? void 0 : getToggleButtonProps()["aria-label"];
|
|
3485
3603
|
return {
|
|
3486
3604
|
// Ensures all options within the list of selections can be narrated by a screen reader
|
|
3487
3605
|
"aria-activedescendant": getInputProps()["aria-activedescendant"],
|
|
3488
3606
|
// 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
|
|
3489
|
-
"aria-label":
|
|
3607
|
+
"aria-label": [ariaMenuName, toggleLabel, valueLabel].filter(Boolean).join(", ")
|
|
3490
3608
|
};
|
|
3491
3609
|
};
|
|
3492
3610
|
var SelectHeader = ({
|
|
@@ -3498,16 +3616,16 @@ var SelectHeader = ({
|
|
|
3498
3616
|
isDisabled,
|
|
3499
3617
|
options,
|
|
3500
3618
|
getInputProps,
|
|
3501
|
-
ariaMenuName
|
|
3619
|
+
ariaMenuName,
|
|
3620
|
+
hasError
|
|
3502
3621
|
}) => {
|
|
3503
|
-
const
|
|
3504
|
-
|
|
3505
|
-
);
|
|
3622
|
+
const icon = getIcon({ options, selectedItem, selectedOptionValue });
|
|
3623
|
+
const hasIcon = Boolean(icon);
|
|
3506
3624
|
const hasPlaceholder = !selectedOptionValue && !selectedItem;
|
|
3507
3625
|
const iconColumn = hasIcon ? "auto" : "";
|
|
3508
3626
|
const columns = `${iconColumn} 1fr auto`;
|
|
3509
3627
|
const color = isDisabled ? "disabledContent" : void 0;
|
|
3510
|
-
return /* @__PURE__ */
|
|
3628
|
+
return /* @__PURE__ */ React23.createElement(
|
|
3511
3629
|
SelectHeaderWrapper,
|
|
3512
3630
|
__spreadProps(__spreadValues(__spreadValues({}, getToggleButtonProps()), getHeaderAccessibilityProps({
|
|
3513
3631
|
selectedItem,
|
|
@@ -3517,22 +3635,23 @@ var SelectHeader = ({
|
|
|
3517
3635
|
})), {
|
|
3518
3636
|
hasValue: inputValue || selectedOptionValue,
|
|
3519
3637
|
disabled: isDisabled,
|
|
3520
|
-
columns
|
|
3638
|
+
columns,
|
|
3639
|
+
hasError
|
|
3521
3640
|
}),
|
|
3522
|
-
hasIcon && /* @__PURE__ */
|
|
3641
|
+
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(
|
|
3523
3642
|
icon_default,
|
|
3524
3643
|
{
|
|
3525
3644
|
icon: getIcon({ options, selectedItem, selectedOptionValue }),
|
|
3526
3645
|
color
|
|
3527
3646
|
}
|
|
3528
|
-
),
|
|
3529
|
-
/* @__PURE__ */
|
|
3647
|
+
)),
|
|
3648
|
+
/* @__PURE__ */ React23.createElement(text_default, { hasEllipsis: true, color: hasPlaceholder ? "bodyDimmed" : "inherit" }, getTitle({
|
|
3530
3649
|
options,
|
|
3531
3650
|
selectedItem,
|
|
3532
3651
|
selectedOptionValue,
|
|
3533
3652
|
selectPlaceholder
|
|
3534
3653
|
})),
|
|
3535
|
-
/* @__PURE__ */
|
|
3654
|
+
/* @__PURE__ */ React23.createElement(icon_default, { icon: /* @__PURE__ */ React23.createElement(SvgChevronDown, null), color })
|
|
3536
3655
|
);
|
|
3537
3656
|
};
|
|
3538
3657
|
var CustomHeader = ({
|
|
@@ -3544,7 +3663,9 @@ var CustomHeader = ({
|
|
|
3544
3663
|
selectPlaceholder,
|
|
3545
3664
|
isDisabled,
|
|
3546
3665
|
getInputProps,
|
|
3547
|
-
ariaMenuName
|
|
3666
|
+
ariaMenuName,
|
|
3667
|
+
hasError,
|
|
3668
|
+
errorMessage
|
|
3548
3669
|
}) => {
|
|
3549
3670
|
const buttonProps = () => {
|
|
3550
3671
|
return __spreadValues(__spreadValues({}, getToggleButtonProps()), getHeaderAccessibilityProps({
|
|
@@ -3554,36 +3675,104 @@ var CustomHeader = ({
|
|
|
3554
3675
|
ariaMenuName
|
|
3555
3676
|
}));
|
|
3556
3677
|
};
|
|
3557
|
-
const
|
|
3678
|
+
const getSelectedItem = () => {
|
|
3558
3679
|
if (selectedItem) {
|
|
3559
|
-
return selectedItem
|
|
3560
|
-
}
|
|
3561
|
-
if (!selectedItem && selectedOptionValue) {
|
|
3562
|
-
return getSelectedOptionObject({ options, selectedOptionValue }).title;
|
|
3563
|
-
}
|
|
3564
|
-
};
|
|
3565
|
-
const getTriggerIcon = () => {
|
|
3566
|
-
if (selectedItem && selectedItem.icon) {
|
|
3567
|
-
return selectedItem.icon;
|
|
3680
|
+
return selectedItem;
|
|
3568
3681
|
}
|
|
3569
|
-
if (
|
|
3570
|
-
return getSelectedOptionObject({ options, selectedOptionValue })
|
|
3682
|
+
if (selectedOptionValue) {
|
|
3683
|
+
return getSelectedOptionObject({ options, selectedOptionValue });
|
|
3571
3684
|
}
|
|
3572
3685
|
};
|
|
3573
|
-
const triggerContent = {
|
|
3574
|
-
title: getTriggerTitle(),
|
|
3686
|
+
const triggerContent = __spreadProps(__spreadValues({}, getSelectedItem()), {
|
|
3575
3687
|
placeholder: selectPlaceholder,
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3688
|
+
isDisabled,
|
|
3689
|
+
hasError,
|
|
3690
|
+
errorMessage
|
|
3691
|
+
});
|
|
3579
3692
|
return trigger(triggerContent, buttonProps());
|
|
3580
3693
|
};
|
|
3581
|
-
var getSelectedOption = (value, options) =>
|
|
3694
|
+
var getSelectedOption = (value, options) => {
|
|
3695
|
+
if (isGrouped(options)) {
|
|
3696
|
+
for (const option of options) {
|
|
3697
|
+
const foundItem = option.items.find((item) => item.value === value);
|
|
3698
|
+
if (foundItem) {
|
|
3699
|
+
return foundItem;
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
} else {
|
|
3703
|
+
return options.find((item) => item.value === value);
|
|
3704
|
+
}
|
|
3705
|
+
};
|
|
3582
3706
|
var didSelectedOptionValueChange = (selectedOptionValue, prevSelectedItem) => {
|
|
3583
3707
|
return Boolean(
|
|
3584
3708
|
prevSelectedItem && selectedOptionValue !== prevSelectedItem.value
|
|
3585
3709
|
);
|
|
3586
3710
|
};
|
|
3711
|
+
var renderOption = (item, index, selectedItem, selectedOptionValue, highlightedIndex, getItemProps) => {
|
|
3712
|
+
const isSelected = !selectedItem && item.value === selectedOptionValue || selectedItem && selectedItem.value === item.value;
|
|
3713
|
+
return /* @__PURE__ */ React23.createElement(
|
|
3714
|
+
MenuItem,
|
|
3715
|
+
__spreadProps(__spreadValues({
|
|
3716
|
+
key: index,
|
|
3717
|
+
getItemProps,
|
|
3718
|
+
icon: item.icon,
|
|
3719
|
+
hidden: item.hidden
|
|
3720
|
+
}, getItemProps({
|
|
3721
|
+
key: `${item.value}-${index}`,
|
|
3722
|
+
index,
|
|
3723
|
+
item,
|
|
3724
|
+
disabled: item.isDisabled,
|
|
3725
|
+
"aria-selected": isSelected
|
|
3726
|
+
})), {
|
|
3727
|
+
isDisabled: item.isDisabled,
|
|
3728
|
+
hasDivider: item.hasDivider,
|
|
3729
|
+
isHighlighted: highlightedIndex === index,
|
|
3730
|
+
isSelected
|
|
3731
|
+
}),
|
|
3732
|
+
item.title
|
|
3733
|
+
);
|
|
3734
|
+
};
|
|
3735
|
+
var SelectMenu = (_a) => {
|
|
3736
|
+
var _b = _a, {
|
|
3737
|
+
options,
|
|
3738
|
+
selectedItem,
|
|
3739
|
+
selectedOptionValue,
|
|
3740
|
+
highlightedIndex,
|
|
3741
|
+
getItemProps
|
|
3742
|
+
} = _b, menuProps = __objRest(_b, [
|
|
3743
|
+
"options",
|
|
3744
|
+
"selectedItem",
|
|
3745
|
+
"selectedOptionValue",
|
|
3746
|
+
"highlightedIndex",
|
|
3747
|
+
"getItemProps"
|
|
3748
|
+
]);
|
|
3749
|
+
if (!isGrouped(options)) {
|
|
3750
|
+
return /* @__PURE__ */ React23.createElement(menu_default, __spreadValues({}, menuProps), options.map(
|
|
3751
|
+
(item, index) => renderOption(
|
|
3752
|
+
item,
|
|
3753
|
+
index,
|
|
3754
|
+
selectedItem,
|
|
3755
|
+
selectedOptionValue,
|
|
3756
|
+
highlightedIndex,
|
|
3757
|
+
getItemProps
|
|
3758
|
+
)
|
|
3759
|
+
));
|
|
3760
|
+
}
|
|
3761
|
+
let downshiftIndex = 0;
|
|
3762
|
+
return /* @__PURE__ */ React23.createElement(menu_default, __spreadValues({}, menuProps), options.map((group) => {
|
|
3763
|
+
const groupId = `group-${group.group.replace(/\s+/g, "-")}`;
|
|
3764
|
+
return /* @__PURE__ */ React23.createElement("li", { key: groupId }, /* @__PURE__ */ React23.createElement(spacer_default, { left: "medium", top: "small", bottom: "xsmall" }, /* @__PURE__ */ React23.createElement(text_default, { id: groupId, size: "body-sm", fontWeight: "bold" }, group.group)), /* @__PURE__ */ React23.createElement(Group, { role: "group", "aria-labelledby": groupId }, group.items.map((item) => {
|
|
3765
|
+
return renderOption(
|
|
3766
|
+
item,
|
|
3767
|
+
downshiftIndex++,
|
|
3768
|
+
selectedItem,
|
|
3769
|
+
selectedOptionValue,
|
|
3770
|
+
highlightedIndex,
|
|
3771
|
+
getItemProps
|
|
3772
|
+
);
|
|
3773
|
+
})));
|
|
3774
|
+
}));
|
|
3775
|
+
};
|
|
3587
3776
|
var Select = (_a) => {
|
|
3588
3777
|
var _b = _a, {
|
|
3589
3778
|
container,
|
|
@@ -3600,7 +3789,9 @@ var Select = (_a) => {
|
|
|
3600
3789
|
menuPosition = "left",
|
|
3601
3790
|
isDisabled,
|
|
3602
3791
|
onOpenChange,
|
|
3603
|
-
trigger
|
|
3792
|
+
trigger,
|
|
3793
|
+
hasError,
|
|
3794
|
+
errorMessage = "Oops, that didn't work."
|
|
3604
3795
|
} = _b, props = __objRest(_b, [
|
|
3605
3796
|
"container",
|
|
3606
3797
|
"onChange",
|
|
@@ -3616,7 +3807,9 @@ var Select = (_a) => {
|
|
|
3616
3807
|
"menuPosition",
|
|
3617
3808
|
"isDisabled",
|
|
3618
3809
|
"onOpenChange",
|
|
3619
|
-
"trigger"
|
|
3810
|
+
"trigger",
|
|
3811
|
+
"hasError",
|
|
3812
|
+
"errorMessage"
|
|
3620
3813
|
]);
|
|
3621
3814
|
const environment = getDownshiftEnvironment(container);
|
|
3622
3815
|
const [downshiftIsOpen, setDownshiftIsOpen] = useState(false);
|
|
@@ -3633,7 +3826,8 @@ var Select = (_a) => {
|
|
|
3633
3826
|
onChange: onDownshiftChange,
|
|
3634
3827
|
onOuterClick,
|
|
3635
3828
|
environment,
|
|
3636
|
-
selectedItem
|
|
3829
|
+
selectedItem,
|
|
3830
|
+
isOpen: downshiftIsOpen
|
|
3637
3831
|
};
|
|
3638
3832
|
if (environment) {
|
|
3639
3833
|
downshiftProps.environment = environment;
|
|
@@ -3666,7 +3860,7 @@ var Select = (_a) => {
|
|
|
3666
3860
|
}
|
|
3667
3861
|
return changes;
|
|
3668
3862
|
};
|
|
3669
|
-
return /* @__PURE__ */
|
|
3863
|
+
return /* @__PURE__ */ React23.createElement(SelectWrapper, __spreadValues({}, props), /* @__PURE__ */ React23.createElement(Downshift, __spreadProps(__spreadValues({}, downshiftProps), { stateReducer }), ({
|
|
3670
3864
|
getItemProps,
|
|
3671
3865
|
getInputProps,
|
|
3672
3866
|
getMenuProps,
|
|
@@ -3678,7 +3872,7 @@ var Select = (_a) => {
|
|
|
3678
3872
|
}) => {
|
|
3679
3873
|
return (
|
|
3680
3874
|
// Don't set the role to combobox to ensure a consistent experience for screen readers
|
|
3681
|
-
/* @__PURE__ */
|
|
3875
|
+
/* @__PURE__ */ React23.createElement("div", { role: null }, /* @__PURE__ */ React23.createElement("div", __spreadValues({}, triggerProps), trigger ? /* @__PURE__ */ React23.createElement(
|
|
3682
3876
|
CustomHeader,
|
|
3683
3877
|
{
|
|
3684
3878
|
getToggleButtonProps,
|
|
@@ -3689,9 +3883,11 @@ var Select = (_a) => {
|
|
|
3689
3883
|
options,
|
|
3690
3884
|
trigger,
|
|
3691
3885
|
getInputProps,
|
|
3692
|
-
ariaMenuName
|
|
3886
|
+
ariaMenuName,
|
|
3887
|
+
hasError,
|
|
3888
|
+
errorMessage
|
|
3693
3889
|
}
|
|
3694
|
-
) : /* @__PURE__ */
|
|
3890
|
+
) : /* @__PURE__ */ React23.createElement(
|
|
3695
3891
|
SelectHeader,
|
|
3696
3892
|
{
|
|
3697
3893
|
getToggleButtonProps,
|
|
@@ -3702,10 +3898,11 @@ var Select = (_a) => {
|
|
|
3702
3898
|
inputValue,
|
|
3703
3899
|
isDisabled,
|
|
3704
3900
|
getInputProps,
|
|
3705
|
-
ariaMenuName
|
|
3901
|
+
ariaMenuName,
|
|
3902
|
+
hasError
|
|
3706
3903
|
}
|
|
3707
3904
|
)), downshiftIsOpen && isOpen && renderLayer(
|
|
3708
|
-
/* @__PURE__ */
|
|
3905
|
+
/* @__PURE__ */ React23.createElement(
|
|
3709
3906
|
"div",
|
|
3710
3907
|
__spreadProps(__spreadValues({}, layerProps), {
|
|
3711
3908
|
style: __spreadProps(__spreadValues({}, layerProps.style), {
|
|
@@ -3713,51 +3910,31 @@ var Select = (_a) => {
|
|
|
3713
3910
|
width: menuMinWidth ? "auto" : triggerBounds == null ? void 0 : triggerBounds.width
|
|
3714
3911
|
})
|
|
3715
3912
|
}),
|
|
3716
|
-
/* @__PURE__ */
|
|
3717
|
-
|
|
3913
|
+
/* @__PURE__ */ React23.createElement(
|
|
3914
|
+
SelectMenu,
|
|
3718
3915
|
{
|
|
3916
|
+
options,
|
|
3917
|
+
selectedItem: selectedItem2,
|
|
3918
|
+
selectedOptionValue,
|
|
3919
|
+
highlightedIndex,
|
|
3920
|
+
getItemProps,
|
|
3719
3921
|
position: menuPosition,
|
|
3720
3922
|
downshiftMenuProps: getMenuProps,
|
|
3721
3923
|
maxWidth: menuMaxWidth,
|
|
3722
3924
|
maxHeight: menuMaxHeight,
|
|
3723
3925
|
minWidth: menuMinWidth
|
|
3724
|
-
}
|
|
3725
|
-
options.map((item, index) => {
|
|
3726
|
-
const isSelected = !selectedItem2 && item.value === selectedOptionValue || selectedItem2 && selectedItem2.value === item.value;
|
|
3727
|
-
return /* @__PURE__ */ React22.createElement(
|
|
3728
|
-
MenuItem,
|
|
3729
|
-
__spreadProps(__spreadValues({
|
|
3730
|
-
key: index,
|
|
3731
|
-
getItemProps,
|
|
3732
|
-
icon: item.icon,
|
|
3733
|
-
hidden: item.hidden
|
|
3734
|
-
}, getItemProps({
|
|
3735
|
-
key: `${item.value}-${index}`,
|
|
3736
|
-
index,
|
|
3737
|
-
item,
|
|
3738
|
-
disabled: item.isDisabled,
|
|
3739
|
-
"aria-selected": isSelected
|
|
3740
|
-
// Downshift sets aria-selected to true on hover, which makes screen readers narrate that the item is selected when it is really not, so we override aria-selected here
|
|
3741
|
-
})), {
|
|
3742
|
-
isDisabled: item.isDisabled,
|
|
3743
|
-
hasDivider: item.hasDivider,
|
|
3744
|
-
isHighlighted: highlightedIndex === index,
|
|
3745
|
-
isSelected
|
|
3746
|
-
}),
|
|
3747
|
-
item.title
|
|
3748
|
-
);
|
|
3749
|
-
})
|
|
3926
|
+
}
|
|
3750
3927
|
)
|
|
3751
3928
|
)
|
|
3752
|
-
))
|
|
3929
|
+
), hasError && !downshiftIsOpen && /* @__PURE__ */ React23.createElement(ErrorMessage, null, errorMessage))
|
|
3753
3930
|
);
|
|
3754
3931
|
}));
|
|
3755
3932
|
};
|
|
3756
3933
|
var select_default = Select;
|
|
3757
3934
|
|
|
3758
3935
|
// src/components/backdrop/backdrop.tsx
|
|
3759
|
-
import
|
|
3760
|
-
import
|
|
3936
|
+
import styled19 from "@emotion/styled";
|
|
3937
|
+
import React24 from "react";
|
|
3761
3938
|
import { useTransition } from "transition-hook";
|
|
3762
3939
|
|
|
3763
3940
|
// src/hooks/use-prevent-scroll.ts
|
|
@@ -3823,7 +4000,7 @@ var use_prevent_scroll_default = usePreventScroll;
|
|
|
3823
4000
|
|
|
3824
4001
|
// src/components/backdrop/backdrop.tsx
|
|
3825
4002
|
var duration = 300;
|
|
3826
|
-
var BackdropWrapper =
|
|
4003
|
+
var BackdropWrapper = styled19.div`
|
|
3827
4004
|
position: fixed;
|
|
3828
4005
|
top: 0;
|
|
3829
4006
|
left: 0;
|
|
@@ -3833,7 +4010,7 @@ var BackdropWrapper = styled18.div`
|
|
|
3833
4010
|
z-index: ${(props) => props.zIndex};
|
|
3834
4011
|
overflow: hidden;
|
|
3835
4012
|
`;
|
|
3836
|
-
var ChildrenWrapper =
|
|
4013
|
+
var ChildrenWrapper = styled19.div`
|
|
3837
4014
|
overflow: auto;
|
|
3838
4015
|
height: 100%;
|
|
3839
4016
|
`;
|
|
@@ -3851,7 +4028,7 @@ var Backdrop = (_a) => {
|
|
|
3851
4028
|
]);
|
|
3852
4029
|
const { stage, shouldMount } = useTransition(isOpen, duration);
|
|
3853
4030
|
use_prevent_scroll_default("html", isOpen);
|
|
3854
|
-
return /* @__PURE__ */
|
|
4031
|
+
return /* @__PURE__ */ React24.createElement(React24.Fragment, null, shouldMount && /* @__PURE__ */ React24.createElement(
|
|
3855
4032
|
BackdropWrapper,
|
|
3856
4033
|
__spreadValues({
|
|
3857
4034
|
backgroundColor,
|
|
@@ -3861,31 +4038,31 @@ var Backdrop = (_a) => {
|
|
|
3861
4038
|
opacity: stage === "enter" ? 1 : 0
|
|
3862
4039
|
}
|
|
3863
4040
|
}, props),
|
|
3864
|
-
/* @__PURE__ */
|
|
4041
|
+
/* @__PURE__ */ React24.createElement(ChildrenWrapper, null, children)
|
|
3865
4042
|
));
|
|
3866
4043
|
};
|
|
3867
4044
|
var backdrop_default = Backdrop;
|
|
3868
4045
|
|
|
3869
4046
|
// src/components/modal/modal.tsx
|
|
3870
|
-
import
|
|
4047
|
+
import styled20 from "@emotion/styled";
|
|
3871
4048
|
import FocusTrap from "focus-trap-react";
|
|
3872
|
-
import
|
|
4049
|
+
import React26, { useEffect as useEffect3 } from "react";
|
|
3873
4050
|
|
|
3874
4051
|
// src/components/icon/available-icons/close.tsx
|
|
3875
4052
|
import CloseIcon from "@atlaskit/icon/core/close";
|
|
3876
|
-
import * as
|
|
4053
|
+
import * as React25 from "react";
|
|
3877
4054
|
function SvgClose() {
|
|
3878
|
-
return /* @__PURE__ */
|
|
4055
|
+
return /* @__PURE__ */ React25.createElement(CloseIcon, { label: "", testId: "ads-refreshed-icon" });
|
|
3879
4056
|
}
|
|
3880
4057
|
|
|
3881
4058
|
// src/components/modal/modal.tsx
|
|
3882
4059
|
var DEFAULT_MODAL_CARD_HEIGHT = "70vh";
|
|
3883
|
-
var ContentWrapper =
|
|
4060
|
+
var ContentWrapper = styled20.div`
|
|
3884
4061
|
display: grid;
|
|
3885
4062
|
grid-template-rows: ${(props) => props.rows};
|
|
3886
4063
|
position: relative;
|
|
3887
4064
|
`;
|
|
3888
|
-
var ModalCardWrapper =
|
|
4065
|
+
var ModalCardWrapper = styled20.dialog`
|
|
3889
4066
|
top: ${(props) => getPlacement(getSizeValue(props.maxHeight), props.placement).top};
|
|
3890
4067
|
background-color: ${getColorValue("overlay")};
|
|
3891
4068
|
color: ${getColorValue("body")};
|
|
@@ -3908,27 +4085,27 @@ var ModalCardWrapper = styled19.dialog`
|
|
|
3908
4085
|
background: var(--lns-color-overlay);
|
|
3909
4086
|
}
|
|
3910
4087
|
`;
|
|
3911
|
-
var CloseIconSection =
|
|
4088
|
+
var CloseIconSection = styled20.div`
|
|
3912
4089
|
position: absolute;
|
|
3913
4090
|
top: ${u(1.5)};
|
|
3914
4091
|
right: ${u(1.5)};
|
|
3915
4092
|
z-index: 1;
|
|
3916
4093
|
`;
|
|
3917
|
-
var RightButtonsSection =
|
|
4094
|
+
var RightButtonsSection = styled20.div`
|
|
3918
4095
|
margin-left: auto;
|
|
3919
4096
|
|
|
3920
4097
|
* {
|
|
3921
4098
|
vertical-align: middle;
|
|
3922
4099
|
}
|
|
3923
4100
|
`;
|
|
3924
|
-
var TitleSection =
|
|
4101
|
+
var TitleSection = styled20.div`
|
|
3925
4102
|
padding-left: var(--lns-space-xlarge);
|
|
3926
4103
|
padding-right: var(--lns-space-xlarge);
|
|
3927
4104
|
padding-top: var(--lns-space-xlarge);
|
|
3928
4105
|
padding-bottom: ${(props) => props.bottom};
|
|
3929
4106
|
flex-shrink: 0;
|
|
3930
4107
|
`;
|
|
3931
|
-
var ButtonsSection =
|
|
4108
|
+
var ButtonsSection = styled20.div`
|
|
3932
4109
|
padding-left: var(--lns-space-xlarge);
|
|
3933
4110
|
padding-right: var(--lns-space-xlarge);
|
|
3934
4111
|
padding-bottom: var(--lns-space-xlarge);
|
|
@@ -3938,7 +4115,7 @@ var ButtonsSection = styled19.div`
|
|
|
3938
4115
|
justify-content: space-between;
|
|
3939
4116
|
align-items: center;
|
|
3940
4117
|
`;
|
|
3941
|
-
var ChildrenSection2 =
|
|
4118
|
+
var ChildrenSection2 = styled20.div`
|
|
3942
4119
|
display: flex;
|
|
3943
4120
|
flex-direction: column;
|
|
3944
4121
|
overflow: auto;
|
|
@@ -3950,7 +4127,7 @@ var ChildrenSection2 = styled19.div`
|
|
|
3950
4127
|
border-color: ${getColorValue("border")};
|
|
3951
4128
|
border-width: ${(props) => props.hasDividers ? "1px 0" : "0"};
|
|
3952
4129
|
`;
|
|
3953
|
-
var ModalCardChildrenSection =
|
|
4130
|
+
var ModalCardChildrenSection = styled20.div`
|
|
3954
4131
|
overflow: auto;
|
|
3955
4132
|
|
|
3956
4133
|
${(props) => getMaxHeight(props.maxHeight)};
|
|
@@ -3977,7 +4154,8 @@ var ModalCard = (_a) => {
|
|
|
3977
4154
|
ariaModal,
|
|
3978
4155
|
ariaLabelledBy,
|
|
3979
4156
|
ref,
|
|
3980
|
-
removeClose
|
|
4157
|
+
removeClose,
|
|
4158
|
+
initialFocus
|
|
3981
4159
|
} = _b, props = __objRest(_b, [
|
|
3982
4160
|
"children",
|
|
3983
4161
|
"onCloseClick",
|
|
@@ -3989,7 +4167,8 @@ var ModalCard = (_a) => {
|
|
|
3989
4167
|
"ariaModal",
|
|
3990
4168
|
"ariaLabelledBy",
|
|
3991
4169
|
"ref",
|
|
3992
|
-
"removeClose"
|
|
4170
|
+
"removeClose",
|
|
4171
|
+
"initialFocus"
|
|
3993
4172
|
]);
|
|
3994
4173
|
useEffect3(() => {
|
|
3995
4174
|
const keyListener = (e) => {
|
|
@@ -4006,16 +4185,16 @@ var ModalCard = (_a) => {
|
|
|
4006
4185
|
};
|
|
4007
4186
|
}, [isOpen, onCloseClick]);
|
|
4008
4187
|
use_prevent_scroll_default("html", isOpen);
|
|
4009
|
-
return /* @__PURE__ */
|
|
4188
|
+
return /* @__PURE__ */ React26.createElement(
|
|
4010
4189
|
FocusTrap,
|
|
4011
4190
|
{
|
|
4012
4191
|
active: isOpen,
|
|
4013
|
-
focusTrapOptions: {
|
|
4192
|
+
focusTrapOptions: __spreadValues({
|
|
4014
4193
|
clickOutsideDeactivates: false,
|
|
4015
4194
|
allowOutsideClick: true
|
|
4016
|
-
}
|
|
4195
|
+
}, initialFocus !== void 0 ? { initialFocus } : {})
|
|
4017
4196
|
},
|
|
4018
|
-
/* @__PURE__ */
|
|
4197
|
+
/* @__PURE__ */ React26.createElement(
|
|
4019
4198
|
ModalCardWrapper,
|
|
4020
4199
|
__spreadValues({
|
|
4021
4200
|
open: isOpen,
|
|
@@ -4029,15 +4208,15 @@ var ModalCard = (_a) => {
|
|
|
4029
4208
|
"aria-modal": ariaModal,
|
|
4030
4209
|
"aria-labelledby": ariaLabelledBy
|
|
4031
4210
|
}, props),
|
|
4032
|
-
!removeClose && onCloseClick && /* @__PURE__ */
|
|
4211
|
+
!removeClose && onCloseClick && /* @__PURE__ */ React26.createElement(CloseIconSection, null, /* @__PURE__ */ React26.createElement(
|
|
4033
4212
|
icon_button_default,
|
|
4034
4213
|
{
|
|
4035
4214
|
altText: "Close",
|
|
4036
|
-
icon: /* @__PURE__ */
|
|
4215
|
+
icon: /* @__PURE__ */ React26.createElement(SvgClose, null),
|
|
4037
4216
|
onClick: onCloseClick
|
|
4038
4217
|
}
|
|
4039
4218
|
)),
|
|
4040
|
-
/* @__PURE__ */
|
|
4219
|
+
/* @__PURE__ */ React26.createElement(
|
|
4041
4220
|
ModalCardChildrenSection,
|
|
4042
4221
|
{
|
|
4043
4222
|
tabIndex: removeClose ? 0 : -1,
|
|
@@ -4048,7 +4227,7 @@ var ModalCard = (_a) => {
|
|
|
4048
4227
|
)
|
|
4049
4228
|
);
|
|
4050
4229
|
};
|
|
4051
|
-
var Modal =
|
|
4230
|
+
var Modal = React26.forwardRef(
|
|
4052
4231
|
(_a, ref) => {
|
|
4053
4232
|
var _b = _a, {
|
|
4054
4233
|
children,
|
|
@@ -4069,7 +4248,8 @@ var Modal = React25.forwardRef(
|
|
|
4069
4248
|
zIndex = 1e3,
|
|
4070
4249
|
ariaLabel,
|
|
4071
4250
|
ariaModal = true,
|
|
4072
|
-
ariaLabelledBy
|
|
4251
|
+
ariaLabelledBy,
|
|
4252
|
+
initialFocus
|
|
4073
4253
|
} = _b, props = __objRest(_b, [
|
|
4074
4254
|
"children",
|
|
4075
4255
|
"id",
|
|
@@ -4089,7 +4269,8 @@ var Modal = React25.forwardRef(
|
|
|
4089
4269
|
"zIndex",
|
|
4090
4270
|
"ariaLabel",
|
|
4091
4271
|
"ariaModal",
|
|
4092
|
-
"ariaLabelledBy"
|
|
4272
|
+
"ariaLabelledBy",
|
|
4273
|
+
"initialFocus"
|
|
4093
4274
|
]);
|
|
4094
4275
|
var _a2;
|
|
4095
4276
|
const titleId = id ? `${id}-modal-title` : "modal-title";
|
|
@@ -4102,14 +4283,14 @@ var Modal = React25.forwardRef(
|
|
|
4102
4283
|
}
|
|
4103
4284
|
onCloseClick(e);
|
|
4104
4285
|
};
|
|
4105
|
-
return /* @__PURE__ */
|
|
4286
|
+
return /* @__PURE__ */ React26.createElement(backdrop_default, __spreadValues({ isOpen, zIndex }, props), /* @__PURE__ */ React26.createElement(
|
|
4106
4287
|
container_default,
|
|
4107
4288
|
{
|
|
4108
4289
|
height: "100%",
|
|
4109
4290
|
onClick: closeClickHandler,
|
|
4110
4291
|
onKeyDown
|
|
4111
4292
|
},
|
|
4112
|
-
/* @__PURE__ */
|
|
4293
|
+
/* @__PURE__ */ React26.createElement(
|
|
4113
4294
|
ModalCard,
|
|
4114
4295
|
{
|
|
4115
4296
|
ref,
|
|
@@ -4121,21 +4302,22 @@ var Modal = React25.forwardRef(
|
|
|
4121
4302
|
onCloseClick,
|
|
4122
4303
|
ariaLabel,
|
|
4123
4304
|
ariaModal,
|
|
4124
|
-
ariaLabelledBy: (_a2 = ariaLabelledBy != null ? ariaLabelledBy : titleId) != null ? _a2 : void 0
|
|
4305
|
+
ariaLabelledBy: (_a2 = ariaLabelledBy != null ? ariaLabelledBy : titleId) != null ? _a2 : void 0,
|
|
4306
|
+
initialFocus
|
|
4125
4307
|
},
|
|
4126
|
-
/* @__PURE__ */
|
|
4308
|
+
/* @__PURE__ */ React26.createElement(
|
|
4127
4309
|
ContentWrapper,
|
|
4128
4310
|
{
|
|
4129
4311
|
rows: `${title ? "auto " : ""} ${children ? "1fr " : ""} ${hasButtons ? "auto" : ""}`
|
|
4130
4312
|
},
|
|
4131
|
-
title && /* @__PURE__ */
|
|
4313
|
+
title && /* @__PURE__ */ React26.createElement(
|
|
4132
4314
|
TitleSection,
|
|
4133
4315
|
{
|
|
4134
4316
|
bottom: children ? "var(--lns-space-medium)" : "var(--lns-space-xlarge)"
|
|
4135
4317
|
},
|
|
4136
|
-
/* @__PURE__ */
|
|
4318
|
+
/* @__PURE__ */ React26.createElement(text_default, { htmlTag: "h1", variant: "title", id: titleId }, title)
|
|
4137
4319
|
),
|
|
4138
|
-
/* @__PURE__ */
|
|
4320
|
+
/* @__PURE__ */ React26.createElement(
|
|
4139
4321
|
ChildrenSection2,
|
|
4140
4322
|
{
|
|
4141
4323
|
noPadding,
|
|
@@ -4145,14 +4327,14 @@ var Modal = React25.forwardRef(
|
|
|
4145
4327
|
},
|
|
4146
4328
|
children && children
|
|
4147
4329
|
),
|
|
4148
|
-
hasButtons && /* @__PURE__ */
|
|
4330
|
+
hasButtons && /* @__PURE__ */ React26.createElement(
|
|
4149
4331
|
ButtonsSection,
|
|
4150
4332
|
{
|
|
4151
4333
|
top: children ? "var(--lns-space-xlarge)" : 0,
|
|
4152
4334
|
hasDividers
|
|
4153
4335
|
},
|
|
4154
4336
|
alternativeButton,
|
|
4155
|
-
/* @__PURE__ */
|
|
4337
|
+
/* @__PURE__ */ React26.createElement(RightButtonsSection, null, secondaryButton && /* @__PURE__ */ React26.createElement(spacer_default, { right: "small", isInline: true }, secondaryButton), mainButton)
|
|
4156
4338
|
)
|
|
4157
4339
|
)
|
|
4158
4340
|
)
|
|
@@ -4161,56 +4343,6 @@ var Modal = React25.forwardRef(
|
|
|
4161
4343
|
);
|
|
4162
4344
|
var modal_default = Modal;
|
|
4163
4345
|
|
|
4164
|
-
// src/components/align/align.tsx
|
|
4165
|
-
import styled20 from "@emotion/styled";
|
|
4166
|
-
import React26 from "react";
|
|
4167
|
-
var alignmentsPlaceItems = {
|
|
4168
|
-
topLeft: "start",
|
|
4169
|
-
topCenter: "start center",
|
|
4170
|
-
topRight: "start end",
|
|
4171
|
-
centerLeft: "center start",
|
|
4172
|
-
center: "center",
|
|
4173
|
-
centerRight: "center end",
|
|
4174
|
-
bottomLeft: "end start",
|
|
4175
|
-
bottomCenter: "end center",
|
|
4176
|
-
bottomRight: "end"
|
|
4177
|
-
};
|
|
4178
|
-
var getPlaceItems = (alignment) => {
|
|
4179
|
-
if (Array.isArray(alignment)) {
|
|
4180
|
-
return alignment.map(
|
|
4181
|
-
(alignmentArrayItem) => alignmentsPlaceItems[alignmentArrayItem]
|
|
4182
|
-
);
|
|
4183
|
-
}
|
|
4184
|
-
if (typeof alignment === "object") {
|
|
4185
|
-
const alignmentsPlaceItemsObject = {};
|
|
4186
|
-
Object.entries(alignment).forEach(([key, value]) => {
|
|
4187
|
-
return alignmentsPlaceItemsObject[key] = alignmentsPlaceItems[value];
|
|
4188
|
-
});
|
|
4189
|
-
return alignmentsPlaceItemsObject;
|
|
4190
|
-
}
|
|
4191
|
-
return alignmentsPlaceItems[alignment];
|
|
4192
|
-
};
|
|
4193
|
-
var AlignWrapper = styled20.div`
|
|
4194
|
-
width: 100%;
|
|
4195
|
-
height: 100%;
|
|
4196
|
-
display: grid;
|
|
4197
|
-
${(props) => getResponsiveOneOf("place-items", getPlaceItems(props.alignment))};
|
|
4198
|
-
`;
|
|
4199
|
-
var Align = (_a) => {
|
|
4200
|
-
var _b = _a, {
|
|
4201
|
-
children,
|
|
4202
|
-
alignment = "center",
|
|
4203
|
-
htmlTag = "div"
|
|
4204
|
-
} = _b, props = __objRest(_b, [
|
|
4205
|
-
"children",
|
|
4206
|
-
"alignment",
|
|
4207
|
-
"htmlTag"
|
|
4208
|
-
]);
|
|
4209
|
-
return /* @__PURE__ */ React26.createElement(AlignWrapper, __spreadValues({ alignment, as: htmlTag }, props), children);
|
|
4210
|
-
};
|
|
4211
|
-
var availableAlignments2 = Object.keys(alignmentsPlaceItems);
|
|
4212
|
-
var align_default = Align;
|
|
4213
|
-
|
|
4214
4346
|
// src/components/link/link.tsx
|
|
4215
4347
|
import { css as css3 } from "@emotion/react";
|
|
4216
4348
|
import styled21 from "@emotion/styled";
|
|
@@ -4387,15 +4519,384 @@ var Textarea = React28.forwardRef(
|
|
|
4387
4519
|
}, props)
|
|
4388
4520
|
), error ? /* @__PURE__ */ React28.createElement(React28.Fragment, null, /* @__PURE__ */ React28.createElement(spacer_default, { bottom: "xmsall" }), /* @__PURE__ */ React28.createElement(text_default, { color: "danger", fontWeight: "regular", size: "body-md" }, error)) : null);
|
|
4389
4521
|
}
|
|
4390
|
-
);
|
|
4391
|
-
var textarea_default = Textarea;
|
|
4522
|
+
);
|
|
4523
|
+
var textarea_default = Textarea;
|
|
4524
|
+
|
|
4525
|
+
// src/components/typeahead/typeahead.tsx
|
|
4526
|
+
import styled23 from "@emotion/styled";
|
|
4527
|
+
import Downshift2 from "downshift";
|
|
4528
|
+
import React29, { useEffect as useEffect4, useState as useState2, useMemo } from "react";
|
|
4529
|
+
import { useLayer as useLayer2 } from "react-laag";
|
|
4530
|
+
import ResizeObserver2 from "resize-observer-polyfill";
|
|
4531
|
+
var TypeaheadWrapper = styled23.div`
|
|
4532
|
+
position: relative;
|
|
4533
|
+
`;
|
|
4534
|
+
var TypeaheadInputWrapper = styled23.div`
|
|
4535
|
+
display: flex;
|
|
4536
|
+
align-items: center;
|
|
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 getHeaderAccessibilityProps2 = ({
|
|
4580
|
+
selectedItem,
|
|
4581
|
+
getInputProps,
|
|
4582
|
+
ariaMenuName
|
|
4583
|
+
}) => {
|
|
4584
|
+
const valueLabel = selectedItem ? `selected value is ${selectedItem.title}` : "no value selected";
|
|
4585
|
+
return {
|
|
4586
|
+
// Ensures all options within the list of selections can be narrated by a screen reader
|
|
4587
|
+
"aria-activedescendant": getInputProps()["aria-activedescendant"],
|
|
4588
|
+
// 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
|
|
4589
|
+
"aria-label": [ariaMenuName, valueLabel].filter(Boolean).join(", ")
|
|
4590
|
+
};
|
|
4591
|
+
};
|
|
4592
|
+
var TypeaheadInput = ({
|
|
4593
|
+
selectedItem,
|
|
4594
|
+
selectedOptionValue,
|
|
4595
|
+
placeholder,
|
|
4596
|
+
isDisabled,
|
|
4597
|
+
options,
|
|
4598
|
+
getInputProps,
|
|
4599
|
+
ariaMenuName,
|
|
4600
|
+
isOpen,
|
|
4601
|
+
onInputFocus,
|
|
4602
|
+
hasError,
|
|
4603
|
+
hasLoader
|
|
4604
|
+
}) => {
|
|
4605
|
+
const inputProps = __spreadValues(__spreadValues({
|
|
4606
|
+
role: "combobox",
|
|
4607
|
+
"aria-autocomplete": "list",
|
|
4608
|
+
"aria-haspopup": "listbox",
|
|
4609
|
+
"aria-expanded": isOpen
|
|
4610
|
+
}, getHeaderAccessibilityProps2({
|
|
4611
|
+
selectedItem,
|
|
4612
|
+
getInputProps,
|
|
4613
|
+
ariaMenuName
|
|
4614
|
+
})), getInputProps({
|
|
4615
|
+
disabled: isDisabled,
|
|
4616
|
+
onFocus: onInputFocus,
|
|
4617
|
+
onClick: () => {
|
|
4618
|
+
onInputFocus();
|
|
4619
|
+
}
|
|
4620
|
+
}));
|
|
4621
|
+
const icon = getIcon2({ options, selectedItem, selectedOptionValue });
|
|
4622
|
+
return /* @__PURE__ */ React29.createElement(
|
|
4623
|
+
text_input_default,
|
|
4624
|
+
__spreadProps(__spreadValues({}, inputProps), {
|
|
4625
|
+
placeholder,
|
|
4626
|
+
size: "medium",
|
|
4627
|
+
icon,
|
|
4628
|
+
addOn: hasLoader ? /* @__PURE__ */ React29.createElement(loader_default, { size: "small" }) : /* @__PURE__ */ React29.createElement(icon_default, { icon: /* @__PURE__ */ React29.createElement(SvgChevronDown, null) }),
|
|
4629
|
+
hasError
|
|
4630
|
+
})
|
|
4631
|
+
);
|
|
4632
|
+
};
|
|
4633
|
+
var getSelectedOption2 = (value, options) => {
|
|
4634
|
+
if (isGrouped2(options)) {
|
|
4635
|
+
for (const option of options) {
|
|
4636
|
+
const foundItem = option.items.find((item) => item.value === value);
|
|
4637
|
+
if (foundItem) {
|
|
4638
|
+
return foundItem;
|
|
4639
|
+
}
|
|
4640
|
+
}
|
|
4641
|
+
} else {
|
|
4642
|
+
return options.find((item) => item.value === value);
|
|
4643
|
+
}
|
|
4644
|
+
};
|
|
4645
|
+
var didSelectedOptionValueChange2 = (selectedOptionValue, prevSelectedItem) => {
|
|
4646
|
+
return Boolean(selectedOptionValue !== (prevSelectedItem == null ? void 0 : prevSelectedItem.value));
|
|
4647
|
+
};
|
|
4648
|
+
var renderOption2 = (item, index, selectedItem, selectedOptionValue, highlightedIndex, getItemProps) => {
|
|
4649
|
+
const isSelected = !selectedItem && item.value === selectedOptionValue || selectedItem && selectedItem.value === item.value;
|
|
4650
|
+
return /* @__PURE__ */ React29.createElement(
|
|
4651
|
+
MenuItem,
|
|
4652
|
+
__spreadProps(__spreadValues({
|
|
4653
|
+
key: index,
|
|
4654
|
+
getItemProps,
|
|
4655
|
+
icon: item.icon,
|
|
4656
|
+
hidden: item.hidden
|
|
4657
|
+
}, getItemProps({
|
|
4658
|
+
key: `${item.value}-${index}`,
|
|
4659
|
+
index,
|
|
4660
|
+
item,
|
|
4661
|
+
disabled: item.isDisabled,
|
|
4662
|
+
"aria-selected": isSelected
|
|
4663
|
+
})), {
|
|
4664
|
+
isDisabled: item.isDisabled,
|
|
4665
|
+
hasDivider: item.hasDivider,
|
|
4666
|
+
isHighlighted: highlightedIndex === index,
|
|
4667
|
+
isSelected
|
|
4668
|
+
}),
|
|
4669
|
+
item.title
|
|
4670
|
+
);
|
|
4671
|
+
};
|
|
4672
|
+
var TypeaheadMenu = (_a) => {
|
|
4673
|
+
var _b = _a, {
|
|
4674
|
+
options,
|
|
4675
|
+
selectedItem,
|
|
4676
|
+
selectedOptionValue,
|
|
4677
|
+
highlightedIndex,
|
|
4678
|
+
getItemProps,
|
|
4679
|
+
isLoading,
|
|
4680
|
+
loadingMessage,
|
|
4681
|
+
emptyResultsMessage,
|
|
4682
|
+
hasAvailableOptions
|
|
4683
|
+
} = _b, menuProps = __objRest(_b, [
|
|
4684
|
+
"options",
|
|
4685
|
+
"selectedItem",
|
|
4686
|
+
"selectedOptionValue",
|
|
4687
|
+
"highlightedIndex",
|
|
4688
|
+
"getItemProps",
|
|
4689
|
+
"isLoading",
|
|
4690
|
+
"loadingMessage",
|
|
4691
|
+
"emptyResultsMessage",
|
|
4692
|
+
"hasAvailableOptions"
|
|
4693
|
+
]);
|
|
4694
|
+
const defaultLoadingMessage = loadingMessage || /* @__PURE__ */ React29.createElement(loader_default, null);
|
|
4695
|
+
const defaultEmptyResultsMessage = emptyResultsMessage || "No results";
|
|
4696
|
+
if (isLoading) {
|
|
4697
|
+
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)));
|
|
4698
|
+
}
|
|
4699
|
+
if (!hasAvailableOptions) {
|
|
4700
|
+
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)));
|
|
4701
|
+
}
|
|
4702
|
+
if (!isGrouped2(options)) {
|
|
4703
|
+
return /* @__PURE__ */ React29.createElement(menu_default, __spreadValues({}, menuProps), options.map(
|
|
4704
|
+
(item, index) => renderOption2(
|
|
4705
|
+
item,
|
|
4706
|
+
index,
|
|
4707
|
+
selectedItem,
|
|
4708
|
+
selectedOptionValue,
|
|
4709
|
+
highlightedIndex,
|
|
4710
|
+
getItemProps
|
|
4711
|
+
)
|
|
4712
|
+
));
|
|
4713
|
+
}
|
|
4714
|
+
let downshiftIndex = 0;
|
|
4715
|
+
return /* @__PURE__ */ React29.createElement(menu_default, __spreadValues({}, menuProps), options.map((group) => {
|
|
4716
|
+
const groupId = `group-${group.group.replace(/\s+/g, "-")}`;
|
|
4717
|
+
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) => {
|
|
4718
|
+
return renderOption2(
|
|
4719
|
+
item,
|
|
4720
|
+
downshiftIndex++,
|
|
4721
|
+
selectedItem,
|
|
4722
|
+
selectedOptionValue,
|
|
4723
|
+
highlightedIndex,
|
|
4724
|
+
getItemProps
|
|
4725
|
+
);
|
|
4726
|
+
})));
|
|
4727
|
+
}));
|
|
4728
|
+
};
|
|
4729
|
+
var Typeahead = (_a) => {
|
|
4730
|
+
var _b = _a, {
|
|
4731
|
+
container,
|
|
4732
|
+
onOptionChange,
|
|
4733
|
+
onInputValueChange,
|
|
4734
|
+
menuZIndex = 1100,
|
|
4735
|
+
menuMaxWidth,
|
|
4736
|
+
menuMaxHeight = 34,
|
|
4737
|
+
menuMinWidth,
|
|
4738
|
+
ariaMenuName,
|
|
4739
|
+
selectedOptionValue,
|
|
4740
|
+
onOuterClick,
|
|
4741
|
+
options,
|
|
4742
|
+
placeholder,
|
|
4743
|
+
menuPosition = "left",
|
|
4744
|
+
isDisabled,
|
|
4745
|
+
onOpenChange,
|
|
4746
|
+
isLoading,
|
|
4747
|
+
loadingMessage,
|
|
4748
|
+
emptyResultsMessage,
|
|
4749
|
+
errorMessage
|
|
4750
|
+
} = _b, props = __objRest(_b, [
|
|
4751
|
+
"container",
|
|
4752
|
+
"onOptionChange",
|
|
4753
|
+
"onInputValueChange",
|
|
4754
|
+
"menuZIndex",
|
|
4755
|
+
"menuMaxWidth",
|
|
4756
|
+
"menuMaxHeight",
|
|
4757
|
+
"menuMinWidth",
|
|
4758
|
+
"ariaMenuName",
|
|
4759
|
+
"selectedOptionValue",
|
|
4760
|
+
"onOuterClick",
|
|
4761
|
+
"options",
|
|
4762
|
+
"placeholder",
|
|
4763
|
+
"menuPosition",
|
|
4764
|
+
"isDisabled",
|
|
4765
|
+
"onOpenChange",
|
|
4766
|
+
"isLoading",
|
|
4767
|
+
"loadingMessage",
|
|
4768
|
+
"emptyResultsMessage",
|
|
4769
|
+
"errorMessage"
|
|
4770
|
+
]);
|
|
4771
|
+
const environment = getDownshiftEnvironment(container);
|
|
4772
|
+
const [downshiftIsOpen, setDownshiftIsOpen] = useState2(false);
|
|
4773
|
+
const [prevSelectedItem, setPrevSelectedItem] = useState2(
|
|
4774
|
+
getSelectedOption2(selectedOptionValue, options)
|
|
4775
|
+
);
|
|
4776
|
+
const [selectedItem, setSelectedItem] = useState2(prevSelectedItem);
|
|
4777
|
+
const onDownshiftChange = (item) => {
|
|
4778
|
+
setSelectedItem(item);
|
|
4779
|
+
onOptionChange && onOptionChange(item ? item : null);
|
|
4780
|
+
};
|
|
4781
|
+
const downshiftProps = {
|
|
4782
|
+
itemToString: (item) => item ? item.value : "",
|
|
4783
|
+
onChange: onDownshiftChange,
|
|
4784
|
+
onOuterClick,
|
|
4785
|
+
environment,
|
|
4786
|
+
selectedItem,
|
|
4787
|
+
isOpen: downshiftIsOpen,
|
|
4788
|
+
onInputValueChange
|
|
4789
|
+
};
|
|
4790
|
+
if (environment) {
|
|
4791
|
+
downshiftProps.environment = environment;
|
|
4792
|
+
}
|
|
4793
|
+
const { layerProps, triggerProps, renderLayer, triggerBounds } = useLayer2({
|
|
4794
|
+
isOpen: downshiftIsOpen,
|
|
4795
|
+
container,
|
|
4796
|
+
ResizeObserver: ResizeObserver2,
|
|
4797
|
+
placement: menuPositions[menuPosition],
|
|
4798
|
+
auto: true,
|
|
4799
|
+
snap: true
|
|
4800
|
+
});
|
|
4801
|
+
useEffect4(() => {
|
|
4802
|
+
if (selectedOptionValue === null) {
|
|
4803
|
+
setPrevSelectedItem(null);
|
|
4804
|
+
setSelectedItem(null);
|
|
4805
|
+
} else if (didSelectedOptionValueChange2(selectedOptionValue, prevSelectedItem)) {
|
|
4806
|
+
const selectedItem2 = getSelectedOption2(selectedOptionValue, options);
|
|
4807
|
+
setPrevSelectedItem(selectedItem2);
|
|
4808
|
+
setSelectedItem(selectedItem2);
|
|
4809
|
+
}
|
|
4810
|
+
}, [selectedOptionValue, options, prevSelectedItem]);
|
|
4811
|
+
useEffect4(() => {
|
|
4812
|
+
onOpenChange && onOpenChange(downshiftIsOpen);
|
|
4813
|
+
}, [downshiftIsOpen, onOpenChange]);
|
|
4814
|
+
const hasAvailableOptions = useMemo(() => {
|
|
4815
|
+
if (!Array.isArray(options)) {
|
|
4816
|
+
return false;
|
|
4817
|
+
}
|
|
4818
|
+
return isGrouped2(options) ? options.some((group) => group.items.length > 0) : options.length > 0;
|
|
4819
|
+
}, [options]);
|
|
4820
|
+
const stateReducer = (state, changes) => {
|
|
4821
|
+
if (changes.isOpen !== void 0) {
|
|
4822
|
+
if (changes.type === Downshift2.stateChangeTypes.keyDownEscape) {
|
|
4823
|
+
setDownshiftIsOpen(false);
|
|
4824
|
+
return { isOpen: false };
|
|
4825
|
+
}
|
|
4826
|
+
setDownshiftIsOpen(changes.isOpen);
|
|
4827
|
+
}
|
|
4828
|
+
return changes;
|
|
4829
|
+
};
|
|
4830
|
+
return /* @__PURE__ */ React29.createElement(TypeaheadWrapper, __spreadValues({}, props), /* @__PURE__ */ React29.createElement(Downshift2, __spreadProps(__spreadValues({}, downshiftProps), { stateReducer }), ({
|
|
4831
|
+
getItemProps,
|
|
4832
|
+
getInputProps,
|
|
4833
|
+
getMenuProps,
|
|
4834
|
+
isOpen,
|
|
4835
|
+
highlightedIndex,
|
|
4836
|
+
selectedItem: selectedItem2
|
|
4837
|
+
}) => {
|
|
4838
|
+
return (
|
|
4839
|
+
// Don't set the role to combobox to ensure a consistent experience for screen readers
|
|
4840
|
+
/* @__PURE__ */ React29.createElement("div", { role: null }, /* @__PURE__ */ React29.createElement("div", __spreadValues({}, triggerProps), /* @__PURE__ */ React29.createElement(
|
|
4841
|
+
TypeaheadInput,
|
|
4842
|
+
{
|
|
4843
|
+
selectedItem: selectedItem2,
|
|
4844
|
+
selectedOptionValue,
|
|
4845
|
+
placeholder,
|
|
4846
|
+
isDisabled,
|
|
4847
|
+
options,
|
|
4848
|
+
getInputProps,
|
|
4849
|
+
ariaMenuName,
|
|
4850
|
+
isOpen: downshiftIsOpen && isOpen,
|
|
4851
|
+
onInputFocus: () => {
|
|
4852
|
+
if (hasAvailableOptions || isLoading) {
|
|
4853
|
+
setDownshiftIsOpen(true);
|
|
4854
|
+
}
|
|
4855
|
+
},
|
|
4856
|
+
hasLoader: isLoading,
|
|
4857
|
+
hasError: Boolean(errorMessage)
|
|
4858
|
+
}
|
|
4859
|
+
)), downshiftIsOpen && isOpen && renderLayer(
|
|
4860
|
+
/* @__PURE__ */ React29.createElement(
|
|
4861
|
+
"div",
|
|
4862
|
+
__spreadProps(__spreadValues({}, layerProps), {
|
|
4863
|
+
style: __spreadProps(__spreadValues({}, layerProps.style), {
|
|
4864
|
+
zIndex: menuZIndex,
|
|
4865
|
+
width: menuMinWidth ? "auto" : triggerBounds == null ? void 0 : triggerBounds.width
|
|
4866
|
+
})
|
|
4867
|
+
}),
|
|
4868
|
+
/* @__PURE__ */ React29.createElement(
|
|
4869
|
+
TypeaheadMenu,
|
|
4870
|
+
{
|
|
4871
|
+
options,
|
|
4872
|
+
selectedItem: selectedItem2,
|
|
4873
|
+
selectedOptionValue,
|
|
4874
|
+
hasAvailableOptions,
|
|
4875
|
+
highlightedIndex,
|
|
4876
|
+
getItemProps,
|
|
4877
|
+
isLoading,
|
|
4878
|
+
loadingMessage,
|
|
4879
|
+
emptyResultsMessage,
|
|
4880
|
+
position: menuPosition,
|
|
4881
|
+
downshiftMenuProps: getMenuProps,
|
|
4882
|
+
maxWidth: menuMaxWidth,
|
|
4883
|
+
maxHeight: menuMaxHeight,
|
|
4884
|
+
minWidth: menuMinWidth
|
|
4885
|
+
}
|
|
4886
|
+
)
|
|
4887
|
+
)
|
|
4888
|
+
), Boolean(errorMessage) && !downshiftIsOpen ? /* @__PURE__ */ React29.createElement(ErrorMessage2, null, errorMessage) : null)
|
|
4889
|
+
);
|
|
4890
|
+
}));
|
|
4891
|
+
};
|
|
4892
|
+
var typeahead_default = Typeahead;
|
|
4392
4893
|
|
|
4393
4894
|
// src/components/dropdown/dropdown.tsx
|
|
4394
|
-
import
|
|
4395
|
-
import
|
|
4396
|
-
import
|
|
4397
|
-
import { useLayer as
|
|
4398
|
-
import
|
|
4895
|
+
import styled24 from "@emotion/styled";
|
|
4896
|
+
import Downshift3 from "downshift";
|
|
4897
|
+
import React30, { useEffect as useEffect5, useState as useState3 } from "react";
|
|
4898
|
+
import { useLayer as useLayer3 } from "react-laag";
|
|
4899
|
+
import ResizeObserver3 from "resize-observer-polyfill";
|
|
4399
4900
|
var getAccessibilityProps = ({
|
|
4400
4901
|
ariaMenuName,
|
|
4401
4902
|
getInputProps,
|
|
@@ -4409,7 +4910,7 @@ var getAccessibilityProps = ({
|
|
|
4409
4910
|
"aria-label": ariaMenuName ? ariaMenuName : ""
|
|
4410
4911
|
};
|
|
4411
4912
|
};
|
|
4412
|
-
var TriggerSection =
|
|
4913
|
+
var TriggerSection = styled24.div`
|
|
4413
4914
|
display: inline-block;
|
|
4414
4915
|
vertical-align: middle;
|
|
4415
4916
|
`;
|
|
@@ -4446,18 +4947,18 @@ var Dropdown = (_a) => {
|
|
|
4446
4947
|
"onOpenChange"
|
|
4447
4948
|
]);
|
|
4448
4949
|
const environment = getDownshiftEnvironment(container);
|
|
4449
|
-
const [downshiftIsOpen, setDownshiftIsOpen] =
|
|
4950
|
+
const [downshiftIsOpen, setDownshiftIsOpen] = useState3(false);
|
|
4450
4951
|
const isOpen = isOpenFromProps || downshiftIsOpen;
|
|
4451
|
-
const { layerProps, triggerProps, renderLayer } =
|
|
4952
|
+
const { layerProps, triggerProps, renderLayer } = useLayer3({
|
|
4452
4953
|
isOpen,
|
|
4453
4954
|
container,
|
|
4454
4955
|
placement: menuPositions[menuPosition],
|
|
4455
|
-
ResizeObserver:
|
|
4956
|
+
ResizeObserver: ResizeObserver3,
|
|
4456
4957
|
auto: true,
|
|
4457
4958
|
snap: true,
|
|
4458
4959
|
triggerOffset
|
|
4459
4960
|
});
|
|
4460
|
-
|
|
4961
|
+
useEffect5(() => {
|
|
4461
4962
|
onOpenChange && onOpenChange(isOpen);
|
|
4462
4963
|
}, [isOpen, onOpenChange]);
|
|
4463
4964
|
const stateReducer = (state, changes) => {
|
|
@@ -4466,8 +4967,8 @@ var Dropdown = (_a) => {
|
|
|
4466
4967
|
}
|
|
4467
4968
|
return changes;
|
|
4468
4969
|
};
|
|
4469
|
-
return /* @__PURE__ */
|
|
4470
|
-
|
|
4970
|
+
return /* @__PURE__ */ React30.createElement(
|
|
4971
|
+
Downshift3,
|
|
4471
4972
|
{
|
|
4472
4973
|
stateReducer,
|
|
4473
4974
|
itemToString: (item) => item ? item.title : "",
|
|
@@ -4482,7 +4983,7 @@ var Dropdown = (_a) => {
|
|
|
4482
4983
|
getToggleButtonProps,
|
|
4483
4984
|
highlightedIndex,
|
|
4484
4985
|
isOpen: isOpen2
|
|
4485
|
-
}) => /* @__PURE__ */
|
|
4986
|
+
}) => /* @__PURE__ */ React30.createElement(
|
|
4486
4987
|
"div",
|
|
4487
4988
|
__spreadValues(__spreadValues({}, props), triggerCallback ? {
|
|
4488
4989
|
// the Downshift component appears to set the following props,
|
|
@@ -4492,18 +4993,18 @@ var Dropdown = (_a) => {
|
|
|
4492
4993
|
"aria-expanded": null,
|
|
4493
4994
|
"aria-labelledby": null
|
|
4494
4995
|
} : {}),
|
|
4495
|
-
/* @__PURE__ */
|
|
4996
|
+
/* @__PURE__ */ React30.createElement("div", __spreadValues({}, triggerProps), triggerCallback ? triggerCallback(__spreadValues(__spreadValues({}, getToggleButtonProps()), getAccessibilityProps({
|
|
4496
4997
|
ariaMenuName,
|
|
4497
4998
|
getInputProps,
|
|
4498
4999
|
isOpen: isOpen2
|
|
4499
|
-
}))) : /* @__PURE__ */
|
|
5000
|
+
}))) : /* @__PURE__ */ React30.createElement(TriggerSection, __spreadValues({}, getToggleButtonProps({})), trigger)),
|
|
4500
5001
|
isOpen2 && renderLayer(
|
|
4501
|
-
/* @__PURE__ */
|
|
5002
|
+
/* @__PURE__ */ React30.createElement(
|
|
4502
5003
|
"div",
|
|
4503
5004
|
__spreadProps(__spreadValues({}, layerProps), {
|
|
4504
5005
|
style: __spreadProps(__spreadValues({}, layerProps.style), { zIndex: menuZIndex })
|
|
4505
5006
|
}),
|
|
4506
|
-
/* @__PURE__ */
|
|
5007
|
+
/* @__PURE__ */ React30.createElement(
|
|
4507
5008
|
menu_default,
|
|
4508
5009
|
{
|
|
4509
5010
|
position: menuPosition,
|
|
@@ -4513,7 +5014,7 @@ var Dropdown = (_a) => {
|
|
|
4513
5014
|
downshiftMenuProps: getMenuProps
|
|
4514
5015
|
},
|
|
4515
5016
|
options.map((item, index) => {
|
|
4516
|
-
return /* @__PURE__ */
|
|
5017
|
+
return /* @__PURE__ */ React30.createElement(
|
|
4517
5018
|
MenuItem,
|
|
4518
5019
|
__spreadValues({
|
|
4519
5020
|
key: index,
|
|
@@ -4541,13 +5042,13 @@ var Dropdown = (_a) => {
|
|
|
4541
5042
|
var dropdown_default = Dropdown;
|
|
4542
5043
|
|
|
4543
5044
|
// src/components/form-field/form-field.tsx
|
|
4544
|
-
import
|
|
4545
|
-
import
|
|
5045
|
+
import styled27 from "@emotion/styled";
|
|
5046
|
+
import React33, { isValidElement } from "react";
|
|
4546
5047
|
|
|
4547
5048
|
// src/components/radio/radio.tsx
|
|
4548
|
-
import
|
|
4549
|
-
import
|
|
4550
|
-
var RadioLabel =
|
|
5049
|
+
import styled25 from "@emotion/styled";
|
|
5050
|
+
import React31, { forwardRef as forwardRef3 } from "react";
|
|
5051
|
+
var RadioLabel = styled25.label`
|
|
4551
5052
|
display: block;
|
|
4552
5053
|
position: relative;
|
|
4553
5054
|
|
|
@@ -4555,7 +5056,7 @@ var RadioLabel = styled24.label`
|
|
|
4555
5056
|
background-color: transparent;
|
|
4556
5057
|
}
|
|
4557
5058
|
`;
|
|
4558
|
-
var RadioInput =
|
|
5059
|
+
var RadioInput = styled25.input`
|
|
4559
5060
|
position: absolute;
|
|
4560
5061
|
opacity: 0;
|
|
4561
5062
|
|
|
@@ -4594,7 +5095,7 @@ var RadioInput = styled24.input`
|
|
|
4594
5095
|
${getFocusRing()};
|
|
4595
5096
|
}
|
|
4596
5097
|
`;
|
|
4597
|
-
var RadioBox =
|
|
5098
|
+
var RadioBox = styled25.span`
|
|
4598
5099
|
cursor: pointer;
|
|
4599
5100
|
width: ${u(2.25)};
|
|
4600
5101
|
height: ${u(2.25)};
|
|
@@ -4627,7 +5128,7 @@ var Radio = forwardRef3(
|
|
|
4627
5128
|
"onChange",
|
|
4628
5129
|
"onBlur"
|
|
4629
5130
|
]);
|
|
4630
|
-
return /* @__PURE__ */
|
|
5131
|
+
return /* @__PURE__ */ React31.createElement(RadioLabel, null, /* @__PURE__ */ React31.createElement(
|
|
4631
5132
|
RadioInput,
|
|
4632
5133
|
__spreadValues({
|
|
4633
5134
|
type: "radio",
|
|
@@ -4638,14 +5139,14 @@ var Radio = forwardRef3(
|
|
|
4638
5139
|
onBlur,
|
|
4639
5140
|
ref
|
|
4640
5141
|
}, props)
|
|
4641
|
-
), /* @__PURE__ */
|
|
5142
|
+
), /* @__PURE__ */ React31.createElement(RadioBox, { className: "RadioBox" }));
|
|
4642
5143
|
}
|
|
4643
5144
|
);
|
|
4644
5145
|
var radio_default = Radio;
|
|
4645
5146
|
|
|
4646
5147
|
// src/components/switch/switch.tsx
|
|
4647
|
-
import
|
|
4648
|
-
import
|
|
5148
|
+
import styled26 from "@emotion/styled";
|
|
5149
|
+
import React32 from "react";
|
|
4649
5150
|
var sizes2 = {
|
|
4650
5151
|
medium: {
|
|
4651
5152
|
switchHeight: 16,
|
|
@@ -4686,11 +5187,11 @@ var getKnobTravel = (props) => {
|
|
|
4686
5187
|
var getKnobSize = (props) => {
|
|
4687
5188
|
return sizes2[props.switchSize].switchHeight - sizes2[props.switchSize].knobOffset * 2;
|
|
4688
5189
|
};
|
|
4689
|
-
var SwitchLabel =
|
|
5190
|
+
var SwitchLabel = styled26.label`
|
|
4690
5191
|
display: block;
|
|
4691
5192
|
position: relative;
|
|
4692
5193
|
`;
|
|
4693
|
-
var SwitchInput =
|
|
5194
|
+
var SwitchInput = styled26.input`
|
|
4694
5195
|
position: absolute;
|
|
4695
5196
|
opacity: 0;
|
|
4696
5197
|
cursor: pointer;
|
|
@@ -4727,7 +5228,7 @@ var SwitchInput = styled25.input`
|
|
|
4727
5228
|
pointer-events: none;
|
|
4728
5229
|
}
|
|
4729
5230
|
`;
|
|
4730
|
-
var SwitchBox =
|
|
5231
|
+
var SwitchBox = styled26.div`
|
|
4731
5232
|
width: ${(props) => sizes2[props.switchSize].switchWidth}px;
|
|
4732
5233
|
height: ${(props) => sizes2[props.switchSize].switchHeight}px;
|
|
4733
5234
|
position: relative;
|
|
@@ -4767,7 +5268,7 @@ var Switch = (_a) => {
|
|
|
4767
5268
|
"ariaLabelledby and ariaLabel serve the same purpose and therefore cannot be used at the same time. Choose the one that best suites your needs."
|
|
4768
5269
|
);
|
|
4769
5270
|
}
|
|
4770
|
-
return /* @__PURE__ */
|
|
5271
|
+
return /* @__PURE__ */ React32.createElement(SwitchLabel, null, /* @__PURE__ */ React32.createElement(
|
|
4771
5272
|
SwitchInput,
|
|
4772
5273
|
__spreadProps(__spreadValues({}, props), {
|
|
4773
5274
|
checked: isActive,
|
|
@@ -4779,7 +5280,7 @@ var Switch = (_a) => {
|
|
|
4779
5280
|
"aria-label": ariaLabel,
|
|
4780
5281
|
"aria-checked": isActive
|
|
4781
5282
|
})
|
|
4782
|
-
), /* @__PURE__ */
|
|
5283
|
+
), /* @__PURE__ */ React32.createElement(
|
|
4783
5284
|
SwitchBox,
|
|
4784
5285
|
{
|
|
4785
5286
|
className: "SwitchBox",
|
|
@@ -4807,15 +5308,15 @@ var directionStyles = {
|
|
|
4807
5308
|
label: { marginBottom: "var(--lns-space-xsmall)" }
|
|
4808
5309
|
}
|
|
4809
5310
|
};
|
|
4810
|
-
var FormFieldWrapper =
|
|
5311
|
+
var FormFieldWrapper = styled27.div`
|
|
4811
5312
|
${(props) => props.direction && directionStyles[props.direction].wrapper};
|
|
4812
5313
|
`;
|
|
4813
|
-
var Label =
|
|
5314
|
+
var Label = styled27.label`
|
|
4814
5315
|
display: block;
|
|
4815
5316
|
${(props) => props.direction && directionStyles[props.direction].label};
|
|
4816
5317
|
${(props) => props.isLabelClickable && "cursor: pointer"};
|
|
4817
5318
|
`;
|
|
4818
|
-
var
|
|
5319
|
+
var ErrorMessage3 = styled27.span`
|
|
4819
5320
|
color: var(--lns-color-red);
|
|
4820
5321
|
margin-top: var(--lns-space-xsmall);
|
|
4821
5322
|
display: block;
|
|
@@ -4845,12 +5346,12 @@ var FormField = (_a) => {
|
|
|
4845
5346
|
"labelFor",
|
|
4846
5347
|
"direction"
|
|
4847
5348
|
]);
|
|
4848
|
-
const isLabelClickable =
|
|
5349
|
+
const isLabelClickable = React33.Children.toArray(children).some(
|
|
4849
5350
|
(child) => isValidElement(child) && // The child might be a div, span, etc (type string) so we
|
|
4850
5351
|
// have to typeguard before we check if our child is of interactive
|
|
4851
5352
|
typeof child.type !== "string" && isInteractiveComponent(child.type)
|
|
4852
5353
|
);
|
|
4853
|
-
const labelElement = label && /* @__PURE__ */
|
|
5354
|
+
const labelElement = label && /* @__PURE__ */ React33.createElement(
|
|
4854
5355
|
Label,
|
|
4855
5356
|
{
|
|
4856
5357
|
direction,
|
|
@@ -4859,18 +5360,18 @@ var FormField = (_a) => {
|
|
|
4859
5360
|
},
|
|
4860
5361
|
label
|
|
4861
5362
|
);
|
|
4862
|
-
return /* @__PURE__ */
|
|
5363
|
+
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));
|
|
4863
5364
|
};
|
|
4864
5365
|
var form_field_default = FormField;
|
|
4865
5366
|
|
|
4866
5367
|
// src/components/notification-bar/notification-bar.tsx
|
|
4867
|
-
import
|
|
4868
|
-
import
|
|
5368
|
+
import styled28 from "@emotion/styled";
|
|
5369
|
+
import React37, { useEffect as useEffect7 } from "react";
|
|
4869
5370
|
|
|
4870
5371
|
// src/hooks/use-on-click-outside.js
|
|
4871
|
-
import
|
|
5372
|
+
import React34 from "react";
|
|
4872
5373
|
function useOnClickOutside(ref, handler) {
|
|
4873
|
-
|
|
5374
|
+
React34.useEffect(() => {
|
|
4874
5375
|
const listener = (event) => {
|
|
4875
5376
|
if (!ref.current || ref.current.contains(event.target)) {
|
|
4876
5377
|
return;
|
|
@@ -4887,9 +5388,9 @@ function useOnClickOutside(ref, handler) {
|
|
|
4887
5388
|
}
|
|
4888
5389
|
|
|
4889
5390
|
// src/hooks/use-focused-element.tsx
|
|
4890
|
-
import { useCallback as useCallback2, useEffect as
|
|
5391
|
+
import { useCallback as useCallback2, useEffect as useEffect6, useState as useState4 } from "react";
|
|
4891
5392
|
function useFocusedElement(ref) {
|
|
4892
|
-
const [isFocused, setIsFocused] =
|
|
5393
|
+
const [isFocused, setIsFocused] = useState4(false);
|
|
4893
5394
|
const handleFocus = useCallback2(
|
|
4894
5395
|
(e) => {
|
|
4895
5396
|
const currentRef = ref.current;
|
|
@@ -4908,7 +5409,7 @@ function useFocusedElement(ref) {
|
|
|
4908
5409
|
},
|
|
4909
5410
|
[ref]
|
|
4910
5411
|
);
|
|
4911
|
-
|
|
5412
|
+
useEffect6(() => {
|
|
4912
5413
|
document.addEventListener("focusin", handleFocus);
|
|
4913
5414
|
document.addEventListener("focusout", handleBlur);
|
|
4914
5415
|
return () => {
|
|
@@ -4942,14 +5443,14 @@ var use_push_page_down_default = usePushPageDown;
|
|
|
4942
5443
|
|
|
4943
5444
|
// src/components/icon/available-icons/info.tsx
|
|
4944
5445
|
import InformationCircleIcon from "@atlaskit/icon/core/information-circle";
|
|
4945
|
-
import * as
|
|
5446
|
+
import * as React35 from "react";
|
|
4946
5447
|
function SvgInfo() {
|
|
4947
|
-
return /* @__PURE__ */
|
|
5448
|
+
return /* @__PURE__ */ React35.createElement(InformationCircleIcon, { label: "", testId: "ads-refreshed-icon" });
|
|
4948
5449
|
}
|
|
4949
5450
|
|
|
4950
5451
|
// src/components/icon/available-icons/warning-alert.tsx
|
|
4951
|
-
import
|
|
4952
|
-
var SvgWarningAlert = (props) => /* @__PURE__ */
|
|
5452
|
+
import React36 from "react";
|
|
5453
|
+
var SvgWarningAlert = (props) => /* @__PURE__ */ React36.createElement("svg", __spreadValues({ viewBox: "0 0 24 24", fill: "none" }, props), /* @__PURE__ */ React36.createElement(
|
|
4953
5454
|
"path",
|
|
4954
5455
|
{
|
|
4955
5456
|
fill: "currentColor",
|
|
@@ -4963,31 +5464,31 @@ var SvgWarningAlert = (props) => /* @__PURE__ */ React35.createElement("svg", __
|
|
|
4963
5464
|
var severityStyles = {
|
|
4964
5465
|
info: {
|
|
4965
5466
|
bgColor: "var(--lns-color-blurple)",
|
|
4966
|
-
icon: /* @__PURE__ */
|
|
5467
|
+
icon: /* @__PURE__ */ React37.createElement(SvgInfo, null),
|
|
4967
5468
|
color: "var(--lns-color-white)",
|
|
4968
5469
|
fontFamily: "inherit"
|
|
4969
5470
|
},
|
|
4970
5471
|
warning: {
|
|
4971
5472
|
bgColor: "var(--lns-color-warning)",
|
|
4972
|
-
icon: /* @__PURE__ */
|
|
5473
|
+
icon: /* @__PURE__ */ React37.createElement(SvgWarningAlert, null),
|
|
4973
5474
|
color: "var(--lns-color-grey8)",
|
|
4974
5475
|
fontFamily: "inherit"
|
|
4975
5476
|
},
|
|
4976
5477
|
error: {
|
|
4977
5478
|
bgColor: "var(--lns-color-danger)",
|
|
4978
|
-
icon: /* @__PURE__ */
|
|
5479
|
+
icon: /* @__PURE__ */ React37.createElement(SvgAlertTriangle, null),
|
|
4979
5480
|
color: "var(--lns-color-white)",
|
|
4980
5481
|
fontFamily: "inherit"
|
|
4981
5482
|
},
|
|
4982
5483
|
internal: {
|
|
4983
|
-
icon: /* @__PURE__ */
|
|
5484
|
+
icon: /* @__PURE__ */ React37.createElement("span", { role: "img" }, "\u{1F514}"),
|
|
4984
5485
|
color: "var(--lns-color-tealLight)",
|
|
4985
5486
|
bgColor: "var(--lns-color-grey8)",
|
|
4986
5487
|
fontFamily: "var(--lns-fontFamily-code)"
|
|
4987
5488
|
}
|
|
4988
5489
|
};
|
|
4989
5490
|
var DURATION = 350;
|
|
4990
|
-
var NotificationBarWrapper =
|
|
5491
|
+
var NotificationBarWrapper = styled28.aside`
|
|
4991
5492
|
--paddingXOffset: var(--lns-space-large);
|
|
4992
5493
|
--alignItems: start;
|
|
4993
5494
|
|
|
@@ -5023,7 +5524,7 @@ var NotificationBar = ({
|
|
|
5023
5524
|
id
|
|
5024
5525
|
}) => {
|
|
5025
5526
|
var _a, _b, _c;
|
|
5026
|
-
|
|
5527
|
+
useEffect7(() => {
|
|
5027
5528
|
if (!isOpen) {
|
|
5028
5529
|
return;
|
|
5029
5530
|
}
|
|
@@ -5040,7 +5541,7 @@ var NotificationBar = ({
|
|
|
5040
5541
|
}, [isOpen, onCloseClick]);
|
|
5041
5542
|
use_push_page_down_default(isOpen);
|
|
5042
5543
|
const isInternalAlert = severity === "internal";
|
|
5043
|
-
return isOpen ? /* @__PURE__ */
|
|
5544
|
+
return isOpen ? /* @__PURE__ */ React37.createElement(NotificationBarWrapper, { isOpen, severity, id }, /* @__PURE__ */ React37.createElement(
|
|
5044
5545
|
arrange_default,
|
|
5045
5546
|
{
|
|
5046
5547
|
alignItems: { default: "start", small: "center" },
|
|
@@ -5048,21 +5549,21 @@ var NotificationBar = ({
|
|
|
5048
5549
|
autoFlow: isInternalAlert ? "column" : void 0,
|
|
5049
5550
|
columns: !isInternalAlert ? ["1fr auto"] : void 0
|
|
5050
5551
|
},
|
|
5051
|
-
/* @__PURE__ */
|
|
5552
|
+
/* @__PURE__ */ React37.createElement(
|
|
5052
5553
|
container_default,
|
|
5053
5554
|
{
|
|
5054
5555
|
paddingY: { default: "xsmall", xsmall: 0 },
|
|
5055
5556
|
paddingLeft: !isInternalAlert ? { default: 0, medium: u(3.5) } : void 0,
|
|
5056
5557
|
width: "100%"
|
|
5057
5558
|
},
|
|
5058
|
-
/* @__PURE__ */
|
|
5559
|
+
/* @__PURE__ */ React37.createElement(
|
|
5059
5560
|
arrange_default,
|
|
5060
5561
|
{
|
|
5061
5562
|
autoFlow: "column",
|
|
5062
5563
|
gap: isInternalAlert ? "medium" : "small",
|
|
5063
5564
|
justifyContent: "center"
|
|
5064
5565
|
},
|
|
5065
|
-
((_a = severityStyles[severity]) == null ? void 0 : _a.icon) ? /* @__PURE__ */
|
|
5566
|
+
((_a = severityStyles[severity]) == null ? void 0 : _a.icon) ? /* @__PURE__ */ React37.createElement(align_default, { alignment: "topLeft" }, /* @__PURE__ */ React37.createElement(
|
|
5066
5567
|
icon_default,
|
|
5067
5568
|
{
|
|
5068
5569
|
icon: severityStyles[severity].icon,
|
|
@@ -5073,13 +5574,13 @@ var NotificationBar = ({
|
|
|
5073
5574
|
children
|
|
5074
5575
|
)
|
|
5075
5576
|
)
|
|
5076
|
-
), onCloseClick && /* @__PURE__ */
|
|
5577
|
+
), onCloseClick && /* @__PURE__ */ React37.createElement(
|
|
5077
5578
|
icon_button_default,
|
|
5078
5579
|
{
|
|
5079
5580
|
iconColor: (_c = severityStyles[severity].color) != null ? _c : "var(--lns-color-white)",
|
|
5080
5581
|
tabIndex: 0,
|
|
5081
5582
|
altText: "Close",
|
|
5082
|
-
icon: /* @__PURE__ */
|
|
5583
|
+
icon: /* @__PURE__ */ React37.createElement(SvgClose, null),
|
|
5083
5584
|
onClick: onCloseClick
|
|
5084
5585
|
}
|
|
5085
5586
|
)) : null;
|
|
@@ -5088,8 +5589,8 @@ var notification_bar_default = NotificationBar;
|
|
|
5088
5589
|
|
|
5089
5590
|
// src/components/toast/toast.tsx
|
|
5090
5591
|
import { keyframes as keyframes2 } from "@emotion/react";
|
|
5091
|
-
import
|
|
5092
|
-
import
|
|
5592
|
+
import styled29 from "@emotion/styled";
|
|
5593
|
+
import React38, { useEffect as useEffect8 } from "react";
|
|
5093
5594
|
var WEBAPP = "web-app";
|
|
5094
5595
|
var CHROME_EXTENSION = "chrome-extension";
|
|
5095
5596
|
var toastDurations = { short: 3e3, long: 8e3 };
|
|
@@ -5131,7 +5632,7 @@ var getBottom = (platform) => {
|
|
|
5131
5632
|
return u(4);
|
|
5132
5633
|
}
|
|
5133
5634
|
};
|
|
5134
|
-
var ToastWrapper =
|
|
5635
|
+
var ToastWrapper = styled29.div`
|
|
5135
5636
|
animation: ${(props) => enter(props.toastDuration, props.platform)}
|
|
5136
5637
|
${(props) => props.toastDuration}ms forwards;
|
|
5137
5638
|
background-color: ${getColorValue("backgroundInverse")};
|
|
@@ -5153,7 +5654,7 @@ var ToastWrapper = styled28.div`
|
|
|
5153
5654
|
width: max-content;
|
|
5154
5655
|
z-index: ${(props) => props.zIndex};
|
|
5155
5656
|
`;
|
|
5156
|
-
var ChildrenSection3 =
|
|
5657
|
+
var ChildrenSection3 = styled29.div`
|
|
5157
5658
|
align-self: center;
|
|
5158
5659
|
`;
|
|
5159
5660
|
var Toast = ({
|
|
@@ -5165,7 +5666,7 @@ var Toast = ({
|
|
|
5165
5666
|
platform = "web-app"
|
|
5166
5667
|
}) => {
|
|
5167
5668
|
const toastDuration = toastDurations[duration2];
|
|
5168
|
-
|
|
5669
|
+
useEffect8(() => {
|
|
5169
5670
|
const timer = setTimeout(() => {
|
|
5170
5671
|
if (isOpen) {
|
|
5171
5672
|
onCloseClick();
|
|
@@ -5173,7 +5674,7 @@ var Toast = ({
|
|
|
5173
5674
|
}, toastDuration);
|
|
5174
5675
|
return () => clearTimeout(timer);
|
|
5175
5676
|
}, [isOpen]);
|
|
5176
|
-
return /* @__PURE__ */
|
|
5677
|
+
return /* @__PURE__ */ React38.createElement(React38.Fragment, null, isOpen && /* @__PURE__ */ React38.createElement(
|
|
5177
5678
|
ToastWrapper,
|
|
5178
5679
|
{
|
|
5179
5680
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -5182,12 +5683,12 @@ var Toast = ({
|
|
|
5182
5683
|
toastDuration,
|
|
5183
5684
|
platform
|
|
5184
5685
|
},
|
|
5185
|
-
/* @__PURE__ */
|
|
5186
|
-
onCloseClick && /* @__PURE__ */
|
|
5686
|
+
/* @__PURE__ */ React38.createElement(ChildrenSection3, { "aria-live": "polite" }, children),
|
|
5687
|
+
onCloseClick && /* @__PURE__ */ React38.createElement(
|
|
5187
5688
|
icon_button_default,
|
|
5188
5689
|
{
|
|
5189
5690
|
altText: "Close",
|
|
5190
|
-
icon: /* @__PURE__ */
|
|
5691
|
+
icon: /* @__PURE__ */ React38.createElement(SvgClose, null),
|
|
5191
5692
|
onClick: onCloseClick,
|
|
5192
5693
|
iconColor: "bodyInverse"
|
|
5193
5694
|
}
|
|
@@ -5197,10 +5698,10 @@ var Toast = ({
|
|
|
5197
5698
|
var toast_default = Toast;
|
|
5198
5699
|
|
|
5199
5700
|
// src/components/tooltip/tooltip.tsx
|
|
5200
|
-
import
|
|
5201
|
-
import
|
|
5202
|
-
import { useHover, useLayer as
|
|
5203
|
-
import
|
|
5701
|
+
import styled30 from "@emotion/styled";
|
|
5702
|
+
import React39, { useState as useState5, useRef as useRef2, useEffect as useEffect9 } from "react";
|
|
5703
|
+
import { useHover, useLayer as useLayer4, mergeRefs } from "react-laag";
|
|
5704
|
+
import ResizeObserver4 from "resize-observer-polyfill";
|
|
5204
5705
|
var placements = {
|
|
5205
5706
|
topLeft: "top-start",
|
|
5206
5707
|
topCenter: "top-center",
|
|
@@ -5218,7 +5719,7 @@ var placements = {
|
|
|
5218
5719
|
var tooltipMinHeight = 4;
|
|
5219
5720
|
var textHeight = textSizes.small.fontSize * textSizes.small.lineHeight;
|
|
5220
5721
|
var tooltipYPadding = (tooltipMinHeight - textHeight) / 2;
|
|
5221
|
-
var TooltipBoxWrapper =
|
|
5722
|
+
var TooltipBoxWrapper = styled30.div`
|
|
5222
5723
|
background-color: ${getColorValue("backgroundInverse")};
|
|
5223
5724
|
color: ${getColorValue("bodyInverse")};
|
|
5224
5725
|
${getRadius("150")};
|
|
@@ -5230,7 +5731,7 @@ var TooltipBoxWrapper = styled29.div`
|
|
|
5230
5731
|
padding: ${u(tooltipYPadding)} ${u(1.5)};
|
|
5231
5732
|
z-index: ${(props) => props.zIndex};
|
|
5232
5733
|
`;
|
|
5233
|
-
var ShortcutWrapper =
|
|
5734
|
+
var ShortcutWrapper = styled30.div`
|
|
5234
5735
|
background-color: ${getColorValue("grey7")};
|
|
5235
5736
|
border-radius: 3px;
|
|
5236
5737
|
color: ${getColorValue("grey3")};
|
|
@@ -5241,7 +5742,7 @@ var ShortcutWrapper = styled29.div`
|
|
|
5241
5742
|
`;
|
|
5242
5743
|
var ShortcutBox = ({
|
|
5243
5744
|
children
|
|
5244
|
-
}) => /* @__PURE__ */
|
|
5745
|
+
}) => /* @__PURE__ */ React39.createElement(ShortcutWrapper, null, children);
|
|
5245
5746
|
var TooltipBox = (_a) => {
|
|
5246
5747
|
var _b = _a, {
|
|
5247
5748
|
children,
|
|
@@ -5258,7 +5759,7 @@ var TooltipBox = (_a) => {
|
|
|
5258
5759
|
"layerProps",
|
|
5259
5760
|
"zIndex"
|
|
5260
5761
|
]);
|
|
5261
|
-
return /* @__PURE__ */
|
|
5762
|
+
return /* @__PURE__ */ React39.createElement(
|
|
5262
5763
|
TooltipBoxWrapper,
|
|
5263
5764
|
__spreadValues(__spreadValues({
|
|
5264
5765
|
maxWidth,
|
|
@@ -5269,7 +5770,7 @@ var TooltipBox = (_a) => {
|
|
|
5269
5770
|
children
|
|
5270
5771
|
);
|
|
5271
5772
|
};
|
|
5272
|
-
var TooltipChildren =
|
|
5773
|
+
var TooltipChildren = styled30.div`
|
|
5273
5774
|
display: ${(props) => props.isInline ? "inline-block" : "block"};
|
|
5274
5775
|
${(props) => props.verticalAlign && `vertical-align: ${props.verticalAlign}`};
|
|
5275
5776
|
&:focus-visible {
|
|
@@ -5329,11 +5830,12 @@ var Tooltip = (_a) => {
|
|
|
5329
5830
|
delayEnter: getInitialDelaySpeed(delay),
|
|
5330
5831
|
delayLeave: 200
|
|
5331
5832
|
});
|
|
5332
|
-
const [isOverTooltip, setIsOverTooltip] =
|
|
5333
|
-
const [isOpen, setIsOpen] =
|
|
5833
|
+
const [isOverTooltip, setIsOverTooltip] = useState5(false);
|
|
5834
|
+
const [isOpen, setIsOpen] = useState5(false);
|
|
5835
|
+
const [enterOrSpaceKeyDown, setEnterOrSpaceKeyDown] = useState5(false);
|
|
5334
5836
|
const focusRef = useRef2();
|
|
5335
5837
|
const isTooltipDisabled = !content || isDisabled;
|
|
5336
|
-
|
|
5838
|
+
useEffect9(() => {
|
|
5337
5839
|
if (isTooltipDisabled) {
|
|
5338
5840
|
setIsOpen(false);
|
|
5339
5841
|
return;
|
|
@@ -5342,7 +5844,7 @@ var Tooltip = (_a) => {
|
|
|
5342
5844
|
if (show || keepTooltipOpenOnHover) {
|
|
5343
5845
|
setIsOpen(true);
|
|
5344
5846
|
}
|
|
5345
|
-
if (!show && !keepTooltipOpenOnHover) {
|
|
5847
|
+
if (!show && !keepTooltipOpenOnHover && !enterOrSpaceKeyDown) {
|
|
5346
5848
|
setIsOpen(false);
|
|
5347
5849
|
}
|
|
5348
5850
|
}, [
|
|
@@ -5352,17 +5854,20 @@ var Tooltip = (_a) => {
|
|
|
5352
5854
|
isTooltipDisabled,
|
|
5353
5855
|
keepOpen,
|
|
5354
5856
|
setIsOpen,
|
|
5355
|
-
show
|
|
5857
|
+
show,
|
|
5858
|
+
enterOrSpaceKeyDown
|
|
5356
5859
|
]);
|
|
5357
5860
|
const handleFocus = () => {
|
|
5861
|
+
setEnterOrSpaceKeyDown(false);
|
|
5358
5862
|
if (!isTooltipDisabled) {
|
|
5359
5863
|
setIsOpen(true);
|
|
5360
5864
|
}
|
|
5361
5865
|
};
|
|
5362
5866
|
const handleBlur = () => {
|
|
5363
5867
|
setIsOpen(false);
|
|
5868
|
+
setEnterOrSpaceKeyDown(false);
|
|
5364
5869
|
};
|
|
5365
|
-
|
|
5870
|
+
useEffect9(() => {
|
|
5366
5871
|
if (!isOpen) {
|
|
5367
5872
|
return;
|
|
5368
5873
|
}
|
|
@@ -5377,17 +5882,22 @@ var Tooltip = (_a) => {
|
|
|
5377
5882
|
window.removeEventListener("keydown", keyListener);
|
|
5378
5883
|
};
|
|
5379
5884
|
}, [isOpen, setIsOpen]);
|
|
5380
|
-
const { layerProps, triggerProps, renderLayer } =
|
|
5885
|
+
const { layerProps, triggerProps, renderLayer } = useLayer4({
|
|
5381
5886
|
isOpen,
|
|
5382
5887
|
placement: placements[placement],
|
|
5383
|
-
ResizeObserver:
|
|
5888
|
+
ResizeObserver: ResizeObserver4,
|
|
5384
5889
|
triggerOffset,
|
|
5385
5890
|
container,
|
|
5386
5891
|
auto: true
|
|
5387
5892
|
});
|
|
5388
|
-
return /* @__PURE__ */
|
|
5893
|
+
return /* @__PURE__ */ React39.createElement(React39.Fragment, null, /* @__PURE__ */ React39.createElement(
|
|
5389
5894
|
TooltipChildren,
|
|
5390
5895
|
__spreadProps(__spreadValues(__spreadValues({}, triggerProps), hoverProps), {
|
|
5896
|
+
onClick: (e) => {
|
|
5897
|
+
if (e.detail === 0) {
|
|
5898
|
+
setEnterOrSpaceKeyDown(true);
|
|
5899
|
+
}
|
|
5900
|
+
},
|
|
5391
5901
|
onFocus: handleFocus,
|
|
5392
5902
|
onBlur: handleBlur,
|
|
5393
5903
|
isInline,
|
|
@@ -5396,8 +5906,8 @@ var Tooltip = (_a) => {
|
|
|
5396
5906
|
ref: mergeRefs(triggerProps.ref, focusRef)
|
|
5397
5907
|
}),
|
|
5398
5908
|
children
|
|
5399
|
-
), ariaLive && /* @__PURE__ */
|
|
5400
|
-
/* @__PURE__ */
|
|
5909
|
+
), ariaLive && /* @__PURE__ */ React39.createElement("span", { className: "srOnly", "aria-live": "polite" }, isOpen && content), isOpen && renderLayer(
|
|
5910
|
+
/* @__PURE__ */ React39.createElement("div", __spreadProps(__spreadValues({}, layerProps), { style: __spreadProps(__spreadValues({}, layerProps.style), { zIndex }) }), /* @__PURE__ */ React39.createElement(
|
|
5401
5911
|
TooltipBox,
|
|
5402
5912
|
__spreadValues({
|
|
5403
5913
|
maxWidth,
|
|
@@ -5406,7 +5916,7 @@ var Tooltip = (_a) => {
|
|
|
5406
5916
|
role: "tooltip",
|
|
5407
5917
|
id: tooltipId
|
|
5408
5918
|
}, rest),
|
|
5409
|
-
/* @__PURE__ */
|
|
5919
|
+
/* @__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))))
|
|
5410
5920
|
))
|
|
5411
5921
|
));
|
|
5412
5922
|
};
|
|
@@ -5415,8 +5925,8 @@ var tooltip_default = Tooltip;
|
|
|
5415
5925
|
|
|
5416
5926
|
// src/components/skeleton/skeleton.tsx
|
|
5417
5927
|
import { css as css4 } from "@emotion/react";
|
|
5418
|
-
import
|
|
5419
|
-
import
|
|
5928
|
+
import styled31 from "@emotion/styled";
|
|
5929
|
+
import React40 from "react";
|
|
5420
5930
|
var SkeletonAnimation = css4`
|
|
5421
5931
|
@media (prefers-reduced-motion: no-preference) {
|
|
5422
5932
|
animation: shimmer 2s infinite linear;
|
|
@@ -5437,7 +5947,7 @@ var SkeletonAnimation = css4`
|
|
|
5437
5947
|
}
|
|
5438
5948
|
}
|
|
5439
5949
|
`;
|
|
5440
|
-
var SkeletonTextWrapper =
|
|
5950
|
+
var SkeletonTextWrapper = styled31.div`
|
|
5441
5951
|
${(props) => getTextSize(props.size)};
|
|
5442
5952
|
color: transparent;
|
|
5443
5953
|
position: relative;
|
|
@@ -5463,7 +5973,7 @@ var SkeletonTextWrapper = styled30.div`
|
|
|
5463
5973
|
}
|
|
5464
5974
|
`};
|
|
5465
5975
|
`;
|
|
5466
|
-
var SkeletonContainerWrapper =
|
|
5976
|
+
var SkeletonContainerWrapper = styled31.div`
|
|
5467
5977
|
background-color: var(--lns-color-disabledBackground);
|
|
5468
5978
|
${(props) => getRadius(props.radius)};
|
|
5469
5979
|
height: ${(props) => props.height};
|
|
@@ -5475,7 +5985,7 @@ var SkeletonText = ({
|
|
|
5475
5985
|
lines = 1,
|
|
5476
5986
|
animated = false
|
|
5477
5987
|
}) => {
|
|
5478
|
-
return /* @__PURE__ */
|
|
5988
|
+
return /* @__PURE__ */ React40.createElement(React40.Fragment, null, [...Array(lines)].map((_, i) => /* @__PURE__ */ React40.createElement(
|
|
5479
5989
|
SkeletonTextWrapper,
|
|
5480
5990
|
{
|
|
5481
5991
|
key: i,
|
|
@@ -5492,7 +6002,7 @@ var SkeletonContainer = ({
|
|
|
5492
6002
|
radius = "full",
|
|
5493
6003
|
width = "40px"
|
|
5494
6004
|
}) => {
|
|
5495
|
-
return /* @__PURE__ */
|
|
6005
|
+
return /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(
|
|
5496
6006
|
SkeletonContainerWrapper,
|
|
5497
6007
|
{
|
|
5498
6008
|
animated,
|
|
@@ -5504,10 +6014,10 @@ var SkeletonContainer = ({
|
|
|
5504
6014
|
};
|
|
5505
6015
|
|
|
5506
6016
|
// src/components/logo/logo.tsx
|
|
5507
|
-
import
|
|
5508
|
-
import
|
|
6017
|
+
import styled32 from "@emotion/styled";
|
|
6018
|
+
import React41 from "react";
|
|
5509
6019
|
var LoomAiGradientDef = (customId) => {
|
|
5510
|
-
return /* @__PURE__ */
|
|
6020
|
+
return /* @__PURE__ */ React41.createElement("defs", null, /* @__PURE__ */ React41.createElement(
|
|
5511
6021
|
"radialGradient",
|
|
5512
6022
|
{
|
|
5513
6023
|
id: `ai-logo-${customId}-gradient-1`,
|
|
@@ -5517,12 +6027,12 @@ var LoomAiGradientDef = (customId) => {
|
|
|
5517
6027
|
fx: "0%",
|
|
5518
6028
|
fy: "0%"
|
|
5519
6029
|
},
|
|
5520
|
-
/* @__PURE__ */
|
|
5521
|
-
/* @__PURE__ */
|
|
5522
|
-
/* @__PURE__ */
|
|
5523
|
-
/* @__PURE__ */
|
|
5524
|
-
/* @__PURE__ */
|
|
5525
|
-
), /* @__PURE__ */
|
|
6030
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "30%", stopColor: "#97ACFD" }),
|
|
6031
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "33%", stopColor: "#B3B2F4" }),
|
|
6032
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "43%", stopColor: "#DEB0E0" }),
|
|
6033
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "50%", stopColor: "#DFC6E5" }),
|
|
6034
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "72%", stopColor: "#6663F6" })
|
|
6035
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5526
6036
|
"radialGradient",
|
|
5527
6037
|
{
|
|
5528
6038
|
id: `ai-logo-${customId}-gradient-2`,
|
|
@@ -5530,10 +6040,10 @@ var LoomAiGradientDef = (customId) => {
|
|
|
5530
6040
|
fx: "40%",
|
|
5531
6041
|
fy: "72%"
|
|
5532
6042
|
},
|
|
5533
|
-
/* @__PURE__ */
|
|
5534
|
-
/* @__PURE__ */
|
|
5535
|
-
/* @__PURE__ */
|
|
5536
|
-
), /* @__PURE__ */
|
|
6043
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "20%", stopColor: "#615CF500" }),
|
|
6044
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "32%", stopColor: "#615CF550" }),
|
|
6045
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "48%", stopColor: "#6663F6" })
|
|
6046
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5537
6047
|
"radialGradient",
|
|
5538
6048
|
{
|
|
5539
6049
|
id: `ai-logo-${customId}-gradient-3`,
|
|
@@ -5541,32 +6051,32 @@ var LoomAiGradientDef = (customId) => {
|
|
|
5541
6051
|
fx: "0%",
|
|
5542
6052
|
fy: "100%"
|
|
5543
6053
|
},
|
|
5544
|
-
/* @__PURE__ */
|
|
5545
|
-
/* @__PURE__ */
|
|
5546
|
-
/* @__PURE__ */
|
|
6054
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "25%", stopColor: "#6663F6" }),
|
|
6055
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "38%", stopColor: "#6E68F450" }),
|
|
6056
|
+
/* @__PURE__ */ React41.createElement("stop", { offset: "45%", stopColor: "#6E68F400" })
|
|
5547
6057
|
));
|
|
5548
6058
|
};
|
|
5549
6059
|
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";
|
|
5550
6060
|
var SymbolLogoSvg = (_a) => {
|
|
5551
|
-
var _b = _a, { brand, symbolColor, customId
|
|
6061
|
+
var _b = _a, { brand, symbolColor, customId } = _b, props = __objRest(_b, ["brand", "symbolColor", "customId"]);
|
|
5552
6062
|
switch (brand) {
|
|
5553
6063
|
case "ai":
|
|
5554
|
-
return /* @__PURE__ */
|
|
6064
|
+
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(
|
|
5555
6065
|
"path",
|
|
5556
6066
|
{
|
|
5557
6067
|
key: i,
|
|
5558
6068
|
d: symbolLogoPath,
|
|
5559
6069
|
fill: `url(#ai-logo-${customId}-gradient-${i + 1}`
|
|
5560
6070
|
}
|
|
5561
|
-
))) : /* @__PURE__ */
|
|
6071
|
+
))) : /* @__PURE__ */ React41.createElement("path", { d: symbolLogoPath, fill: getColorValue(symbolColor) }));
|
|
5562
6072
|
case "apptile":
|
|
5563
|
-
return /* @__PURE__ */
|
|
6073
|
+
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(
|
|
5564
6074
|
"path",
|
|
5565
6075
|
{
|
|
5566
6076
|
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",
|
|
5567
6077
|
fill: symbolColor ? getColorValue(symbolColor) : getColorValue("blurple")
|
|
5568
6078
|
}
|
|
5569
|
-
), /* @__PURE__ */
|
|
6079
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5570
6080
|
"path",
|
|
5571
6081
|
{
|
|
5572
6082
|
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",
|
|
@@ -5574,7 +6084,7 @@ var SymbolLogoSvg = (_a) => {
|
|
|
5574
6084
|
}
|
|
5575
6085
|
));
|
|
5576
6086
|
default:
|
|
5577
|
-
return /* @__PURE__ */
|
|
6087
|
+
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(
|
|
5578
6088
|
"path",
|
|
5579
6089
|
{
|
|
5580
6090
|
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",
|
|
@@ -5584,12 +6094,35 @@ var SymbolLogoSvg = (_a) => {
|
|
|
5584
6094
|
}
|
|
5585
6095
|
};
|
|
5586
6096
|
var WordmarkLogoSvg = (_a) => {
|
|
5587
|
-
var _b = _a, { brand, wordmarkColor
|
|
6097
|
+
var _b = _a, { brand, wordmarkColor } = _b, props = __objRest(_b, ["brand", "wordmarkColor"]);
|
|
5588
6098
|
switch (brand) {
|
|
5589
6099
|
case "ai":
|
|
5590
|
-
return /* @__PURE__ */
|
|
6100
|
+
return /* @__PURE__ */ React41.createElement(
|
|
6101
|
+
"svg",
|
|
6102
|
+
__spreadValues({
|
|
6103
|
+
"aria-label": "Loom AI",
|
|
6104
|
+
viewBox: "0 0 94 23",
|
|
6105
|
+
fill: wordmarkColor
|
|
6106
|
+
}, props),
|
|
6107
|
+
/* @__PURE__ */ React41.createElement("title", null, "Loom AI"),
|
|
6108
|
+
/* @__PURE__ */ React41.createElement("path", { d: "M4.12637 22.4624H0V0H4.12637V22.4624Z" }),
|
|
6109
|
+
/* @__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" }),
|
|
6110
|
+
/* @__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" }),
|
|
6111
|
+
/* @__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" }),
|
|
6112
|
+
/* @__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" }),
|
|
6113
|
+
/* @__PURE__ */ React41.createElement("path", { d: "M94 22.4624H89.6565V0.46538H94V22.4624Z" })
|
|
6114
|
+
);
|
|
5591
6115
|
default:
|
|
5592
|
-
return /* @__PURE__ */
|
|
6116
|
+
return /* @__PURE__ */ React41.createElement(
|
|
6117
|
+
"svg",
|
|
6118
|
+
__spreadValues({
|
|
6119
|
+
"aria-label": "Loom",
|
|
6120
|
+
viewBox: "0 0 62 23",
|
|
6121
|
+
fill: wordmarkColor
|
|
6122
|
+
}, props),
|
|
6123
|
+
/* @__PURE__ */ React41.createElement("title", null, "Loom"),
|
|
6124
|
+
/* @__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" })
|
|
6125
|
+
);
|
|
5593
6126
|
}
|
|
5594
6127
|
};
|
|
5595
6128
|
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";
|
|
@@ -5598,47 +6131,45 @@ var CombinedLogoSvg = (_a) => {
|
|
|
5598
6131
|
brand,
|
|
5599
6132
|
wordmarkColor,
|
|
5600
6133
|
symbolColor,
|
|
5601
|
-
customId
|
|
5602
|
-
title
|
|
6134
|
+
customId
|
|
5603
6135
|
} = _b, props = __objRest(_b, [
|
|
5604
6136
|
"brand",
|
|
5605
6137
|
"wordmarkColor",
|
|
5606
6138
|
"symbolColor",
|
|
5607
|
-
"customId"
|
|
5608
|
-
"title"
|
|
6139
|
+
"customId"
|
|
5609
6140
|
]);
|
|
5610
6141
|
switch (brand) {
|
|
5611
6142
|
case "ai":
|
|
5612
|
-
return /* @__PURE__ */
|
|
6143
|
+
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(
|
|
5613
6144
|
"path",
|
|
5614
6145
|
{
|
|
5615
6146
|
key: i,
|
|
5616
6147
|
d: combinedLogoPath,
|
|
5617
6148
|
fill: `url(#ai-logo-${customId}-gradient-${i + 1}`
|
|
5618
6149
|
}
|
|
5619
|
-
))) : /* @__PURE__ */
|
|
6150
|
+
))) : /* @__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" })));
|
|
5620
6151
|
case "apptile":
|
|
5621
|
-
return /* @__PURE__ */
|
|
6152
|
+
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(
|
|
5622
6153
|
"path",
|
|
5623
6154
|
{
|
|
5624
6155
|
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",
|
|
5625
6156
|
fill: symbolColor ? getColorValue(symbolColor) : getColorValue("blurple")
|
|
5626
6157
|
}
|
|
5627
|
-
), /* @__PURE__ */
|
|
6158
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5628
6159
|
"path",
|
|
5629
6160
|
{
|
|
5630
6161
|
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",
|
|
5631
6162
|
fill: "white"
|
|
5632
6163
|
}
|
|
5633
|
-
), /* @__PURE__ */
|
|
6164
|
+
), /* @__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" })));
|
|
5634
6165
|
default:
|
|
5635
|
-
return /* @__PURE__ */
|
|
6166
|
+
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(
|
|
5636
6167
|
"path",
|
|
5637
6168
|
{
|
|
5638
6169
|
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",
|
|
5639
6170
|
fill: symbolColor ? getColorValue(symbolColor) : getColorValue("primary")
|
|
5640
6171
|
}
|
|
5641
|
-
), /* @__PURE__ */
|
|
6172
|
+
), /* @__PURE__ */ React41.createElement(
|
|
5642
6173
|
"path",
|
|
5643
6174
|
{
|
|
5644
6175
|
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",
|
|
@@ -5647,7 +6178,7 @@ var CombinedLogoSvg = (_a) => {
|
|
|
5647
6178
|
));
|
|
5648
6179
|
}
|
|
5649
6180
|
};
|
|
5650
|
-
var LogoWrapper =
|
|
6181
|
+
var LogoWrapper = styled32.span`
|
|
5651
6182
|
display: block;
|
|
5652
6183
|
${(props) => props.maxWidth && getSize("max-width", props.maxWidth)};
|
|
5653
6184
|
|
|
@@ -5665,51 +6196,46 @@ var Logo = (_a) => {
|
|
|
5665
6196
|
symbolColor,
|
|
5666
6197
|
wordmarkColor = "body",
|
|
5667
6198
|
brand = "loom",
|
|
5668
|
-
customId = ""
|
|
5669
|
-
title = ""
|
|
6199
|
+
customId = ""
|
|
5670
6200
|
} = _b, props = __objRest(_b, [
|
|
5671
6201
|
"variant",
|
|
5672
6202
|
"maxWidth",
|
|
5673
6203
|
"symbolColor",
|
|
5674
6204
|
"wordmarkColor",
|
|
5675
6205
|
"brand",
|
|
5676
|
-
"customId"
|
|
5677
|
-
"title"
|
|
6206
|
+
"customId"
|
|
5678
6207
|
]);
|
|
5679
|
-
return /* @__PURE__ */
|
|
6208
|
+
return /* @__PURE__ */ React41.createElement(LogoWrapper, __spreadValues({ variant, maxWidth }, props), variant === "combined" && /* @__PURE__ */ React41.createElement(
|
|
5680
6209
|
CombinedLogoSvg,
|
|
5681
6210
|
{
|
|
5682
6211
|
brand,
|
|
5683
6212
|
symbolColor,
|
|
5684
6213
|
wordmarkColor: getColorValue(wordmarkColor),
|
|
5685
6214
|
customId,
|
|
5686
|
-
className: "lns-logoSvg"
|
|
5687
|
-
title
|
|
6215
|
+
className: "lns-logoSvg"
|
|
5688
6216
|
}
|
|
5689
|
-
), variant === "symbol" && /* @__PURE__ */
|
|
6217
|
+
), variant === "symbol" && /* @__PURE__ */ React41.createElement(
|
|
5690
6218
|
SymbolLogoSvg,
|
|
5691
6219
|
{
|
|
5692
6220
|
brand,
|
|
5693
6221
|
symbolColor,
|
|
5694
6222
|
customId,
|
|
5695
|
-
className: "lns-logoSvg"
|
|
5696
|
-
title
|
|
6223
|
+
className: "lns-logoSvg"
|
|
5697
6224
|
}
|
|
5698
|
-
), variant === "wordmark" && /* @__PURE__ */
|
|
6225
|
+
), variant === "wordmark" && /* @__PURE__ */ React41.createElement(
|
|
5699
6226
|
WordmarkLogoSvg,
|
|
5700
6227
|
{
|
|
5701
6228
|
brand,
|
|
5702
6229
|
wordmarkColor: getColorValue(wordmarkColor),
|
|
5703
|
-
className: "lns-logoSvg"
|
|
5704
|
-
title
|
|
6230
|
+
className: "lns-logoSvg"
|
|
5705
6231
|
}
|
|
5706
6232
|
));
|
|
5707
6233
|
};
|
|
5708
6234
|
var logo_default = Logo;
|
|
5709
6235
|
|
|
5710
6236
|
// src/components/logo-loader/logo-loader.tsx
|
|
5711
|
-
import
|
|
5712
|
-
import
|
|
6237
|
+
import styled33 from "@emotion/styled";
|
|
6238
|
+
import React42 from "react";
|
|
5713
6239
|
|
|
5714
6240
|
// src/constants/routes.ts
|
|
5715
6241
|
var LENS_CDN = "https://cdn.loom.com/assets/lens";
|
|
@@ -5719,7 +6245,7 @@ var sizeToPx = {
|
|
|
5719
6245
|
small: "40px",
|
|
5720
6246
|
medium: "80px"
|
|
5721
6247
|
};
|
|
5722
|
-
var LogoLoaderWrapper =
|
|
6248
|
+
var LogoLoaderWrapper = styled33.span`
|
|
5723
6249
|
animation: ${(props) => props.animation};
|
|
5724
6250
|
background-image: url(${LENS_CDN}/${(props) => props.brand}-loader.svg);
|
|
5725
6251
|
background-size: cover;
|
|
@@ -5739,14 +6265,14 @@ var LogoLoader = ({
|
|
|
5739
6265
|
brand = "loom",
|
|
5740
6266
|
size = "medium"
|
|
5741
6267
|
}) => {
|
|
5742
|
-
return /* @__PURE__ */
|
|
6268
|
+
return /* @__PURE__ */ React42.createElement(LogoLoaderWrapper, { animation, brand, size });
|
|
5743
6269
|
};
|
|
5744
6270
|
var logo_loader_default = LogoLoader;
|
|
5745
6271
|
|
|
5746
6272
|
// src/components/list/list.tsx
|
|
5747
6273
|
import { css as css5 } from "@emotion/react";
|
|
5748
|
-
import
|
|
5749
|
-
import
|
|
6274
|
+
import styled34 from "@emotion/styled";
|
|
6275
|
+
import React43 from "react";
|
|
5750
6276
|
var ssrComment = `/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */`;
|
|
5751
6277
|
var variantStyles2 = {
|
|
5752
6278
|
border: css5`
|
|
@@ -5772,7 +6298,7 @@ var variantStyles2 = {
|
|
|
5772
6298
|
`,
|
|
5773
6299
|
clear: css5``
|
|
5774
6300
|
};
|
|
5775
|
-
var ListWrapper =
|
|
6301
|
+
var ListWrapper = styled34.div`
|
|
5776
6302
|
.ListRowWrapper {
|
|
5777
6303
|
grid-template-columns: ${(props) => props.columns && props.columns};
|
|
5778
6304
|
${(props) => getSize("gap", props.gap)};
|
|
@@ -5780,7 +6306,7 @@ var ListWrapper = styled33.div`
|
|
|
5780
6306
|
|
|
5781
6307
|
${(props) => variantStyles2[props.variant]};
|
|
5782
6308
|
`;
|
|
5783
|
-
var ListRowWrapper =
|
|
6309
|
+
var ListRowWrapper = styled34.div`
|
|
5784
6310
|
display: grid;
|
|
5785
6311
|
align-items: center;
|
|
5786
6312
|
text-decoration: none;
|
|
@@ -5837,7 +6363,7 @@ var ListRow = (_a) => {
|
|
|
5837
6363
|
"href"
|
|
5838
6364
|
]);
|
|
5839
6365
|
const classNameFromProp = className ? ` ${className}` : ``;
|
|
5840
|
-
return /* @__PURE__ */
|
|
6366
|
+
return /* @__PURE__ */ React43.createElement(
|
|
5841
6367
|
ListRowWrapper,
|
|
5842
6368
|
__spreadValues({
|
|
5843
6369
|
className: `ListRowWrapper${classNameFromProp}`,
|
|
@@ -5862,7 +6388,7 @@ var List = (_a) => {
|
|
|
5862
6388
|
"gap",
|
|
5863
6389
|
"variant"
|
|
5864
6390
|
]);
|
|
5865
|
-
return /* @__PURE__ */
|
|
6391
|
+
return /* @__PURE__ */ React43.createElement(
|
|
5866
6392
|
ListWrapper,
|
|
5867
6393
|
__spreadValues({
|
|
5868
6394
|
columns: columns && formatColumns(columns),
|
|
@@ -5875,15 +6401,15 @@ var List = (_a) => {
|
|
|
5875
6401
|
var list_default = List;
|
|
5876
6402
|
|
|
5877
6403
|
// src/components/tabs/tabs.tsx
|
|
5878
|
-
import
|
|
5879
|
-
import
|
|
5880
|
-
var TabsContext =
|
|
6404
|
+
import styled35 from "@emotion/styled";
|
|
6405
|
+
import React44 from "react";
|
|
6406
|
+
var TabsContext = React44.createContext({});
|
|
5881
6407
|
var negativeScrollOffset = (scrollOffset) => `calc(-1 * ${getSizeValue(scrollOffset)})`;
|
|
5882
|
-
var Wrapper =
|
|
6408
|
+
var Wrapper = styled35.div`
|
|
5883
6409
|
${(props) => props.scrollOffset && `margin: 0 ${negativeScrollOffset(props.scrollOffset)};
|
|
5884
6410
|
`};
|
|
5885
6411
|
`;
|
|
5886
|
-
var TabsNav =
|
|
6412
|
+
var TabsNav = styled35.nav`
|
|
5887
6413
|
--activeIndicatorHeight: 3px;
|
|
5888
6414
|
|
|
5889
6415
|
display: flex;
|
|
@@ -5924,7 +6450,7 @@ var TabsNav = styled34.nav`
|
|
|
5924
6450
|
${(props) => props.scrollOffset && getSize("width", props.scrollOffset)};
|
|
5925
6451
|
}
|
|
5926
6452
|
`;
|
|
5927
|
-
var TabsNavPilled =
|
|
6453
|
+
var TabsNavPilled = styled35.nav`
|
|
5928
6454
|
${getRadius("200")};
|
|
5929
6455
|
background-color: var(--lns-color-backgroundSecondary);
|
|
5930
6456
|
|
|
@@ -5962,7 +6488,7 @@ var TabsNavPilled = styled34.nav`
|
|
|
5962
6488
|
${(props) => props.scrollOffset && getSize("width", props.scrollOffset)};
|
|
5963
6489
|
}
|
|
5964
6490
|
`;
|
|
5965
|
-
var TabWrapper =
|
|
6491
|
+
var TabWrapper = styled35.button`
|
|
5966
6492
|
appearance: none;
|
|
5967
6493
|
font: inherit;
|
|
5968
6494
|
background: transparent;
|
|
@@ -6009,7 +6535,7 @@ var TabWrapper = styled34.button`
|
|
|
6009
6535
|
${(props) => props.isActive && `background-color: ${getColorValue("primary")}`};
|
|
6010
6536
|
}
|
|
6011
6537
|
`;
|
|
6012
|
-
var TabWrapperPilled =
|
|
6538
|
+
var TabWrapperPilled = styled35.button`
|
|
6013
6539
|
padding: ${u(1)} 0;
|
|
6014
6540
|
|
|
6015
6541
|
appearance: none;
|
|
@@ -6060,20 +6586,20 @@ var Tab = (_a) => {
|
|
|
6060
6586
|
"htmlTag",
|
|
6061
6587
|
"icon"
|
|
6062
6588
|
]);
|
|
6063
|
-
const { isPilledDesign } =
|
|
6589
|
+
const { isPilledDesign } = React44.useContext(TabsContext);
|
|
6064
6590
|
if (isPilledDesign) {
|
|
6065
|
-
return /* @__PURE__ */
|
|
6591
|
+
return /* @__PURE__ */ React44.createElement("li", null, /* @__PURE__ */ React44.createElement(
|
|
6066
6592
|
TabWrapperPilled,
|
|
6067
6593
|
__spreadValues({
|
|
6068
6594
|
as: htmlTag,
|
|
6069
6595
|
isActive,
|
|
6070
6596
|
icon
|
|
6071
6597
|
}, props),
|
|
6072
|
-
icon && /* @__PURE__ */
|
|
6598
|
+
icon && /* @__PURE__ */ React44.createElement(container_default, { htmlTag: "span", paddingRight: children && "small" }, /* @__PURE__ */ React44.createElement(icon_default, { icon, color: "currentColor" })),
|
|
6073
6599
|
children
|
|
6074
6600
|
));
|
|
6075
6601
|
}
|
|
6076
|
-
return /* @__PURE__ */
|
|
6602
|
+
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));
|
|
6077
6603
|
};
|
|
6078
6604
|
var Tabs = (_a) => {
|
|
6079
6605
|
var _b = _a, {
|
|
@@ -6089,33 +6615,33 @@ var Tabs = (_a) => {
|
|
|
6089
6615
|
"isPilledDesign",
|
|
6090
6616
|
"hasBottomBorder"
|
|
6091
6617
|
]);
|
|
6092
|
-
const tabsContent = isPilledDesign ? /* @__PURE__ */
|
|
6618
|
+
const tabsContent = isPilledDesign ? /* @__PURE__ */ React44.createElement(
|
|
6093
6619
|
TabsNavPilled,
|
|
6094
6620
|
__spreadValues({
|
|
6095
6621
|
hasFullTabs,
|
|
6096
6622
|
scrollOffset
|
|
6097
6623
|
}, props),
|
|
6098
|
-
/* @__PURE__ */
|
|
6099
|
-
) : /* @__PURE__ */
|
|
6624
|
+
/* @__PURE__ */ React44.createElement("ul", null, children)
|
|
6625
|
+
) : /* @__PURE__ */ React44.createElement(
|
|
6100
6626
|
TabsNav,
|
|
6101
6627
|
__spreadValues({
|
|
6102
6628
|
hasFullTabs,
|
|
6103
6629
|
scrollOffset,
|
|
6104
6630
|
hasBottomBorder
|
|
6105
6631
|
}, props),
|
|
6106
|
-
/* @__PURE__ */
|
|
6632
|
+
/* @__PURE__ */ React44.createElement("ul", null, children)
|
|
6107
6633
|
);
|
|
6108
6634
|
if (scrollOffset) {
|
|
6109
|
-
return /* @__PURE__ */
|
|
6635
|
+
return /* @__PURE__ */ React44.createElement(Wrapper, { scrollOffset }, tabsContent);
|
|
6110
6636
|
}
|
|
6111
|
-
return /* @__PURE__ */
|
|
6637
|
+
return /* @__PURE__ */ React44.createElement(TabsContext.Provider, { value: { isPilledDesign } }, tabsContent);
|
|
6112
6638
|
};
|
|
6113
6639
|
var tabs_default = Tabs;
|
|
6114
6640
|
|
|
6115
6641
|
// src/components/pill/pill.tsx
|
|
6116
|
-
import
|
|
6117
|
-
import
|
|
6118
|
-
var PillWrapper =
|
|
6642
|
+
import styled36 from "@emotion/styled";
|
|
6643
|
+
import React45 from "react";
|
|
6644
|
+
var PillWrapper = styled36.div`
|
|
6119
6645
|
display: inline-grid;
|
|
6120
6646
|
grid-auto-flow: column;
|
|
6121
6647
|
align-items: center;
|
|
@@ -6143,21 +6669,21 @@ var Pill = (_a) => {
|
|
|
6143
6669
|
"icon",
|
|
6144
6670
|
"iconPosition"
|
|
6145
6671
|
]);
|
|
6146
|
-
const iconComponent = /* @__PURE__ */
|
|
6672
|
+
const iconComponent = /* @__PURE__ */ React45.createElement(
|
|
6147
6673
|
container_default,
|
|
6148
6674
|
{
|
|
6149
6675
|
htmlTag: "span",
|
|
6150
6676
|
paddingLeft: iconPosition === "right" && "xsmall",
|
|
6151
6677
|
paddingRight: iconPosition === "left" && "xsmall"
|
|
6152
6678
|
},
|
|
6153
|
-
/* @__PURE__ */
|
|
6679
|
+
/* @__PURE__ */ React45.createElement(icon_default, { icon, color: "currentColor", size: 2 })
|
|
6154
6680
|
);
|
|
6155
|
-
return /* @__PURE__ */
|
|
6681
|
+
return /* @__PURE__ */ React45.createElement(PillWrapper, __spreadValues({ color, backgroundColor }, props), icon && iconPosition === "left" && iconComponent, children, icon && iconPosition === "right" && iconComponent);
|
|
6156
6682
|
};
|
|
6157
6683
|
var pill_default = Pill;
|
|
6158
6684
|
|
|
6159
6685
|
// src/components/popover/popover.tsx
|
|
6160
|
-
import
|
|
6686
|
+
import styled37 from "@emotion/styled";
|
|
6161
6687
|
import {
|
|
6162
6688
|
autoUpdate,
|
|
6163
6689
|
flip,
|
|
@@ -6166,7 +6692,7 @@ import {
|
|
|
6166
6692
|
shift,
|
|
6167
6693
|
useFloating
|
|
6168
6694
|
} from "@floating-ui/react-dom";
|
|
6169
|
-
import
|
|
6695
|
+
import React46, { useEffect as useEffect10 } from "react";
|
|
6170
6696
|
import ReactDOM from "react-dom";
|
|
6171
6697
|
import { useTransition as useTransition2 } from "transition-hook";
|
|
6172
6698
|
var placements2 = {
|
|
@@ -6183,14 +6709,14 @@ var placements2 = {
|
|
|
6183
6709
|
rightCenter: "right",
|
|
6184
6710
|
rightBottom: "right-end"
|
|
6185
6711
|
};
|
|
6186
|
-
var Wrapper2 =
|
|
6712
|
+
var Wrapper2 = styled37.div`
|
|
6187
6713
|
position: relative;
|
|
6188
6714
|
width: fit-content;
|
|
6189
6715
|
// transform forces the popover to calculate the position from the trigger instead of the viewport
|
|
6190
6716
|
transform: translate(0);
|
|
6191
|
-
z-index:
|
|
6717
|
+
z-index: ${(props) => props.childrenZIndex};
|
|
6192
6718
|
`;
|
|
6193
|
-
var ContentWrapper2 =
|
|
6719
|
+
var ContentWrapper2 = styled37.div`
|
|
6194
6720
|
${(props) => props.zIndex && `z-index: ${props.zIndex}`};
|
|
6195
6721
|
`;
|
|
6196
6722
|
var Popover = (_a) => {
|
|
@@ -6201,6 +6727,7 @@ var Popover = (_a) => {
|
|
|
6201
6727
|
boundaryOffset = 0.5,
|
|
6202
6728
|
isOpen,
|
|
6203
6729
|
zIndex = 500,
|
|
6730
|
+
childrenZIndex = 1,
|
|
6204
6731
|
placement = "topCenter",
|
|
6205
6732
|
rootId,
|
|
6206
6733
|
boundaryElement = "body",
|
|
@@ -6213,6 +6740,7 @@ var Popover = (_a) => {
|
|
|
6213
6740
|
"boundaryOffset",
|
|
6214
6741
|
"isOpen",
|
|
6215
6742
|
"zIndex",
|
|
6743
|
+
"childrenZIndex",
|
|
6216
6744
|
"placement",
|
|
6217
6745
|
"rootId",
|
|
6218
6746
|
"boundaryElement",
|
|
@@ -6249,7 +6777,7 @@ var Popover = (_a) => {
|
|
|
6249
6777
|
],
|
|
6250
6778
|
strategy: "fixed"
|
|
6251
6779
|
});
|
|
6252
|
-
|
|
6780
|
+
useEffect10(() => {
|
|
6253
6781
|
if (!refs.reference.current || !refs.floating.current) {
|
|
6254
6782
|
return;
|
|
6255
6783
|
}
|
|
@@ -6266,17 +6794,17 @@ var Popover = (_a) => {
|
|
|
6266
6794
|
opacity: stage === "enter" ? 1 : 0
|
|
6267
6795
|
}
|
|
6268
6796
|
};
|
|
6269
|
-
return /* @__PURE__ */
|
|
6270
|
-
/* @__PURE__ */
|
|
6797
|
+
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(
|
|
6798
|
+
/* @__PURE__ */ React46.createElement(ContentWrapper2, __spreadValues({}, contentProps), content),
|
|
6271
6799
|
rootNode
|
|
6272
6800
|
)));
|
|
6273
6801
|
};
|
|
6274
6802
|
var popover_default = Popover;
|
|
6275
6803
|
|
|
6276
6804
|
// src/components/illustration/illustration.tsx
|
|
6277
|
-
import
|
|
6278
|
-
import
|
|
6279
|
-
var IllustrationWrapper =
|
|
6805
|
+
import styled38 from "@emotion/styled";
|
|
6806
|
+
import React47 from "react";
|
|
6807
|
+
var IllustrationWrapper = styled38.span`
|
|
6280
6808
|
display: block;
|
|
6281
6809
|
color: ${(props) => props.color ? getColorValue(props.color) : getColorValue("grey8")};
|
|
6282
6810
|
${(props) => props.size && getSize("width", props.size)};
|
|
@@ -6300,7 +6828,7 @@ var Illustration = (_a) => {
|
|
|
6300
6828
|
"color",
|
|
6301
6829
|
"size"
|
|
6302
6830
|
]);
|
|
6303
|
-
return /* @__PURE__ */
|
|
6831
|
+
return /* @__PURE__ */ React47.createElement(
|
|
6304
6832
|
IllustrationWrapper,
|
|
6305
6833
|
__spreadValues({
|
|
6306
6834
|
"aria-hidden": "true",
|
|
@@ -6315,8 +6843,8 @@ var illustration_default = Illustration;
|
|
|
6315
6843
|
|
|
6316
6844
|
// src/components/split/split.tsx
|
|
6317
6845
|
import { css as css6 } from "@emotion/react";
|
|
6318
|
-
import
|
|
6319
|
-
import
|
|
6846
|
+
import styled39 from "@emotion/styled";
|
|
6847
|
+
import React48, { Children, cloneElement } from "react";
|
|
6320
6848
|
var getSizeStyles = (props) => css6`
|
|
6321
6849
|
${getSize("width", props.width)};
|
|
6322
6850
|
${getSize("height", props.height)};
|
|
@@ -6325,7 +6853,7 @@ var getSizeStyles = (props) => css6`
|
|
|
6325
6853
|
${getSize("max-width", props.maxWidth)};
|
|
6326
6854
|
${getSize("max-height", props.maxHeight)};
|
|
6327
6855
|
`;
|
|
6328
|
-
var SplitWrapper =
|
|
6856
|
+
var SplitWrapper = styled39.div`
|
|
6329
6857
|
display: flex;
|
|
6330
6858
|
${(props) => getResponsiveOneOf("align-items", props.alignItems)};
|
|
6331
6859
|
${(props) => props.justifyContent && getResponsiveOneOf("justify-content", props.justifyContent)};
|
|
@@ -6338,7 +6866,7 @@ var SplitWrapper = styled38.div`
|
|
|
6338
6866
|
${(props) => getSizeStyles(props)};
|
|
6339
6867
|
${(props) => getListContainer(props.as)};
|
|
6340
6868
|
`;
|
|
6341
|
-
var SplitSectionWrapper =
|
|
6869
|
+
var SplitSectionWrapper = styled39.div`
|
|
6342
6870
|
${(props) => getResponsiveNumber("flex-grow", props.grow)};
|
|
6343
6871
|
${(props) => getResponsiveNumber("flex-shrink", props.shrink)};
|
|
6344
6872
|
${(props) => props.basis && getSize("flex-basis", props.basis)};
|
|
@@ -6377,7 +6905,7 @@ var SplitSection = (_a) => {
|
|
|
6377
6905
|
if (className || style) {
|
|
6378
6906
|
console.warn(customStylesWarning);
|
|
6379
6907
|
}
|
|
6380
|
-
return /* @__PURE__ */
|
|
6908
|
+
return /* @__PURE__ */ React48.createElement(
|
|
6381
6909
|
SplitSectionWrapper,
|
|
6382
6910
|
__spreadValues({
|
|
6383
6911
|
as: htmlTag,
|
|
@@ -6435,7 +6963,7 @@ var Split = (_a) => {
|
|
|
6435
6963
|
if (className || style) {
|
|
6436
6964
|
console.warn(customStylesWarning);
|
|
6437
6965
|
}
|
|
6438
|
-
return /* @__PURE__ */
|
|
6966
|
+
return /* @__PURE__ */ React48.createElement(
|
|
6439
6967
|
SplitWrapper,
|
|
6440
6968
|
__spreadValues({
|
|
6441
6969
|
as: htmlTag,
|
|
@@ -6464,10 +6992,10 @@ var Split = (_a) => {
|
|
|
6464
6992
|
var split_default = Split;
|
|
6465
6993
|
|
|
6466
6994
|
// src/components/color-picker/color-picker.tsx
|
|
6467
|
-
import
|
|
6468
|
-
import
|
|
6995
|
+
import styled40 from "@emotion/styled";
|
|
6996
|
+
import React49, { useState as useState6 } from "react";
|
|
6469
6997
|
import { HexColorPicker, HexColorInput } from "react-colorful";
|
|
6470
|
-
var ColorfulWrapper =
|
|
6998
|
+
var ColorfulWrapper = styled40.div`
|
|
6471
6999
|
padding: var(--lns-space-medium);
|
|
6472
7000
|
& .react-colorful {
|
|
6473
7001
|
width: auto;
|
|
@@ -6506,7 +7034,7 @@ var ColorfulWrapper = styled39.div`
|
|
|
6506
7034
|
border: 2px solid white;
|
|
6507
7035
|
}
|
|
6508
7036
|
`;
|
|
6509
|
-
var ColorPickerContainer =
|
|
7037
|
+
var ColorPickerContainer = styled40.div`
|
|
6510
7038
|
position: relative;
|
|
6511
7039
|
width: ${u(31)};
|
|
6512
7040
|
background-color: var(--lns-color-overlay);
|
|
@@ -6515,7 +7043,7 @@ var ColorPickerContainer = styled39.div`
|
|
|
6515
7043
|
0 0 0 1px var(--lns-color-border),
|
|
6516
7044
|
var(--lns-shadow-medium);
|
|
6517
7045
|
`;
|
|
6518
|
-
var InputContainer =
|
|
7046
|
+
var InputContainer = styled40.div`
|
|
6519
7047
|
position: relative;
|
|
6520
7048
|
width: 100%;
|
|
6521
7049
|
|
|
@@ -6544,7 +7072,7 @@ var InputContainer = styled39.div`
|
|
|
6544
7072
|
}
|
|
6545
7073
|
}
|
|
6546
7074
|
`;
|
|
6547
|
-
var ColorBox =
|
|
7075
|
+
var ColorBox = styled40.div`
|
|
6548
7076
|
position: absolute;
|
|
6549
7077
|
width: ${u(3)};
|
|
6550
7078
|
height: ${u(3)};
|
|
@@ -6554,20 +7082,20 @@ var ColorBox = styled39.div`
|
|
|
6554
7082
|
${getRadius("100")};
|
|
6555
7083
|
background-color: ${(props) => props.color};
|
|
6556
7084
|
`;
|
|
6557
|
-
var ButtonWrapper2 =
|
|
7085
|
+
var ButtonWrapper2 = styled40.div`
|
|
6558
7086
|
position: relative;
|
|
6559
7087
|
border-radius: var(--lns-radius-medium);
|
|
6560
7088
|
padding: 0 var(--lns-space-medium) var(--lns-space-medium)
|
|
6561
7089
|
var(--lns-space-medium);
|
|
6562
7090
|
`;
|
|
6563
|
-
var SwatchesContainer =
|
|
7091
|
+
var SwatchesContainer = styled40.div`
|
|
6564
7092
|
display: grid;
|
|
6565
7093
|
grid-template-columns: repeat(7, ${u(3)});
|
|
6566
7094
|
gap: ${u(1)} ${u(1)};
|
|
6567
7095
|
border-bottom: 1px solid var(--lns-color-border);
|
|
6568
7096
|
padding: var(--lns-space-medium);
|
|
6569
7097
|
`;
|
|
6570
|
-
var Swatch =
|
|
7098
|
+
var Swatch = styled40.div`
|
|
6571
7099
|
cursor: pointer;
|
|
6572
7100
|
width: ${u(3)};
|
|
6573
7101
|
height: ${u(3)};
|
|
@@ -6578,7 +7106,7 @@ var Swatch = styled39.div`
|
|
|
6578
7106
|
`;
|
|
6579
7107
|
var SwatchSelector = ({ swatches, currentColor, onSwatchClick }) => {
|
|
6580
7108
|
const selectedSwatch = swatches.includes(currentColor) && currentColor;
|
|
6581
|
-
return /* @__PURE__ */
|
|
7109
|
+
return /* @__PURE__ */ React49.createElement(SwatchesContainer, null, swatches.map((swatch) => /* @__PURE__ */ React49.createElement(
|
|
6582
7110
|
Swatch,
|
|
6583
7111
|
{
|
|
6584
7112
|
key: swatch,
|
|
@@ -6589,7 +7117,7 @@ var SwatchSelector = ({ swatches, currentColor, onSwatchClick }) => {
|
|
|
6589
7117
|
)));
|
|
6590
7118
|
};
|
|
6591
7119
|
var ColorSelector = ({ color, setColor }) => {
|
|
6592
|
-
return /* @__PURE__ */
|
|
7120
|
+
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 })));
|
|
6593
7121
|
};
|
|
6594
7122
|
var ColorPicker = (_a) => {
|
|
6595
7123
|
var _b = _a, {
|
|
@@ -6603,7 +7131,7 @@ var ColorPicker = (_a) => {
|
|
|
6603
7131
|
"swatches",
|
|
6604
7132
|
"onChange"
|
|
6605
7133
|
]);
|
|
6606
|
-
const [tempColor, setTempColor] =
|
|
7134
|
+
const [tempColor, setTempColor] = useState6(
|
|
6607
7135
|
defaultColor ? defaultColor : "#FFFFFF"
|
|
6608
7136
|
);
|
|
6609
7137
|
const handleOnChange = (hex) => {
|
|
@@ -6613,28 +7141,28 @@ var ColorPicker = (_a) => {
|
|
|
6613
7141
|
const onSwatchClick = (swatch) => {
|
|
6614
7142
|
handleOnChange(swatch);
|
|
6615
7143
|
};
|
|
6616
|
-
return /* @__PURE__ */
|
|
7144
|
+
return /* @__PURE__ */ React49.createElement(ColorPickerContainer, __spreadValues({}, props), swatches && /* @__PURE__ */ React49.createElement(
|
|
6617
7145
|
SwatchSelector,
|
|
6618
7146
|
{
|
|
6619
7147
|
swatches,
|
|
6620
7148
|
currentColor: tempColor,
|
|
6621
7149
|
onSwatchClick
|
|
6622
7150
|
}
|
|
6623
|
-
), /* @__PURE__ */
|
|
7151
|
+
), /* @__PURE__ */ React49.createElement(ColorSelector, { color: tempColor, setColor: handleOnChange }), confirmButton && /* @__PURE__ */ React49.createElement(ButtonWrapper2, null, confirmButton));
|
|
6624
7152
|
};
|
|
6625
7153
|
var color_picker_default = ColorPicker;
|
|
6626
7154
|
|
|
6627
7155
|
// src/illustrations/accounts-and-billing.js
|
|
6628
|
-
import * as
|
|
7156
|
+
import * as React50 from "react";
|
|
6629
7157
|
function IllustrationAccountsBilling(props) {
|
|
6630
|
-
return /* @__PURE__ */
|
|
7158
|
+
return /* @__PURE__ */ React50.createElement(
|
|
6631
7159
|
"svg",
|
|
6632
7160
|
__spreadValues({
|
|
6633
7161
|
viewBox: "0 0 102 101",
|
|
6634
7162
|
fill: "none",
|
|
6635
7163
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6636
7164
|
}, props),
|
|
6637
|
-
/* @__PURE__ */
|
|
7165
|
+
/* @__PURE__ */ React50.createElement(
|
|
6638
7166
|
"path",
|
|
6639
7167
|
{
|
|
6640
7168
|
d: "M96.072 5.826H5.928v90.145h90.144V5.826z",
|
|
@@ -6643,7 +7171,7 @@ function IllustrationAccountsBilling(props) {
|
|
|
6643
7171
|
strokeMiterlimit: 10
|
|
6644
7172
|
}
|
|
6645
7173
|
),
|
|
6646
|
-
/* @__PURE__ */
|
|
7174
|
+
/* @__PURE__ */ React50.createElement(
|
|
6647
7175
|
"path",
|
|
6648
7176
|
{
|
|
6649
7177
|
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",
|
|
@@ -6657,37 +7185,37 @@ function IllustrationAccountsBilling(props) {
|
|
|
6657
7185
|
var accounts_and_billing_default = IllustrationAccountsBilling;
|
|
6658
7186
|
|
|
6659
7187
|
// src/illustrations/invite.js
|
|
6660
|
-
import * as
|
|
7188
|
+
import * as React51 from "react";
|
|
6661
7189
|
function IllustrationInvite(props) {
|
|
6662
|
-
return /* @__PURE__ */
|
|
7190
|
+
return /* @__PURE__ */ React51.createElement(
|
|
6663
7191
|
"svg",
|
|
6664
7192
|
__spreadValues({
|
|
6665
7193
|
viewBox: "0 0 100 101",
|
|
6666
7194
|
fill: "none",
|
|
6667
7195
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6668
7196
|
}, props),
|
|
6669
|
-
/* @__PURE__ */
|
|
7197
|
+
/* @__PURE__ */ React51.createElement(
|
|
6670
7198
|
"path",
|
|
6671
7199
|
{
|
|
6672
7200
|
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",
|
|
6673
7201
|
fill: "currentColor"
|
|
6674
7202
|
}
|
|
6675
7203
|
),
|
|
6676
|
-
/* @__PURE__ */
|
|
7204
|
+
/* @__PURE__ */ React51.createElement(
|
|
6677
7205
|
"path",
|
|
6678
7206
|
{
|
|
6679
7207
|
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",
|
|
6680
7208
|
fill: "currentColor"
|
|
6681
7209
|
}
|
|
6682
7210
|
),
|
|
6683
|
-
/* @__PURE__ */
|
|
7211
|
+
/* @__PURE__ */ React51.createElement(
|
|
6684
7212
|
"path",
|
|
6685
7213
|
{
|
|
6686
7214
|
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",
|
|
6687
7215
|
fill: "currentColor"
|
|
6688
7216
|
}
|
|
6689
7217
|
),
|
|
6690
|
-
/* @__PURE__ */
|
|
7218
|
+
/* @__PURE__ */ React51.createElement(
|
|
6691
7219
|
"path",
|
|
6692
7220
|
{
|
|
6693
7221
|
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",
|
|
@@ -6699,23 +7227,23 @@ function IllustrationInvite(props) {
|
|
|
6699
7227
|
var invite_default = IllustrationInvite;
|
|
6700
7228
|
|
|
6701
7229
|
// src/illustrations/archived.js
|
|
6702
|
-
import * as
|
|
7230
|
+
import * as React52 from "react";
|
|
6703
7231
|
function IllustrationArchived(props) {
|
|
6704
|
-
return /* @__PURE__ */
|
|
7232
|
+
return /* @__PURE__ */ React52.createElement(
|
|
6705
7233
|
"svg",
|
|
6706
7234
|
__spreadValues({
|
|
6707
7235
|
viewBox: "0 0 100 101",
|
|
6708
7236
|
fill: "none",
|
|
6709
7237
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6710
7238
|
}, props),
|
|
6711
|
-
/* @__PURE__ */
|
|
7239
|
+
/* @__PURE__ */ React52.createElement(
|
|
6712
7240
|
"path",
|
|
6713
7241
|
{
|
|
6714
7242
|
d: "M0 .002v100h100v-100H0zm90 90H10v-80h80v80z",
|
|
6715
7243
|
fill: "currentColor"
|
|
6716
7244
|
}
|
|
6717
7245
|
),
|
|
6718
|
-
/* @__PURE__ */
|
|
7246
|
+
/* @__PURE__ */ React52.createElement(
|
|
6719
7247
|
"path",
|
|
6720
7248
|
{
|
|
6721
7249
|
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",
|
|
@@ -6727,16 +7255,16 @@ function IllustrationArchived(props) {
|
|
|
6727
7255
|
var archived_default = IllustrationArchived;
|
|
6728
7256
|
|
|
6729
7257
|
// src/illustrations/lead-with-transparency.js
|
|
6730
|
-
import * as
|
|
7258
|
+
import * as React53 from "react";
|
|
6731
7259
|
function IllustrationLeadwithTransparency(props) {
|
|
6732
|
-
return /* @__PURE__ */
|
|
7260
|
+
return /* @__PURE__ */ React53.createElement(
|
|
6733
7261
|
"svg",
|
|
6734
7262
|
__spreadValues({
|
|
6735
7263
|
viewBox: "0 0 110 101",
|
|
6736
7264
|
fill: "none",
|
|
6737
7265
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6738
7266
|
}, props),
|
|
6739
|
-
/* @__PURE__ */
|
|
7267
|
+
/* @__PURE__ */ React53.createElement(
|
|
6740
7268
|
"path",
|
|
6741
7269
|
{
|
|
6742
7270
|
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",
|
|
@@ -6748,16 +7276,16 @@ function IllustrationLeadwithTransparency(props) {
|
|
|
6748
7276
|
var lead_with_transparency_default = IllustrationLeadwithTransparency;
|
|
6749
7277
|
|
|
6750
7278
|
// src/illustrations/ask-for-more.js
|
|
6751
|
-
import * as
|
|
7279
|
+
import * as React54 from "react";
|
|
6752
7280
|
function IllustrationAskforMore(props) {
|
|
6753
|
-
return /* @__PURE__ */
|
|
7281
|
+
return /* @__PURE__ */ React54.createElement(
|
|
6754
7282
|
"svg",
|
|
6755
7283
|
__spreadValues({
|
|
6756
7284
|
viewBox: "0 0 100 100",
|
|
6757
7285
|
fill: "none",
|
|
6758
7286
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6759
7287
|
}, props),
|
|
6760
|
-
/* @__PURE__ */
|
|
7288
|
+
/* @__PURE__ */ React54.createElement(
|
|
6761
7289
|
"path",
|
|
6762
7290
|
{
|
|
6763
7291
|
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",
|
|
@@ -6769,16 +7297,16 @@ function IllustrationAskforMore(props) {
|
|
|
6769
7297
|
var ask_for_more_default = IllustrationAskforMore;
|
|
6770
7298
|
|
|
6771
7299
|
// src/illustrations/learning-and-development.js
|
|
6772
|
-
import * as
|
|
7300
|
+
import * as React55 from "react";
|
|
6773
7301
|
function IllustrationLearningDevelopment(props) {
|
|
6774
|
-
return /* @__PURE__ */
|
|
7302
|
+
return /* @__PURE__ */ React55.createElement(
|
|
6775
7303
|
"svg",
|
|
6776
7304
|
__spreadValues({
|
|
6777
7305
|
viewBox: "0 0 142 142",
|
|
6778
7306
|
fill: "none",
|
|
6779
7307
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6780
7308
|
}, props),
|
|
6781
|
-
/* @__PURE__ */
|
|
7309
|
+
/* @__PURE__ */ React55.createElement(
|
|
6782
7310
|
"path",
|
|
6783
7311
|
{
|
|
6784
7312
|
fillRule: "evenodd",
|
|
@@ -6787,7 +7315,7 @@ function IllustrationLearningDevelopment(props) {
|
|
|
6787
7315
|
fill: "currentColor"
|
|
6788
7316
|
}
|
|
6789
7317
|
),
|
|
6790
|
-
/* @__PURE__ */
|
|
7318
|
+
/* @__PURE__ */ React55.createElement(
|
|
6791
7319
|
"path",
|
|
6792
7320
|
{
|
|
6793
7321
|
fillRule: "evenodd",
|
|
@@ -6796,7 +7324,7 @@ function IllustrationLearningDevelopment(props) {
|
|
|
6796
7324
|
fill: "currentColor"
|
|
6797
7325
|
}
|
|
6798
7326
|
),
|
|
6799
|
-
/* @__PURE__ */
|
|
7327
|
+
/* @__PURE__ */ React55.createElement(
|
|
6800
7328
|
"circle",
|
|
6801
7329
|
{
|
|
6802
7330
|
cx: 70.71,
|
|
@@ -6811,16 +7339,16 @@ function IllustrationLearningDevelopment(props) {
|
|
|
6811
7339
|
var learning_and_development_default = IllustrationLearningDevelopment;
|
|
6812
7340
|
|
|
6813
7341
|
// src/illustrations/business-plan.js
|
|
6814
|
-
import * as
|
|
7342
|
+
import * as React56 from "react";
|
|
6815
7343
|
function IllustrationBusinessPlan(props) {
|
|
6816
|
-
return /* @__PURE__ */
|
|
7344
|
+
return /* @__PURE__ */ React56.createElement(
|
|
6817
7345
|
"svg",
|
|
6818
7346
|
__spreadValues({
|
|
6819
7347
|
viewBox: "0 0 101 100",
|
|
6820
7348
|
fill: "none",
|
|
6821
7349
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6822
7350
|
}, props),
|
|
6823
|
-
/* @__PURE__ */
|
|
7351
|
+
/* @__PURE__ */ React56.createElement(
|
|
6824
7352
|
"path",
|
|
6825
7353
|
{
|
|
6826
7354
|
fillRule: "evenodd",
|
|
@@ -6834,23 +7362,23 @@ function IllustrationBusinessPlan(props) {
|
|
|
6834
7362
|
var business_plan_default = IllustrationBusinessPlan;
|
|
6835
7363
|
|
|
6836
7364
|
// src/illustrations/loom-plans.js
|
|
6837
|
-
import * as
|
|
7365
|
+
import * as React57 from "react";
|
|
6838
7366
|
function IllustrationLoomPlans(props) {
|
|
6839
|
-
return /* @__PURE__ */
|
|
7367
|
+
return /* @__PURE__ */ React57.createElement(
|
|
6840
7368
|
"svg",
|
|
6841
7369
|
__spreadValues({
|
|
6842
7370
|
viewBox: "0 0 100 100",
|
|
6843
7371
|
fill: "none",
|
|
6844
7372
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6845
7373
|
}, props),
|
|
6846
|
-
/* @__PURE__ */
|
|
7374
|
+
/* @__PURE__ */ React57.createElement(
|
|
6847
7375
|
"path",
|
|
6848
7376
|
{
|
|
6849
7377
|
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",
|
|
6850
7378
|
fill: "currentColor"
|
|
6851
7379
|
}
|
|
6852
7380
|
),
|
|
6853
|
-
/* @__PURE__ */
|
|
7381
|
+
/* @__PURE__ */ React57.createElement(
|
|
6854
7382
|
"path",
|
|
6855
7383
|
{
|
|
6856
7384
|
d: "M49.993 12.288L62.28 0v9.064H100L87.713 21.353h-37.72v-9.065z",
|
|
@@ -6862,16 +7390,16 @@ function IllustrationLoomPlans(props) {
|
|
|
6862
7390
|
var loom_plans_default = IllustrationLoomPlans;
|
|
6863
7391
|
|
|
6864
7392
|
// src/illustrations/collaborate-with-teammates.js
|
|
6865
|
-
import * as
|
|
7393
|
+
import * as React58 from "react";
|
|
6866
7394
|
function IllustrationCollaboratewithTeammatesSharedLibrary(props) {
|
|
6867
|
-
return /* @__PURE__ */
|
|
7395
|
+
return /* @__PURE__ */ React58.createElement(
|
|
6868
7396
|
"svg",
|
|
6869
7397
|
__spreadValues({
|
|
6870
7398
|
viewBox: "0 0 100 100",
|
|
6871
7399
|
fill: "none",
|
|
6872
7400
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6873
7401
|
}, props),
|
|
6874
|
-
/* @__PURE__ */
|
|
7402
|
+
/* @__PURE__ */ React58.createElement(
|
|
6875
7403
|
"path",
|
|
6876
7404
|
{
|
|
6877
7405
|
fillRule: "evenodd",
|
|
@@ -6885,16 +7413,16 @@ function IllustrationCollaboratewithTeammatesSharedLibrary(props) {
|
|
|
6885
7413
|
var collaborate_with_teammates_default = IllustrationCollaboratewithTeammatesSharedLibrary;
|
|
6886
7414
|
|
|
6887
7415
|
// src/illustrations/option-grants.js
|
|
6888
|
-
import * as
|
|
7416
|
+
import * as React59 from "react";
|
|
6889
7417
|
function IllustrationOptionGrants(props) {
|
|
6890
|
-
return /* @__PURE__ */
|
|
7418
|
+
return /* @__PURE__ */ React59.createElement(
|
|
6891
7419
|
"svg",
|
|
6892
7420
|
__spreadValues({
|
|
6893
7421
|
viewBox: "0 0 101 101",
|
|
6894
7422
|
fill: "none",
|
|
6895
7423
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6896
7424
|
}, props),
|
|
6897
|
-
/* @__PURE__ */
|
|
7425
|
+
/* @__PURE__ */ React59.createElement(
|
|
6898
7426
|
"path",
|
|
6899
7427
|
{
|
|
6900
7428
|
fill: "currentColor",
|
|
@@ -6906,16 +7434,16 @@ function IllustrationOptionGrants(props) {
|
|
|
6906
7434
|
var option_grants_default = IllustrationOptionGrants;
|
|
6907
7435
|
|
|
6908
7436
|
// src/illustrations/community.js
|
|
6909
|
-
import * as
|
|
7437
|
+
import * as React60 from "react";
|
|
6910
7438
|
function IllustrationCommunity(props) {
|
|
6911
|
-
return /* @__PURE__ */
|
|
7439
|
+
return /* @__PURE__ */ React60.createElement(
|
|
6912
7440
|
"svg",
|
|
6913
7441
|
__spreadValues({
|
|
6914
7442
|
viewBox: "0 0 101 100",
|
|
6915
7443
|
fill: "none",
|
|
6916
7444
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6917
7445
|
}, props),
|
|
6918
|
-
/* @__PURE__ */
|
|
7446
|
+
/* @__PURE__ */ React60.createElement(
|
|
6919
7447
|
"path",
|
|
6920
7448
|
{
|
|
6921
7449
|
fillRule: "evenodd",
|
|
@@ -6929,16 +7457,16 @@ function IllustrationCommunity(props) {
|
|
|
6929
7457
|
var community_default = IllustrationCommunity;
|
|
6930
7458
|
|
|
6931
7459
|
// src/illustrations/community-alt.js
|
|
6932
|
-
import * as
|
|
7460
|
+
import * as React61 from "react";
|
|
6933
7461
|
function IllustrationCommunityAlt(props) {
|
|
6934
|
-
return /* @__PURE__ */
|
|
7462
|
+
return /* @__PURE__ */ React61.createElement(
|
|
6935
7463
|
"svg",
|
|
6936
7464
|
__spreadValues({
|
|
6937
7465
|
viewBox: "0 0 96 96",
|
|
6938
7466
|
fill: "none",
|
|
6939
7467
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6940
7468
|
}, props),
|
|
6941
|
-
/* @__PURE__ */
|
|
7469
|
+
/* @__PURE__ */ React61.createElement(
|
|
6942
7470
|
"path",
|
|
6943
7471
|
{
|
|
6944
7472
|
fillRule: "evenodd",
|
|
@@ -6952,16 +7480,16 @@ function IllustrationCommunityAlt(props) {
|
|
|
6952
7480
|
var community_alt_default = IllustrationCommunityAlt;
|
|
6953
7481
|
|
|
6954
7482
|
// src/illustrations/parental-leave.js
|
|
6955
|
-
import * as
|
|
7483
|
+
import * as React62 from "react";
|
|
6956
7484
|
function IllustrationParentalLeave(props) {
|
|
6957
|
-
return /* @__PURE__ */
|
|
7485
|
+
return /* @__PURE__ */ React62.createElement(
|
|
6958
7486
|
"svg",
|
|
6959
7487
|
__spreadValues({
|
|
6960
7488
|
viewBox: "0 0 100 101",
|
|
6961
7489
|
fill: "none",
|
|
6962
7490
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6963
7491
|
}, props),
|
|
6964
|
-
/* @__PURE__ */
|
|
7492
|
+
/* @__PURE__ */ React62.createElement(
|
|
6965
7493
|
"path",
|
|
6966
7494
|
{
|
|
6967
7495
|
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",
|
|
@@ -6973,16 +7501,16 @@ function IllustrationParentalLeave(props) {
|
|
|
6973
7501
|
var parental_leave_default = IllustrationParentalLeave;
|
|
6974
7502
|
|
|
6975
7503
|
// src/illustrations/content-limit.js
|
|
6976
|
-
import * as
|
|
7504
|
+
import * as React63 from "react";
|
|
6977
7505
|
function IllustrationContentLimit(props) {
|
|
6978
|
-
return /* @__PURE__ */
|
|
7506
|
+
return /* @__PURE__ */ React63.createElement(
|
|
6979
7507
|
"svg",
|
|
6980
7508
|
__spreadValues({
|
|
6981
7509
|
viewBox: "0 0 100 100",
|
|
6982
7510
|
fill: "none",
|
|
6983
7511
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6984
7512
|
}, props),
|
|
6985
|
-
/* @__PURE__ */
|
|
7513
|
+
/* @__PURE__ */ React63.createElement(
|
|
6986
7514
|
"path",
|
|
6987
7515
|
{
|
|
6988
7516
|
fillRule: "evenodd",
|
|
@@ -6996,16 +7524,16 @@ function IllustrationContentLimit(props) {
|
|
|
6996
7524
|
var content_limit_default = IllustrationContentLimit;
|
|
6997
7525
|
|
|
6998
7526
|
// src/illustrations/pto.js
|
|
6999
|
-
import * as
|
|
7527
|
+
import * as React64 from "react";
|
|
7000
7528
|
function IllustrationPto(props) {
|
|
7001
|
-
return /* @__PURE__ */
|
|
7529
|
+
return /* @__PURE__ */ React64.createElement(
|
|
7002
7530
|
"svg",
|
|
7003
7531
|
__spreadValues({
|
|
7004
7532
|
viewBox: "0 0 110 111",
|
|
7005
7533
|
fill: "none",
|
|
7006
7534
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7007
7535
|
}, props),
|
|
7008
|
-
/* @__PURE__ */
|
|
7536
|
+
/* @__PURE__ */ React64.createElement(
|
|
7009
7537
|
"path",
|
|
7010
7538
|
{
|
|
7011
7539
|
fillRule: "evenodd",
|
|
@@ -7019,16 +7547,16 @@ function IllustrationPto(props) {
|
|
|
7019
7547
|
var pto_default = IllustrationPto;
|
|
7020
7548
|
|
|
7021
7549
|
// src/illustrations/custom-branding.js
|
|
7022
|
-
import * as
|
|
7550
|
+
import * as React65 from "react";
|
|
7023
7551
|
function IllustrationCustomBranding(props) {
|
|
7024
|
-
return /* @__PURE__ */
|
|
7552
|
+
return /* @__PURE__ */ React65.createElement(
|
|
7025
7553
|
"svg",
|
|
7026
7554
|
__spreadValues({
|
|
7027
7555
|
viewBox: "0 0 134 134",
|
|
7028
7556
|
fill: "none",
|
|
7029
7557
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7030
7558
|
}, props),
|
|
7031
|
-
/* @__PURE__ */
|
|
7559
|
+
/* @__PURE__ */ React65.createElement(
|
|
7032
7560
|
"path",
|
|
7033
7561
|
{
|
|
7034
7562
|
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",
|
|
@@ -7040,53 +7568,53 @@ function IllustrationCustomBranding(props) {
|
|
|
7040
7568
|
var custom_branding_default = IllustrationCustomBranding;
|
|
7041
7569
|
|
|
7042
7570
|
// src/illustrations/record.js
|
|
7043
|
-
import * as
|
|
7571
|
+
import * as React66 from "react";
|
|
7044
7572
|
function IllustrationRecord(props) {
|
|
7045
|
-
return /* @__PURE__ */
|
|
7573
|
+
return /* @__PURE__ */ React66.createElement(
|
|
7046
7574
|
"svg",
|
|
7047
7575
|
__spreadValues({
|
|
7048
7576
|
viewBox: "0 0 100 100",
|
|
7049
7577
|
fill: "none",
|
|
7050
7578
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7051
7579
|
}, props),
|
|
7052
|
-
/* @__PURE__ */
|
|
7053
|
-
/* @__PURE__ */
|
|
7580
|
+
/* @__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" })),
|
|
7581
|
+
/* @__PURE__ */ React66.createElement("defs", null, /* @__PURE__ */ React66.createElement("clipPath", { id: "Record_svg__clip0" }, /* @__PURE__ */ React66.createElement("path", { fill: "#fff", d: "M0 0h100v100H0z" })))
|
|
7054
7582
|
);
|
|
7055
7583
|
}
|
|
7056
7584
|
var record_default = IllustrationRecord;
|
|
7057
7585
|
|
|
7058
7586
|
// src/illustrations/desktop-app-and-chrome-extension.js
|
|
7059
|
-
import * as
|
|
7587
|
+
import * as React67 from "react";
|
|
7060
7588
|
function IllustrationDesktopAppandChromeExtension(props) {
|
|
7061
|
-
return /* @__PURE__ */
|
|
7589
|
+
return /* @__PURE__ */ React67.createElement(
|
|
7062
7590
|
"svg",
|
|
7063
7591
|
__spreadValues({
|
|
7064
7592
|
viewBox: "0 0 134 134",
|
|
7065
7593
|
fill: "none",
|
|
7066
7594
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7067
7595
|
}, props),
|
|
7068
|
-
/* @__PURE__ */
|
|
7596
|
+
/* @__PURE__ */ React67.createElement(
|
|
7069
7597
|
"path",
|
|
7070
7598
|
{
|
|
7071
7599
|
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",
|
|
7072
7600
|
fill: "currentColor"
|
|
7073
7601
|
}
|
|
7074
7602
|
),
|
|
7075
|
-
/* @__PURE__ */
|
|
7603
|
+
/* @__PURE__ */ React67.createElement(
|
|
7076
7604
|
"path",
|
|
7077
7605
|
{
|
|
7078
7606
|
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",
|
|
7079
7607
|
fill: "currentColor"
|
|
7080
7608
|
}
|
|
7081
7609
|
),
|
|
7082
|
-
/* @__PURE__ */
|
|
7610
|
+
/* @__PURE__ */ React67.createElement(
|
|
7083
7611
|
"path",
|
|
7084
7612
|
{
|
|
7085
7613
|
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",
|
|
7086
7614
|
fill: "currentColor"
|
|
7087
7615
|
}
|
|
7088
7616
|
),
|
|
7089
|
-
/* @__PURE__ */
|
|
7617
|
+
/* @__PURE__ */ React67.createElement(
|
|
7090
7618
|
"path",
|
|
7091
7619
|
{
|
|
7092
7620
|
d: "M68.52 50.317v-.449l-.077.444c.024 0 .053.005.077.005z",
|
|
@@ -7098,16 +7626,16 @@ function IllustrationDesktopAppandChromeExtension(props) {
|
|
|
7098
7626
|
var desktop_app_and_chrome_extension_default = IllustrationDesktopAppandChromeExtension;
|
|
7099
7627
|
|
|
7100
7628
|
// src/illustrations/remote-first.js
|
|
7101
|
-
import * as
|
|
7629
|
+
import * as React68 from "react";
|
|
7102
7630
|
function IllustrationRemoteFirst(props) {
|
|
7103
|
-
return /* @__PURE__ */
|
|
7631
|
+
return /* @__PURE__ */ React68.createElement(
|
|
7104
7632
|
"svg",
|
|
7105
7633
|
__spreadValues({
|
|
7106
7634
|
viewBox: "0 0 110 110",
|
|
7107
7635
|
fill: "none",
|
|
7108
7636
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7109
7637
|
}, props),
|
|
7110
|
-
/* @__PURE__ */
|
|
7638
|
+
/* @__PURE__ */ React68.createElement(
|
|
7111
7639
|
"path",
|
|
7112
7640
|
{
|
|
7113
7641
|
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",
|
|
@@ -7116,7 +7644,7 @@ function IllustrationRemoteFirst(props) {
|
|
|
7116
7644
|
strokeMiterlimit: 10
|
|
7117
7645
|
}
|
|
7118
7646
|
),
|
|
7119
|
-
/* @__PURE__ */
|
|
7647
|
+
/* @__PURE__ */ React68.createElement(
|
|
7120
7648
|
"path",
|
|
7121
7649
|
{
|
|
7122
7650
|
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",
|
|
@@ -7125,7 +7653,7 @@ function IllustrationRemoteFirst(props) {
|
|
|
7125
7653
|
strokeMiterlimit: 10
|
|
7126
7654
|
}
|
|
7127
7655
|
),
|
|
7128
|
-
/* @__PURE__ */
|
|
7656
|
+
/* @__PURE__ */ React68.createElement(
|
|
7129
7657
|
"path",
|
|
7130
7658
|
{
|
|
7131
7659
|
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",
|
|
@@ -7139,23 +7667,23 @@ function IllustrationRemoteFirst(props) {
|
|
|
7139
7667
|
var remote_first_default = IllustrationRemoteFirst;
|
|
7140
7668
|
|
|
7141
7669
|
// src/illustrations/device-compatibility.js
|
|
7142
|
-
import * as
|
|
7670
|
+
import * as React69 from "react";
|
|
7143
7671
|
function IllustrationDeviceCompatibility(props) {
|
|
7144
|
-
return /* @__PURE__ */
|
|
7672
|
+
return /* @__PURE__ */ React69.createElement(
|
|
7145
7673
|
"svg",
|
|
7146
7674
|
__spreadValues({
|
|
7147
7675
|
viewBox: "0 0 110 110",
|
|
7148
7676
|
fill: "none",
|
|
7149
7677
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7150
7678
|
}, props),
|
|
7151
|
-
/* @__PURE__ */
|
|
7679
|
+
/* @__PURE__ */ React69.createElement(
|
|
7152
7680
|
"path",
|
|
7153
7681
|
{
|
|
7154
7682
|
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",
|
|
7155
7683
|
fill: "currentColor"
|
|
7156
7684
|
}
|
|
7157
7685
|
),
|
|
7158
|
-
/* @__PURE__ */
|
|
7686
|
+
/* @__PURE__ */ React69.createElement(
|
|
7159
7687
|
"path",
|
|
7160
7688
|
{
|
|
7161
7689
|
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",
|
|
@@ -7167,17 +7695,17 @@ function IllustrationDeviceCompatibility(props) {
|
|
|
7167
7695
|
var device_compatibility_default = IllustrationDeviceCompatibility;
|
|
7168
7696
|
|
|
7169
7697
|
// src/illustrations/roadmap.js
|
|
7170
|
-
import * as
|
|
7698
|
+
import * as React70 from "react";
|
|
7171
7699
|
function IllustrationRoadmap(props) {
|
|
7172
|
-
return /* @__PURE__ */
|
|
7700
|
+
return /* @__PURE__ */ React70.createElement(
|
|
7173
7701
|
"svg",
|
|
7174
7702
|
__spreadValues({
|
|
7175
7703
|
viewBox: "0 0 100 100",
|
|
7176
7704
|
fill: "none",
|
|
7177
7705
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7178
7706
|
}, props),
|
|
7179
|
-
/* @__PURE__ */
|
|
7180
|
-
/* @__PURE__ */
|
|
7707
|
+
/* @__PURE__ */ React70.createElement("path", { d: "M100 100H0V0h100v100zM10 90h80V10H10v80z", fill: "currentColor" }),
|
|
7708
|
+
/* @__PURE__ */ React70.createElement(
|
|
7181
7709
|
"path",
|
|
7182
7710
|
{
|
|
7183
7711
|
d: "M50.008 39.806L80 54v-9.806L50.008 30 20 44.194V54l30.008-14.194zM80 20H20v10h60V20z",
|
|
@@ -7189,16 +7717,16 @@ function IllustrationRoadmap(props) {
|
|
|
7189
7717
|
var roadmap_default = IllustrationRoadmap;
|
|
7190
7718
|
|
|
7191
7719
|
// src/illustrations/downgrade.js
|
|
7192
|
-
import * as
|
|
7720
|
+
import * as React71 from "react";
|
|
7193
7721
|
function IllustrationDowngrade(props) {
|
|
7194
|
-
return /* @__PURE__ */
|
|
7722
|
+
return /* @__PURE__ */ React71.createElement(
|
|
7195
7723
|
"svg",
|
|
7196
7724
|
__spreadValues({
|
|
7197
7725
|
viewBox: "0 0 100 100",
|
|
7198
7726
|
fill: "none",
|
|
7199
7727
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7200
7728
|
}, props),
|
|
7201
|
-
/* @__PURE__ */
|
|
7729
|
+
/* @__PURE__ */ React71.createElement(
|
|
7202
7730
|
"path",
|
|
7203
7731
|
{
|
|
7204
7732
|
fillRule: "evenodd",
|
|
@@ -7212,16 +7740,16 @@ function IllustrationDowngrade(props) {
|
|
|
7212
7740
|
var downgrade_default = IllustrationDowngrade;
|
|
7213
7741
|
|
|
7214
7742
|
// src/illustrations/screenshot.js
|
|
7215
|
-
import * as
|
|
7743
|
+
import * as React72 from "react";
|
|
7216
7744
|
function IllustrationScreenshot(props) {
|
|
7217
|
-
return /* @__PURE__ */
|
|
7745
|
+
return /* @__PURE__ */ React72.createElement(
|
|
7218
7746
|
"svg",
|
|
7219
7747
|
__spreadValues({
|
|
7220
7748
|
viewBox: "0 0 100 100",
|
|
7221
7749
|
fill: "none",
|
|
7222
7750
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7223
7751
|
}, props),
|
|
7224
|
-
/* @__PURE__ */
|
|
7752
|
+
/* @__PURE__ */ React72.createElement(
|
|
7225
7753
|
"path",
|
|
7226
7754
|
{
|
|
7227
7755
|
fillRule: "evenodd",
|
|
@@ -7235,16 +7763,16 @@ function IllustrationScreenshot(props) {
|
|
|
7235
7763
|
var screenshot_default = IllustrationScreenshot;
|
|
7236
7764
|
|
|
7237
7765
|
// src/illustrations/embrace-the-weird.js
|
|
7238
|
-
import * as
|
|
7766
|
+
import * as React73 from "react";
|
|
7239
7767
|
function IllustrationEmbracetheWeird(props) {
|
|
7240
|
-
return /* @__PURE__ */
|
|
7768
|
+
return /* @__PURE__ */ React73.createElement(
|
|
7241
7769
|
"svg",
|
|
7242
7770
|
__spreadValues({
|
|
7243
7771
|
viewBox: "0 0 110 110",
|
|
7244
7772
|
fill: "none",
|
|
7245
7773
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7246
7774
|
}, props),
|
|
7247
|
-
/* @__PURE__ */
|
|
7775
|
+
/* @__PURE__ */ React73.createElement(
|
|
7248
7776
|
"path",
|
|
7249
7777
|
{
|
|
7250
7778
|
fillRule: "evenodd",
|
|
@@ -7258,40 +7786,40 @@ function IllustrationEmbracetheWeird(props) {
|
|
|
7258
7786
|
var embrace_the_weird_default = IllustrationEmbracetheWeird;
|
|
7259
7787
|
|
|
7260
7788
|
// src/illustrations/share-with-your-team.js
|
|
7261
|
-
import * as
|
|
7789
|
+
import * as React74 from "react";
|
|
7262
7790
|
function IllustrationSharewithYourTeamTeamLibrary(props) {
|
|
7263
|
-
return /* @__PURE__ */
|
|
7791
|
+
return /* @__PURE__ */ React74.createElement(
|
|
7264
7792
|
"svg",
|
|
7265
7793
|
__spreadValues({
|
|
7266
7794
|
viewBox: "0 0 100 100",
|
|
7267
7795
|
fill: "none",
|
|
7268
7796
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7269
7797
|
}, props),
|
|
7270
|
-
/* @__PURE__ */
|
|
7798
|
+
/* @__PURE__ */ React74.createElement(
|
|
7271
7799
|
"g",
|
|
7272
7800
|
{
|
|
7273
7801
|
clipPath: "url(#Share_with_Your_Team_(Team_Library)_svg__clip0)",
|
|
7274
7802
|
fill: "currentColor"
|
|
7275
7803
|
},
|
|
7276
|
-
/* @__PURE__ */
|
|
7277
|
-
/* @__PURE__ */
|
|
7804
|
+
/* @__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" }),
|
|
7805
|
+
/* @__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" })
|
|
7278
7806
|
),
|
|
7279
|
-
/* @__PURE__ */
|
|
7807
|
+
/* @__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" })))
|
|
7280
7808
|
);
|
|
7281
7809
|
}
|
|
7282
7810
|
var share_with_your_team_default = IllustrationSharewithYourTeamTeamLibrary;
|
|
7283
7811
|
|
|
7284
7812
|
// src/illustrations/enterprise-plan.js
|
|
7285
|
-
import * as
|
|
7813
|
+
import * as React75 from "react";
|
|
7286
7814
|
function IllustrationEnterprisePlan(props) {
|
|
7287
|
-
return /* @__PURE__ */
|
|
7815
|
+
return /* @__PURE__ */ React75.createElement(
|
|
7288
7816
|
"svg",
|
|
7289
7817
|
__spreadValues({
|
|
7290
7818
|
viewBox: "0 0 101 100",
|
|
7291
7819
|
fill: "none",
|
|
7292
7820
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7293
7821
|
}, props),
|
|
7294
|
-
/* @__PURE__ */
|
|
7822
|
+
/* @__PURE__ */ React75.createElement(
|
|
7295
7823
|
"path",
|
|
7296
7824
|
{
|
|
7297
7825
|
fill: "currentColor",
|
|
@@ -7303,30 +7831,30 @@ function IllustrationEnterprisePlan(props) {
|
|
|
7303
7831
|
var enterprise_plan_default = IllustrationEnterprisePlan;
|
|
7304
7832
|
|
|
7305
7833
|
// src/illustrations/share.js
|
|
7306
|
-
import * as
|
|
7834
|
+
import * as React76 from "react";
|
|
7307
7835
|
function IllustrationShare(props) {
|
|
7308
|
-
return /* @__PURE__ */
|
|
7836
|
+
return /* @__PURE__ */ React76.createElement(
|
|
7309
7837
|
"svg",
|
|
7310
7838
|
__spreadValues({
|
|
7311
7839
|
viewBox: "0 0 100 101",
|
|
7312
7840
|
fill: "none",
|
|
7313
7841
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7314
7842
|
}, props),
|
|
7315
|
-
/* @__PURE__ */
|
|
7843
|
+
/* @__PURE__ */ React76.createElement(
|
|
7316
7844
|
"path",
|
|
7317
7845
|
{
|
|
7318
7846
|
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",
|
|
7319
7847
|
fill: "currentColor"
|
|
7320
7848
|
}
|
|
7321
7849
|
),
|
|
7322
|
-
/* @__PURE__ */
|
|
7850
|
+
/* @__PURE__ */ React76.createElement(
|
|
7323
7851
|
"path",
|
|
7324
7852
|
{
|
|
7325
7853
|
d: "M50 65.732h15.73v-15.73c0 8.69-7.04 15.73-15.73 15.73z",
|
|
7326
7854
|
fill: "currentColor"
|
|
7327
7855
|
}
|
|
7328
7856
|
),
|
|
7329
|
-
/* @__PURE__ */
|
|
7857
|
+
/* @__PURE__ */ React76.createElement(
|
|
7330
7858
|
"path",
|
|
7331
7859
|
{
|
|
7332
7860
|
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",
|
|
@@ -7338,39 +7866,39 @@ function IllustrationShare(props) {
|
|
|
7338
7866
|
var share_default = IllustrationShare;
|
|
7339
7867
|
|
|
7340
7868
|
// src/illustrations/faq-and-security.js
|
|
7341
|
-
import * as
|
|
7869
|
+
import * as React77 from "react";
|
|
7342
7870
|
function IllustrationFaQandSecurity(props) {
|
|
7343
|
-
return /* @__PURE__ */
|
|
7871
|
+
return /* @__PURE__ */ React77.createElement(
|
|
7344
7872
|
"svg",
|
|
7345
7873
|
__spreadValues({
|
|
7346
7874
|
viewBox: "0 0 100 100",
|
|
7347
7875
|
fill: "none",
|
|
7348
7876
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7349
7877
|
}, props),
|
|
7350
|
-
/* @__PURE__ */
|
|
7878
|
+
/* @__PURE__ */ React77.createElement(
|
|
7351
7879
|
"path",
|
|
7352
7880
|
{
|
|
7353
7881
|
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",
|
|
7354
7882
|
fill: "currentColor"
|
|
7355
7883
|
}
|
|
7356
7884
|
),
|
|
7357
|
-
/* @__PURE__ */
|
|
7358
|
-
/* @__PURE__ */
|
|
7885
|
+
/* @__PURE__ */ React77.createElement("path", { d: "M31 50V0H0v100h99.999V69H31V50z", fill: "currentColor" }),
|
|
7886
|
+
/* @__PURE__ */ React77.createElement("path", { d: "M100 66V0H34v31h35v35h31z", fill: "currentColor" })
|
|
7359
7887
|
);
|
|
7360
7888
|
}
|
|
7361
7889
|
var faq_and_security_default = IllustrationFaQandSecurity;
|
|
7362
7890
|
|
|
7363
7891
|
// src/illustrations/starred.js
|
|
7364
|
-
import * as
|
|
7892
|
+
import * as React78 from "react";
|
|
7365
7893
|
function IllustrationStarred(props) {
|
|
7366
|
-
return /* @__PURE__ */
|
|
7894
|
+
return /* @__PURE__ */ React78.createElement(
|
|
7367
7895
|
"svg",
|
|
7368
7896
|
__spreadValues({
|
|
7369
7897
|
viewBox: "0 0 101 101",
|
|
7370
7898
|
fill: "none",
|
|
7371
7899
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7372
7900
|
}, props),
|
|
7373
|
-
/* @__PURE__ */
|
|
7901
|
+
/* @__PURE__ */ React78.createElement(
|
|
7374
7902
|
"path",
|
|
7375
7903
|
{
|
|
7376
7904
|
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",
|
|
@@ -7382,16 +7910,16 @@ function IllustrationStarred(props) {
|
|
|
7382
7910
|
var starred_default = IllustrationStarred;
|
|
7383
7911
|
|
|
7384
7912
|
// src/illustrations/five-minute-limit.js
|
|
7385
|
-
import * as
|
|
7913
|
+
import * as React79 from "react";
|
|
7386
7914
|
function Illustration5MinuteLimit(props) {
|
|
7387
|
-
return /* @__PURE__ */
|
|
7915
|
+
return /* @__PURE__ */ React79.createElement(
|
|
7388
7916
|
"svg",
|
|
7389
7917
|
__spreadValues({
|
|
7390
7918
|
viewBox: "0 0 110 110",
|
|
7391
7919
|
fill: "none",
|
|
7392
7920
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7393
7921
|
}, props),
|
|
7394
|
-
/* @__PURE__ */
|
|
7922
|
+
/* @__PURE__ */ React79.createElement(
|
|
7395
7923
|
"path",
|
|
7396
7924
|
{
|
|
7397
7925
|
fillRule: "evenodd",
|
|
@@ -7405,16 +7933,16 @@ function Illustration5MinuteLimit(props) {
|
|
|
7405
7933
|
var five_minute_limit_default = Illustration5MinuteLimit;
|
|
7406
7934
|
|
|
7407
7935
|
// src/illustrations/starter-plus-plan.js
|
|
7408
|
-
import * as
|
|
7936
|
+
import * as React80 from "react";
|
|
7409
7937
|
function IllustrationStarterPlusPlan(props) {
|
|
7410
|
-
return /* @__PURE__ */
|
|
7938
|
+
return /* @__PURE__ */ React80.createElement(
|
|
7411
7939
|
"svg",
|
|
7412
7940
|
__spreadValues({
|
|
7413
7941
|
viewBox: "0 0 100 100",
|
|
7414
7942
|
fill: "none",
|
|
7415
7943
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7416
7944
|
}, props),
|
|
7417
|
-
/* @__PURE__ */
|
|
7945
|
+
/* @__PURE__ */ React80.createElement(
|
|
7418
7946
|
"path",
|
|
7419
7947
|
{
|
|
7420
7948
|
fillRule: "evenodd",
|
|
@@ -7428,16 +7956,16 @@ function IllustrationStarterPlusPlan(props) {
|
|
|
7428
7956
|
var starter_plus_plan_default = IllustrationStarterPlusPlan;
|
|
7429
7957
|
|
|
7430
7958
|
// src/illustrations/getting-started.js
|
|
7431
|
-
import * as
|
|
7959
|
+
import * as React81 from "react";
|
|
7432
7960
|
function IllustrationGettingStarted(props) {
|
|
7433
|
-
return /* @__PURE__ */
|
|
7961
|
+
return /* @__PURE__ */ React81.createElement(
|
|
7434
7962
|
"svg",
|
|
7435
7963
|
__spreadValues({
|
|
7436
7964
|
viewBox: "0 0 106 106",
|
|
7437
7965
|
fill: "none",
|
|
7438
7966
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7439
7967
|
}, props),
|
|
7440
|
-
/* @__PURE__ */
|
|
7968
|
+
/* @__PURE__ */ React81.createElement(
|
|
7441
7969
|
"path",
|
|
7442
7970
|
{
|
|
7443
7971
|
d: "M53 101c26.51 0 48-21.49 48-48S79.51 5 53 5 5 26.49 5 53s21.49 48 48 48z",
|
|
@@ -7446,7 +7974,7 @@ function IllustrationGettingStarted(props) {
|
|
|
7446
7974
|
strokeMiterlimit: 10
|
|
7447
7975
|
}
|
|
7448
7976
|
),
|
|
7449
|
-
/* @__PURE__ */
|
|
7977
|
+
/* @__PURE__ */ React81.createElement(
|
|
7450
7978
|
"path",
|
|
7451
7979
|
{
|
|
7452
7980
|
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",
|
|
@@ -7455,7 +7983,7 @@ function IllustrationGettingStarted(props) {
|
|
|
7455
7983
|
strokeMiterlimit: 10
|
|
7456
7984
|
}
|
|
7457
7985
|
),
|
|
7458
|
-
/* @__PURE__ */
|
|
7986
|
+
/* @__PURE__ */ React81.createElement(
|
|
7459
7987
|
"path",
|
|
7460
7988
|
{
|
|
7461
7989
|
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",
|
|
@@ -7464,7 +7992,7 @@ function IllustrationGettingStarted(props) {
|
|
|
7464
7992
|
strokeMiterlimit: 10
|
|
7465
7993
|
}
|
|
7466
7994
|
),
|
|
7467
|
-
/* @__PURE__ */
|
|
7995
|
+
/* @__PURE__ */ React81.createElement(
|
|
7468
7996
|
"path",
|
|
7469
7997
|
{
|
|
7470
7998
|
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",
|
|
@@ -7478,23 +8006,23 @@ function IllustrationGettingStarted(props) {
|
|
|
7478
8006
|
var getting_started_default = IllustrationGettingStarted;
|
|
7479
8007
|
|
|
7480
8008
|
// src/illustrations/strong-upload-speed.js
|
|
7481
|
-
import * as
|
|
8009
|
+
import * as React82 from "react";
|
|
7482
8010
|
function IllustrationStrongUploadSpeed(props) {
|
|
7483
|
-
return /* @__PURE__ */
|
|
8011
|
+
return /* @__PURE__ */ React82.createElement(
|
|
7484
8012
|
"svg",
|
|
7485
8013
|
__spreadValues({
|
|
7486
8014
|
viewBox: "0 0 111 110",
|
|
7487
8015
|
fill: "none",
|
|
7488
8016
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7489
8017
|
}, props),
|
|
7490
|
-
/* @__PURE__ */
|
|
8018
|
+
/* @__PURE__ */ React82.createElement(
|
|
7491
8019
|
"path",
|
|
7492
8020
|
{
|
|
7493
8021
|
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",
|
|
7494
8022
|
fill: "currentColor"
|
|
7495
8023
|
}
|
|
7496
8024
|
),
|
|
7497
|
-
/* @__PURE__ */
|
|
8025
|
+
/* @__PURE__ */ React82.createElement(
|
|
7498
8026
|
"path",
|
|
7499
8027
|
{
|
|
7500
8028
|
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",
|
|
@@ -7506,16 +8034,16 @@ function IllustrationStrongUploadSpeed(props) {
|
|
|
7506
8034
|
var strong_upload_speed_default = IllustrationStrongUploadSpeed;
|
|
7507
8035
|
|
|
7508
8036
|
// src/illustrations/growth-through-empathy.js
|
|
7509
|
-
import * as
|
|
8037
|
+
import * as React83 from "react";
|
|
7510
8038
|
function IllustrationGrowththroughEmpathy(props) {
|
|
7511
|
-
return /* @__PURE__ */
|
|
8039
|
+
return /* @__PURE__ */ React83.createElement(
|
|
7512
8040
|
"svg",
|
|
7513
8041
|
__spreadValues({
|
|
7514
8042
|
viewBox: "0 0 104 100",
|
|
7515
8043
|
fill: "none",
|
|
7516
8044
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7517
8045
|
}, props),
|
|
7518
|
-
/* @__PURE__ */
|
|
8046
|
+
/* @__PURE__ */ React83.createElement(
|
|
7519
8047
|
"path",
|
|
7520
8048
|
{
|
|
7521
8049
|
d: "M98.75 100.001c0-25.889-20.986-46.876-46.874-46.876C25.987 53.125 5 74.112 5 100.001",
|
|
@@ -7524,7 +8052,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7524
8052
|
strokeMiterlimit: 10
|
|
7525
8053
|
}
|
|
7526
8054
|
),
|
|
7527
|
-
/* @__PURE__ */
|
|
8055
|
+
/* @__PURE__ */ React83.createElement(
|
|
7528
8056
|
"path",
|
|
7529
8057
|
{
|
|
7530
8058
|
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",
|
|
@@ -7533,7 +8061,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7533
8061
|
strokeMiterlimit: 10
|
|
7534
8062
|
}
|
|
7535
8063
|
),
|
|
7536
|
-
/* @__PURE__ */
|
|
8064
|
+
/* @__PURE__ */ React83.createElement(
|
|
7537
8065
|
"path",
|
|
7538
8066
|
{
|
|
7539
8067
|
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",
|
|
@@ -7542,7 +8070,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7542
8070
|
strokeMiterlimit: 10
|
|
7543
8071
|
}
|
|
7544
8072
|
),
|
|
7545
|
-
/* @__PURE__ */
|
|
8073
|
+
/* @__PURE__ */ React83.createElement(
|
|
7546
8074
|
"path",
|
|
7547
8075
|
{
|
|
7548
8076
|
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",
|
|
@@ -7551,7 +8079,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7551
8079
|
strokeMiterlimit: 10
|
|
7552
8080
|
}
|
|
7553
8081
|
),
|
|
7554
|
-
/* @__PURE__ */
|
|
8082
|
+
/* @__PURE__ */ React83.createElement(
|
|
7555
8083
|
"path",
|
|
7556
8084
|
{
|
|
7557
8085
|
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",
|
|
@@ -7560,7 +8088,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7560
8088
|
strokeMiterlimit: 10
|
|
7561
8089
|
}
|
|
7562
8090
|
),
|
|
7563
|
-
/* @__PURE__ */
|
|
8091
|
+
/* @__PURE__ */ React83.createElement(
|
|
7564
8092
|
"path",
|
|
7565
8093
|
{
|
|
7566
8094
|
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",
|
|
@@ -7569,7 +8097,7 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7569
8097
|
strokeMiterlimit: 10
|
|
7570
8098
|
}
|
|
7571
8099
|
),
|
|
7572
|
-
/* @__PURE__ */
|
|
8100
|
+
/* @__PURE__ */ React83.createElement(
|
|
7573
8101
|
"path",
|
|
7574
8102
|
{
|
|
7575
8103
|
d: "M64.015 0c0 6.693-5.432 12.124-12.124 12.124S39.767 6.693 39.767.002",
|
|
@@ -7583,16 +8111,16 @@ function IllustrationGrowththroughEmpathy(props) {
|
|
|
7583
8111
|
var growth_through_empathy_default = IllustrationGrowththroughEmpathy;
|
|
7584
8112
|
|
|
7585
8113
|
// src/illustrations/troubleshooting.js
|
|
7586
|
-
import * as
|
|
8114
|
+
import * as React84 from "react";
|
|
7587
8115
|
function IllustrationTroubleshooting(props) {
|
|
7588
|
-
return /* @__PURE__ */
|
|
8116
|
+
return /* @__PURE__ */ React84.createElement(
|
|
7589
8117
|
"svg",
|
|
7590
8118
|
__spreadValues({
|
|
7591
8119
|
viewBox: "0 0 110 110",
|
|
7592
8120
|
fill: "none",
|
|
7593
8121
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7594
8122
|
}, props),
|
|
7595
|
-
/* @__PURE__ */
|
|
8123
|
+
/* @__PURE__ */ React84.createElement(
|
|
7596
8124
|
"path",
|
|
7597
8125
|
{
|
|
7598
8126
|
d: "M5 55h99.984c0 27.61-22.375 50-50 50S5 82.61 5 55z",
|
|
@@ -7602,7 +8130,7 @@ function IllustrationTroubleshooting(props) {
|
|
|
7602
8130
|
strokeMiterlimit: 10
|
|
7603
8131
|
}
|
|
7604
8132
|
),
|
|
7605
|
-
/* @__PURE__ */
|
|
8133
|
+
/* @__PURE__ */ React84.createElement(
|
|
7606
8134
|
"path",
|
|
7607
8135
|
{
|
|
7608
8136
|
d: "M55 105c27.614 0 50-22.386 50-50S82.614 5 55 5 5 27.386 5 55s22.386 50 50 50z",
|
|
@@ -7611,7 +8139,7 @@ function IllustrationTroubleshooting(props) {
|
|
|
7611
8139
|
strokeMiterlimit: 10
|
|
7612
8140
|
}
|
|
7613
8141
|
),
|
|
7614
|
-
/* @__PURE__ */
|
|
8142
|
+
/* @__PURE__ */ React84.createElement(
|
|
7615
8143
|
"path",
|
|
7616
8144
|
{
|
|
7617
8145
|
d: "M23.534 55C23.534 37.62 37.62 23.534 55 23.534c17.382 0 31.466 14.085 31.466 31.466",
|
|
@@ -7620,7 +8148,7 @@ function IllustrationTroubleshooting(props) {
|
|
|
7620
8148
|
strokeMiterlimit: 10
|
|
7621
8149
|
}
|
|
7622
8150
|
),
|
|
7623
|
-
/* @__PURE__ */
|
|
8151
|
+
/* @__PURE__ */ React84.createElement(
|
|
7624
8152
|
"path",
|
|
7625
8153
|
{
|
|
7626
8154
|
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",
|
|
@@ -7634,16 +8162,16 @@ function IllustrationTroubleshooting(props) {
|
|
|
7634
8162
|
var troubleshooting_default = IllustrationTroubleshooting;
|
|
7635
8163
|
|
|
7636
8164
|
// src/illustrations/health-plans.js
|
|
7637
|
-
import * as
|
|
8165
|
+
import * as React85 from "react";
|
|
7638
8166
|
function IllustrationHealthPlans(props) {
|
|
7639
|
-
return /* @__PURE__ */
|
|
8167
|
+
return /* @__PURE__ */ React85.createElement(
|
|
7640
8168
|
"svg",
|
|
7641
8169
|
__spreadValues({
|
|
7642
8170
|
viewBox: "0 0 100 101",
|
|
7643
8171
|
fill: "none",
|
|
7644
8172
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7645
8173
|
}, props),
|
|
7646
|
-
/* @__PURE__ */
|
|
8174
|
+
/* @__PURE__ */ React85.createElement(
|
|
7647
8175
|
"path",
|
|
7648
8176
|
{
|
|
7649
8177
|
fillRule: "evenodd",
|
|
@@ -7657,16 +8185,16 @@ function IllustrationHealthPlans(props) {
|
|
|
7657
8185
|
var health_plans_default = IllustrationHealthPlans;
|
|
7658
8186
|
|
|
7659
8187
|
// src/illustrations/upgrade.js
|
|
7660
|
-
import * as
|
|
8188
|
+
import * as React86 from "react";
|
|
7661
8189
|
function IllustrationUpgrade(props) {
|
|
7662
|
-
return /* @__PURE__ */
|
|
8190
|
+
return /* @__PURE__ */ React86.createElement(
|
|
7663
8191
|
"svg",
|
|
7664
8192
|
__spreadValues({
|
|
7665
8193
|
viewBox: "0 0 100 100",
|
|
7666
8194
|
fill: "none",
|
|
7667
8195
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7668
8196
|
}, props),
|
|
7669
|
-
/* @__PURE__ */
|
|
8197
|
+
/* @__PURE__ */ React86.createElement(
|
|
7670
8198
|
"path",
|
|
7671
8199
|
{
|
|
7672
8200
|
fillRule: "evenodd",
|
|
@@ -7680,16 +8208,16 @@ function IllustrationUpgrade(props) {
|
|
|
7680
8208
|
var upgrade_default = IllustrationUpgrade;
|
|
7681
8209
|
|
|
7682
8210
|
// src/illustrations/how-to-use-loom.js
|
|
7683
|
-
import * as
|
|
8211
|
+
import * as React87 from "react";
|
|
7684
8212
|
function IllustrationHowtoUseLoom(props) {
|
|
7685
|
-
return /* @__PURE__ */
|
|
8213
|
+
return /* @__PURE__ */ React87.createElement(
|
|
7686
8214
|
"svg",
|
|
7687
8215
|
__spreadValues({
|
|
7688
8216
|
viewBox: "0 0 110 110",
|
|
7689
8217
|
fill: "none",
|
|
7690
8218
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7691
8219
|
}, props),
|
|
7692
|
-
/* @__PURE__ */
|
|
8220
|
+
/* @__PURE__ */ React87.createElement(
|
|
7693
8221
|
"path",
|
|
7694
8222
|
{
|
|
7695
8223
|
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",
|
|
@@ -7701,16 +8229,16 @@ function IllustrationHowtoUseLoom(props) {
|
|
|
7701
8229
|
var how_to_use_loom_default = IllustrationHowtoUseLoom;
|
|
7702
8230
|
|
|
7703
8231
|
// src/illustrations/upload-drag-and-drop.js
|
|
7704
|
-
import * as
|
|
8232
|
+
import * as React88 from "react";
|
|
7705
8233
|
function IllustrationUploadDragAndDrop(props) {
|
|
7706
|
-
return /* @__PURE__ */
|
|
8234
|
+
return /* @__PURE__ */ React88.createElement(
|
|
7707
8235
|
"svg",
|
|
7708
8236
|
__spreadValues({
|
|
7709
8237
|
viewBox: "0 0 100 100",
|
|
7710
8238
|
fill: "none",
|
|
7711
8239
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7712
8240
|
}, props),
|
|
7713
|
-
/* @__PURE__ */
|
|
8241
|
+
/* @__PURE__ */ React88.createElement(
|
|
7714
8242
|
"path",
|
|
7715
8243
|
{
|
|
7716
8244
|
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",
|
|
@@ -7722,16 +8250,16 @@ function IllustrationUploadDragAndDrop(props) {
|
|
|
7722
8250
|
var upload_drag_and_drop_default = IllustrationUploadDragAndDrop;
|
|
7723
8251
|
|
|
7724
8252
|
// src/illustrations/use-cases.js
|
|
7725
|
-
import * as
|
|
8253
|
+
import * as React89 from "react";
|
|
7726
8254
|
function IllustrationUseCases(props) {
|
|
7727
|
-
return /* @__PURE__ */
|
|
8255
|
+
return /* @__PURE__ */ React89.createElement(
|
|
7728
8256
|
"svg",
|
|
7729
8257
|
__spreadValues({
|
|
7730
8258
|
viewBox: "0 0 100 100",
|
|
7731
8259
|
fill: "none",
|
|
7732
8260
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7733
8261
|
}, props),
|
|
7734
|
-
/* @__PURE__ */
|
|
8262
|
+
/* @__PURE__ */ React89.createElement(
|
|
7735
8263
|
"path",
|
|
7736
8264
|
{
|
|
7737
8265
|
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",
|
|
@@ -7743,16 +8271,16 @@ function IllustrationUseCases(props) {
|
|
|
7743
8271
|
var use_cases_default = IllustrationUseCases;
|
|
7744
8272
|
|
|
7745
8273
|
// src/illustrations/invite-members.js
|
|
7746
|
-
import * as
|
|
8274
|
+
import * as React90 from "react";
|
|
7747
8275
|
function IllustrationInviteMembers(props) {
|
|
7748
|
-
return /* @__PURE__ */
|
|
8276
|
+
return /* @__PURE__ */ React90.createElement(
|
|
7749
8277
|
"svg",
|
|
7750
8278
|
__spreadValues({
|
|
7751
8279
|
viewBox: "0 0 134 134",
|
|
7752
8280
|
fill: "none",
|
|
7753
8281
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7754
8282
|
}, props),
|
|
7755
|
-
/* @__PURE__ */
|
|
8283
|
+
/* @__PURE__ */ React90.createElement(
|
|
7756
8284
|
"path",
|
|
7757
8285
|
{
|
|
7758
8286
|
fillRule: "evenodd",
|
|
@@ -7766,45 +8294,45 @@ function IllustrationInviteMembers(props) {
|
|
|
7766
8294
|
var invite_members_default = IllustrationInviteMembers;
|
|
7767
8295
|
|
|
7768
8296
|
// src/illustrations/wellness.js
|
|
7769
|
-
import * as
|
|
8297
|
+
import * as React91 from "react";
|
|
7770
8298
|
function IllustrationWellness(props) {
|
|
7771
|
-
return /* @__PURE__ */
|
|
8299
|
+
return /* @__PURE__ */ React91.createElement(
|
|
7772
8300
|
"svg",
|
|
7773
8301
|
__spreadValues({
|
|
7774
8302
|
viewBox: "0 0 100 101",
|
|
7775
8303
|
fill: "none",
|
|
7776
8304
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7777
8305
|
}, props),
|
|
7778
|
-
/* @__PURE__ */
|
|
8306
|
+
/* @__PURE__ */ React91.createElement(
|
|
7779
8307
|
"path",
|
|
7780
8308
|
{
|
|
7781
8309
|
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",
|
|
7782
8310
|
fill: "currentColor"
|
|
7783
8311
|
}
|
|
7784
8312
|
),
|
|
7785
|
-
/* @__PURE__ */
|
|
8313
|
+
/* @__PURE__ */ React91.createElement(
|
|
7786
8314
|
"path",
|
|
7787
8315
|
{
|
|
7788
8316
|
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",
|
|
7789
8317
|
fill: "currentColor"
|
|
7790
8318
|
}
|
|
7791
8319
|
),
|
|
7792
|
-
/* @__PURE__ */
|
|
8320
|
+
/* @__PURE__ */ React91.createElement("path", { fill: "currentColor", d: "M100 67.595H66.667v33.333H100z" })
|
|
7793
8321
|
);
|
|
7794
8322
|
}
|
|
7795
8323
|
var wellness_default = IllustrationWellness;
|
|
7796
8324
|
|
|
7797
8325
|
// src/illustrations/comments.js
|
|
7798
|
-
import * as
|
|
8326
|
+
import * as React92 from "react";
|
|
7799
8327
|
function IllustrationComments(props) {
|
|
7800
|
-
return /* @__PURE__ */
|
|
8328
|
+
return /* @__PURE__ */ React92.createElement(
|
|
7801
8329
|
"svg",
|
|
7802
8330
|
__spreadValues({
|
|
7803
8331
|
viewBox: "0 0 96 96",
|
|
7804
8332
|
fill: "none",
|
|
7805
8333
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7806
8334
|
}, props),
|
|
7807
|
-
/* @__PURE__ */
|
|
8335
|
+
/* @__PURE__ */ React92.createElement(
|
|
7808
8336
|
"path",
|
|
7809
8337
|
{
|
|
7810
8338
|
fillRule: "evenodd",
|
|
@@ -7813,7 +8341,7 @@ function IllustrationComments(props) {
|
|
|
7813
8341
|
fill: "currentColor"
|
|
7814
8342
|
}
|
|
7815
8343
|
),
|
|
7816
|
-
/* @__PURE__ */
|
|
8344
|
+
/* @__PURE__ */ React92.createElement(
|
|
7817
8345
|
"path",
|
|
7818
8346
|
{
|
|
7819
8347
|
fill: "currentColor",
|
|
@@ -7825,16 +8353,16 @@ function IllustrationComments(props) {
|
|
|
7825
8353
|
var comments_default = IllustrationComments;
|
|
7826
8354
|
|
|
7827
8355
|
// src/illustrations/folders-empty-state-mobile.js
|
|
7828
|
-
import * as
|
|
8356
|
+
import * as React93 from "react";
|
|
7829
8357
|
function IllutrationFoldersEmptyStateMobile(props) {
|
|
7830
|
-
return /* @__PURE__ */
|
|
8358
|
+
return /* @__PURE__ */ React93.createElement(
|
|
7831
8359
|
"svg",
|
|
7832
8360
|
__spreadValues({
|
|
7833
8361
|
viewBox: "0 0 96 96",
|
|
7834
8362
|
fill: "none",
|
|
7835
8363
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7836
8364
|
}, props),
|
|
7837
|
-
/* @__PURE__ */
|
|
8365
|
+
/* @__PURE__ */ React93.createElement(
|
|
7838
8366
|
"path",
|
|
7839
8367
|
{
|
|
7840
8368
|
fillRule: "evenodd",
|
|
@@ -7843,7 +8371,7 @@ function IllutrationFoldersEmptyStateMobile(props) {
|
|
|
7843
8371
|
fill: "currentColor"
|
|
7844
8372
|
}
|
|
7845
8373
|
),
|
|
7846
|
-
/* @__PURE__ */
|
|
8374
|
+
/* @__PURE__ */ React93.createElement(
|
|
7847
8375
|
"path",
|
|
7848
8376
|
{
|
|
7849
8377
|
fillRule: "evenodd",
|
|
@@ -7857,23 +8385,23 @@ function IllutrationFoldersEmptyStateMobile(props) {
|
|
|
7857
8385
|
var folders_empty_state_mobile_default = IllutrationFoldersEmptyStateMobile;
|
|
7858
8386
|
|
|
7859
8387
|
// src/illustrations/help-ios.js
|
|
7860
|
-
import * as
|
|
8388
|
+
import * as React94 from "react";
|
|
7861
8389
|
function IllustrationHelpIos(props) {
|
|
7862
|
-
return /* @__PURE__ */
|
|
8390
|
+
return /* @__PURE__ */ React94.createElement(
|
|
7863
8391
|
"svg",
|
|
7864
8392
|
__spreadValues({
|
|
7865
8393
|
viewBox: "0 0 96 96",
|
|
7866
8394
|
fill: "none",
|
|
7867
8395
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7868
8396
|
}, props),
|
|
7869
|
-
/* @__PURE__ */
|
|
8397
|
+
/* @__PURE__ */ React94.createElement(
|
|
7870
8398
|
"path",
|
|
7871
8399
|
{
|
|
7872
8400
|
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",
|
|
7873
8401
|
fill: "currentColor"
|
|
7874
8402
|
}
|
|
7875
8403
|
),
|
|
7876
|
-
/* @__PURE__ */
|
|
8404
|
+
/* @__PURE__ */ React94.createElement(
|
|
7877
8405
|
"path",
|
|
7878
8406
|
{
|
|
7879
8407
|
fillRule: "evenodd",
|
|
@@ -7887,17 +8415,17 @@ function IllustrationHelpIos(props) {
|
|
|
7887
8415
|
var help_ios_default = IllustrationHelpIos;
|
|
7888
8416
|
|
|
7889
8417
|
// src/illustrations/my-videos-empty-state-mobile.js
|
|
7890
|
-
import * as
|
|
8418
|
+
import * as React95 from "react";
|
|
7891
8419
|
function IllustrationMyVideosEmptyStateMobile(props) {
|
|
7892
|
-
return /* @__PURE__ */
|
|
8420
|
+
return /* @__PURE__ */ React95.createElement(
|
|
7893
8421
|
"svg",
|
|
7894
8422
|
__spreadValues({
|
|
7895
8423
|
viewBox: "0 0 96 96",
|
|
7896
8424
|
fill: "none",
|
|
7897
8425
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7898
8426
|
}, props),
|
|
7899
|
-
/* @__PURE__ */
|
|
7900
|
-
/* @__PURE__ */
|
|
8427
|
+
/* @__PURE__ */ React95.createElement("path", { d: "M96 0H0v96h96V0zM84 12v72H12V12h72z", fill: "currentColor" }),
|
|
8428
|
+
/* @__PURE__ */ React95.createElement(
|
|
7901
8429
|
"path",
|
|
7902
8430
|
{
|
|
7903
8431
|
fillRule: "evenodd",
|
|
@@ -7911,16 +8439,16 @@ function IllustrationMyVideosEmptyStateMobile(props) {
|
|
|
7911
8439
|
var my_videos_empty_state_mobile_default = IllustrationMyVideosEmptyStateMobile;
|
|
7912
8440
|
|
|
7913
8441
|
// src/illustrations/recents-empty-state-mobile.js
|
|
7914
|
-
import * as
|
|
8442
|
+
import * as React96 from "react";
|
|
7915
8443
|
function IllustrationRecentsEmptyStateMobile(props) {
|
|
7916
|
-
return /* @__PURE__ */
|
|
8444
|
+
return /* @__PURE__ */ React96.createElement(
|
|
7917
8445
|
"svg",
|
|
7918
8446
|
__spreadValues({
|
|
7919
8447
|
viewBox: "0 0 96 96",
|
|
7920
8448
|
fill: "none",
|
|
7921
8449
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7922
8450
|
}, props),
|
|
7923
|
-
/* @__PURE__ */
|
|
8451
|
+
/* @__PURE__ */ React96.createElement(
|
|
7924
8452
|
"path",
|
|
7925
8453
|
{
|
|
7926
8454
|
fillRule: "evenodd",
|
|
@@ -7934,16 +8462,16 @@ function IllustrationRecentsEmptyStateMobile(props) {
|
|
|
7934
8462
|
var recents_empty_state_mobile_default = IllustrationRecentsEmptyStateMobile;
|
|
7935
8463
|
|
|
7936
8464
|
// src/illustrations/chrome-notifications-empty-state.js
|
|
7937
|
-
import * as
|
|
8465
|
+
import * as React97 from "react";
|
|
7938
8466
|
function IllustrationChromeNotificationsEmptyState(props) {
|
|
7939
|
-
return /* @__PURE__ */
|
|
8467
|
+
return /* @__PURE__ */ React97.createElement(
|
|
7940
8468
|
"svg",
|
|
7941
8469
|
__spreadValues({
|
|
7942
8470
|
viewBox: "0 0 96 96",
|
|
7943
8471
|
fill: "none",
|
|
7944
8472
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7945
8473
|
}, props),
|
|
7946
|
-
/* @__PURE__ */
|
|
8474
|
+
/* @__PURE__ */ React97.createElement(
|
|
7947
8475
|
"circle",
|
|
7948
8476
|
{
|
|
7949
8477
|
cx: 15.84,
|
|
@@ -7953,7 +8481,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
7953
8481
|
strokeWidth: 9.6
|
|
7954
8482
|
}
|
|
7955
8483
|
),
|
|
7956
|
-
/* @__PURE__ */
|
|
8484
|
+
/* @__PURE__ */ React97.createElement(
|
|
7957
8485
|
"path",
|
|
7958
8486
|
{
|
|
7959
8487
|
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",
|
|
@@ -7961,8 +8489,8 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
7961
8489
|
strokeWidth: 9.6
|
|
7962
8490
|
}
|
|
7963
8491
|
),
|
|
7964
|
-
/* @__PURE__ */
|
|
7965
|
-
/* @__PURE__ */
|
|
8492
|
+
/* @__PURE__ */ React97.createElement("circle", { cx: 80.16, cy: 15.84, r: 15.84, fill: "currentColor" }),
|
|
8493
|
+
/* @__PURE__ */ React97.createElement(
|
|
7966
8494
|
"path",
|
|
7967
8495
|
{
|
|
7968
8496
|
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",
|
|
@@ -7970,7 +8498,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
7970
8498
|
strokeWidth: 9.6
|
|
7971
8499
|
}
|
|
7972
8500
|
),
|
|
7973
|
-
/* @__PURE__ */
|
|
8501
|
+
/* @__PURE__ */ React97.createElement(
|
|
7974
8502
|
"circle",
|
|
7975
8503
|
{
|
|
7976
8504
|
cx: 48,
|
|
@@ -7980,7 +8508,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
7980
8508
|
strokeWidth: 9.6
|
|
7981
8509
|
}
|
|
7982
8510
|
),
|
|
7983
|
-
/* @__PURE__ */
|
|
8511
|
+
/* @__PURE__ */ React97.createElement(
|
|
7984
8512
|
"path",
|
|
7985
8513
|
{
|
|
7986
8514
|
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",
|
|
@@ -7988,7 +8516,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
7988
8516
|
strokeWidth: 9.6
|
|
7989
8517
|
}
|
|
7990
8518
|
),
|
|
7991
|
-
/* @__PURE__ */
|
|
8519
|
+
/* @__PURE__ */ React97.createElement(
|
|
7992
8520
|
"circle",
|
|
7993
8521
|
{
|
|
7994
8522
|
cx: 15.84,
|
|
@@ -7998,7 +8526,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
7998
8526
|
strokeWidth: 9.6
|
|
7999
8527
|
}
|
|
8000
8528
|
),
|
|
8001
|
-
/* @__PURE__ */
|
|
8529
|
+
/* @__PURE__ */ React97.createElement(
|
|
8002
8530
|
"path",
|
|
8003
8531
|
{
|
|
8004
8532
|
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",
|
|
@@ -8006,7 +8534,7 @@ function IllustrationChromeNotificationsEmptyState(props) {
|
|
|
8006
8534
|
strokeWidth: 9.6
|
|
8007
8535
|
}
|
|
8008
8536
|
),
|
|
8009
|
-
/* @__PURE__ */
|
|
8537
|
+
/* @__PURE__ */ React97.createElement(
|
|
8010
8538
|
"circle",
|
|
8011
8539
|
{
|
|
8012
8540
|
cx: 80.16,
|
|
@@ -8118,6 +8646,7 @@ export {
|
|
|
8118
8646
|
toast_default as Toast,
|
|
8119
8647
|
tooltip_default as Tooltip,
|
|
8120
8648
|
TooltipBox,
|
|
8649
|
+
typeahead_default as Typeahead,
|
|
8121
8650
|
accessibilityRules,
|
|
8122
8651
|
alignSelfRules,
|
|
8123
8652
|
alphaFunction,
|