@oneonefour/rkui 0.0.0-stage → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +67 -2
- package/THIRD_PARTY_NOTICES.md +60 -0
- package/astro/index.d.ts +14 -0
- package/astro/index.js +153 -0
- package/dist/colors.d.ts +74 -0
- package/dist/colors.js +263 -0
- package/dist/fonts/jetbrains-mono/OFL.txt +93 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-greek.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-italic-greek.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-italic-latin.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-italic-symbols.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-latin.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-symbols.woff2 +0 -0
- package/dist/fonts/roboto-slab/LICENSE.txt +202 -0
- package/dist/fonts/roboto-slab/roboto-slab-greek.woff2 +0 -0
- package/dist/fonts/roboto-slab/roboto-slab-latin.woff2 +0 -0
- package/dist/fonts/roboto-slab/roboto-slab-symbols.woff2 +0 -0
- package/dist/fonts/xmind/OFL.txt +93 -0
- package/dist/fonts/xmind/xmind-greek.woff2 +0 -0
- package/dist/fonts/xmind/xmind-italic-greek.woff2 +0 -0
- package/dist/fonts/xmind/xmind-italic-latin.woff2 +0 -0
- package/dist/fonts/xmind/xmind-italic-symbols.woff2 +0 -0
- package/dist/fonts/xmind/xmind-latin.woff2 +0 -0
- package/dist/fonts/xmind/xmind-symbols.woff2 +0 -0
- package/dist/icons/LICENSE-phosphor.txt +21 -0
- package/dist/icons/LICENSE-tabler.txt +21 -0
- package/dist/icons/acorn.svg +1 -0
- package/dist/icons/acorn.vue +1 -0
- package/dist/icons/air-traffic-control.svg +1 -0
- package/dist/icons/air-traffic-control.vue +1 -0
- package/dist/icons/airplane-in-flight.svg +1 -0
- package/dist/icons/airplane-in-flight.vue +1 -0
- package/dist/icons/airplane-landing.svg +1 -0
- package/dist/icons/airplane-landing.vue +1 -0
- package/dist/icons/airplane-takeoff.svg +1 -0
- package/dist/icons/airplane-takeoff.vue +1 -0
- package/dist/icons/airplane-taxiing.svg +1 -0
- package/dist/icons/airplane-taxiing.vue +1 -0
- package/dist/icons/airplane-tilt.svg +1 -0
- package/dist/icons/airplane-tilt.vue +1 -0
- package/dist/icons/airplane.svg +1 -0
- package/dist/icons/airplane.vue +1 -0
- package/dist/icons/ambulance.svg +1 -0
- package/dist/icons/ambulance.vue +1 -0
- package/dist/icons/anchor-simple.svg +1 -0
- package/dist/icons/anchor-simple.vue +1 -0
- package/dist/icons/anchor.svg +1 -0
- package/dist/icons/anchor.vue +1 -0
- package/dist/icons/angle.svg +1 -0
- package/dist/icons/angle.vue +1 -0
- package/dist/icons/aperture.svg +1 -0
- package/dist/icons/aperture.vue +1 -0
- package/dist/icons/app-window.svg +1 -0
- package/dist/icons/app-window.vue +1 -0
- package/dist/icons/approximate-equals.svg +1 -0
- package/dist/icons/approximate-equals.vue +1 -0
- package/dist/icons/arrow-counter-clockwise.svg +1 -0
- package/dist/icons/arrow-counter-clockwise.vue +1 -0
- package/dist/icons/arrow-left.svg +1 -0
- package/dist/icons/arrow-left.vue +1 -0
- package/dist/icons/arrow-right.svg +1 -0
- package/dist/icons/arrow-right.vue +1 -0
- package/dist/icons/arrow-square-out.svg +1 -0
- package/dist/icons/arrow-square-out.vue +1 -0
- package/dist/icons/arrow-up.svg +1 -0
- package/dist/icons/arrow-up.vue +1 -0
- package/dist/icons/arrows-out.svg +1 -0
- package/dist/icons/arrows-out.vue +1 -0
- package/dist/icons/atom.svg +1 -0
- package/dist/icons/atom.vue +1 -0
- package/dist/icons/bank.svg +1 -0
- package/dist/icons/bank.vue +1 -0
- package/dist/icons/barn.svg +1 -0
- package/dist/icons/barn.vue +1 -0
- package/dist/icons/barricade.svg +1 -0
- package/dist/icons/barricade.vue +1 -0
- package/dist/icons/battery-charging.svg +1 -0
- package/dist/icons/battery-charging.vue +1 -0
- package/dist/icons/bezier-curve.svg +1 -0
- package/dist/icons/bezier-curve.vue +1 -0
- package/dist/icons/bicycle.svg +1 -0
- package/dist/icons/bicycle.vue +1 -0
- package/dist/icons/binary.svg +1 -0
- package/dist/icons/binary.vue +1 -0
- package/dist/icons/binoculars.svg +1 -0
- package/dist/icons/binoculars.vue +1 -0
- package/dist/icons/biohazard.svg +1 -0
- package/dist/icons/biohazard.vue +1 -0
- package/dist/icons/bird.svg +1 -0
- package/dist/icons/bird.vue +1 -0
- package/dist/icons/blueprint.svg +1 -0
- package/dist/icons/blueprint.vue +1 -0
- package/dist/icons/boat.svg +1 -0
- package/dist/icons/boat.vue +1 -0
- package/dist/icons/book-open-text.svg +1 -0
- package/dist/icons/book-open-text.vue +1 -0
- package/dist/icons/bounding-box.svg +1 -0
- package/dist/icons/bounding-box.vue +1 -0
- package/dist/icons/brackets-angle.svg +1 -0
- package/dist/icons/brackets-angle.vue +1 -0
- package/dist/icons/brackets-curly.svg +1 -0
- package/dist/icons/brackets-curly.vue +1 -0
- package/dist/icons/brackets-round.svg +1 -0
- package/dist/icons/brackets-round.vue +1 -0
- package/dist/icons/brackets-square.svg +1 -0
- package/dist/icons/brackets-square.vue +1 -0
- package/dist/icons/brain.svg +1 -0
- package/dist/icons/brain.vue +1 -0
- package/dist/icons/bridge.svg +1 -0
- package/dist/icons/bridge.vue +1 -0
- package/dist/icons/briefcase.svg +1 -0
- package/dist/icons/briefcase.vue +1 -0
- package/dist/icons/browser.svg +1 -0
- package/dist/icons/browser.vue +1 -0
- package/dist/icons/bug-beetle.svg +1 -0
- package/dist/icons/bug-beetle.vue +1 -0
- package/dist/icons/bug.svg +1 -0
- package/dist/icons/bug.vue +1 -0
- package/dist/icons/building-apartment.svg +1 -0
- package/dist/icons/building-apartment.vue +1 -0
- package/dist/icons/building-office.svg +1 -0
- package/dist/icons/building-office.vue +1 -0
- package/dist/icons/building.svg +1 -0
- package/dist/icons/building.vue +1 -0
- package/dist/icons/buildings.svg +1 -0
- package/dist/icons/buildings.vue +1 -0
- package/dist/icons/bulldozer.svg +1 -0
- package/dist/icons/bulldozer.vue +1 -0
- package/dist/icons/bus.svg +1 -0
- package/dist/icons/bus.vue +1 -0
- package/dist/icons/butterfly.svg +1 -0
- package/dist/icons/butterfly.vue +1 -0
- package/dist/icons/cable-car.svg +1 -0
- package/dist/icons/cable-car.vue +1 -0
- package/dist/icons/cactus.svg +1 -0
- package/dist/icons/cactus.vue +1 -0
- package/dist/icons/calculator.svg +1 -0
- package/dist/icons/calculator.vue +1 -0
- package/dist/icons/calendar-blank.svg +1 -0
- package/dist/icons/calendar-blank.vue +1 -0
- package/dist/icons/camera.svg +1 -0
- package/dist/icons/camera.vue +1 -0
- package/dist/icons/campfire.svg +1 -0
- package/dist/icons/campfire.vue +1 -0
- package/dist/icons/car-battery.svg +1 -0
- package/dist/icons/car-battery.vue +1 -0
- package/dist/icons/car-profile.svg +1 -0
- package/dist/icons/car-profile.vue +1 -0
- package/dist/icons/car-simple.svg +1 -0
- package/dist/icons/car-simple.vue +1 -0
- package/dist/icons/car.svg +1 -0
- package/dist/icons/car.vue +1 -0
- package/dist/icons/caret-down.svg +1 -0
- package/dist/icons/caret-down.vue +1 -0
- package/dist/icons/caret-left.svg +1 -0
- package/dist/icons/caret-left.vue +1 -0
- package/dist/icons/caret-right.svg +1 -0
- package/dist/icons/caret-right.vue +1 -0
- package/dist/icons/caret-up.svg +1 -0
- package/dist/icons/caret-up.vue +1 -0
- package/dist/icons/cell-tower.svg +1 -0
- package/dist/icons/cell-tower.vue +1 -0
- package/dist/icons/chalkboard-teacher.svg +1 -0
- package/dist/icons/chalkboard-teacher.vue +1 -0
- package/dist/icons/charging-station.svg +1 -0
- package/dist/icons/charging-station.vue +1 -0
- package/dist/icons/chart-bar-horizontal.svg +1 -0
- package/dist/icons/chart-bar-horizontal.vue +1 -0
- package/dist/icons/chart-bar.svg +1 -0
- package/dist/icons/chart-bar.vue +1 -0
- package/dist/icons/chart-donut.svg +1 -0
- package/dist/icons/chart-donut.vue +1 -0
- package/dist/icons/chart-line-down.svg +1 -0
- package/dist/icons/chart-line-down.vue +1 -0
- package/dist/icons/chart-line-up.svg +1 -0
- package/dist/icons/chart-line-up.vue +1 -0
- package/dist/icons/chart-line.svg +1 -0
- package/dist/icons/chart-line.vue +1 -0
- package/dist/icons/chart-pie-slice.svg +1 -0
- package/dist/icons/chart-pie-slice.vue +1 -0
- package/dist/icons/chart-pie.svg +1 -0
- package/dist/icons/chart-pie.vue +1 -0
- package/dist/icons/chart-polar.svg +1 -0
- package/dist/icons/chart-polar.vue +1 -0
- package/dist/icons/chart-scatter.svg +1 -0
- package/dist/icons/chart-scatter.vue +1 -0
- package/dist/icons/check-circle.svg +1 -0
- package/dist/icons/check-circle.vue +1 -0
- package/dist/icons/check.svg +1 -0
- package/dist/icons/check.vue +1 -0
- package/dist/icons/circle-half.svg +1 -0
- package/dist/icons/circle-half.vue +1 -0
- package/dist/icons/circle-notch.svg +1 -0
- package/dist/icons/circle-notch.vue +1 -0
- package/dist/icons/circuitry.svg +1 -0
- package/dist/icons/circuitry.vue +1 -0
- package/dist/icons/city.svg +1 -0
- package/dist/icons/city.vue +1 -0
- package/dist/icons/clock.svg +1 -0
- package/dist/icons/clock.vue +1 -0
- package/dist/icons/closed-captioning.svg +1 -0
- package/dist/icons/closed-captioning.vue +1 -0
- package/dist/icons/cloud-arrow-down.svg +1 -0
- package/dist/icons/cloud-arrow-down.vue +1 -0
- package/dist/icons/cloud-arrow-up.svg +1 -0
- package/dist/icons/cloud-arrow-up.vue +1 -0
- package/dist/icons/cloud-check.svg +1 -0
- package/dist/icons/cloud-check.vue +1 -0
- package/dist/icons/cloud-fog.svg +1 -0
- package/dist/icons/cloud-fog.vue +1 -0
- package/dist/icons/cloud-lightning.svg +1 -0
- package/dist/icons/cloud-lightning.vue +1 -0
- package/dist/icons/cloud-moon.svg +1 -0
- package/dist/icons/cloud-moon.vue +1 -0
- package/dist/icons/cloud-rain.svg +1 -0
- package/dist/icons/cloud-rain.vue +1 -0
- package/dist/icons/cloud-slash.svg +1 -0
- package/dist/icons/cloud-slash.vue +1 -0
- package/dist/icons/cloud-snow.svg +1 -0
- package/dist/icons/cloud-snow.vue +1 -0
- package/dist/icons/cloud-sun.svg +1 -0
- package/dist/icons/cloud-sun.vue +1 -0
- package/dist/icons/cloud-warning.svg +1 -0
- package/dist/icons/cloud-warning.vue +1 -0
- package/dist/icons/cloud-x.svg +1 -0
- package/dist/icons/cloud-x.vue +1 -0
- package/dist/icons/cloud.svg +1 -0
- package/dist/icons/cloud.vue +1 -0
- package/dist/icons/clover.svg +1 -0
- package/dist/icons/clover.vue +1 -0
- package/dist/icons/code-block.svg +1 -0
- package/dist/icons/code-block.vue +1 -0
- package/dist/icons/code-simple.svg +1 -0
- package/dist/icons/code-simple.vue +1 -0
- package/dist/icons/code.svg +1 -0
- package/dist/icons/code.vue +1 -0
- package/dist/icons/columns.svg +1 -0
- package/dist/icons/columns.vue +1 -0
- package/dist/icons/command.svg +1 -0
- package/dist/icons/command.vue +1 -0
- package/dist/icons/compass-rose.svg +1 -0
- package/dist/icons/compass-rose.vue +1 -0
- package/dist/icons/compass-tool.svg +1 -0
- package/dist/icons/compass-tool.vue +1 -0
- package/dist/icons/compass.svg +1 -0
- package/dist/icons/compass.vue +1 -0
- package/dist/icons/computer-tower.svg +1 -0
- package/dist/icons/computer-tower.vue +1 -0
- package/dist/icons/copy.svg +1 -0
- package/dist/icons/copy.vue +1 -0
- package/dist/icons/cow.svg +1 -0
- package/dist/icons/cow.vue +1 -0
- package/dist/icons/cpu.svg +1 -0
- package/dist/icons/cpu.vue +1 -0
- package/dist/icons/crane-tower.svg +1 -0
- package/dist/icons/crane-tower.vue +1 -0
- package/dist/icons/crane.svg +1 -0
- package/dist/icons/crane.vue +1 -0
- package/dist/icons/cube-focus.svg +1 -0
- package/dist/icons/cube-focus.vue +1 -0
- package/dist/icons/cube-transparent.svg +1 -0
- package/dist/icons/cube-transparent.vue +1 -0
- package/dist/icons/cube.svg +1 -0
- package/dist/icons/cube.vue +1 -0
- package/dist/icons/cylinder.svg +1 -0
- package/dist/icons/cylinder.vue +1 -0
- package/dist/icons/database.svg +1 -0
- package/dist/icons/database.vue +1 -0
- package/dist/icons/desktop-tower.svg +1 -0
- package/dist/icons/desktop-tower.vue +1 -0
- package/dist/icons/desktop.svg +1 -0
- package/dist/icons/desktop.vue +1 -0
- package/dist/icons/dice-five.svg +1 -0
- package/dist/icons/dice-five.vue +1 -0
- package/dist/icons/divide.svg +1 -0
- package/dist/icons/divide.vue +1 -0
- package/dist/icons/dna.svg +1 -0
- package/dist/icons/dna.vue +1 -0
- package/dist/icons/download-simple.svg +1 -0
- package/dist/icons/download-simple.vue +1 -0
- package/dist/icons/drone.svg +1 -0
- package/dist/icons/drone.vue +1 -0
- package/dist/icons/drop-half-bottom.svg +1 -0
- package/dist/icons/drop-half-bottom.vue +1 -0
- package/dist/icons/drop-half.svg +1 -0
- package/dist/icons/drop-half.vue +1 -0
- package/dist/icons/drop-simple.svg +1 -0
- package/dist/icons/drop-simple.vue +1 -0
- package/dist/icons/drop-slash.svg +1 -0
- package/dist/icons/drop-slash.vue +1 -0
- package/dist/icons/drop.svg +1 -0
- package/dist/icons/drop.vue +1 -0
- package/dist/icons/engine.svg +1 -0
- package/dist/icons/engine.vue +1 -0
- package/dist/icons/envelope-simple.svg +1 -0
- package/dist/icons/envelope-simple.vue +1 -0
- package/dist/icons/equals.svg +1 -0
- package/dist/icons/equals.vue +1 -0
- package/dist/icons/eye-slash.svg +1 -0
- package/dist/icons/eye-slash.vue +1 -0
- package/dist/icons/eye.svg +1 -0
- package/dist/icons/eye.vue +1 -0
- package/dist/icons/face-mask.svg +1 -0
- package/dist/icons/face-mask.vue +1 -0
- package/dist/icons/factory.svg +1 -0
- package/dist/icons/factory.vue +1 -0
- package/dist/icons/farm.svg +1 -0
- package/dist/icons/farm.vue +1 -0
- package/dist/icons/file-archive.svg +1 -0
- package/dist/icons/file-archive.vue +1 -0
- package/dist/icons/file-arrow-down.svg +1 -0
- package/dist/icons/file-arrow-down.vue +1 -0
- package/dist/icons/file-c-sharp.svg +1 -0
- package/dist/icons/file-c-sharp.vue +1 -0
- package/dist/icons/file-c.svg +1 -0
- package/dist/icons/file-c.vue +1 -0
- package/dist/icons/file-cloud.svg +1 -0
- package/dist/icons/file-cloud.vue +1 -0
- package/dist/icons/file-code.svg +1 -0
- package/dist/icons/file-code.vue +1 -0
- package/dist/icons/file-cpp.svg +1 -0
- package/dist/icons/file-cpp.vue +1 -0
- package/dist/icons/file-css.svg +1 -0
- package/dist/icons/file-css.vue +1 -0
- package/dist/icons/file-csv.svg +1 -0
- package/dist/icons/file-csv.vue +1 -0
- package/dist/icons/file-html.svg +1 -0
- package/dist/icons/file-html.vue +1 -0
- package/dist/icons/file-image.svg +1 -0
- package/dist/icons/file-image.vue +1 -0
- package/dist/icons/file-ini.svg +1 -0
- package/dist/icons/file-ini.vue +1 -0
- package/dist/icons/file-js.svg +1 -0
- package/dist/icons/file-js.vue +1 -0
- package/dist/icons/file-jsx.svg +1 -0
- package/dist/icons/file-jsx.vue +1 -0
- package/dist/icons/file-md.svg +1 -0
- package/dist/icons/file-md.vue +1 -0
- package/dist/icons/file-pdf.svg +1 -0
- package/dist/icons/file-pdf.vue +1 -0
- package/dist/icons/file-py.svg +1 -0
- package/dist/icons/file-py.vue +1 -0
- package/dist/icons/file-rs.svg +1 -0
- package/dist/icons/file-rs.vue +1 -0
- package/dist/icons/file-sql.svg +1 -0
- package/dist/icons/file-sql.vue +1 -0
- package/dist/icons/file-svg.svg +1 -0
- package/dist/icons/file-svg.vue +1 -0
- package/dist/icons/file-text.svg +1 -0
- package/dist/icons/file-text.vue +1 -0
- package/dist/icons/file-ts.svg +1 -0
- package/dist/icons/file-ts.vue +1 -0
- package/dist/icons/file-tsx.svg +1 -0
- package/dist/icons/file-tsx.vue +1 -0
- package/dist/icons/file-txt.svg +1 -0
- package/dist/icons/file-txt.vue +1 -0
- package/dist/icons/file-vue.svg +1 -0
- package/dist/icons/file-vue.vue +1 -0
- package/dist/icons/file-xls.svg +1 -0
- package/dist/icons/file-xls.vue +1 -0
- package/dist/icons/file-zip.svg +1 -0
- package/dist/icons/file-zip.vue +1 -0
- package/dist/icons/fire-simple.svg +1 -0
- package/dist/icons/fire-simple.vue +1 -0
- package/dist/icons/fire-truck.svg +1 -0
- package/dist/icons/fire-truck.vue +1 -0
- package/dist/icons/fire.svg +1 -0
- package/dist/icons/fire.vue +1 -0
- package/dist/icons/fish-simple.svg +1 -0
- package/dist/icons/fish-simple.vue +1 -0
- package/dist/icons/fish.svg +1 -0
- package/dist/icons/fish.vue +1 -0
- package/dist/icons/flame.svg +1 -0
- package/dist/icons/flame.vue +1 -0
- package/dist/icons/flask.svg +1 -0
- package/dist/icons/flask.vue +1 -0
- package/dist/icons/flow-arrow.svg +1 -0
- package/dist/icons/flow-arrow.vue +1 -0
- package/dist/icons/flower-lotus.svg +1 -0
- package/dist/icons/flower-lotus.vue +1 -0
- package/dist/icons/flower-tulip.svg +1 -0
- package/dist/icons/flower-tulip.vue +1 -0
- package/dist/icons/flower.svg +1 -0
- package/dist/icons/flower.vue +1 -0
- package/dist/icons/footprints.svg +1 -0
- package/dist/icons/footprints.vue +1 -0
- package/dist/icons/function.svg +1 -0
- package/dist/icons/function.vue +1 -0
- package/dist/icons/funnel.svg +1 -0
- package/dist/icons/funnel.vue +1 -0
- package/dist/icons/garage.svg +1 -0
- package/dist/icons/garage.vue +1 -0
- package/dist/icons/gas-can.svg +1 -0
- package/dist/icons/gas-can.vue +1 -0
- package/dist/icons/gas-pump.svg +1 -0
- package/dist/icons/gas-pump.vue +1 -0
- package/dist/icons/gauge.svg +1 -0
- package/dist/icons/gauge.vue +1 -0
- package/dist/icons/gear-fine.svg +1 -0
- package/dist/icons/gear-fine.vue +1 -0
- package/dist/icons/gear-six.svg +1 -0
- package/dist/icons/gear-six.vue +1 -0
- package/dist/icons/gear.svg +1 -0
- package/dist/icons/gear.vue +1 -0
- package/dist/icons/git-branch.svg +1 -0
- package/dist/icons/git-branch.vue +1 -0
- package/dist/icons/git-commit.svg +1 -0
- package/dist/icons/git-commit.vue +1 -0
- package/dist/icons/git-diff.svg +1 -0
- package/dist/icons/git-diff.vue +1 -0
- package/dist/icons/git-fork.svg +1 -0
- package/dist/icons/git-fork.vue +1 -0
- package/dist/icons/git-merge.svg +1 -0
- package/dist/icons/git-merge.vue +1 -0
- package/dist/icons/git-pull-request.svg +1 -0
- package/dist/icons/git-pull-request.vue +1 -0
- package/dist/icons/globe-hemisphere-east.svg +1 -0
- package/dist/icons/globe-hemisphere-east.vue +1 -0
- package/dist/icons/globe-hemisphere-west.svg +1 -0
- package/dist/icons/globe-hemisphere-west.vue +1 -0
- package/dist/icons/globe-simple.svg +1 -0
- package/dist/icons/globe-simple.vue +1 -0
- package/dist/icons/globe-stand.svg +1 -0
- package/dist/icons/globe-stand.vue +1 -0
- package/dist/icons/globe.svg +1 -0
- package/dist/icons/globe.vue +1 -0
- package/dist/icons/gps-fix.svg +1 -0
- package/dist/icons/gps-fix.vue +1 -0
- package/dist/icons/gps.svg +1 -0
- package/dist/icons/gps.vue +1 -0
- package/dist/icons/gradient.svg +1 -0
- package/dist/icons/gradient.vue +1 -0
- package/dist/icons/graduation-cap.svg +1 -0
- package/dist/icons/graduation-cap.vue +1 -0
- package/dist/icons/grains-slash.svg +1 -0
- package/dist/icons/grains-slash.vue +1 -0
- package/dist/icons/grains.svg +1 -0
- package/dist/icons/grains.vue +1 -0
- package/dist/icons/graph.svg +1 -0
- package/dist/icons/graph.vue +1 -0
- package/dist/icons/graphics-card.svg +1 -0
- package/dist/icons/graphics-card.vue +1 -0
- package/dist/icons/greater-than-or-equal.svg +1 -0
- package/dist/icons/greater-than-or-equal.vue +1 -0
- package/dist/icons/greater-than.svg +1 -0
- package/dist/icons/greater-than.vue +1 -0
- package/dist/icons/grid-four.svg +1 -0
- package/dist/icons/grid-four.vue +1 -0
- package/dist/icons/grid-nine.svg +1 -0
- package/dist/icons/grid-nine.vue +1 -0
- package/dist/icons/hammer.svg +1 -0
- package/dist/icons/hammer.vue +1 -0
- package/dist/icons/hand-waving.svg +1 -0
- package/dist/icons/hand-waving.vue +1 -0
- package/dist/icons/hard-drive.svg +1 -0
- package/dist/icons/hard-drive.vue +1 -0
- package/dist/icons/hard-drives.svg +1 -0
- package/dist/icons/hard-drives.vue +1 -0
- package/dist/icons/hard-hat.svg +1 -0
- package/dist/icons/hard-hat.vue +1 -0
- package/dist/icons/head-circuit.svg +1 -0
- package/dist/icons/head-circuit.vue +1 -0
- package/dist/icons/hospital.svg +1 -0
- package/dist/icons/hospital.vue +1 -0
- package/dist/icons/house-line.svg +1 -0
- package/dist/icons/house-line.vue +1 -0
- package/dist/icons/house-simple.svg +1 -0
- package/dist/icons/house-simple.vue +1 -0
- package/dist/icons/house.svg +1 -0
- package/dist/icons/house.vue +1 -0
- package/dist/icons/hurricane.svg +1 -0
- package/dist/icons/hurricane.vue +1 -0
- package/dist/icons/identification-card.svg +1 -0
- package/dist/icons/identification-card.vue +1 -0
- package/dist/icons/image.svg +1 -0
- package/dist/icons/image.vue +1 -0
- package/dist/icons/images.svg +1 -0
- package/dist/icons/images.vue +1 -0
- package/dist/icons/infinity.svg +1 -0
- package/dist/icons/infinity.vue +1 -0
- package/dist/icons/info.svg +1 -0
- package/dist/icons/info.vue +1 -0
- package/dist/icons/intersect-three.svg +1 -0
- package/dist/icons/intersect-three.vue +1 -0
- package/dist/icons/intersection.svg +1 -0
- package/dist/icons/intersection.vue +1 -0
- package/dist/icons/island.svg +1 -0
- package/dist/icons/island.vue +1 -0
- package/dist/icons/jeep.svg +1 -0
- package/dist/icons/jeep.vue +1 -0
- package/dist/icons/kanban.svg +1 -0
- package/dist/icons/kanban.vue +1 -0
- package/dist/icons/keyboard.svg +1 -0
- package/dist/icons/keyboard.vue +1 -0
- package/dist/icons/laptop.svg +1 -0
- package/dist/icons/laptop.vue +1 -0
- package/dist/icons/leaf.svg +1 -0
- package/dist/icons/leaf.vue +1 -0
- package/dist/icons/less-than-or-equal.svg +1 -0
- package/dist/icons/less-than-or-equal.vue +1 -0
- package/dist/icons/less-than.svg +1 -0
- package/dist/icons/less-than.vue +1 -0
- package/dist/icons/lightbulb.svg +1 -0
- package/dist/icons/lightbulb.vue +1 -0
- package/dist/icons/lighthouse.svg +1 -0
- package/dist/icons/lighthouse.vue +1 -0
- package/dist/icons/lightning-slash.svg +1 -0
- package/dist/icons/lightning-slash.vue +1 -0
- package/dist/icons/lightning.svg +1 -0
- package/dist/icons/lightning.vue +1 -0
- package/dist/icons/line-segment.svg +1 -0
- package/dist/icons/line-segment.vue +1 -0
- package/dist/icons/line-segments.svg +1 -0
- package/dist/icons/line-segments.vue +1 -0
- package/dist/icons/link.svg +1 -0
- package/dist/icons/link.vue +1 -0
- package/dist/icons/list-bullets.svg +1 -0
- package/dist/icons/list-bullets.vue +1 -0
- package/dist/icons/list.svg +1 -0
- package/dist/icons/list.vue +1 -0
- package/dist/icons/magic-wand.svg +1 -0
- package/dist/icons/magic-wand.vue +1 -0
- package/dist/icons/magnet-straight.svg +1 -0
- package/dist/icons/magnet-straight.vue +1 -0
- package/dist/icons/magnet.svg +1 -0
- package/dist/icons/magnet.vue +1 -0
- package/dist/icons/magnifying-glass-minus.svg +1 -0
- package/dist/icons/magnifying-glass-minus.vue +1 -0
- package/dist/icons/magnifying-glass-plus.svg +1 -0
- package/dist/icons/magnifying-glass-plus.vue +1 -0
- package/dist/icons/magnifying-glass.svg +1 -0
- package/dist/icons/magnifying-glass.vue +1 -0
- package/dist/icons/map-pin-area.svg +1 -0
- package/dist/icons/map-pin-area.vue +1 -0
- package/dist/icons/map-pin-line.svg +1 -0
- package/dist/icons/map-pin-line.vue +1 -0
- package/dist/icons/map-pin-simple-area.svg +1 -0
- package/dist/icons/map-pin-simple-area.vue +1 -0
- package/dist/icons/map-pin-simple-line.svg +1 -0
- package/dist/icons/map-pin-simple-line.vue +1 -0
- package/dist/icons/map-pin-simple.svg +1 -0
- package/dist/icons/map-pin-simple.vue +1 -0
- package/dist/icons/map-pin.svg +1 -0
- package/dist/icons/map-pin.vue +1 -0
- package/dist/icons/map-trifold.svg +1 -0
- package/dist/icons/map-trifold.vue +1 -0
- package/dist/icons/math-operations.svg +1 -0
- package/dist/icons/math-operations.vue +1 -0
- package/dist/icons/member-of.svg +1 -0
- package/dist/icons/member-of.vue +1 -0
- package/dist/icons/memory.svg +1 -0
- package/dist/icons/memory.vue +1 -0
- package/dist/icons/meteor.svg +1 -0
- package/dist/icons/meteor.vue +1 -0
- package/dist/icons/microscope.svg +1 -0
- package/dist/icons/microscope.vue +1 -0
- package/dist/icons/minus.svg +1 -0
- package/dist/icons/minus.vue +1 -0
- package/dist/icons/monitor.svg +1 -0
- package/dist/icons/monitor.vue +1 -0
- package/dist/icons/moon-stars.svg +1 -0
- package/dist/icons/moon-stars.vue +1 -0
- package/dist/icons/moon.svg +1 -0
- package/dist/icons/moon.vue +1 -0
- package/dist/icons/moped-front.svg +1 -0
- package/dist/icons/moped-front.vue +1 -0
- package/dist/icons/moped.svg +1 -0
- package/dist/icons/moped.vue +1 -0
- package/dist/icons/motorcycle.svg +1 -0
- package/dist/icons/motorcycle.vue +1 -0
- package/dist/icons/mountains.svg +1 -0
- package/dist/icons/mountains.vue +1 -0
- package/dist/icons/navigation-arrow.svg +1 -0
- package/dist/icons/navigation-arrow.vue +1 -0
- package/dist/icons/network.svg +1 -0
- package/dist/icons/network.vue +1 -0
- package/dist/icons/newspaper-clipping.svg +1 -0
- package/dist/icons/newspaper-clipping.vue +1 -0
- package/dist/icons/not-equals.svg +1 -0
- package/dist/icons/not-equals.vue +1 -0
- package/dist/icons/not-member-of.svg +1 -0
- package/dist/icons/not-member-of.vue +1 -0
- package/dist/icons/not-subset-of.svg +1 -0
- package/dist/icons/not-subset-of.vue +1 -0
- package/dist/icons/not-superset-of.svg +1 -0
- package/dist/icons/not-superset-of.vue +1 -0
- package/dist/icons/notebook.svg +1 -0
- package/dist/icons/notebook.vue +1 -0
- package/dist/icons/nuclear-plant.svg +1 -0
- package/dist/icons/nuclear-plant.vue +1 -0
- package/dist/icons/package.svg +1 -0
- package/dist/icons/package.vue +1 -0
- package/dist/icons/paint-brush.svg +1 -0
- package/dist/icons/paint-brush.vue +1 -0
- package/dist/icons/palette.svg +1 -0
- package/dist/icons/palette.vue +1 -0
- package/dist/icons/park.svg +1 -0
- package/dist/icons/park.vue +1 -0
- package/dist/icons/path.svg +1 -0
- package/dist/icons/path.vue +1 -0
- package/dist/icons/pause.svg +1 -0
- package/dist/icons/pause.vue +1 -0
- package/dist/icons/pen-nib.svg +1 -0
- package/dist/icons/pen-nib.vue +1 -0
- package/dist/icons/percent.svg +1 -0
- package/dist/icons/percent.vue +1 -0
- package/dist/icons/person-simple-bike.svg +1 -0
- package/dist/icons/person-simple-bike.vue +1 -0
- package/dist/icons/person-simple-circle.svg +1 -0
- package/dist/icons/person-simple-circle.vue +1 -0
- package/dist/icons/person-simple-hike.svg +1 -0
- package/dist/icons/person-simple-hike.vue +1 -0
- package/dist/icons/person-simple-walk.svg +1 -0
- package/dist/icons/person-simple-walk.vue +1 -0
- package/dist/icons/pi.svg +1 -0
- package/dist/icons/pi.vue +1 -0
- package/dist/icons/picnic-table.svg +1 -0
- package/dist/icons/picnic-table.vue +1 -0
- package/dist/icons/planet.svg +1 -0
- package/dist/icons/planet.vue +1 -0
- package/dist/icons/plant.svg +1 -0
- package/dist/icons/plant.vue +1 -0
- package/dist/icons/play.svg +1 -0
- package/dist/icons/play.vue +1 -0
- package/dist/icons/plug-charging.svg +1 -0
- package/dist/icons/plug-charging.vue +1 -0
- package/dist/icons/plug.svg +1 -0
- package/dist/icons/plug.vue +1 -0
- package/dist/icons/plus-minus.svg +1 -0
- package/dist/icons/plus-minus.vue +1 -0
- package/dist/icons/plus.svg +1 -0
- package/dist/icons/plus.vue +1 -0
- package/dist/icons/police-car.svg +1 -0
- package/dist/icons/police-car.vue +1 -0
- package/dist/icons/potted-plant.svg +1 -0
- package/dist/icons/potted-plant.vue +1 -0
- package/dist/icons/presentation-chart.svg +1 -0
- package/dist/icons/presentation-chart.vue +1 -0
- package/dist/icons/printer.svg +1 -0
- package/dist/icons/printer.vue +1 -0
- package/dist/icons/pulse.svg +1 -0
- package/dist/icons/pulse.vue +1 -0
- package/dist/icons/puzzle-piece.svg +1 -0
- package/dist/icons/puzzle-piece.vue +1 -0
- package/dist/icons/question.svg +1 -0
- package/dist/icons/question.vue +1 -0
- package/dist/icons/quotes.svg +1 -0
- package/dist/icons/quotes.vue +1 -0
- package/dist/icons/radical.svg +1 -0
- package/dist/icons/radical.vue +1 -0
- package/dist/icons/radioactive.svg +1 -0
- package/dist/icons/radioactive.vue +1 -0
- package/dist/icons/rainbow-cloud.svg +1 -0
- package/dist/icons/rainbow-cloud.vue +1 -0
- package/dist/icons/rainbow.svg +1 -0
- package/dist/icons/rainbow.vue +1 -0
- package/dist/icons/recycle.svg +1 -0
- package/dist/icons/recycle.vue +1 -0
- package/dist/icons/road-horizon.svg +1 -0
- package/dist/icons/road-horizon.vue +1 -0
- package/dist/icons/robot.svg +1 -0
- package/dist/icons/robot.vue +1 -0
- package/dist/icons/rocket-launch.svg +1 -0
- package/dist/icons/rocket-launch.vue +1 -0
- package/dist/icons/rocket.svg +1 -0
- package/dist/icons/rocket.vue +1 -0
- package/dist/icons/rows.svg +1 -0
- package/dist/icons/rows.vue +1 -0
- package/dist/icons/rss.svg +1 -0
- package/dist/icons/rss.vue +1 -0
- package/dist/icons/ruler.svg +1 -0
- package/dist/icons/ruler.vue +1 -0
- package/dist/icons/sailboat.svg +1 -0
- package/dist/icons/sailboat.vue +1 -0
- package/dist/icons/satellite.svg +1 -0
- package/dist/icons/satellite.vue +1 -0
- package/dist/icons/scales.svg +1 -0
- package/dist/icons/scales.vue +1 -0
- package/dist/icons/scooter.svg +1 -0
- package/dist/icons/scooter.vue +1 -0
- package/dist/icons/screwdriver.svg +1 -0
- package/dist/icons/screwdriver.vue +1 -0
- package/dist/icons/seal-check.svg +1 -0
- package/dist/icons/seal-check.vue +1 -0
- package/dist/icons/share-network.svg +1 -0
- package/dist/icons/share-network.vue +1 -0
- package/dist/icons/shipping-container.svg +1 -0
- package/dist/icons/shipping-container.vue +1 -0
- package/dist/icons/shooting-star.svg +1 -0
- package/dist/icons/shooting-star.vue +1 -0
- package/dist/icons/shovel.svg +1 -0
- package/dist/icons/shovel.vue +1 -0
- package/dist/icons/shuffle.svg +1 -0
- package/dist/icons/shuffle.vue +1 -0
- package/dist/icons/sigma.svg +1 -0
- package/dist/icons/sigma.vue +1 -0
- package/dist/icons/signpost.svg +1 -0
- package/dist/icons/signpost.vue +1 -0
- package/dist/icons/sliders-horizontal.svg +1 -0
- package/dist/icons/sliders-horizontal.vue +1 -0
- package/dist/icons/snowflake.svg +1 -0
- package/dist/icons/snowflake.vue +1 -0
- package/dist/icons/solar-panel.svg +1 -0
- package/dist/icons/solar-panel.vue +1 -0
- package/dist/icons/solar-roof.svg +1 -0
- package/dist/icons/solar-roof.vue +1 -0
- package/dist/icons/sparkle.svg +1 -0
- package/dist/icons/sparkle.vue +1 -0
- package/dist/icons/speaker-high.svg +1 -0
- package/dist/icons/speaker-high.vue +1 -0
- package/dist/icons/speaker-slash.svg +1 -0
- package/dist/icons/speaker-slash.vue +1 -0
- package/dist/icons/speedometer.svg +1 -0
- package/dist/icons/speedometer.vue +1 -0
- package/dist/icons/sphere.svg +1 -0
- package/dist/icons/sphere.vue +1 -0
- package/dist/icons/sprite.svg +418 -0
- package/dist/icons/stack-simple.svg +1 -0
- package/dist/icons/stack-simple.vue +1 -0
- package/dist/icons/stack.svg +1 -0
- package/dist/icons/stack.vue +1 -0
- package/dist/icons/star-four.svg +1 -0
- package/dist/icons/star-four.vue +1 -0
- package/dist/icons/star.svg +1 -0
- package/dist/icons/star.vue +1 -0
- package/dist/icons/steering-wheel.svg +1 -0
- package/dist/icons/steering-wheel.vue +1 -0
- package/dist/icons/stop.svg +1 -0
- package/dist/icons/stop.vue +1 -0
- package/dist/icons/storefront.svg +1 -0
- package/dist/icons/storefront.vue +1 -0
- package/dist/icons/subset-of.svg +1 -0
- package/dist/icons/subset-of.vue +1 -0
- package/dist/icons/subset-proper-of.svg +1 -0
- package/dist/icons/subset-proper-of.vue +1 -0
- package/dist/icons/subway.svg +1 -0
- package/dist/icons/subway.vue +1 -0
- package/dist/icons/sun-dim.svg +1 -0
- package/dist/icons/sun-dim.vue +1 -0
- package/dist/icons/sun-horizon.svg +1 -0
- package/dist/icons/sun-horizon.vue +1 -0
- package/dist/icons/sun.svg +1 -0
- package/dist/icons/sun.vue +1 -0
- package/dist/icons/superset-of.svg +1 -0
- package/dist/icons/superset-of.vue +1 -0
- package/dist/icons/superset-proper-of.svg +1 -0
- package/dist/icons/superset-proper-of.vue +1 -0
- package/dist/icons/table.svg +1 -0
- package/dist/icons/table.vue +1 -0
- package/dist/icons/tag.svg +1 -0
- package/dist/icons/tag.vue +1 -0
- package/dist/icons/taxi.svg +1 -0
- package/dist/icons/taxi.vue +1 -0
- package/dist/icons/tent.svg +1 -0
- package/dist/icons/tent.vue +1 -0
- package/dist/icons/terminal-window.svg +1 -0
- package/dist/icons/terminal-window.vue +1 -0
- package/dist/icons/terminal.svg +1 -0
- package/dist/icons/terminal.vue +1 -0
- package/dist/icons/test-tube.svg +1 -0
- package/dist/icons/test-tube.vue +1 -0
- package/dist/icons/thermometer-cold.svg +1 -0
- package/dist/icons/thermometer-cold.vue +1 -0
- package/dist/icons/thermometer-hot.svg +1 -0
- package/dist/icons/thermometer-hot.vue +1 -0
- package/dist/icons/thermometer-simple.svg +1 -0
- package/dist/icons/thermometer-simple.vue +1 -0
- package/dist/icons/thermometer.svg +1 -0
- package/dist/icons/thermometer.vue +1 -0
- package/dist/icons/tire.svg +1 -0
- package/dist/icons/tire.vue +1 -0
- package/dist/icons/toolbox.svg +1 -0
- package/dist/icons/toolbox.vue +1 -0
- package/dist/icons/tornado.svg +1 -0
- package/dist/icons/tornado.vue +1 -0
- package/dist/icons/tractor.svg +1 -0
- package/dist/icons/tractor.vue +1 -0
- package/dist/icons/traffic-cone.svg +1 -0
- package/dist/icons/traffic-cone.vue +1 -0
- package/dist/icons/traffic-sign.svg +1 -0
- package/dist/icons/traffic-sign.vue +1 -0
- package/dist/icons/traffic-signal.svg +1 -0
- package/dist/icons/traffic-signal.vue +1 -0
- package/dist/icons/train-regional.svg +1 -0
- package/dist/icons/train-regional.vue +1 -0
- package/dist/icons/train-simple.svg +1 -0
- package/dist/icons/train-simple.vue +1 -0
- package/dist/icons/train.svg +1 -0
- package/dist/icons/train.vue +1 -0
- package/dist/icons/tram.svg +1 -0
- package/dist/icons/tram.vue +1 -0
- package/dist/icons/translate.svg +1 -0
- package/dist/icons/translate.vue +1 -0
- package/dist/icons/tree-evergreen.svg +1 -0
- package/dist/icons/tree-evergreen.vue +1 -0
- package/dist/icons/tree-palm.svg +1 -0
- package/dist/icons/tree-palm.vue +1 -0
- package/dist/icons/tree-structure.svg +1 -0
- package/dist/icons/tree-structure.vue +1 -0
- package/dist/icons/tree-view.svg +1 -0
- package/dist/icons/tree-view.vue +1 -0
- package/dist/icons/tree.svg +1 -0
- package/dist/icons/tree.vue +1 -0
- package/dist/icons/trend-down.svg +1 -0
- package/dist/icons/trend-down.vue +1 -0
- package/dist/icons/trend-up.svg +1 -0
- package/dist/icons/trend-up.vue +1 -0
- package/dist/icons/trophy.svg +1 -0
- package/dist/icons/trophy.vue +1 -0
- package/dist/icons/truck-trailer.svg +1 -0
- package/dist/icons/truck-trailer.vue +1 -0
- package/dist/icons/truck.svg +1 -0
- package/dist/icons/truck.vue +1 -0
- package/dist/icons/umbrella-simple.svg +1 -0
- package/dist/icons/umbrella-simple.vue +1 -0
- package/dist/icons/umbrella.svg +1 -0
- package/dist/icons/umbrella.vue +1 -0
- package/dist/icons/union.svg +1 -0
- package/dist/icons/union.vue +1 -0
- package/dist/icons/upload-simple.svg +1 -0
- package/dist/icons/upload-simple.vue +1 -0
- package/dist/icons/users.svg +1 -0
- package/dist/icons/users.vue +1 -0
- package/dist/icons/van.svg +1 -0
- package/dist/icons/van.vue +1 -0
- package/dist/icons/vector-three.svg +1 -0
- package/dist/icons/vector-three.vue +1 -0
- package/dist/icons/vector-two.svg +1 -0
- package/dist/icons/vector-two.vue +1 -0
- package/dist/icons/video.svg +1 -0
- package/dist/icons/video.vue +1 -0
- package/dist/icons/virus.svg +1 -0
- package/dist/icons/virus.vue +1 -0
- package/dist/icons/warehouse.svg +1 -0
- package/dist/icons/warehouse.vue +1 -0
- package/dist/icons/warning.svg +1 -0
- package/dist/icons/warning.vue +1 -0
- package/dist/icons/wave-sawtooth.svg +1 -0
- package/dist/icons/wave-sawtooth.vue +1 -0
- package/dist/icons/wave-sine.svg +1 -0
- package/dist/icons/wave-sine.vue +1 -0
- package/dist/icons/wave-square.svg +1 -0
- package/dist/icons/wave-square.vue +1 -0
- package/dist/icons/wave-triangle.svg +1 -0
- package/dist/icons/wave-triangle.vue +1 -0
- package/dist/icons/waveform.svg +1 -0
- package/dist/icons/waveform.vue +1 -0
- package/dist/icons/waves.svg +1 -0
- package/dist/icons/waves.vue +1 -0
- package/dist/icons/wind.svg +1 -0
- package/dist/icons/wind.vue +1 -0
- package/dist/icons/windmill.svg +1 -0
- package/dist/icons/windmill.vue +1 -0
- package/dist/icons/wrench.svg +1 -0
- package/dist/icons/wrench.vue +1 -0
- package/dist/icons/x-circle.svg +1 -0
- package/dist/icons/x-circle.vue +1 -0
- package/dist/icons/x.svg +1 -0
- package/dist/icons/x.vue +1 -0
- package/dist/rkui.css +1 -0
- package/dist/rkui.js +41 -0
- package/dist/types/components/alert/alert-enhance.d.ts +0 -0
- package/dist/types/components/code/highlight.d.ts +9 -0
- package/dist/types/components/drawer/drawer-enhance.d.ts +21 -0
- package/dist/types/components/file/file-enhance.d.ts +6 -0
- package/dist/types/components/folder/folder-enhance.d.ts +1 -0
- package/dist/types/components/overflow/overflow-enhance.d.ts +1 -0
- package/dist/types/components/quote/quote-enhance.d.ts +1 -0
- package/dist/types/components/sidebar/sidebar-enhance.d.ts +1 -0
- package/dist/types/components/table/table-enhance.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip-enhance.d.ts +7 -0
- package/dist/types/shared/after-slide.d.ts +10 -0
- package/dist/types/shared/clock-face.d.ts +93 -0
- package/dist/types/shared/dial-face.d.ts +58 -0
- package/dist/types/shared/dial-geometry.d.ts +66 -0
- package/dist/types/shared/each-element.d.ts +9 -0
- package/dist/types/shared/light-angle.d.ts +22 -0
- package/package.json +100 -4
- package/src/base/base.css +144 -0
- package/src/base/fonts.css +158 -0
- package/src/base/type.css +17 -0
- package/src/components/alert/Alert.vue +66 -0
- package/src/components/alert/alert-enhance.js +43 -0
- package/src/components/alert/alert.css +125 -0
- package/src/components/badge/Badge.vue +74 -0
- package/src/components/badge/BadgeHost.vue +24 -0
- package/src/components/badge/badge.css +142 -0
- package/src/components/ballot/Ballot.vue +71 -0
- package/src/components/ballot/BallotOption.vue +83 -0
- package/src/components/ballot/ballot.css +208 -0
- package/src/components/breadcrumbs/Breadcrumbs.vue +47 -0
- package/src/components/breadcrumbs/breadcrumbs.css +104 -0
- package/src/components/button/Button.vue +130 -0
- package/src/components/button/button.css +93 -0
- package/src/components/callout/Callout.vue +31 -0
- package/src/components/callout/callout.css +39 -0
- package/src/components/card/Card.vue +59 -0
- package/src/components/card/card.css +117 -0
- package/src/components/checkbox/Checkbox.vue +50 -0
- package/src/components/checkbox/Radio.vue +51 -0
- package/src/components/checkbox/checkbox.css +82 -0
- package/src/components/chip/Chip.vue +60 -0
- package/src/components/chip/ChipGroup.vue +59 -0
- package/src/components/chip/chip.css +73 -0
- package/src/components/clock/Clock.vue +200 -0
- package/src/components/clock/clock-element.ts +6 -0
- package/src/components/clock/clock.css +258 -0
- package/src/components/code/CodeBlock.vue +210 -0
- package/src/components/code/code.css +185 -0
- package/src/components/code/highlight.js +46 -0
- package/src/components/color-picker/ColorInput.vue +54 -0
- package/src/components/color-picker/ColorPicker.vue +110 -0
- package/src/components/color-picker/ColorTile.vue +28 -0
- package/src/components/color-picker/color-picker-element.ts +7 -0
- package/src/components/color-picker/color-picker.css +219 -0
- package/src/components/date-time/date-time.css +53 -0
- package/src/components/dial/Dial.vue +247 -0
- package/src/components/dial/dial-element.ts +6 -0
- package/src/components/dial/dial.css +299 -0
- package/src/components/drawer/Cabinet.vue +67 -0
- package/src/components/drawer/Drawer.vue +155 -0
- package/src/components/drawer/drawer-enhance.js +123 -0
- package/src/components/drawer/drawer.css +889 -0
- package/src/components/field/Field.vue +49 -0
- package/src/components/field/field.css +31 -0
- package/src/components/figure/figure.css +30 -0
- package/src/components/file/File.vue +73 -0
- package/src/components/file/file-enhance.js +35 -0
- package/src/components/file/file.css +130 -0
- package/src/components/folder/Folder.vue +241 -0
- package/src/components/folder/Tab.vue +25 -0
- package/src/components/folder/folder-enhance.js +231 -0
- package/src/components/folder/folder.css +582 -0
- package/src/components/folder/tab-items.ts +67 -0
- package/src/components/folder/tab-slot.ts +80 -0
- package/src/components/header-band/HeaderBand.vue +52 -0
- package/src/components/header-band/header-band.css +54 -0
- package/src/components/icon/icon.css +20 -0
- package/src/components/input/Input.vue +69 -0
- package/src/components/input/Textarea.vue +68 -0
- package/src/components/input/input.css +66 -0
- package/src/components/light-direction/LightDirection.vue +64 -0
- package/src/components/light-direction/light-direction-element.ts +6 -0
- package/src/components/loader/Loader.vue +39 -0
- package/src/components/loader/loader.css +132 -0
- package/src/components/logo/Logo.vue +128 -0
- package/src/components/logo/logo.css +233 -0
- package/src/components/maths/Equation.vue +64 -0
- package/src/components/maths/EquationReference.vue +31 -0
- package/src/components/maths/Maths.vue +32 -0
- package/src/components/maths/maths.css +220 -0
- package/src/components/maths/render-maths.ts +45 -0
- package/src/components/motion/Motion.vue +23 -0
- package/src/components/motion/motion.css +19 -0
- package/src/components/number/Stepper.vue +138 -0
- package/src/components/number/number.css +116 -0
- package/src/components/number/stepper-element.ts +6 -0
- package/src/components/overflow/Scroll.vue +43 -0
- package/src/components/overflow/overflow-enhance.js +45 -0
- package/src/components/overflow/overflow.css +397 -0
- package/src/components/pagination/Pagination.vue +254 -0
- package/src/components/pagination/pagination.css +87 -0
- package/src/components/popup/Popup.vue +26 -0
- package/src/components/popup/popup.css +53 -0
- package/src/components/progress/Progress.vue +47 -0
- package/src/components/progress/progress.css +170 -0
- package/src/components/quote/Quote.vue +48 -0
- package/src/components/quote/quote-enhance.js +70 -0
- package/src/components/quote/quote.css +73 -0
- package/src/components/range/Range.vue +169 -0
- package/src/components/range/range-element.ts +8 -0
- package/src/components/range/range.css +315 -0
- package/src/components/range-ticks/range-ticks.css +29 -0
- package/src/components/search/Search.vue +113 -0
- package/src/components/search/search.css +138 -0
- package/src/components/segmented/Segmented.vue +46 -0
- package/src/components/segmented/SegmentedOption.vue +61 -0
- package/src/components/segmented/segmented.css +181 -0
- package/src/components/select/Select.vue +181 -0
- package/src/components/select/select.css +93 -0
- package/src/components/sidebar/Sidebar.vue +79 -0
- package/src/components/sidebar/SidebarGroup.vue +29 -0
- package/src/components/sidebar/SidebarLink.vue +46 -0
- package/src/components/sidebar/sidebar-enhance.js +26 -0
- package/src/components/sidebar/sidebar.css +543 -0
- package/src/components/spinner/Spinner.vue +36 -0
- package/src/components/spinner/spinner.css +147 -0
- package/src/components/spinner-dots/Dots.vue +48 -0
- package/src/components/spinner-dots/spinner-dots.css +167 -0
- package/src/components/sticky-note/StickyNote.vue +104 -0
- package/src/components/sticky-note/sticky-note.css +206 -0
- package/src/components/switch/Switch.vue +52 -0
- package/src/components/switch/switch.css +73 -0
- package/src/components/table/Table.vue +142 -0
- package/src/components/table/table-enhance.js +58 -0
- package/src/components/table/table.css +622 -0
- package/src/components/theme-toggle/ThemeToggle.vue +114 -0
- package/src/components/theme-toggle/theme-toggle-element.ts +6 -0
- package/src/components/theme-toggle/theme-toggle.css +7 -0
- package/src/components/tiles/Tile.vue +90 -0
- package/src/components/tiles/Tiles.vue +45 -0
- package/src/components/tiles/tiles.css +93 -0
- package/src/components/tooltip/Tooltip.vue +31 -0
- package/src/components/tooltip/tooltip-enhance.js +42 -0
- package/src/components/tooltip/tooltip.css +118 -0
- package/src/components/topbar/BackToTop.vue +18 -0
- package/src/components/topbar/TopBar.vue +25 -0
- package/src/components/topbar/topbar.css +127 -0
- package/src/components/water/Flask.vue +44 -0
- package/src/components/water/Pending.vue +32 -0
- package/src/components/water/water.css +262 -0
- package/src/components/widget-frame/WidgetFrame.vue +31 -0
- package/src/components/widget-frame/widget-frame.css +46 -0
- package/src/enhance.js +13 -0
- package/src/fonts/jetbrains-mono/OFL.txt +93 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-greek.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-italic-greek.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-italic-latin.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-italic-symbols.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-latin.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-symbols.woff2 +0 -0
- package/src/fonts/roboto-slab/LICENSE.txt +202 -0
- package/src/fonts/roboto-slab/roboto-slab-greek.woff2 +0 -0
- package/src/fonts/roboto-slab/roboto-slab-latin.woff2 +0 -0
- package/src/fonts/roboto-slab/roboto-slab-symbols.woff2 +0 -0
- package/src/fonts/xmind/OFL.txt +93 -0
- package/src/fonts/xmind/xmind-greek.woff2 +0 -0
- package/src/fonts/xmind/xmind-italic-greek.woff2 +0 -0
- package/src/fonts/xmind/xmind-italic-latin.woff2 +0 -0
- package/src/fonts/xmind/xmind-italic-symbols.woff2 +0 -0
- package/src/fonts/xmind/xmind-latin.woff2 +0 -0
- package/src/fonts/xmind/xmind-symbols.woff2 +0 -0
- package/src/head-scripts/table-init.js +9 -0
- package/src/head-scripts/theme-init.js +10 -0
- package/src/icons/LICENSE-phosphor.txt +21 -0
- package/src/icons/LICENSE-tabler.txt +21 -0
- package/src/icons/icon-set.js +715 -0
- package/src/icons/sources/satellite-duotone.svg +2 -0
- package/src/index.css +64 -0
- package/src/interactive-enhance.js +22 -0
- package/src/interactive.css +239 -0
- package/src/shared/after-slide.js +14 -0
- package/src/shared/astro-attributes.d.ts +58 -0
- package/src/shared/clock-face.js +148 -0
- package/src/shared/component-id.ts +17 -0
- package/src/shared/define-element.ts +51 -0
- package/src/shared/dial-face.js +111 -0
- package/src/shared/dial-geometry.js +96 -0
- package/src/shared/each-element.js +38 -0
- package/src/shared/field-attrs.ts +32 -0
- package/src/shared/hues.ts +111 -0
- package/src/shared/light-angle.js +49 -0
- package/src/shared/live-value.ts +142 -0
- package/src/shared/model-start.ts +23 -0
- package/src/shared/option-group.ts +19 -0
- package/src/shared/option-slot.ts +97 -0
- package/src/shared/slot-html.ts +53 -0
- package/src/shared/split-attrs.ts +64 -0
- package/src/shared/starting-option.ts +14 -0
- package/src/tokens/colors.css +122 -0
- package/src/tokens/fallback.css +67 -0
- package/src/tokens/motion.css +31 -0
- package/src/tokens/palettes.css +36 -0
- package/src/tokens/shadow-color.css +178 -0
- package/src/tokens/shadows.css +127 -0
- package/src/tokens/space.css +20 -0
- package/src/tsconfig.json +19 -0
|
@@ -0,0 +1,889 @@
|
|
|
1
|
+
/* Drawer: storage that slides out from under an edge of the element it sits in, built on
|
|
2
|
+
<details>, so it needs no JavaScript. Put it last in its parent (first for the top), or stack
|
|
3
|
+
several in a cabinet. Drawers sharing a `name` close each other.
|
|
4
|
+
|
|
5
|
+
<details class="rkui-drawer" name="…">
|
|
6
|
+
<summary class="rkui-drawer-handle">
|
|
7
|
+
<span class="rkui-drawer-pull">
|
|
8
|
+
<svg class="rkui-icon rkui-icon--small">…optional icon…</svg>
|
|
9
|
+
<span class="rkui-drawer-label">Tools</span>
|
|
10
|
+
<svg class="rkui-icon rkui-icon--small rkui-drawer-caret">…caret-down…</svg>
|
|
11
|
+
</span>
|
|
12
|
+
</summary>
|
|
13
|
+
<div class="rkui-drawer-body">…</div>
|
|
14
|
+
</details>
|
|
15
|
+
|
|
16
|
+
A cabinet stacks drawers as one: <div class="rkui-cabinet"><details class="rkui-drawer">…
|
|
17
|
+
</details>…</div>. Its drawers pull out from the bottom.
|
|
18
|
+
|
|
19
|
+
A remote drawer, .rkui-drawer--remote, is opened by a button elsewhere on the page, with no
|
|
20
|
+
JavaScript: the button's popovertarget names the drawer's switch, an empty popover that is
|
|
21
|
+
never drawn, and the drawer is open while it is shown. Its front is no button: it holds only
|
|
22
|
+
the caret, or for a blind an empty ring at the cord's end, and doesn't pop.
|
|
23
|
+
|
|
24
|
+
<div class="rkui-drawer rkui-drawer--remote" role="group" aria-label="Tools">
|
|
25
|
+
<div id="tools" class="rkui-drawer-switch" popover="manual"></div>
|
|
26
|
+
<div class="rkui-drawer-handle" aria-hidden="true">
|
|
27
|
+
<svg class="rkui-icon rkui-icon--small rkui-drawer-caret">…caret-down…</svg>
|
|
28
|
+
(a blind: <span class="rkui-drawer-ring"></span>)
|
|
29
|
+
</div>
|
|
30
|
+
<div class="rkui-drawer-tray"><div class="rkui-drawer-body">…</div></div>
|
|
31
|
+
</div>
|
|
32
|
+
<button popovertarget="tools">Tools</button>
|
|
33
|
+
|
|
34
|
+
An overlay drawer, .rkui-drawer--overlay, hangs over the page beyond its parent's edge rather
|
|
35
|
+
than pushing it away: it is placed absolutely against that edge of its containing block (give
|
|
36
|
+
the parent position: relative, and don't clip it), and the page may set its inset. A drawer on
|
|
37
|
+
the left or right always does.
|
|
38
|
+
|
|
39
|
+
Where it pulls out: from the bottom edge by default, or .rkui-drawer--top, --left or --right.
|
|
40
|
+
The rules below are written down the page, from the parent's edge towards the handle; the
|
|
41
|
+
sections near the end turn them round for the top, and sideways for the left and right. On the
|
|
42
|
+
left and right it hangs beyond its parent's side, as tall as the parent, and its tray opens to
|
|
43
|
+
its contents' width, at most --rkui-drawer-width (min(12rem, 35vw) when left out). A card
|
|
44
|
+
holding one doesn't clip it. In a right-to-left page left and right swap.
|
|
45
|
+
|
|
46
|
+
The default is a drawer. Its tray, in the colour behind folder tabs, is sunk into the parent
|
|
47
|
+
by the inset (shadows.css), and its front (the summary) sits beyond it. It slides out from
|
|
48
|
+
under the parent; closed, it slams back in, overshoots a little and settles, and the parent
|
|
49
|
+
gives a small jolt as it lands.
|
|
50
|
+
.rkui-drawer--blind is a roller blind. A roller lies along the parent's edge; the screen
|
|
51
|
+
unrolls from it under its weighted hem (the summary), bounces as it reaches its end, and
|
|
52
|
+
snaps back into the roller. The roller's stripes move as it turns. Its pull is a yellow ring
|
|
53
|
+
holding the caret, with the label visually hidden (.rkui-visually-hidden); with
|
|
54
|
+
.rkui-drawer--show-label it is a pill showing the label too.
|
|
55
|
+
|
|
56
|
+
The caret points the way the drawer will move, and turns half a turn as it opens and closes.
|
|
57
|
+
|
|
58
|
+
A coloured drawer, .rkui-drawer--hue, sets three custom properties (Drawer.vue's `hue`):
|
|
59
|
+
--rkui-drawer-tint, a pale tint for the drawer's tray or the blind's screen, which carry
|
|
60
|
+
--rkui-fg text; --rkui-drawer-hue, a solid fill for the pull and the blind's hem; and
|
|
61
|
+
--rkui-drawer-on-hue, the pull's text on it. In the colour shadow mode it casts the solid
|
|
62
|
+
hue's shade (shadow-color.css).
|
|
63
|
+
|
|
64
|
+
In a card's body it reaches the card's sides, and the last one its bottom edge. In another
|
|
65
|
+
parent, set --rkui-drawer-bleed to the parent's padding for the same, and clip the parent's
|
|
66
|
+
corners (overflow: hidden) as a card does. A drawer on top reaches the parent's top edge when
|
|
67
|
+
it comes first.
|
|
68
|
+
|
|
69
|
+
The parent that jolts is a card holding a drawer in its body, or a cabinet. Any other parent
|
|
70
|
+
jolts with the class rkui-drawer-host: it moves by its top and inline-start offsets, so it is
|
|
71
|
+
made position: relative unless the page positions it, and its own offsets are replaced.
|
|
72
|
+
|
|
73
|
+
Safari stops drawing the contents the moment a <details> closes, so drawer-enhance.js holds
|
|
74
|
+
a closing drawer open, marked data-rkui-closing, until its move ends; this file styles that
|
|
75
|
+
mark as shut. Without the script, Safari closes at once and the rest still moves. Browsers
|
|
76
|
+
without ::details-content (before 2025) show the contents with no tray.
|
|
77
|
+
|
|
78
|
+
Open means a <details> with [open] that isn't closing, or a remote drawer whose switch is
|
|
79
|
+
shown:
|
|
80
|
+
.rkui-drawer:is([open]:not([data-rkui-closing]), :has(> .rkui-drawer-switch:popover-open)) */
|
|
81
|
+
|
|
82
|
+
/* The slam, the jolt and the blind's bounce, as numbers that are 1 while a drawer is open and 0
|
|
83
|
+
once it has shut (the bounce runs from 0 to 1 as the blind unrolls): each moves by the sine of
|
|
84
|
+
half a turn times it, out and back, and rests at nothing. CSS can't tell a page load from a
|
|
85
|
+
click, but a transition only runs on a change, so none of them plays when a page loads, or
|
|
86
|
+
when a shut drawer is added to a page later. */
|
|
87
|
+
@property --rkui-drawer-slam {
|
|
88
|
+
syntax: '<number>';
|
|
89
|
+
inherits: false;
|
|
90
|
+
initial-value: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@property --rkui-drawer-jolt {
|
|
94
|
+
syntax: '<number>';
|
|
95
|
+
inherits: false;
|
|
96
|
+
initial-value: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@property --rkui-drawer-bounce {
|
|
100
|
+
syntax: '<number>';
|
|
101
|
+
inherits: false;
|
|
102
|
+
initial-value: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.rkui-drawer {
|
|
106
|
+
--rkui-recess-floor: var(--rkui-folder-back);
|
|
107
|
+
--rkui-drawer-overshoot: calc(var(--rkui-shadow-depth) * 3px);
|
|
108
|
+
/* The caret's turn while shut, pointing the way the drawer pulls out. */
|
|
109
|
+
--rkui-drawer-caret-turn: 0turn;
|
|
110
|
+
/* A clip that cuts off whatever falls past the side towards the parent, and nothing on the other
|
|
111
|
+
sides (100vmax is past any shadow): the shadow an overlay drawer would cast on its parent, and
|
|
112
|
+
a blind's screen and hem shadows that would fall on the part before them. */
|
|
113
|
+
--rkui-drawer-cut: inset(0 -100vmax -100vmax);
|
|
114
|
+
|
|
115
|
+
display: grid;
|
|
116
|
+
/* The parts in order from the parent's edge: the blind's roller, the tray, the handle. */
|
|
117
|
+
grid-template-areas: 'roller' 'tray' 'handle';
|
|
118
|
+
margin-inline: calc(-1 * var(--rkui-drawer-bleed, 0px));
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.rkui-drawer:where(:not(.rkui-drawer--top, .rkui-drawer--left, .rkui-drawer--right)):last-child {
|
|
122
|
+
margin-block-end: calc(-1 * var(--rkui-drawer-bleed, 0px));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.rkui-card-body > .rkui-drawer {
|
|
126
|
+
--rkui-drawer-bleed: var(--rkui-space-4);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* The handle: the drawer's front, the width of the drawer, with a pull in the middle. The pull
|
|
130
|
+
pops when the handle is hovered or pressed and shows the focus band (interactive.css). */
|
|
131
|
+
.rkui-drawer-handle {
|
|
132
|
+
position: relative;
|
|
133
|
+
display: flex;
|
|
134
|
+
grid-area: handle;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
padding: var(--rkui-space-2);
|
|
137
|
+
border-block-start: var(--rkui-outline-width) solid var(--rkui-stripe);
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
list-style: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.rkui-drawer-handle::-webkit-details-marker {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.rkui-drawer-handle:focus-visible {
|
|
147
|
+
outline: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.rkui-drawer-pull {
|
|
151
|
+
display: inline-flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
gap: var(--rkui-space-1);
|
|
154
|
+
padding: var(--rkui-space-1) var(--rkui-space-3);
|
|
155
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
156
|
+
border-radius: var(--rkui-radius-pill);
|
|
157
|
+
background: var(--rkui-raised);
|
|
158
|
+
color: var(--rkui-fg);
|
|
159
|
+
font-size: var(--rkui-step--1);
|
|
160
|
+
font-weight: 600;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.rkui-drawer-pull .rkui-icon {
|
|
164
|
+
color: inherit;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* The caret points the way the drawer will move: out when shut, in when open. It has no shadow,
|
|
168
|
+
so it may turn. */
|
|
169
|
+
.rkui-drawer-caret {
|
|
170
|
+
rotate: var(--rkui-drawer-caret-turn);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.rkui-drawer:is([open]:not([data-rkui-closing]), :has(> .rkui-drawer-switch:popover-open))
|
|
174
|
+
> .rkui-drawer-handle
|
|
175
|
+
.rkui-drawer-caret {
|
|
176
|
+
rotate: calc(var(--rkui-drawer-caret-turn) + 0.5turn);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* The tray, sunk into the parent by the inset. Open, its one row grows from
|
|
180
|
+
nothing to its contents' height: an fr track animates where height: auto can't. The contents
|
|
181
|
+
keep to the far edge, by the handle, so they slide out from under the parent with it. A remote
|
|
182
|
+
drawer's tray is hidden once it has shut, as a closed <details> hides its contents. */
|
|
183
|
+
.rkui-drawer::details-content,
|
|
184
|
+
.rkui-drawer-tray {
|
|
185
|
+
display: grid;
|
|
186
|
+
grid-template-rows: minmax(0, 0fr);
|
|
187
|
+
grid-area: tray;
|
|
188
|
+
align-content: end;
|
|
189
|
+
overflow: clip;
|
|
190
|
+
background: var(--rkui-recess-floor);
|
|
191
|
+
box-shadow: var(--rkui-shadow-recess);
|
|
192
|
+
/* In faster, speeding up; content-visibility and visibility wait out the move, so the contents
|
|
193
|
+
stay drawn. */
|
|
194
|
+
transition:
|
|
195
|
+
grid-template-rows var(--rkui-duration-spring) ease-in,
|
|
196
|
+
grid-template-columns var(--rkui-duration-spring) ease-in,
|
|
197
|
+
content-visibility var(--rkui-duration-spring) allow-discrete,
|
|
198
|
+
visibility var(--rkui-duration-spring);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.rkui-drawer-tray {
|
|
202
|
+
visibility: hidden;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* Out, slowing to a stop. */
|
|
206
|
+
.rkui-drawer[open]:not([data-rkui-closing])::details-content,
|
|
207
|
+
.rkui-drawer:has(> .rkui-drawer-switch:popover-open) > .rkui-drawer-tray {
|
|
208
|
+
grid-template-rows: minmax(0, 1fr);
|
|
209
|
+
visibility: visible;
|
|
210
|
+
transition:
|
|
211
|
+
grid-template-rows var(--rkui-duration-slide) ease-out,
|
|
212
|
+
grid-template-columns var(--rkui-duration-slide) ease-out;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.rkui-drawer-body {
|
|
216
|
+
align-self: end;
|
|
217
|
+
min-block-size: 0;
|
|
218
|
+
padding: var(--rkui-space-4);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.rkui-drawer-body > * {
|
|
222
|
+
margin: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* A remote drawer's switch is never drawn, and its front is no button. */
|
|
226
|
+
.rkui-drawer-switch {
|
|
227
|
+
display: none;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.rkui-drawer--remote > .rkui-drawer-handle {
|
|
231
|
+
cursor: default;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* An overlay drawer, and every drawer on the left or right, hangs over what lies beyond its
|
|
235
|
+
parent's edge instead of pushing it away: it is placed against that edge of its containing
|
|
236
|
+
block, as wide as it (as tall on the left and right), above the page that follows. A drawer has
|
|
237
|
+
its own fill, outline and shadow, with no outline along the parent's edge, so the parent seems
|
|
238
|
+
to bulge out; a blind already hangs in front with its own. */
|
|
239
|
+
:is(.rkui-drawer--overlay, .rkui-drawer--left, .rkui-drawer--right) {
|
|
240
|
+
position: absolute;
|
|
241
|
+
z-index: 1;
|
|
242
|
+
inset: 100% 0 auto;
|
|
243
|
+
margin: 0;
|
|
244
|
+
clip-path: var(--rkui-drawer-cut);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.rkui-drawer--overlay.rkui-drawer--top {
|
|
248
|
+
inset: auto 0 100%;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/* On the sides it covers the parent's outline, so its own lines up with it, and it is as wide as
|
|
252
|
+
its open tray, though it starts at the parent's edge with no room before it. */
|
|
253
|
+
.rkui-drawer--left {
|
|
254
|
+
inset-block: calc(-1 * var(--rkui-outline-width));
|
|
255
|
+
inset-inline: auto 100%;
|
|
256
|
+
inline-size: max-content;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.rkui-drawer--right {
|
|
260
|
+
inset-block: calc(-1 * var(--rkui-outline-width));
|
|
261
|
+
inset-inline: 100% auto;
|
|
262
|
+
inline-size: max-content;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/* A card holding one on its side doesn't clip it, so its image rounds its own top corners, and
|
|
266
|
+
a drawer there squares the corners it joins. */
|
|
267
|
+
.rkui-card:has(> .rkui-card-body > :is(.rkui-drawer--left, .rkui-drawer--right)) {
|
|
268
|
+
overflow: visible;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.rkui-card:has(> .rkui-card-body > .rkui-drawer--left:not(.rkui-drawer--blind)) {
|
|
272
|
+
border-start-start-radius: 0;
|
|
273
|
+
border-end-start-radius: 0;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.rkui-card:has(> .rkui-card-body > .rkui-drawer--right:not(.rkui-drawer--blind)) {
|
|
277
|
+
border-start-end-radius: 0;
|
|
278
|
+
border-end-end-radius: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.rkui-card:has(> .rkui-card-body > :is(.rkui-drawer--left, .rkui-drawer--right))
|
|
282
|
+
> .rkui-card-image {
|
|
283
|
+
border-start-start-radius: inherit;
|
|
284
|
+
border-start-end-radius: inherit;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
:is(.rkui-drawer--overlay, .rkui-drawer--left, .rkui-drawer--right):not(.rkui-drawer--blind) {
|
|
288
|
+
overflow: clip;
|
|
289
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
290
|
+
border-block-start: none;
|
|
291
|
+
border-end-start-radius: var(--rkui-radius);
|
|
292
|
+
border-end-end-radius: var(--rkui-radius);
|
|
293
|
+
background: var(--rkui-raised);
|
|
294
|
+
color: var(--rkui-fg);
|
|
295
|
+
box-shadow: var(--rkui-shadow);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.rkui-drawer--overlay.rkui-drawer--top:not(.rkui-drawer--blind) {
|
|
299
|
+
border-block-start: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
300
|
+
border-block-end: none;
|
|
301
|
+
border-radius: var(--rkui-radius) var(--rkui-radius) 0 0;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
:is(.rkui-drawer--left, .rkui-drawer--right):not(.rkui-drawer--blind) {
|
|
305
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
306
|
+
border-radius: 0;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.rkui-drawer--left:not(.rkui-drawer--blind) {
|
|
310
|
+
border-inline-end: none;
|
|
311
|
+
border-start-start-radius: var(--rkui-radius);
|
|
312
|
+
border-end-start-radius: var(--rkui-radius);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.rkui-drawer--right:not(.rkui-drawer--blind) {
|
|
316
|
+
border-inline-start: none;
|
|
317
|
+
border-start-end-radius: var(--rkui-radius);
|
|
318
|
+
border-end-end-radius: var(--rkui-radius);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/* A cabinet: drawers stacked as one on a raised panel, each front its width. The top drawer's
|
|
322
|
+
front has no seam, since the cabinet's edge is there. */
|
|
323
|
+
.rkui-cabinet {
|
|
324
|
+
--rkui-drawer-bleed: 0px;
|
|
325
|
+
|
|
326
|
+
position: relative;
|
|
327
|
+
display: grid;
|
|
328
|
+
overflow: hidden;
|
|
329
|
+
border-radius: var(--rkui-radius);
|
|
330
|
+
background: var(--rkui-raised);
|
|
331
|
+
color: var(--rkui-fg);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.rkui-cabinet > .rkui-drawer:first-child > .rkui-drawer-handle {
|
|
335
|
+
border-block-start-color: transparent;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* The blind: the roller, the screen hanging from it, a hem like the roller, and a round pull
|
|
339
|
+
on a short cord from the hem's middle, holding the caret, or the label and caret with
|
|
340
|
+
.rkui-drawer--show-label. The roller is a little wider
|
|
341
|
+
than the screen and hem. The whole blind hangs in front of the parent with one hard shadow: the
|
|
342
|
+
screen's grows as it unrolls, the roller is drawn first so the screen covers the part of its
|
|
343
|
+
shadow that falls there, and the screen's and hem's are cut off on the side towards the roller
|
|
344
|
+
(--rkui-drawer-cut), so neither falls on the part before it.
|
|
345
|
+
Each part is outlined, so its slab, widened by the outline in dark mode, lines up with its edge.
|
|
346
|
+
Shut, the roller, hem and pull show. */
|
|
347
|
+
.rkui-drawer--blind {
|
|
348
|
+
--rkui-drawer-screen: var(--rkui-panel);
|
|
349
|
+
--rkui-drawer-roller: var(--rkui-panel-tab);
|
|
350
|
+
--rkui-drawer-roller-size: 0.875rem;
|
|
351
|
+
--rkui-drawer-stripe-gap: 0.375rem;
|
|
352
|
+
/* The stripes run across the roller, and move the way the screen unrolls as it turns. */
|
|
353
|
+
--rkui-drawer-stripes: to bottom;
|
|
354
|
+
--rkui-drawer-roll: 0 calc(4 * var(--rkui-drawer-stripe-gap));
|
|
355
|
+
--rkui-drawer-bounce-size: calc(var(--rkui-shadow-depth) * 6px);
|
|
356
|
+
--rkui-drawer-unroll: calc(1.5 * var(--rkui-duration-slide));
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* The roller: stripes over its fill, which move as it unrolls the screen and back as it winds
|
|
360
|
+
it in. It casts the hard shadow too, drawn before the screen, so the screen covers the part
|
|
361
|
+
that falls on it and the blind casts one shadow. */
|
|
362
|
+
.rkui-drawer--blind::before {
|
|
363
|
+
content: '';
|
|
364
|
+
grid-area: roller;
|
|
365
|
+
block-size: var(--rkui-drawer-roller-size);
|
|
366
|
+
margin-inline: var(--rkui-space-2);
|
|
367
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
368
|
+
border-radius: var(--rkui-radius-pill);
|
|
369
|
+
background:
|
|
370
|
+
repeating-linear-gradient(
|
|
371
|
+
var(--rkui-drawer-stripes),
|
|
372
|
+
transparent 0 calc(var(--rkui-drawer-stripe-gap) - var(--rkui-outline-width)),
|
|
373
|
+
var(--rkui-stripe) 0 var(--rkui-drawer-stripe-gap)
|
|
374
|
+
),
|
|
375
|
+
var(--rkui-drawer-roller);
|
|
376
|
+
box-shadow: var(--rkui-shadow);
|
|
377
|
+
transition: background-position var(--rkui-duration-spring) ease-in;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.rkui-drawer--blind:is(
|
|
381
|
+
[open]:not([data-rkui-closing]),
|
|
382
|
+
:has(> .rkui-drawer-switch:popover-open)
|
|
383
|
+
)::before {
|
|
384
|
+
background-position:
|
|
385
|
+
var(--rkui-drawer-roll),
|
|
386
|
+
0 0;
|
|
387
|
+
transition: background-position var(--rkui-drawer-unroll) ease-in;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.rkui-drawer--blind::details-content,
|
|
391
|
+
.rkui-drawer--blind > .rkui-drawer-tray {
|
|
392
|
+
margin-inline: var(--rkui-space-4);
|
|
393
|
+
padding-block-end: calc(
|
|
394
|
+
sin(var(--rkui-drawer-bounce) * 0.5turn) * var(--rkui-drawer-bounce-size)
|
|
395
|
+
);
|
|
396
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
397
|
+
border-block: none;
|
|
398
|
+
background: var(--rkui-drawer-screen);
|
|
399
|
+
box-shadow: var(--rkui-shadow);
|
|
400
|
+
clip-path: var(--rkui-drawer-cut);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* The screen falls, speeding up as under gravity, and the roller turns with it; once it is down,
|
|
404
|
+
the screen stretches a little and settles. Winding up is quick, then the hem snaps into the
|
|
405
|
+
roller. */
|
|
406
|
+
.rkui-drawer--blind[open]:not([data-rkui-closing])::details-content,
|
|
407
|
+
.rkui-drawer--blind:has(> .rkui-drawer-switch:popover-open) > .rkui-drawer-tray {
|
|
408
|
+
--rkui-drawer-bounce: 1;
|
|
409
|
+
|
|
410
|
+
transition:
|
|
411
|
+
grid-template-rows var(--rkui-drawer-unroll) ease-in,
|
|
412
|
+
grid-template-columns var(--rkui-drawer-unroll) ease-in,
|
|
413
|
+
--rkui-drawer-bounce calc(2 * var(--rkui-duration-spring)) ease-out var(--rkui-drawer-unroll);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* Shut, the screen has no height, and its shadow would show as a strip under the hem. */
|
|
417
|
+
.rkui-drawer--blind:not([open])::details-content,
|
|
418
|
+
.rkui-drawer--blind:not(:has(> .rkui-drawer-switch:popover-open)) > .rkui-drawer-tray {
|
|
419
|
+
box-shadow: none;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/* The cut makes the screen a layer of its own, so the hem is raised above it again, within the
|
|
423
|
+
blind. */
|
|
424
|
+
.rkui-drawer--blind {
|
|
425
|
+
isolation: isolate;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.rkui-drawer--blind > .rkui-drawer-handle {
|
|
429
|
+
z-index: 1;
|
|
430
|
+
flex-direction: column;
|
|
431
|
+
align-items: center;
|
|
432
|
+
margin-inline: var(--rkui-space-4);
|
|
433
|
+
padding: 0;
|
|
434
|
+
padding-block-end: var(--rkui-space-3);
|
|
435
|
+
border-block-start: none;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.rkui-drawer--blind > .rkui-drawer-handle::before {
|
|
439
|
+
content: '';
|
|
440
|
+
align-self: stretch;
|
|
441
|
+
block-size: var(--rkui-drawer-roller-size);
|
|
442
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
443
|
+
border-end-start-radius: var(--rkui-space-1);
|
|
444
|
+
border-end-end-radius: var(--rkui-space-1);
|
|
445
|
+
background: var(--rkui-drawer-roller);
|
|
446
|
+
box-shadow: var(--rkui-shadow);
|
|
447
|
+
clip-path: var(--rkui-drawer-cut);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* The pull: a yellow ring, hung from the hem's middle by its cord. A remote blind's is an empty
|
|
451
|
+
ring the size of the pull, outlined like the hem. */
|
|
452
|
+
.rkui-drawer--blind > .rkui-drawer-handle :is(.rkui-drawer-pull, .rkui-drawer-ring) {
|
|
453
|
+
position: relative;
|
|
454
|
+
margin-block-start: var(--rkui-space-2);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.rkui-drawer--blind > .rkui-drawer-handle .rkui-drawer-pull {
|
|
458
|
+
padding: var(--rkui-space-1);
|
|
459
|
+
border-color: var(--rkui-line);
|
|
460
|
+
background: var(--rkui-selected);
|
|
461
|
+
color: var(--rkui-on-selected);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.rkui-drawer-ring {
|
|
465
|
+
box-sizing: content-box;
|
|
466
|
+
inline-size: 1.25rem;
|
|
467
|
+
block-size: 1.25rem;
|
|
468
|
+
padding: var(--rkui-space-1);
|
|
469
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
470
|
+
border-radius: var(--rkui-radius-pill);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.rkui-drawer--blind > .rkui-drawer-handle :is(.rkui-drawer-pull, .rkui-drawer-ring)::before {
|
|
474
|
+
content: '';
|
|
475
|
+
position: absolute;
|
|
476
|
+
inset-block-end: calc(100% + var(--rkui-outline-width));
|
|
477
|
+
inset-inline-start: calc(50% - var(--rkui-outline-width) / 2);
|
|
478
|
+
inline-size: var(--rkui-outline-width);
|
|
479
|
+
block-size: var(--rkui-space-2);
|
|
480
|
+
background: var(--rkui-line-unfilled);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/* With show-label, the ring grows into a pill holding the label beside the caret, still hung
|
|
484
|
+
from the cord's end at its middle. */
|
|
485
|
+
.rkui-drawer--show-label > .rkui-drawer-handle .rkui-drawer-pull {
|
|
486
|
+
padding-inline: var(--rkui-space-2);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* A coloured drawer: the tray or screen takes the tint, and the inset's grey step is mixed from
|
|
490
|
+
it; the pull, and the blind's hem, take the solid hue, outlined as fills are. */
|
|
491
|
+
.rkui-drawer--hue {
|
|
492
|
+
--rkui-recess-floor: var(--rkui-drawer-tint);
|
|
493
|
+
--rkui-drawer-screen: var(--rkui-drawer-tint);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.rkui-drawer--hue > .rkui-drawer-handle .rkui-drawer-pull {
|
|
497
|
+
border-color: var(--rkui-line);
|
|
498
|
+
background: var(--rkui-drawer-hue);
|
|
499
|
+
color: var(--rkui-drawer-on-hue);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.rkui-drawer--hue.rkui-drawer--blind > .rkui-drawer-handle::before {
|
|
503
|
+
border-color: var(--rkui-line);
|
|
504
|
+
background: var(--rkui-drawer-hue);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/* On top, the drawer is turned round: the handle comes first, then the tray, whose contents keep
|
|
508
|
+
to the handle, and the moves run upwards. */
|
|
509
|
+
.rkui-drawer--top {
|
|
510
|
+
--rkui-drawer-caret-turn: 0.5turn;
|
|
511
|
+
--rkui-drawer-cut: inset(-100vmax -100vmax 0);
|
|
512
|
+
|
|
513
|
+
grid-template-areas: 'handle' 'tray' 'roller';
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.rkui-drawer--top:first-child {
|
|
517
|
+
margin-block-start: calc(-1 * var(--rkui-drawer-bleed, 0px));
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.rkui-drawer--top > .rkui-drawer-handle {
|
|
521
|
+
border-block-start: none;
|
|
522
|
+
border-block-end: var(--rkui-outline-width) solid var(--rkui-stripe);
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.rkui-drawer--top::details-content,
|
|
526
|
+
.rkui-drawer--top > .rkui-drawer-tray {
|
|
527
|
+
align-content: start;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.rkui-drawer--top > .rkui-drawer-body,
|
|
531
|
+
.rkui-drawer--top > .rkui-drawer-tray > .rkui-drawer-body {
|
|
532
|
+
align-self: start;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.rkui-drawer--blind.rkui-drawer--top {
|
|
536
|
+
--rkui-drawer-roll: 0 calc(-4 * var(--rkui-drawer-stripe-gap));
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.rkui-drawer--blind.rkui-drawer--top::details-content,
|
|
540
|
+
.rkui-drawer--blind.rkui-drawer--top > .rkui-drawer-tray {
|
|
541
|
+
padding-block: calc(sin(var(--rkui-drawer-bounce) * 0.5turn) * var(--rkui-drawer-bounce-size)) 0;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.rkui-drawer--blind.rkui-drawer--top > .rkui-drawer-handle {
|
|
545
|
+
flex-direction: column-reverse;
|
|
546
|
+
border: none;
|
|
547
|
+
padding-block: var(--rkui-space-3) 0;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.rkui-drawer--blind.rkui-drawer--top > .rkui-drawer-handle::before {
|
|
551
|
+
border-radius: var(--rkui-space-1) var(--rkui-space-1) 0 0;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.rkui-drawer--blind.rkui-drawer--top
|
|
555
|
+
> .rkui-drawer-handle
|
|
556
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring) {
|
|
557
|
+
margin-block: 0 var(--rkui-space-2);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.rkui-drawer--blind.rkui-drawer--top
|
|
561
|
+
> .rkui-drawer-handle
|
|
562
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring)::before {
|
|
563
|
+
inset-block: calc(100% + var(--rkui-outline-width)) auto;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/* On the left and right the parts stand side by side, as tall as the parent, hanging beyond its
|
|
567
|
+
side (above). The tray opens sideways, to its contents' width up to --rkui-drawer-width. The
|
|
568
|
+
pull's label turns on end, with the foot of its letters towards the parent, as folder tabs on
|
|
569
|
+
the sides do. In a right-to-left page the sides swap. */
|
|
570
|
+
.rkui-drawer--left {
|
|
571
|
+
grid-template-areas: 'handle tray roller';
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.rkui-drawer--right {
|
|
575
|
+
grid-template-areas: 'roller tray handle';
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
/* The side of the screen it is on: the label's writing mode, the caret's turn, the way the
|
|
579
|
+
roller's stripes move and the side the cut is on. On the left the label is turned round to read
|
|
580
|
+
upwards, from the icon to the caret. Beside the parent, above and below the drawer, the cut
|
|
581
|
+
moves away from the parent by the shadow's offset towards it, so the end of the shadow's rim
|
|
582
|
+
doesn't show at the join. */
|
|
583
|
+
.rkui-drawer--left:dir(ltr),
|
|
584
|
+
.rkui-drawer--right:dir(rtl) {
|
|
585
|
+
--rkui-drawer-caret-turn: 0.25turn;
|
|
586
|
+
--rkui-drawer-turned: vertical-rl;
|
|
587
|
+
--rkui-drawer-roll: calc(-4 * var(--rkui-drawer-stripe-gap)) 0;
|
|
588
|
+
--rkui-drawer-join: calc(100% - max(0px, -1 * var(--rkui-shadow-offset-x)));
|
|
589
|
+
--rkui-drawer-cut: polygon(
|
|
590
|
+
-100vmax -100vmax,
|
|
591
|
+
var(--rkui-drawer-join) -100vmax,
|
|
592
|
+
var(--rkui-drawer-join) 0,
|
|
593
|
+
100% 0,
|
|
594
|
+
100% 100%,
|
|
595
|
+
var(--rkui-drawer-join) 100%,
|
|
596
|
+
var(--rkui-drawer-join) calc(100% + 100vmax),
|
|
597
|
+
-100vmax calc(100% + 100vmax)
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.rkui-drawer--right:dir(ltr),
|
|
602
|
+
.rkui-drawer--left:dir(rtl) {
|
|
603
|
+
--rkui-drawer-caret-turn: -0.25turn;
|
|
604
|
+
--rkui-drawer-turned: vertical-lr;
|
|
605
|
+
--rkui-drawer-roll: calc(4 * var(--rkui-drawer-stripe-gap)) 0;
|
|
606
|
+
--rkui-drawer-join: max(0px, var(--rkui-shadow-offset-x));
|
|
607
|
+
--rkui-drawer-cut: polygon(
|
|
608
|
+
calc(100% + 100vmax) -100vmax,
|
|
609
|
+
var(--rkui-drawer-join) -100vmax,
|
|
610
|
+
var(--rkui-drawer-join) 0,
|
|
611
|
+
0 0,
|
|
612
|
+
0 100%,
|
|
613
|
+
var(--rkui-drawer-join) 100%,
|
|
614
|
+
var(--rkui-drawer-join) calc(100% + 100vmax),
|
|
615
|
+
calc(100% + 100vmax) calc(100% + 100vmax)
|
|
616
|
+
);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
:is(.rkui-drawer--left, .rkui-drawer--right) > .rkui-drawer-handle .rkui-drawer-pull {
|
|
620
|
+
writing-mode: var(--rkui-drawer-turned);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
:is(.rkui-drawer--left:dir(ltr), .rkui-drawer--right:dir(rtl))
|
|
624
|
+
> .rkui-drawer-handle
|
|
625
|
+
.rkui-drawer-pull {
|
|
626
|
+
flex-direction: row-reverse;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
:is(.rkui-drawer--left:dir(ltr), .rkui-drawer--right:dir(rtl))
|
|
630
|
+
> .rkui-drawer-handle
|
|
631
|
+
.rkui-drawer-label {
|
|
632
|
+
display: inline-block;
|
|
633
|
+
rotate: 0.5turn;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/* The handle runs down the drawer's side, with the seam towards the tray, and slams sideways. */
|
|
637
|
+
:is(.rkui-drawer--left, .rkui-drawer--right) > .rkui-drawer-handle {
|
|
638
|
+
align-items: center;
|
|
639
|
+
border-block-start: none;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.rkui-drawer--left > .rkui-drawer-handle {
|
|
643
|
+
inset-block-start: 0;
|
|
644
|
+
inset-inline-start: calc(sin(var(--rkui-drawer-slam) * 0.5turn) * var(--rkui-drawer-overshoot));
|
|
645
|
+
border-inline-end: var(--rkui-outline-width) solid var(--rkui-stripe);
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.rkui-drawer--right > .rkui-drawer-handle {
|
|
649
|
+
inset-block-start: 0;
|
|
650
|
+
inset-inline-start: calc(
|
|
651
|
+
sin(var(--rkui-drawer-slam) * 0.5turn) * -1 * var(--rkui-drawer-overshoot)
|
|
652
|
+
);
|
|
653
|
+
border-inline-start: var(--rkui-outline-width) solid var(--rkui-stripe);
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/* The tray's one column grows instead of its row, and its contents keep to the handle's side. */
|
|
657
|
+
.rkui-drawer--left::details-content,
|
|
658
|
+
.rkui-drawer--left > .rkui-drawer-tray,
|
|
659
|
+
.rkui-drawer--right::details-content,
|
|
660
|
+
.rkui-drawer--right > .rkui-drawer-tray {
|
|
661
|
+
grid-template-rows: minmax(0, 1fr);
|
|
662
|
+
grid-template-columns: minmax(0, 0fr);
|
|
663
|
+
align-content: stretch;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.rkui-drawer--left::details-content,
|
|
667
|
+
.rkui-drawer--left > .rkui-drawer-tray {
|
|
668
|
+
justify-content: start;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.rkui-drawer--right::details-content,
|
|
672
|
+
.rkui-drawer--right > .rkui-drawer-tray {
|
|
673
|
+
justify-content: end;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
:is(.rkui-drawer--left, .rkui-drawer--right)[open]:not([data-rkui-closing])::details-content,
|
|
677
|
+
:is(.rkui-drawer--left, .rkui-drawer--right):has(> .rkui-drawer-switch:popover-open)
|
|
678
|
+
> .rkui-drawer-tray {
|
|
679
|
+
grid-template-columns: minmax(0, 1fr);
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
:is(.rkui-drawer--left, .rkui-drawer--right) > .rkui-drawer-body,
|
|
683
|
+
:is(.rkui-drawer--left, .rkui-drawer--right) > .rkui-drawer-tray > .rkui-drawer-body {
|
|
684
|
+
align-self: stretch;
|
|
685
|
+
inline-size: max-content;
|
|
686
|
+
max-inline-size: var(--rkui-drawer-width, min(12rem, 35vw));
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.rkui-drawer--left > .rkui-drawer-body,
|
|
690
|
+
.rkui-drawer--left > .rkui-drawer-tray > .rkui-drawer-body {
|
|
691
|
+
justify-self: start;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.rkui-drawer--right > .rkui-drawer-body,
|
|
695
|
+
.rkui-drawer--right > .rkui-drawer-tray > .rkui-drawer-body {
|
|
696
|
+
justify-self: end;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/* The blind on its side: the roller and hem stand upright, the screen unrolls sideways and
|
|
700
|
+
bounces at its far side, and the cord runs sideways from the hem to the pull. */
|
|
701
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right) {
|
|
702
|
+
--rkui-drawer-stripes: to right;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right)::before {
|
|
706
|
+
inline-size: var(--rkui-drawer-roller-size);
|
|
707
|
+
block-size: auto;
|
|
708
|
+
margin: var(--rkui-space-2) 0;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right)::details-content,
|
|
712
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right) > .rkui-drawer-tray {
|
|
713
|
+
margin: var(--rkui-space-4) 0;
|
|
714
|
+
padding: 0;
|
|
715
|
+
border: var(--rkui-outline-width) solid var(--rkui-line-unfilled);
|
|
716
|
+
border-inline: none;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.rkui-drawer--blind.rkui-drawer--left::details-content,
|
|
720
|
+
.rkui-drawer--blind.rkui-drawer--left > .rkui-drawer-tray {
|
|
721
|
+
padding-inline-start: calc(
|
|
722
|
+
sin(var(--rkui-drawer-bounce) * 0.5turn) * var(--rkui-drawer-bounce-size)
|
|
723
|
+
);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.rkui-drawer--blind.rkui-drawer--right::details-content,
|
|
727
|
+
.rkui-drawer--blind.rkui-drawer--right > .rkui-drawer-tray {
|
|
728
|
+
padding-inline-end: calc(
|
|
729
|
+
sin(var(--rkui-drawer-bounce) * 0.5turn) * var(--rkui-drawer-bounce-size)
|
|
730
|
+
);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right) > .rkui-drawer-handle {
|
|
734
|
+
margin: var(--rkui-space-4) 0;
|
|
735
|
+
padding: 0;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.rkui-drawer--blind.rkui-drawer--left > .rkui-drawer-handle {
|
|
739
|
+
flex-direction: row-reverse;
|
|
740
|
+
padding-inline-start: var(--rkui-space-3);
|
|
741
|
+
border-inline-end: none;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.rkui-drawer--blind.rkui-drawer--right > .rkui-drawer-handle {
|
|
745
|
+
flex-direction: row;
|
|
746
|
+
padding-inline-end: var(--rkui-space-3);
|
|
747
|
+
border-inline-start: none;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right) > .rkui-drawer-handle::before {
|
|
751
|
+
inline-size: var(--rkui-drawer-roller-size);
|
|
752
|
+
block-size: auto;
|
|
753
|
+
border-radius: 0;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.rkui-drawer--blind.rkui-drawer--left > .rkui-drawer-handle::before {
|
|
757
|
+
border-start-start-radius: var(--rkui-space-1);
|
|
758
|
+
border-end-start-radius: var(--rkui-space-1);
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.rkui-drawer--blind.rkui-drawer--right > .rkui-drawer-handle::before {
|
|
762
|
+
border-start-end-radius: var(--rkui-space-1);
|
|
763
|
+
border-end-end-radius: var(--rkui-space-1);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right)
|
|
767
|
+
> .rkui-drawer-handle
|
|
768
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring) {
|
|
769
|
+
margin: 0;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.rkui-drawer--blind.rkui-drawer--left
|
|
773
|
+
> .rkui-drawer-handle
|
|
774
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring) {
|
|
775
|
+
margin-inline-end: var(--rkui-space-2);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.rkui-drawer--blind.rkui-drawer--right
|
|
779
|
+
> .rkui-drawer-handle
|
|
780
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring) {
|
|
781
|
+
margin-inline-start: var(--rkui-space-2);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.rkui-drawer--blind:is(.rkui-drawer--left, .rkui-drawer--right)
|
|
785
|
+
> .rkui-drawer-handle
|
|
786
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring)::before {
|
|
787
|
+
/* Upright, though the pull is turned. */
|
|
788
|
+
writing-mode: horizontal-tb;
|
|
789
|
+
inset: calc(50% - var(--rkui-outline-width) / 2) auto auto;
|
|
790
|
+
inline-size: var(--rkui-space-2);
|
|
791
|
+
block-size: var(--rkui-outline-width);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.rkui-drawer--blind.rkui-drawer--left
|
|
795
|
+
> .rkui-drawer-handle
|
|
796
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring)::before {
|
|
797
|
+
inset-inline-start: calc(100% + var(--rkui-outline-width));
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.rkui-drawer--blind.rkui-drawer--right
|
|
801
|
+
> .rkui-drawer-handle
|
|
802
|
+
:is(.rkui-drawer-pull, .rkui-drawer-ring)::before {
|
|
803
|
+
inset-inline-end: calc(100% + var(--rkui-outline-width));
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/* The parent's jolt as a drawer (not a blind) lands: a card holding one in its body, a cabinet,
|
|
807
|
+
or a parent marked rkui-drawer-host. It moves the way the slam goes: up by default, down for a
|
|
808
|
+
drawer on top, and sideways for one on the left or right (--rkui-drawer-jolt-x along the line,
|
|
809
|
+
-y across it: -1, 0 or 1). */
|
|
810
|
+
.rkui-card:has(> .rkui-card-body > .rkui-drawer:not(.rkui-drawer--blind)),
|
|
811
|
+
.rkui-cabinet,
|
|
812
|
+
.rkui-drawer-host {
|
|
813
|
+
--rkui-drawer-jolt-size: calc(var(--rkui-shadow-depth) * 2px);
|
|
814
|
+
--rkui-drawer-jolt-x: 0;
|
|
815
|
+
--rkui-drawer-jolt-y: -1;
|
|
816
|
+
|
|
817
|
+
inset-block-start: calc(
|
|
818
|
+
sin(var(--rkui-drawer-jolt) * 0.5turn) * var(--rkui-drawer-jolt-y) *
|
|
819
|
+
var(--rkui-drawer-jolt-size)
|
|
820
|
+
);
|
|
821
|
+
inset-inline-start: calc(
|
|
822
|
+
sin(var(--rkui-drawer-jolt) * 0.5turn) * var(--rkui-drawer-jolt-x) *
|
|
823
|
+
var(--rkui-drawer-jolt-size)
|
|
824
|
+
);
|
|
825
|
+
transition: --rkui-drawer-jolt var(--rkui-duration-spring) ease-out var(--rkui-duration-spring);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.rkui-card:has(> .rkui-card-body > .rkui-drawer--top:not(.rkui-drawer--blind)),
|
|
829
|
+
:is(.rkui-cabinet, .rkui-drawer-host):has(> .rkui-drawer--top) {
|
|
830
|
+
--rkui-drawer-jolt-y: 1;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.rkui-card:has(> .rkui-card-body > .rkui-drawer--left:not(.rkui-drawer--blind)),
|
|
834
|
+
.rkui-drawer-host:has(> .rkui-drawer--left) {
|
|
835
|
+
--rkui-drawer-jolt-x: 1;
|
|
836
|
+
--rkui-drawer-jolt-y: 0;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.rkui-card:has(> .rkui-card-body > .rkui-drawer--right:not(.rkui-drawer--blind)),
|
|
840
|
+
.rkui-drawer-host:has(> .rkui-drawer--right) {
|
|
841
|
+
--rkui-drawer-jolt-x: -1;
|
|
842
|
+
--rkui-drawer-jolt-y: 0;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
:where(.rkui-drawer-host) {
|
|
846
|
+
position: relative;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.rkui-card:has(
|
|
850
|
+
> .rkui-card-body > .rkui-drawer[open]:not([data-rkui-closing]):not(.rkui-drawer--blind)
|
|
851
|
+
),
|
|
852
|
+
.rkui-card:has(
|
|
853
|
+
> .rkui-card-body > .rkui-drawer:not(.rkui-drawer--blind) > .rkui-drawer-switch:popover-open
|
|
854
|
+
),
|
|
855
|
+
:is(.rkui-cabinet, .rkui-drawer-host):has(
|
|
856
|
+
> .rkui-drawer[open]:not([data-rkui-closing]):not(.rkui-drawer--blind)
|
|
857
|
+
),
|
|
858
|
+
:is(.rkui-cabinet, .rkui-drawer-host):has(
|
|
859
|
+
> .rkui-drawer:not(.rkui-drawer--blind) > .rkui-drawer-switch:popover-open
|
|
860
|
+
) {
|
|
861
|
+
--rkui-drawer-jolt: 1;
|
|
862
|
+
|
|
863
|
+
transition: none;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/* The handle's slam into the parent, or the hem's into the roller, past where it rests and back,
|
|
867
|
+
once the tray is in. */
|
|
868
|
+
.rkui-drawer-handle {
|
|
869
|
+
inset-block-start: calc(
|
|
870
|
+
sin(var(--rkui-drawer-slam) * 0.5turn) * -1 * var(--rkui-drawer-overshoot)
|
|
871
|
+
);
|
|
872
|
+
transition: --rkui-drawer-slam var(--rkui-duration-spring) ease-out var(--rkui-duration-spring);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.rkui-drawer--top > .rkui-drawer-handle {
|
|
876
|
+
inset-block-start: calc(sin(var(--rkui-drawer-slam) * 0.5turn) * var(--rkui-drawer-overshoot));
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.rkui-drawer:is([open]:not([data-rkui-closing]), :has(> .rkui-drawer-switch:popover-open))
|
|
880
|
+
> .rkui-drawer-handle {
|
|
881
|
+
--rkui-drawer-slam: 1;
|
|
882
|
+
|
|
883
|
+
transition: none;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/* Under reduced motion the duration tokens are zero, so everything happens at once. */
|
|
887
|
+
.rkui-drawer-caret {
|
|
888
|
+
transition: rotate var(--rkui-duration-slide) var(--rkui-ease-snap);
|
|
889
|
+
}
|