lookbook 2.3.0 → 2.3.9
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.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/app/components/lookbook/button/component.html.erb +1 -1
- data/app/components/lookbook/button/component.js +10 -3
- data/app/components/lookbook/display_options/editor/component.html.erb +1 -1
- data/app/components/lookbook/filter/component.html.erb +2 -2
- data/app/components/lookbook/header/component.html.erb +1 -1
- data/app/components/lookbook/icon/component.html.erb +4 -2
- data/app/components/lookbook/icon/component.rb +0 -16
- data/app/components/lookbook/nav/entity/component.html.erb +3 -0
- data/app/components/lookbook/nav/item/component.js +8 -10
- data/app/components/lookbook/params/editor/component.rb +1 -1
- data/app/components/lookbook/params/field/component.rb +1 -1
- data/app/components/lookbook/tab_panels/component.rb +1 -1
- data/app/controllers/lookbook/previews_controller.rb +11 -7
- data/app/helpers/lookbook/application_helper.rb +10 -0
- data/app/views/layouts/lookbook/application.html.erb +98 -87
- data/app/views/layouts/lookbook/embed.html.erb +29 -17
- data/app/views/layouts/lookbook/skeleton.html.erb +2 -0
- data/app/views/lookbook/inspector/panels/_notes.html.erb +1 -1
- data/app/views/lookbook/previews/preview.html.erb +5 -1
- data/assets/js/app.js +7 -4
- data/assets/js/helpers/request.js +2 -2
- data/config/app.yml +3 -1
- data/lib/lookbook/engine.rb +32 -6
- data/lib/lookbook/preview_controller_actions.rb +7 -2
- data/lib/lookbook/reloaders.rb +6 -2
- data/lib/lookbook/stores/config_store.rb +4 -0
- data/lib/lookbook/support/errors/config_error.rb +1 -1
- data/lib/lookbook/support/errors/parser_error.rb +1 -1
- data/lib/lookbook/support/errors/preview_template_error.rb +1 -1
- data/lib/lookbook/support/errors/template_error.rb +1 -1
- data/lib/lookbook/support/store.rb +1 -1
- data/lib/lookbook/support/utils/utils.rb +1 -1
- data/lib/lookbook/tags/yard_tag.rb +1 -1
- data/lib/lookbook/version.rb +1 -1
- data/public/lookbook-assets/css/lookbook.css +52 -42
- data/public/lookbook-assets/css/lookbook.css.map +1 -1
- data/public/lookbook-assets/css/themes/blue.css +0 -1
- data/public/lookbook-assets/css/themes/green.css +0 -1
- data/public/lookbook-assets/css/themes/indigo.css +0 -1
- data/public/lookbook-assets/css/themes/rose.css +0 -1
- data/public/lookbook-assets/css/themes/zinc.css +0 -1
- data/public/lookbook-assets/img/lucide-sprite.svg +1 -1
- data/public/lookbook-assets/js/iframe.js +193 -193
- data/public/lookbook-assets/js/index.js +680 -670
- data/public/lookbook-assets/js/index.js.map +1 -1
- data/public/lookbook-assets/js/lookbook-core.js +0 -37
- data/public/lookbook-assets/js/lookbook.js +252 -289
- metadata +5 -386
- data/assets/icons/activity-square.svg +0 -1
- data/assets/icons/ampersand.svg +0 -1
- data/assets/icons/ampersands.svg +0 -1
- data/assets/icons/antenna.svg +0 -1
- data/assets/icons/app-window.svg +0 -1
- data/assets/icons/archive-x.svg +0 -1
- data/assets/icons/area-chart.svg +0 -1
- data/assets/icons/arrow-big-down-dash.svg +0 -1
- data/assets/icons/arrow-big-left-dash.svg +0 -1
- data/assets/icons/arrow-big-right-dash.svg +0 -1
- data/assets/icons/arrow-big-up-dash.svg +0 -1
- data/assets/icons/arrow-down-0-1.svg +0 -1
- data/assets/icons/arrow-down-1-0.svg +0 -1
- data/assets/icons/arrow-down-a-z.svg +0 -1
- data/assets/icons/arrow-down-from-line.svg +0 -1
- data/assets/icons/arrow-down-left-from-circle.svg +0 -1
- data/assets/icons/arrow-down-left-square.svg +0 -1
- data/assets/icons/arrow-down-narrow-wide.svg +0 -1
- data/assets/icons/arrow-down-right-from-circle.svg +0 -1
- data/assets/icons/arrow-down-right-square.svg +0 -1
- data/assets/icons/arrow-down-square.svg +0 -1
- data/assets/icons/arrow-down-to-dot.svg +0 -1
- data/assets/icons/arrow-down-to-line.svg +0 -1
- data/assets/icons/arrow-down-up.svg +0 -1
- data/assets/icons/arrow-down-wide-narrow.svg +0 -1
- data/assets/icons/arrow-down-z-a.svg +0 -1
- data/assets/icons/arrow-left-from-line.svg +0 -1
- data/assets/icons/arrow-left-square.svg +0 -1
- data/assets/icons/arrow-left-to-line.svg +0 -1
- data/assets/icons/arrow-right-from-line.svg +0 -1
- data/assets/icons/arrow-right-left.svg +0 -1
- data/assets/icons/arrow-right-square.svg +0 -1
- data/assets/icons/arrow-right-to-line.svg +0 -1
- data/assets/icons/arrow-up-0-1.svg +0 -1
- data/assets/icons/arrow-up-1-0.svg +0 -1
- data/assets/icons/arrow-up-a-z.svg +0 -1
- data/assets/icons/arrow-up-from-dot.svg +0 -1
- data/assets/icons/arrow-up-from-line.svg +0 -1
- data/assets/icons/arrow-up-left-from-circle.svg +0 -1
- data/assets/icons/arrow-up-left-square.svg +0 -1
- data/assets/icons/arrow-up-narrow-wide.svg +0 -1
- data/assets/icons/arrow-up-right-from-circle.svg +0 -1
- data/assets/icons/arrow-up-right-square.svg +0 -1
- data/assets/icons/arrow-up-square.svg +0 -1
- data/assets/icons/arrow-up-to-line.svg +0 -1
- data/assets/icons/arrow-up-wide-narrow.svg +0 -1
- data/assets/icons/arrow-up-z-a.svg +0 -1
- data/assets/icons/arrows-up-from-line.svg +0 -1
- data/assets/icons/atom.svg +0 -1
- data/assets/icons/badge-alert.svg +0 -1
- data/assets/icons/badge-cent.svg +0 -1
- data/assets/icons/badge-check.svg +0 -1
- data/assets/icons/badge-dollar-sign.svg +0 -1
- data/assets/icons/badge-euro.svg +0 -1
- data/assets/icons/badge-help.svg +0 -1
- data/assets/icons/badge-indian-rupee.svg +0 -1
- data/assets/icons/badge-info.svg +0 -1
- data/assets/icons/badge-japanese-yen.svg +0 -1
- data/assets/icons/badge-minus.svg +0 -1
- data/assets/icons/badge-percent.svg +0 -1
- data/assets/icons/badge-plus.svg +0 -1
- data/assets/icons/badge-pound-sterling.svg +0 -1
- data/assets/icons/badge-russian-ruble.svg +0 -1
- data/assets/icons/badge-swiss-franc.svg +0 -1
- data/assets/icons/badge-x.svg +0 -1
- data/assets/icons/badge.svg +0 -1
- data/assets/icons/ban.svg +0 -1
- data/assets/icons/bar-chart-big.svg +0 -1
- data/assets/icons/bar-chart-horizontal-big.svg +0 -1
- data/assets/icons/bell-dot.svg +0 -1
- data/assets/icons/biohazard.svg +0 -1
- data/assets/icons/blocks.svg +0 -1
- data/assets/icons/book-copy.svg +0 -1
- data/assets/icons/book-down.svg +0 -1
- data/assets/icons/book-key.svg +0 -1
- data/assets/icons/book-lock.svg +0 -1
- data/assets/icons/book-marked.svg +0 -1
- data/assets/icons/book-minus.svg +0 -1
- data/assets/icons/book-plus.svg +0 -1
- data/assets/icons/book-template.svg +0 -1
- data/assets/icons/book-up-2.svg +0 -1
- data/assets/icons/book-up.svg +0 -1
- data/assets/icons/book-x.svg +0 -1
- data/assets/icons/bookmark-check.svg +0 -1
- data/assets/icons/bookmark-x.svg +0 -1
- data/assets/icons/boom-box.svg +0 -1
- data/assets/icons/braces.svg +0 -1
- data/assets/icons/brackets.svg +0 -1
- data/assets/icons/brain-circuit.svg +0 -1
- data/assets/icons/brain-cog.svg +0 -1
- data/assets/icons/brain.svg +0 -1
- data/assets/icons/bring-to-front.svg +0 -1
- data/assets/icons/bug-off.svg +0 -1
- data/assets/icons/bug-play.svg +0 -1
- data/assets/icons/bus-front.svg +0 -1
- data/assets/icons/cable-car.svg +0 -1
- data/assets/icons/cable.svg +0 -1
- data/assets/icons/cake-slice.svg +0 -1
- data/assets/icons/candlestick-chart.svg +0 -1
- data/assets/icons/candy-cane.svg +0 -1
- data/assets/icons/car-front.svg +0 -1
- data/assets/icons/car-taxi-front.svg +0 -1
- data/assets/icons/case-lower.svg +0 -1
- data/assets/icons/case-sensitive.svg +0 -1
- data/assets/icons/case-upper.svg +0 -1
- data/assets/icons/cassette-tape.svg +0 -1
- data/assets/icons/castle.svg +0 -1
- data/assets/icons/chevron-down-circle.svg +0 -1
- data/assets/icons/chevron-down-square.svg +0 -1
- data/assets/icons/chevron-left-circle.svg +0 -1
- data/assets/icons/chevron-left-square.svg +0 -1
- data/assets/icons/chevron-right-circle.svg +0 -1
- data/assets/icons/chevron-right-square.svg +0 -1
- data/assets/icons/chevron-up-circle.svg +0 -1
- data/assets/icons/chevron-up-square.svg +0 -1
- data/assets/icons/church.svg +0 -1
- data/assets/icons/circle-dashed.svg +0 -1
- data/assets/icons/circle-dollar-sign.svg +0 -1
- data/assets/icons/circle-dot-dashed.svg +0 -1
- data/assets/icons/circle-equal.svg +0 -1
- data/assets/icons/circle-off.svg +0 -1
- data/assets/icons/circle-slash-2.svg +0 -1
- data/assets/icons/circle-slash.svg +0 -1
- data/assets/icons/circuit-board.svg +0 -1
- data/assets/icons/clipboard-paste.svg +0 -1
- data/assets/icons/club.svg +0 -1
- data/assets/icons/combine.svg +0 -1
- data/assets/icons/computer.svg +0 -1
- data/assets/icons/contact-2.svg +0 -1
- data/assets/icons/container.svg +0 -1
- data/assets/icons/copy-check.svg +0 -1
- data/assets/icons/copy-minus.svg +0 -1
- data/assets/icons/copy-plus.svg +0 -1
- data/assets/icons/copy-slash.svg +0 -1
- data/assets/icons/copy-x.svg +0 -1
- data/assets/icons/database-zap.svg +0 -1
- data/assets/icons/dessert.svg +0 -1
- data/assets/icons/disc-2.svg +0 -1
- data/assets/icons/disc-3.svg +0 -1
- data/assets/icons/donut.svg +0 -1
- data/assets/icons/door-closed.svg +0 -1
- data/assets/icons/door-open.svg +0 -1
- data/assets/icons/dot.svg +0 -1
- data/assets/icons/drama.svg +0 -1
- data/assets/icons/ferris-wheel.svg +0 -1
- data/assets/icons/file-code-2.svg +0 -1
- data/assets/icons/file-stack.svg +0 -1
- data/assets/icons/fish-symbol.svg +0 -1
- data/assets/icons/fold-horizontal.svg +0 -1
- data/assets/icons/fold-vertical.svg +0 -1
- data/assets/icons/folder-dot.svg +0 -1
- data/assets/icons/folder-git-2.svg +0 -1
- data/assets/icons/folder-git.svg +0 -1
- data/assets/icons/folder-kanban.svg +0 -1
- data/assets/icons/folder-open-dot.svg +0 -1
- data/assets/icons/folder-root.svg +0 -1
- data/assets/icons/folder-sync.svg +0 -1
- data/assets/icons/gallery-horizontal-end.svg +0 -1
- data/assets/icons/gallery-horizontal.svg +0 -1
- data/assets/icons/gallery-thumbnails.svg +0 -1
- data/assets/icons/gallery-vertical-end.svg +0 -1
- data/assets/icons/gallery-vertical.svg +0 -1
- data/assets/icons/gantt-chart-square.svg +0 -1
- data/assets/icons/gantt-chart.svg +0 -1
- data/assets/icons/gauge-circle.svg +0 -1
- data/assets/icons/goal.svg +0 -1
- data/assets/icons/grid-2x2.svg +0 -1
- data/assets/icons/grid-3x3.svg +0 -1
- data/assets/icons/group.svg +0 -1
- data/assets/icons/hard-drive-download.svg +0 -1
- data/assets/icons/hard-drive-upload.svg +0 -1
- data/assets/icons/hdmi-port.svg +0 -1
- data/assets/icons/hotel.svg +0 -1
- data/assets/icons/iteration-ccw.svg +0 -1
- data/assets/icons/iteration-cw.svg +0 -1
- data/assets/icons/kanban-square-dashed.svg +0 -1
- data/assets/icons/kanban-square.svg +0 -1
- data/assets/icons/kanban.svg +0 -1
- data/assets/icons/key-round.svg +0 -1
- data/assets/icons/key-square.svg +0 -1
- data/assets/icons/layout-panel-left.svg +0 -1
- data/assets/icons/layout-panel-top.svg +0 -1
- data/assets/icons/leafy-green.svg +0 -1
- data/assets/icons/ligature.svg +0 -1
- data/assets/icons/list-filter.svg +0 -1
- data/assets/icons/list-restart.svg +0 -1
- data/assets/icons/list-todo.svg +0 -1
- data/assets/icons/list-tree.svg +0 -1
- data/assets/icons/lollipop.svg +0 -1
- data/assets/icons/m-square.svg +0 -1
- data/assets/icons/mailbox.svg +0 -1
- data/assets/icons/memory-stick.svg +0 -1
- data/assets/icons/menu-square.svg +0 -1
- data/assets/icons/merge.svg +0 -1
- data/assets/icons/message-square-dashed.svg +0 -1
- data/assets/icons/message-square-plus.svg +0 -1
- data/assets/icons/messages-square.svg +0 -1
- data/assets/icons/monitor-check.svg +0 -1
- data/assets/icons/monitor-dot.svg +0 -1
- data/assets/icons/monitor-down.svg +0 -1
- data/assets/icons/monitor-pause.svg +0 -1
- data/assets/icons/monitor-play.svg +0 -1
- data/assets/icons/monitor-stop.svg +0 -1
- data/assets/icons/monitor-up.svg +0 -1
- data/assets/icons/monitor-x.svg +0 -1
- data/assets/icons/moon-star.svg +0 -1
- data/assets/icons/mouse-pointer-square-dashed.svg +0 -1
- data/assets/icons/mouse-pointer-square.svg +0 -1
- data/assets/icons/move-down-left.svg +0 -1
- data/assets/icons/move-down-right.svg +0 -1
- data/assets/icons/move-down.svg +0 -1
- data/assets/icons/move-left.svg +0 -1
- data/assets/icons/move-right.svg +0 -1
- data/assets/icons/move-up-left.svg +0 -1
- data/assets/icons/move-up-right.svg +0 -1
- data/assets/icons/move-up.svg +0 -1
- data/assets/icons/orbit.svg +0 -1
- data/assets/icons/panel-bottom-close.svg +0 -1
- data/assets/icons/panel-bottom-inactive.svg +0 -1
- data/assets/icons/panel-bottom-open.svg +0 -1
- data/assets/icons/panel-bottom.svg +0 -1
- data/assets/icons/panel-left-close.svg +0 -1
- data/assets/icons/panel-left-inactive.svg +0 -1
- data/assets/icons/panel-left-open.svg +0 -1
- data/assets/icons/panel-left.svg +0 -1
- data/assets/icons/panel-right-close.svg +0 -1
- data/assets/icons/panel-right-inactive.svg +0 -1
- data/assets/icons/panel-right-open.svg +0 -1
- data/assets/icons/panel-right.svg +0 -1
- data/assets/icons/panel-top-close.svg +0 -1
- data/assets/icons/panel-top-inactive.svg +0 -1
- data/assets/icons/panel-top-open.svg +0 -1
- data/assets/icons/panel-top.svg +0 -1
- data/assets/icons/parentheses.svg +0 -1
- data/assets/icons/parking-circle-off.svg +0 -1
- data/assets/icons/parking-circle.svg +0 -1
- data/assets/icons/parking-meter.svg +0 -1
- data/assets/icons/parking-square-off.svg +0 -1
- data/assets/icons/parking-square.svg +0 -1
- data/assets/icons/paw-print.svg +0 -1
- data/assets/icons/pc-case.svg +0 -1
- data/assets/icons/pen-line.svg +0 -1
- data/assets/icons/pen-square.svg +0 -1
- data/assets/icons/pen.svg +0 -1
- data/assets/icons/pencil-line.svg +0 -1
- data/assets/icons/pencil-ruler.svg +0 -1
- data/assets/icons/percent-circle.svg +0 -1
- data/assets/icons/percent-diamond.svg +0 -1
- data/assets/icons/percent-square.svg +0 -1
- data/assets/icons/pi-square.svg +0 -1
- data/assets/icons/pi.svg +0 -1
- data/assets/icons/pilcrow-square.svg +0 -1
- data/assets/icons/plane-landing.svg +0 -1
- data/assets/icons/plane-takeoff.svg +0 -1
- data/assets/icons/play-square.svg +0 -1
- data/assets/icons/plug-zap-2.svg +0 -1
- data/assets/icons/pocket-knife.svg +0 -1
- data/assets/icons/popcorn.svg +0 -1
- data/assets/icons/popsicle.svg +0 -1
- data/assets/icons/presentation.svg +0 -1
- data/assets/icons/projector.svg +0 -1
- data/assets/icons/rabbit.svg +0 -1
- data/assets/icons/radar.svg +0 -1
- data/assets/icons/radiation.svg +0 -1
- data/assets/icons/radio-tower.svg +0 -1
- data/assets/icons/rail-symbol.svg +0 -1
- data/assets/icons/rainbow.svg +0 -1
- data/assets/icons/rat.svg +0 -1
- data/assets/icons/ratio.svg +0 -1
- data/assets/icons/receipt.svg +0 -1
- data/assets/icons/redo-dot.svg +0 -1
- data/assets/icons/refresh-ccw-dot.svg +0 -1
- data/assets/icons/refresh-cw-off.svg +0 -1
- data/assets/icons/repeat-2.svg +0 -1
- data/assets/icons/replace-all.svg +0 -1
- data/assets/icons/replace.svg +0 -1
- data/assets/icons/roller-coaster.svg +0 -1
- data/assets/icons/rows.svg +0 -1
- data/assets/icons/satellite-dish.svg +0 -1
- data/assets/icons/satellite.svg +0 -1
- data/assets/icons/save-all.svg +0 -1
- data/assets/icons/scatter-chart.svg +0 -1
- data/assets/icons/school-2.svg +0 -1
- data/assets/icons/school.svg +0 -1
- data/assets/icons/scissors-line-dashed.svg +0 -1
- data/assets/icons/scissors-square-dashed-bottom.svg +0 -1
- data/assets/icons/scissors-square.svg +0 -1
- data/assets/icons/scroll-text.svg +0 -1
- data/assets/icons/search-check.svg +0 -1
- data/assets/icons/search-code.svg +0 -1
- data/assets/icons/search-slash.svg +0 -1
- data/assets/icons/search-x.svg +0 -1
- data/assets/icons/send-horizontal.svg +0 -1
- data/assets/icons/send-to-back.svg +0 -1
- data/assets/icons/shapes.svg +0 -1
- data/assets/icons/shell.svg +0 -1
- data/assets/icons/shield-ban.svg +0 -1
- data/assets/icons/shield-ellipsis.svg +0 -1
- data/assets/icons/shield-half.svg +0 -1
- data/assets/icons/shield-minus.svg +0 -1
- data/assets/icons/shield-plus.svg +0 -1
- data/assets/icons/shield-question.svg +0 -1
- data/assets/icons/shield-x.svg +0 -1
- data/assets/icons/ship-wheel.svg +0 -1
- data/assets/icons/shopping-basket.svg +0 -1
- data/assets/icons/sigma-square.svg +0 -1
- data/assets/icons/snail.svg +0 -1
- data/assets/icons/space.svg +0 -1
- data/assets/icons/spade.svg +0 -1
- data/assets/icons/sparkle.svg +0 -1
- data/assets/icons/sparkles.svg +0 -1
- data/assets/icons/speech.svg +0 -1
- data/assets/icons/spell-check-2.svg +0 -1
- data/assets/icons/spell-check.svg +0 -1
- data/assets/icons/split.svg +0 -1
- data/assets/icons/spray-can.svg +0 -1
- data/assets/icons/square-asterisk.svg +0 -1
- data/assets/icons/square-code.svg +0 -1
- data/assets/icons/square-dashed-bottom-code.svg +0 -1
- data/assets/icons/square-dashed-bottom.svg +0 -1
- data/assets/icons/square-dot.svg +0 -1
- data/assets/icons/square-equal.svg +0 -1
- data/assets/icons/square-slash.svg +0 -1
- data/assets/icons/square-stack.svg +0 -1
- data/assets/icons/squirrel.svg +0 -1
- data/assets/icons/step-back.svg +0 -1
- data/assets/icons/step-forward.svg +0 -1
- data/assets/icons/store.svg +0 -1
- data/assets/icons/table-properties.svg +0 -1
- data/assets/icons/tablet-smartphone.svg +0 -1
- data/assets/icons/tally-1.svg +0 -1
- data/assets/icons/tally-2.svg +0 -1
- data/assets/icons/tally-3.svg +0 -1
- data/assets/icons/tally-4.svg +0 -1
- data/assets/icons/tally-5.svg +0 -1
- data/assets/icons/test-tube-2.svg +0 -1
- data/assets/icons/test-tube.svg +0 -1
- data/assets/icons/test-tubes.svg +0 -1
- data/assets/icons/text-quote.svg +0 -1
- data/assets/icons/text-select.svg +0 -1
- data/assets/icons/text.svg +0 -1
- data/assets/icons/theater.svg +0 -1
- data/assets/icons/touchpad-off.svg +0 -1
- data/assets/icons/touchpad.svg +0 -1
- data/assets/icons/tractor.svg +0 -1
- data/assets/icons/traffic-cone.svg +0 -1
- data/assets/icons/train-front-tunnel.svg +0 -1
- data/assets/icons/train-front.svg +0 -1
- data/assets/icons/train-track.svg +0 -1
- data/assets/icons/tram-front.svg +0 -1
- data/assets/icons/triangle-right.svg +0 -1
- data/assets/icons/turtle.svg +0 -1
- data/assets/icons/undo-dot.svg +0 -1
- data/assets/icons/unfold-horizontal.svg +0 -1
- data/assets/icons/unfold-vertical.svg +0 -1
- data/assets/icons/ungroup.svg +0 -1
- data/assets/icons/unplug.svg +0 -1
- data/assets/icons/user-2.svg +0 -1
- data/assets/icons/user-check-2.svg +0 -1
- data/assets/icons/user-circle-2.svg +0 -1
- data/assets/icons/user-circle.svg +0 -1
- data/assets/icons/user-cog-2.svg +0 -1
- data/assets/icons/user-minus-2.svg +0 -1
- data/assets/icons/user-plus-2.svg +0 -1
- data/assets/icons/user-square-2.svg +0 -1
- data/assets/icons/user-square.svg +0 -1
- data/assets/icons/user-x-2.svg +0 -1
- data/assets/icons/users-2.svg +0 -1
- data/assets/icons/variable.svg +0 -1
- data/assets/icons/videotape.svg +0 -1
- data/assets/icons/wallet-2.svg +0 -1
- data/assets/icons/wallet-cards.svg +0 -1
- data/assets/icons/wallpaper.svg +0 -1
- data/assets/icons/warehouse.svg +0 -1
- data/assets/icons/whole-word.svg +0 -1
- data/assets/icons/workflow.svg +0 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
async function fetchHTML(url, selector) {
|
2
|
-
const response = await fetch(url || window.document.location);
|
1
|
+
async function fetchHTML(url, selector, options = {}) {
|
2
|
+
const response = await fetch(url || window.document.location, options);
|
3
3
|
const html = await response.text();
|
4
4
|
const doc = new DOMParser().parseFromString(html, "text/html");
|
5
5
|
return {
|
data/config/app.yml
CHANGED
@@ -25,6 +25,7 @@ shared:
|
|
25
25
|
preview_type_default: view_component
|
26
26
|
preview_sort_scenarios: false
|
27
27
|
preview_disable_error_handling: false
|
28
|
+
preview_single_pass_rendering: false
|
28
29
|
|
29
30
|
page_collection_label: "Pages"
|
30
31
|
page_nav_filter: false
|
@@ -50,6 +51,7 @@ shared:
|
|
50
51
|
component_paths: [app/views, app/components]
|
51
52
|
|
52
53
|
reload_on_change: ~
|
54
|
+
lazy_load_previews_and_pages: false
|
53
55
|
live_updates: false
|
54
56
|
listen_paths: []
|
55
57
|
listen_extensions: [rb, html.*]
|
@@ -67,7 +69,7 @@ shared:
|
|
67
69
|
links:
|
68
70
|
docs: https://v2.lookbook.build
|
69
71
|
demo: https://v2-demo.lookbook.build
|
70
|
-
repo: https://github.com/
|
72
|
+
repo: https://github.com/lookbook-hq/lookbook/tree/v2
|
71
73
|
|
72
74
|
development:
|
73
75
|
debug_menu: true
|
data/lib/lookbook/engine.rb
CHANGED
@@ -14,11 +14,11 @@ module Lookbook
|
|
14
14
|
)
|
15
15
|
end
|
16
16
|
|
17
|
-
initializer "lookbook.set_autoload_paths" do
|
17
|
+
initializer "lookbook.set_autoload_paths", before: :set_autoload_paths do |app|
|
18
18
|
if opts.autoload_previews && opts.preview_paths.any?
|
19
|
-
paths_to_add = opts.preview_paths -
|
19
|
+
paths_to_add = opts.preview_paths - app.config.autoload_paths
|
20
20
|
filtered_paths = paths_to_add.filter { |p| !Engine.component_paths.include?(p) }
|
21
|
-
|
21
|
+
app.config.autoload_paths.concat(filtered_paths) if filtered_paths.any?
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -71,10 +71,12 @@ module Lookbook
|
|
71
71
|
if Engine.reloading?
|
72
72
|
reloaders.add(:previews, Engine.preview_watch_paths, opts.listen_extensions, &Engine.method(:load_previews))
|
73
73
|
reloaders.add(:pages, Engine.page_watch_paths, opts.page_extensions, &Engine.method(:load_pages))
|
74
|
-
reloaders.execute
|
74
|
+
reloaders.execute unless opts.lazy_load_previews_and_pages
|
75
75
|
else
|
76
|
-
|
77
|
-
|
76
|
+
unless opts.lazy_load_previews_and_pages
|
77
|
+
Engine.load_previews
|
78
|
+
Engine.load_pages
|
79
|
+
end
|
78
80
|
end
|
79
81
|
|
80
82
|
Engine.run_hooks(:after_initialize)
|
@@ -196,10 +198,34 @@ module Lookbook
|
|
196
198
|
|
197
199
|
def pages
|
198
200
|
@_pages ||= PageCollection.new
|
201
|
+
|
202
|
+
if opts.lazy_load_previews_and_pages && !@_loaded_pages
|
203
|
+
@_loaded_pages = true
|
204
|
+
|
205
|
+
if reloading?
|
206
|
+
reloaders.execute(:pages)
|
207
|
+
else
|
208
|
+
load_pages
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
@_pages
|
199
213
|
end
|
200
214
|
|
201
215
|
def previews
|
202
216
|
@_previews ||= PreviewCollection.new
|
217
|
+
|
218
|
+
if opts.lazy_load_previews_and_pages && !@_loaded_previews
|
219
|
+
@_loaded_previews = true
|
220
|
+
|
221
|
+
if reloading?
|
222
|
+
reloaders.execute(:previews)
|
223
|
+
else
|
224
|
+
load_previews
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
@_previews
|
203
229
|
end
|
204
230
|
|
205
231
|
def preview_controller
|
@@ -16,8 +16,13 @@ module Lookbook
|
|
16
16
|
@render_args = @preview.render_args(@scenario_name, params: params.permit!)
|
17
17
|
template = @render_args[:template]
|
18
18
|
locals = @render_args[:locals]
|
19
|
-
|
20
|
-
opts
|
19
|
+
|
20
|
+
opts = if Lookbook.config.preview_single_pass_rendering && !scenario.group.present?
|
21
|
+
determine_layout(preview.layout)
|
22
|
+
else
|
23
|
+
{layout: nil}
|
24
|
+
end
|
25
|
+
|
21
26
|
opts[:assigns] = @render_args[:assigns] || {}
|
22
27
|
opts[:locals] = locals if locals.present?
|
23
28
|
|
data/lib/lookbook/reloaders.rb
CHANGED
@@ -16,10 +16,14 @@ module Lookbook
|
|
16
16
|
Rails.application.reloaders << reloader
|
17
17
|
Rails.application.reloader.to_run { reloader.execute_if_updated }
|
18
18
|
end
|
19
|
+
|
20
|
+
reloader
|
19
21
|
end
|
20
22
|
|
21
|
-
def execute
|
22
|
-
reloaders.each
|
23
|
+
def execute(name = nil)
|
24
|
+
reloaders.each do |reloader|
|
25
|
+
reloader.execute if name.nil? || name == reloader.name
|
26
|
+
end
|
23
27
|
end
|
24
28
|
|
25
29
|
def register_changes(changes)
|
data/lib/lookbook/version.rb
CHANGED
@@ -41,12 +41,13 @@
|
|
41
41
|
--tw-content: "";
|
42
42
|
}
|
43
43
|
|
44
|
-
html {
|
44
|
+
html, :host {
|
45
45
|
-webkit-text-size-adjust: 100%;
|
46
46
|
tab-size: 4;
|
47
47
|
font-feature-settings: normal;
|
48
48
|
font-variation-settings: normal;
|
49
|
-
|
49
|
+
-webkit-tap-highlight-color: transparent;
|
50
|
+
font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
50
51
|
line-height: 1.5;
|
51
52
|
}
|
52
53
|
|
@@ -56,13 +57,12 @@ body {
|
|
56
57
|
}
|
57
58
|
|
58
59
|
hr {
|
60
|
+
height: 0;
|
59
61
|
color: inherit;
|
60
62
|
border-top-width: 1px;
|
61
|
-
height: 0;
|
62
63
|
}
|
63
64
|
|
64
65
|
abbr:where([title]) {
|
65
|
-
-webkit-text-decoration: underline dotted;
|
66
66
|
text-decoration: underline dotted;
|
67
67
|
}
|
68
68
|
|
@@ -73,7 +73,6 @@ h1, h2, h3, h4, h5, h6 {
|
|
73
73
|
|
74
74
|
a {
|
75
75
|
color: inherit;
|
76
|
-
-webkit-text-decoration: inherit;
|
77
76
|
text-decoration: inherit;
|
78
77
|
}
|
79
78
|
|
@@ -82,6 +81,8 @@ b, strong {
|
|
82
81
|
}
|
83
82
|
|
84
83
|
code, kbd, samp, pre {
|
84
|
+
font-feature-settings: normal;
|
85
|
+
font-variation-settings: normal;
|
85
86
|
font-family: Source Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
86
87
|
font-size: 1em;
|
87
88
|
}
|
@@ -118,6 +119,7 @@ button, input, optgroup, select, textarea {
|
|
118
119
|
font-size: 100%;
|
119
120
|
font-weight: inherit;
|
120
121
|
line-height: inherit;
|
122
|
+
letter-spacing: inherit;
|
121
123
|
color: inherit;
|
122
124
|
margin: 0;
|
123
125
|
padding: 0;
|
@@ -127,7 +129,7 @@ button, select {
|
|
127
129
|
text-transform: none;
|
128
130
|
}
|
129
131
|
|
130
|
-
button, [type="button"], [type="reset"], [type="submit"] {
|
132
|
+
button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
|
131
133
|
-webkit-appearance: button;
|
132
134
|
background-color: #0000;
|
133
135
|
background-image: none;
|
@@ -260,8 +262,8 @@ input::placeholder, textarea::placeholder {
|
|
260
262
|
}
|
261
263
|
|
262
264
|
::-webkit-date-and-time-value {
|
263
|
-
text-align: inherit;
|
264
265
|
min-height: 1.5em;
|
266
|
+
text-align: inherit;
|
265
267
|
}
|
266
268
|
|
267
269
|
::-webkit-datetime-edit {
|
@@ -335,7 +337,6 @@ select {
|
|
335
337
|
appearance: none;
|
336
338
|
print-color-adjust: exact;
|
337
339
|
vertical-align: middle;
|
338
|
-
-webkit-user-select: none;
|
339
340
|
user-select: none;
|
340
341
|
color: #2563eb;
|
341
342
|
--tw-shadow: 0 0 #0000;
|
@@ -416,7 +417,7 @@ select {
|
|
416
417
|
}
|
417
418
|
|
418
419
|
[type="file"]:focus {
|
419
|
-
outline: 1px solid
|
420
|
+
outline: 1px solid buttontext;
|
420
421
|
outline: 1px auto -webkit-focus-ring-color;
|
421
422
|
}
|
422
423
|
|
@@ -433,9 +434,9 @@ html {
|
|
433
434
|
}
|
434
435
|
|
435
436
|
body {
|
436
|
-
color: var(--lookbook-text);
|
437
437
|
width: 100vw;
|
438
|
-
|
438
|
+
color: var(--lookbook-text);
|
439
|
+
font-family: Inter var, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
439
440
|
font-size: .875rem;
|
440
441
|
line-height: 1.25rem;
|
441
442
|
overflow: hidden;
|
@@ -520,6 +521,10 @@ pre[class*="language-"] {
|
|
520
521
|
--tw-backdrop-opacity: ;
|
521
522
|
--tw-backdrop-saturate: ;
|
522
523
|
--tw-backdrop-sepia: ;
|
524
|
+
--tw-contain-size: ;
|
525
|
+
--tw-contain-layout: ;
|
526
|
+
--tw-contain-paint: ;
|
527
|
+
--tw-contain-style: ;
|
523
528
|
}
|
524
529
|
|
525
530
|
.form-input, .form-textarea, .form-select, .form-multiselect {
|
@@ -557,8 +562,8 @@ pre[class*="language-"] {
|
|
557
562
|
}
|
558
563
|
|
559
564
|
.form-input::-webkit-date-and-time-value {
|
560
|
-
text-align: inherit;
|
561
565
|
min-height: 1.5em;
|
566
|
+
text-align: inherit;
|
562
567
|
}
|
563
568
|
|
564
569
|
.form-input::-webkit-datetime-edit {
|
@@ -881,7 +886,6 @@ pre[class*="language-"] {
|
|
881
886
|
|
882
887
|
.prose :where(table):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
883
888
|
table-layout: auto;
|
884
|
-
text-align: start;
|
885
889
|
width: 100%;
|
886
890
|
margin-top: 2em;
|
887
891
|
margin-bottom: 2em;
|
@@ -925,6 +929,10 @@ pre[class*="language-"] {
|
|
925
929
|
vertical-align: top;
|
926
930
|
}
|
927
931
|
|
932
|
+
.prose :where(th, td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
933
|
+
text-align: start;
|
934
|
+
}
|
935
|
+
|
928
936
|
.prose :where(figure > *):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
929
937
|
margin-top: 0;
|
930
938
|
margin-bottom: 0;
|
@@ -997,19 +1005,19 @@ pre[class*="language-"] {
|
|
997
1005
|
margin-bottom: .75em;
|
998
1006
|
}
|
999
1007
|
|
1000
|
-
.prose :where(.prose > ul > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1008
|
+
.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1001
1009
|
margin-top: 1.25em;
|
1002
1010
|
}
|
1003
1011
|
|
1004
|
-
.prose :where(.prose > ul > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1012
|
+
.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1005
1013
|
margin-bottom: 1.25em;
|
1006
1014
|
}
|
1007
1015
|
|
1008
|
-
.prose :where(.prose > ol > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1016
|
+
.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1009
1017
|
margin-top: 1.25em;
|
1010
1018
|
}
|
1011
1019
|
|
1012
|
-
.prose :where(.prose > ol > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1020
|
+
.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1013
1021
|
margin-bottom: 1.25em;
|
1014
1022
|
}
|
1015
1023
|
|
@@ -1186,19 +1194,19 @@ pre[class*="language-"] {
|
|
1186
1194
|
margin-bottom: .571429em;
|
1187
1195
|
}
|
1188
1196
|
|
1189
|
-
.prose-sm :where(.prose-sm > ul > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1197
|
+
.prose-sm :where(.prose-sm > ul > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1190
1198
|
margin-top: 1.14286em;
|
1191
1199
|
}
|
1192
1200
|
|
1193
|
-
.prose-sm :where(.prose-sm > ul > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1201
|
+
.prose-sm :where(.prose-sm > ul > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1194
1202
|
margin-bottom: 1.14286em;
|
1195
1203
|
}
|
1196
1204
|
|
1197
|
-
.prose-sm :where(.prose-sm > ol > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1205
|
+
.prose-sm :where(.prose-sm > ol > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1198
1206
|
margin-top: 1.14286em;
|
1199
1207
|
}
|
1200
1208
|
|
1201
|
-
.prose-sm :where(.prose-sm > ol > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1209
|
+
.prose-sm :where(.prose-sm > ol > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1202
1210
|
margin-bottom: 1.14286em;
|
1203
1211
|
}
|
1204
1212
|
|
@@ -1406,19 +1414,19 @@ pre[class*="language-"] {
|
|
1406
1414
|
margin-bottom: .888889em;
|
1407
1415
|
}
|
1408
1416
|
|
1409
|
-
.prose-lg :where(.prose-lg > ul > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1417
|
+
.prose-lg :where(.prose-lg > ul > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1410
1418
|
margin-top: 1.33333em;
|
1411
1419
|
}
|
1412
1420
|
|
1413
|
-
.prose-lg :where(.prose-lg > ul > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1421
|
+
.prose-lg :where(.prose-lg > ul > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1414
1422
|
margin-bottom: 1.33333em;
|
1415
1423
|
}
|
1416
1424
|
|
1417
|
-
.prose-lg :where(.prose-lg > ol > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1425
|
+
.prose-lg :where(.prose-lg > ol > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1418
1426
|
margin-top: 1.33333em;
|
1419
1427
|
}
|
1420
1428
|
|
1421
|
-
.prose-lg :where(.prose-lg > ol > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1429
|
+
.prose-lg :where(.prose-lg > ol > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
1422
1430
|
margin-bottom: 1.33333em;
|
1423
1431
|
}
|
1424
1432
|
|
@@ -1541,7 +1549,6 @@ pre[class*="language-"] {
|
|
1541
1549
|
|
1542
1550
|
[data-component="code"].numbered .line-numbers {
|
1543
1551
|
z-index: 10;
|
1544
|
-
-webkit-user-select: none;
|
1545
1552
|
user-select: none;
|
1546
1553
|
text-align: right;
|
1547
1554
|
border-style: dashed;
|
@@ -1621,7 +1628,7 @@ pre[class*="language-"] {
|
|
1621
1628
|
[data-component="icon"] {
|
1622
1629
|
flex: none;
|
1623
1630
|
line-height: 1;
|
1624
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
1631
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
1625
1632
|
transition-duration: .15s;
|
1626
1633
|
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
1627
1634
|
display: block;
|
@@ -1655,10 +1662,10 @@ pre[class*="language-"] {
|
|
1655
1662
|
background-color: var(--lookbook-message-bg);
|
1656
1663
|
--tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
1657
1664
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
1665
|
+
width: 100%;
|
1658
1666
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1659
1667
|
border-radius: .25rem;
|
1660
1668
|
gap: 1.5rem;
|
1661
|
-
width: 100%;
|
1662
1669
|
padding: 1rem;
|
1663
1670
|
display: flex;
|
1664
1671
|
}
|
@@ -1719,14 +1726,13 @@ pre[class*="language-"] {
|
|
1719
1726
|
|
1720
1727
|
[data-component="nav"] .nav-action {
|
1721
1728
|
cursor: pointer;
|
1722
|
-
-webkit-user-select: none;
|
1723
1729
|
user-select: none;
|
1730
|
+
width: 100%;
|
1724
1731
|
color: var(--lookbook-nav-text);
|
1725
1732
|
align-items: center;
|
1726
|
-
width: 100%;
|
1727
1733
|
padding-top: .25rem;
|
1728
1734
|
padding-bottom: .25rem;
|
1729
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
1735
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
1730
1736
|
transition-duration: .15s;
|
1731
1737
|
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
1732
1738
|
display: flex;
|
@@ -1902,10 +1908,9 @@ pre[class*="language-"] {
|
|
1902
1908
|
|
1903
1909
|
[data-component="viewport"] .resize-handle {
|
1904
1910
|
touch-action: none;
|
1905
|
-
-webkit-user-select: none;
|
1906
1911
|
user-select: none;
|
1907
1912
|
color: var(--lookbook-viewport-handle-icon-stroke);
|
1908
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
1913
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
1909
1914
|
transition-duration: .15s;
|
1910
1915
|
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
1911
1916
|
}
|
@@ -2337,6 +2342,10 @@ select.compact {
|
|
2337
2342
|
height: 100%;
|
2338
2343
|
}
|
2339
2344
|
|
2345
|
+
.h-max {
|
2346
|
+
height: max-content;
|
2347
|
+
}
|
2348
|
+
|
2340
2349
|
.h-screen {
|
2341
2350
|
height: 100vh;
|
2342
2351
|
}
|
@@ -2353,6 +2362,10 @@ select.compact {
|
|
2353
2362
|
min-height: calc(100vh - 400px);
|
2354
2363
|
}
|
2355
2364
|
|
2365
|
+
.min-h-full {
|
2366
|
+
min-height: 100%;
|
2367
|
+
}
|
2368
|
+
|
2356
2369
|
.w-11 {
|
2357
2370
|
width: 2.75rem;
|
2358
2371
|
}
|
@@ -2518,7 +2531,6 @@ select.compact {
|
|
2518
2531
|
}
|
2519
2532
|
|
2520
2533
|
.select-none {
|
2521
|
-
-webkit-user-select: none;
|
2522
2534
|
user-select: none;
|
2523
2535
|
}
|
2524
2536
|
|
@@ -3075,7 +3087,7 @@ select.compact {
|
|
3075
3087
|
}
|
3076
3088
|
|
3077
3089
|
.font-ui {
|
3078
|
-
font-family: Inter var, ui-sans-serif, system-ui,
|
3090
|
+
font-family: Inter var, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
3079
3091
|
}
|
3080
3092
|
|
3081
3093
|
.text-\[11px\] {
|
@@ -3234,7 +3246,6 @@ select.compact {
|
|
3234
3246
|
}
|
3235
3247
|
|
3236
3248
|
.decoration-lookbook-viewport-handle-icon-stroke-hover {
|
3237
|
-
-webkit-text-decoration-color: var(--lookbook-viewport-handle-icon-stroke-hover);
|
3238
3249
|
text-decoration-color: var(--lookbook-viewport-handle-icon-stroke-hover);
|
3239
3250
|
}
|
3240
3251
|
|
@@ -3333,7 +3344,7 @@ select.compact {
|
|
3333
3344
|
}
|
3334
3345
|
|
3335
3346
|
.transition {
|
3336
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
3347
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
3337
3348
|
transition-duration: .15s;
|
3338
3349
|
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
3339
3350
|
}
|
@@ -4100,19 +4111,19 @@ select.compact {
|
|
4100
4111
|
margin-bottom: .75em;
|
4101
4112
|
}
|
4102
4113
|
|
4103
|
-
.lg\:prose-base :where(.lg\:prose-base > ul > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4114
|
+
.lg\:prose-base :where(.lg\:prose-base > ul > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4104
4115
|
margin-top: 1.25em;
|
4105
4116
|
}
|
4106
4117
|
|
4107
|
-
.lg\:prose-base :where(.lg\:prose-base > ul > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4118
|
+
.lg\:prose-base :where(.lg\:prose-base > ul > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4108
4119
|
margin-bottom: 1.25em;
|
4109
4120
|
}
|
4110
4121
|
|
4111
|
-
.lg\:prose-base :where(.lg\:prose-base > ol > li > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4122
|
+
.lg\:prose-base :where(.lg\:prose-base > ol > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4112
4123
|
margin-top: 1.25em;
|
4113
4124
|
}
|
4114
4125
|
|
4115
|
-
.lg\:prose-base :where(.lg\:prose-base > ol > li > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4126
|
+
.lg\:prose-base :where(.lg\:prose-base > ol > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
4116
4127
|
margin-bottom: 1.25em;
|
4117
4128
|
}
|
4118
4129
|
|
@@ -4367,5 +4378,4 @@ select.compact {
|
|
4367
4378
|
padding-top: 3rem;
|
4368
4379
|
}
|
4369
4380
|
}
|
4370
|
-
|
4371
4381
|
/*# sourceMappingURL=lookbook.css.map */
|
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"AAAA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;AAQA;;;;;;;;AAiBA;;;;;AASA;;;;AAcA;;;;;;;;;AAeA;;;;;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;EAKA;;;;;EAKA;;;;EAIA;;;;;EAKA;;;;;EAKA;;;;EAgBA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;EAIA;;;;;;;EAOA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;;AAKF;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;;AAMA;;;;;;AAMA;;;;AAIA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;EAEE;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;;AAMF;EAEE;;;;;AAKF;EAEE;;;;EAIA;;;;EAIA;;;;;;EAMA;;;;EAIA;;;;;EAKA;;;;;AAKF;EAEE;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA","sources":["assets/css/lookbook.css"],"sourcesContent":["@import \"./fonts.css\";\n@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n@import \"./tooltip.css\";\n\n@import-glob \"../../app/components/lookbook/**/*/component.css\";\n\n@layer base {\n html {\n @apply scroll-smooth h-screen w-screen;\n }\n\n @media screen and (prefers-reduced-motion: reduce) {\n html {\n @apply scroll-auto;\n }\n }\n\n body {\n @apply text-lookbook-text font-ui text-sm overflow-hidden w-screen;\n }\n\n [x-cloak] {\n @apply !hidden;\n }\n\n pre[class*=\"language-\"] {\n @apply !p-0 !m-0;\n }\n\n ::-webkit-scrollbar {\n @apply w-1 h-1;\n }\n\n ::-webkit-scrollbar-track {\n @apply bg-transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n @apply transition-colors rounded-full\tbg-clip-content bg-lookbook-scrollbar;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n @apply bg-lookbook-scrollbar-hover;\n }\n}\n\n@layer utilities {\n .bg-checked {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23f3f3f3' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E\");\n }\n}\n\n@layer components {\n [type=\"text\"],\n [type=\"email\"],\n [type=\"url\"],\n [type=\"password\"],\n [type=\"number\"],\n [type=\"date\"],\n [type=\"datetime-local\"],\n [type=\"month\"],\n [type=\"search\"],\n [type=\"tel\"],\n [type=\"time\"],\n [type=\"week\"],\n textarea,\n select {\n @apply text-lookbook-input-text placeholder:text-lookbook-input-text-placeholder placeholder:italic;\n @apply border-lookbook-input-border focus:ring-lookbook-input-border-focus focus:border-lookbook-input-border-focus;\n @apply rounded-md text-sm w-full bg-lookbook-input-bg block;\n }\n\n input[type=\"range\"] {\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n cursor: pointer;\n width: 100%;\n }\n\n input[type=\"range\"]:focus {\n outline: none;\n }\n\n input[type=\"range\"]::-webkit-slider-runnable-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n @apply bg-lookbook-input-toggle-active;\n margin-top: -4px;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]::-moz-range-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-moz-range-thumb {\n @apply bg-lookbook-input-toggle-active;\n border: none;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]:focus::-webkit-slider-thumb,\n input[type=\"range\"]:focus::-moz-range-thumb {\n @apply outline-1 outline-lookbook-input-toggle-active outline-offset-2;\n }\n\n input[type=\"color\"] {\n -webkit-appearance: none;\n width: 46px;\n @apply border border-lookbook-input-border rounded-lg cursor-pointer;\n }\n\n input[type=\"color\"]::-webkit-color-swatch-wrapper {\n padding: 0;\n }\n\n input[type=\"color\"]::-webkit-color-swatch {\n @apply border-0 rounded-lg;\n }\n\n select.compact {\n font-size: 0.8rem;\n line-height: 1.1rem;\n border-radius: 0.375rem;\n padding: 0.26rem 1.5rem 0.26rem 0.6rem;\n background-size: 1.2em 1.2em;\n background-position: right 0.4rem center;\n }\n\n #inspector .split-layout-gutter-horizontal {\n top: 4px;\n }\n}\n"],"names":[],"version":3,"file":"lookbook.css.map"}
|
1
|
+
{"mappings":"AAAA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;AAQA;;;;;;;;AAiBA;;;;;AASA;;;;AAeA;;;;;;;;;;AAiBA;;;;;AAWA;;;;;;AAUA;;;;AAQA;;;;;AAcA;;;;;AASA;;;;AAYA;;;;;;;AAcA;;;;AAQA;;;;;;;AAQA;;;;AAIA;;;;AAUA;;;;;;AAYA;;;;;;;;;;;;;AAqBA;;;;AAUA;;;;;;AAaA;;;;AAQA;;;;AAQA;;;;AAQA;;;;AAAA;;;;AAUA;;;;;AASA;;;;AASA;;;;;AASA;;;;AAQA;;;;AAgBA;;;;;AAKA;;;;AAIA;;;;;;AAYA;;;;AAQA;;;;AASA;;;;;AAUA;;;;AASA;;;;AAUA;;;;;AAgBA;;;;;AAQA;;;;AAIA;;;;;;;;;;;;AAeA;;;;;;;;;;;;;AAaA;;;;;AAKA;;;;AAIA;;;;;AAKA;;;;AAIA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAKA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;;;;;;;;;;AAkBA;;;;AAIA;;;;AAIA;;;;;;;;;;;;AAYA;;;;;;;;AAQA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;;;;;AASA;;;;;AAKA;;;;;;;;;;AAUA;;;;;AAKA;;;;;;AAMA;EACI;;;;;AAKJ;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AMA;;;;;AAOA;;;;;AAOA;;;;AAMA;;;;AAMA;;;;AAYA;;;;AAMA;;;;AAMA;;;;;AAOA;;;;AAMA;;;;AAwBA;;;;AA0CA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAMA;;;;AAkBA;;;;AAQA;;;;;AAOA;;;;AAUA;EAEE;;;;;EAKA;;;;;EAKA;;;;;;;EAOA;;;;;;EAMA;;;;;;;EAOA;;;;;;;EAOA;;;;;;;EAOA;;;;;;EAMA;;;;;EAUA;;;;;EAKA;;;;;EAKA;;;;;;;;;EASA;;;;EAQA;;;;EAIA;;;;;;;;;;;;EAYA;;;;;;EAYA;;;;;EAKA;;;;EAQA;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;;EAKA;;;;EAIA;;;;;EAKA;;;;;EAKA;;;;EAgBA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;EAIA;;;;;;;EAOA;;;;EAIA;;;;EAIA;;;;;EAKA;;;;;EAKA;;;;;;EAMA;;;;EAIA;;;;;AAKF;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;;AAMA;;;;;;AAMA;;;;AAIA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;EAEE;;;;;EAKA;;;;EAIA;;;;EAIA;;;;EAIA;;;;;;AAMF;EAEE;;;;;AAKF;EAEE;;;;EAIA;;;;EAIA;;;;;;EAMA;;;;EAIA;;;;;EAKA;;;;;AAKF;EAEE;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA;;;;EAIA","sources":["assets/css/lookbook.css"],"sourcesContent":["@import \"./fonts.css\";\n@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n@import \"./tooltip.css\";\n\n@import-glob \"../../app/components/lookbook/**/*/component.css\";\n\n@layer base {\n html {\n @apply scroll-smooth h-screen w-screen;\n }\n\n @media screen and (prefers-reduced-motion: reduce) {\n html {\n @apply scroll-auto;\n }\n }\n\n body {\n @apply text-lookbook-text font-ui text-sm overflow-hidden w-screen;\n }\n\n [x-cloak] {\n @apply !hidden;\n }\n\n pre[class*=\"language-\"] {\n @apply !p-0 !m-0;\n }\n\n ::-webkit-scrollbar {\n @apply w-1 h-1;\n }\n\n ::-webkit-scrollbar-track {\n @apply bg-transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n @apply transition-colors rounded-full\tbg-clip-content bg-lookbook-scrollbar;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n @apply bg-lookbook-scrollbar-hover;\n }\n}\n\n@layer utilities {\n .bg-checked {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23f3f3f3' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E\");\n }\n}\n\n@layer components {\n [type=\"text\"],\n [type=\"email\"],\n [type=\"url\"],\n [type=\"password\"],\n [type=\"number\"],\n [type=\"date\"],\n [type=\"datetime-local\"],\n [type=\"month\"],\n [type=\"search\"],\n [type=\"tel\"],\n [type=\"time\"],\n [type=\"week\"],\n textarea,\n select {\n @apply text-lookbook-input-text placeholder:text-lookbook-input-text-placeholder placeholder:italic;\n @apply border-lookbook-input-border focus:ring-lookbook-input-border-focus focus:border-lookbook-input-border-focus;\n @apply rounded-md text-sm w-full bg-lookbook-input-bg block;\n }\n\n input[type=\"range\"] {\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n cursor: pointer;\n width: 100%;\n }\n\n input[type=\"range\"]:focus {\n outline: none;\n }\n\n input[type=\"range\"]::-webkit-slider-runnable-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n @apply bg-lookbook-input-toggle-active;\n margin-top: -4px;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]::-moz-range-track {\n @apply bg-lookbook-input-toggle;\n border-radius: 0.5rem;\n height: 0.5rem;\n }\n\n input[type=\"range\"]::-moz-range-thumb {\n @apply bg-lookbook-input-toggle-active;\n border: none;\n border-radius: 0.5rem;\n height: 1rem;\n width: 1rem;\n }\n\n input[type=\"range\"]:focus::-webkit-slider-thumb,\n input[type=\"range\"]:focus::-moz-range-thumb {\n @apply outline-1 outline-lookbook-input-toggle-active outline-offset-2;\n }\n\n input[type=\"color\"] {\n -webkit-appearance: none;\n width: 46px;\n @apply border border-lookbook-input-border rounded-lg cursor-pointer;\n }\n\n input[type=\"color\"]::-webkit-color-swatch-wrapper {\n padding: 0;\n }\n\n input[type=\"color\"]::-webkit-color-swatch {\n @apply border-0 rounded-lg;\n }\n\n select.compact {\n font-size: 0.8rem;\n line-height: 1.1rem;\n border-radius: 0.375rem;\n padding: 0.26rem 1.5rem 0.26rem 0.6rem;\n background-size: 1.2em 1.2em;\n background-position: right 0.4rem center;\n }\n\n #inspector .split-layout-gutter-horizontal {\n top: 4px;\n }\n}\n"],"names":[],"version":3,"file":"lookbook.css.map"}
|