@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,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {number} value
|
|
3
|
+
* @param {number} divisor
|
|
4
|
+
* @returns {number} `value` modulo `divisor`, never negative
|
|
5
|
+
*/
|
|
6
|
+
export function wrap(value: number, divisor: number): number;
|
|
7
|
+
/**
|
|
8
|
+
* @param {number} previous the angle a hand points at now, which may be past 360 or below 0
|
|
9
|
+
* @param {number} angle the way it should point next, from 0 to 360
|
|
10
|
+
* @returns {number} the angle nearest `previous` that points the same way as `angle`, so the
|
|
11
|
+
* hand takes the short way round instead of spinning back past 12
|
|
12
|
+
*/
|
|
13
|
+
export function nearestTurn(previous: number, angle: number): number;
|
|
14
|
+
/**
|
|
15
|
+
* @param {number} radius
|
|
16
|
+
* @param {number} angle
|
|
17
|
+
* @returns {{ x: number, y: number }} the point in the SVG at `radius` and `angle` from the centre
|
|
18
|
+
*/
|
|
19
|
+
export function polarToCartesian(radius: number, angle: number): {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @param {number} radius
|
|
25
|
+
* @param {number} angle
|
|
26
|
+
* @returns {{ x: number, y: number }} the same point as a percentage of the face's width and
|
|
27
|
+
* height, for CSS to centre an element on it
|
|
28
|
+
*/
|
|
29
|
+
export function percentOfFace(radius: number, angle: number): {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @param {number} radius
|
|
35
|
+
* @param {number} fromAngle
|
|
36
|
+
* @param {number} toAngle
|
|
37
|
+
* @returns {string} SVG path data for a clockwise arc
|
|
38
|
+
*/
|
|
39
|
+
export function arcPath(radius: number, fromAngle: number, toAngle: number): string;
|
|
40
|
+
/**
|
|
41
|
+
* @param {number} innerRadius
|
|
42
|
+
* @param {number} outerRadius
|
|
43
|
+
* @param {number} angle
|
|
44
|
+
* @returns {{ x1: number, y1: number, x2: number, y2: number }} the ends of an SVG `<line>`
|
|
45
|
+
* pointing out from the centre, between the two radii
|
|
46
|
+
*/
|
|
47
|
+
export function radialLine(innerRadius: number, outerRadius: number, angle: number): {
|
|
48
|
+
x1: number;
|
|
49
|
+
y1: number;
|
|
50
|
+
x2: number;
|
|
51
|
+
y2: number;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @param {number} dx distance right of the centre
|
|
55
|
+
* @param {number} dy distance below the centre
|
|
56
|
+
* @returns {number} the angle of that point, from -180 to 180
|
|
57
|
+
*/
|
|
58
|
+
export function pointToAngle(dx: number, dy: number): number;
|
|
59
|
+
/**
|
|
60
|
+
* Geometry shared by the clock and dial faces, which Clock.vue and Dial.vue draw. No DOM: every
|
|
61
|
+
* function takes numbers and returns numbers, strings or plain objects. Angles are degrees
|
|
62
|
+
* clockwise from 12 o'clock.
|
|
63
|
+
*/
|
|
64
|
+
/** A face's SVG is drawn in a square of this many units, centred on (CENTRE, CENTRE). */
|
|
65
|
+
export const VIEWBOX: 200;
|
|
66
|
+
export const CENTRE: number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Calls `setUp` once for each element that matches `selector`, now and whenever one is added to
|
|
3
|
+
* the page later. Each element it sets up gets the attribute `mark`, so none is set up twice, even
|
|
4
|
+
* by a second copy of the script.
|
|
5
|
+
* @param {string} selector
|
|
6
|
+
* @param {string} mark an attribute name, e.g. 'data-rkui-bar'
|
|
7
|
+
* @param {(element: HTMLElement) => void} setUp
|
|
8
|
+
*/
|
|
9
|
+
export function eachElement(selector: string, mark: string, setUp: (element: HTMLElement) => void): void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shadow direction that points away from a light at `angle`.
|
|
3
|
+
* @param {number} angle where the light comes from
|
|
4
|
+
* @returns {{ dx: string, dy: string }} the values for --rkui-shadow-dx and --rkui-shadow-dy
|
|
5
|
+
*/
|
|
6
|
+
export function shadowOffsets(angle: number): {
|
|
7
|
+
dx: string;
|
|
8
|
+
dy: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The sun rises on the left at 6:00, is overhead at noon and sets on the right at 18:00, so 9:00
|
|
12
|
+
* gives the default angle. At night the light goes back to the default.
|
|
13
|
+
* @param {Date} time
|
|
14
|
+
* @returns {number} the light angle at `time`
|
|
15
|
+
*/
|
|
16
|
+
export function sunAngle(time: Date): number;
|
|
17
|
+
/**
|
|
18
|
+
* The maths behind LightDirection. No DOM. Angles are in degrees, clockwise from 12 o'clock, and
|
|
19
|
+
* name where the light comes from.
|
|
20
|
+
*/
|
|
21
|
+
/** Where the light comes from by default: the top left. */
|
|
22
|
+
export const DEFAULT_ANGLE: 315;
|
package/package.json
CHANGED
|
@@ -1,6 +1,102 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneonefour/rkui",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/OneOneFour/rkui.git"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://www.robertcking.com/rkui/",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"exports": {
|
|
12
|
+
"./styles.css": "./src/index.css",
|
|
13
|
+
"./tokens/*": "./src/tokens/*",
|
|
14
|
+
"./base/*": "./src/base/*",
|
|
15
|
+
"./rkui.css": "./dist/rkui.css",
|
|
16
|
+
"./rkui.js": "./dist/rkui.js",
|
|
17
|
+
"./colors.js": {
|
|
18
|
+
"types": "./dist/colors.d.ts",
|
|
19
|
+
"default": "./dist/colors.js"
|
|
20
|
+
},
|
|
21
|
+
"./enhance.js": "./src/enhance.js",
|
|
22
|
+
"./components/*.js": {
|
|
23
|
+
"types": "./dist/types/components/*.d.ts",
|
|
24
|
+
"default": "./src/components/*.js"
|
|
25
|
+
},
|
|
26
|
+
"./components/*": "./src/components/*",
|
|
27
|
+
"./shared/*.js": {
|
|
28
|
+
"types": "./dist/types/shared/*.d.ts",
|
|
29
|
+
"default": "./src/shared/*.js"
|
|
30
|
+
},
|
|
31
|
+
"./shared/*": "./src/shared/*",
|
|
32
|
+
"./head-scripts/*": "./src/head-scripts/*",
|
|
33
|
+
"./icons/*": "./dist/icons/*",
|
|
34
|
+
"./fonts/*": "./src/fonts/*",
|
|
35
|
+
"./astro": {
|
|
36
|
+
"types": "./astro/index.d.ts",
|
|
37
|
+
"default": "./astro/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./astro-attributes": {
|
|
40
|
+
"types": "./src/shared/astro-attributes.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./package.json": "./package.json"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"astro",
|
|
46
|
+
"src",
|
|
47
|
+
"dist",
|
|
48
|
+
"THIRD_PARTY_NOTICES.md"
|
|
49
|
+
],
|
|
50
|
+
"scripts": {
|
|
51
|
+
"build": "node build/index.js && vue-tsc -p src && astro check --root site && astro build --root site",
|
|
52
|
+
"preview": "vite preview --outDir site/dist --base /rkui/ --port 4322 --strictPort",
|
|
53
|
+
"dev": "node build/index.js && astro dev --root site --port 4321",
|
|
54
|
+
"prepack": "node build/index.js",
|
|
55
|
+
"format": "prettier --write .",
|
|
56
|
+
"screenshots": "playwright test"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"@astrojs/mdx": "^8.1.0",
|
|
60
|
+
"astro": "^7.4.0",
|
|
61
|
+
"katex": "^0.19.0",
|
|
62
|
+
"shiki": "^4.0.0",
|
|
63
|
+
"vue": "^3.5.0"
|
|
64
|
+
},
|
|
65
|
+
"peerDependenciesMeta": {
|
|
66
|
+
"@astrojs/mdx": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"astro": {
|
|
70
|
+
"optional": true
|
|
71
|
+
},
|
|
72
|
+
"katex": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"shiki": {
|
|
76
|
+
"optional": true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@astrojs/check": "^0.9.9",
|
|
81
|
+
"@astrojs/markdown-satteri": "^0.4.6",
|
|
82
|
+
"@astrojs/mdx": "^8.1.2",
|
|
83
|
+
"@astrojs/vue": "^7.1.2",
|
|
84
|
+
"@playwright/test": "^1.64.1",
|
|
85
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
86
|
+
"astro": "^7.4.0",
|
|
87
|
+
"katex": "^0.19.1",
|
|
88
|
+
"lightningcss": "^1.33.0",
|
|
89
|
+
"pagefind": "^1.6.0",
|
|
90
|
+
"phosphor-raw": "https://codeload.github.com/phosphor-icons/core/tar.gz/fe23e2534cdb7bec24bd8e6bd99b3676bcf0d54f",
|
|
91
|
+
"prettier": "^3.9.10",
|
|
92
|
+
"prettier-plugin-astro": "^1.1.2",
|
|
93
|
+
"rolldown": "~1.2.16",
|
|
94
|
+
"satteri": "^0.10.5",
|
|
95
|
+
"shiki": "^4.6.0",
|
|
96
|
+
"simple-icons": "^16.37.0",
|
|
97
|
+
"svgo": "^4.1.0",
|
|
98
|
+
"typescript": "^5.7.3",
|
|
99
|
+
"vue": "^3.5.44",
|
|
100
|
+
"vue-tsc": "^3.3.14"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/* A small reset and the page defaults: body text, headings, links, code, highlights and
|
|
2
|
+
selection. */
|
|
3
|
+
|
|
4
|
+
*,
|
|
5
|
+
*::before,
|
|
6
|
+
*::after {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
margin: 0;
|
|
12
|
+
background: var(--rkui-surface);
|
|
13
|
+
color: var(--rkui-fg);
|
|
14
|
+
font-family: var(--rkui-font-body);
|
|
15
|
+
font-size: var(--rkui-step-0);
|
|
16
|
+
line-height: var(--rkui-line-height-body);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Jumps to an anchor on the page, such as an equation reference, scroll smoothly. */
|
|
20
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
21
|
+
:root {
|
|
22
|
+
scroll-behavior: smooth;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
img,
|
|
27
|
+
video {
|
|
28
|
+
display: block;
|
|
29
|
+
max-inline-size: 100%;
|
|
30
|
+
block-size: auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
button,
|
|
34
|
+
input,
|
|
35
|
+
select,
|
|
36
|
+
textarea {
|
|
37
|
+
font: inherit;
|
|
38
|
+
color: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h1,
|
|
42
|
+
h2,
|
|
43
|
+
h3,
|
|
44
|
+
h4 {
|
|
45
|
+
font-family: var(--rkui-font-display);
|
|
46
|
+
font-weight: 800;
|
|
47
|
+
line-height: var(--rkui-line-height-heading);
|
|
48
|
+
text-wrap: balance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
h1 {
|
|
52
|
+
font-size: var(--rkui-step-4);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
h2 {
|
|
56
|
+
font-size: var(--rkui-step-3);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
h3 {
|
|
60
|
+
font-size: var(--rkui-step-2);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
h4 {
|
|
64
|
+
font-size: var(--rkui-step-1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
a {
|
|
68
|
+
color: var(--rkui-navy-deep);
|
|
69
|
+
text-underline-offset: 0.15em;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
a:hover {
|
|
73
|
+
text-decoration-thickness: var(--rkui-outline-width);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Marker-pen focus: a link has no outline for the band to hug, so the band goes behind the text.
|
|
77
|
+
The transparent outline still shows in forced-colours mode. Button, chip, tile and folder tab
|
|
78
|
+
links, sidebar deck keys and equation references get the focus band instead. */
|
|
79
|
+
a:where(
|
|
80
|
+
:not(
|
|
81
|
+
.rkui-button,
|
|
82
|
+
.rkui-chip,
|
|
83
|
+
.rkui-tile,
|
|
84
|
+
.rkui-folder-tab,
|
|
85
|
+
.rkui-sidebar--deck .rkui-sidebar-link,
|
|
86
|
+
.rkui-eqref
|
|
87
|
+
)
|
|
88
|
+
):focus-visible {
|
|
89
|
+
outline: var(--rkui-outline-width) solid transparent;
|
|
90
|
+
background: var(--rkui-focus);
|
|
91
|
+
color: var(--rkui-ink);
|
|
92
|
+
box-decoration-break: clone;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
code,
|
|
96
|
+
kbd,
|
|
97
|
+
samp,
|
|
98
|
+
pre {
|
|
99
|
+
font-family: var(--rkui-font-mono);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
code {
|
|
103
|
+
padding: 0.1em 0.35em;
|
|
104
|
+
border-radius: calc(var(--rkui-radius) / 2);
|
|
105
|
+
background: var(--rkui-panel);
|
|
106
|
+
color: var(--rkui-fg);
|
|
107
|
+
font-size: 0.9em;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
pre {
|
|
111
|
+
overflow-x: auto;
|
|
112
|
+
padding: var(--rkui-space-4);
|
|
113
|
+
border-radius: var(--rkui-radius);
|
|
114
|
+
background: var(--rkui-panel);
|
|
115
|
+
color: var(--rkui-fg);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Code inside a block is already on the panel, so it drops the inline pill. */
|
|
119
|
+
pre code {
|
|
120
|
+
padding: 0;
|
|
121
|
+
border-radius: 0;
|
|
122
|
+
background: none;
|
|
123
|
+
font-size: inherit;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
mark {
|
|
127
|
+
background: var(--rkui-apricot);
|
|
128
|
+
color: var(--rkui-on-fill);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
::selection {
|
|
132
|
+
background: var(--rkui-yellow-tint);
|
|
133
|
+
color: var(--rkui-fg);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Hidden on screen but still read by screen readers (and still focusable, for inputs). */
|
|
137
|
+
.rkui-visually-hidden {
|
|
138
|
+
position: absolute;
|
|
139
|
+
inline-size: 1px;
|
|
140
|
+
block-size: 1px;
|
|
141
|
+
overflow: hidden;
|
|
142
|
+
clip-path: inset(50%);
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/* Self-hosted fonts (latin, greek and maths-symbol subsets) and the font-family tokens. */
|
|
2
|
+
|
|
3
|
+
/* Roboto Slab */
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: 'Roboto Slab';
|
|
6
|
+
font-style: normal;
|
|
7
|
+
font-weight: 100 900;
|
|
8
|
+
font-display: swap;
|
|
9
|
+
src: url('../fonts/roboto-slab/roboto-slab-latin.woff2') format('woff2');
|
|
10
|
+
unicode-range:
|
|
11
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
12
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'Roboto Slab';
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 100 900;
|
|
19
|
+
font-display: swap;
|
|
20
|
+
src: url('../fonts/roboto-slab/roboto-slab-greek.woff2') format('woff2');
|
|
21
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: 'Roboto Slab';
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-weight: 100 900;
|
|
28
|
+
font-display: swap;
|
|
29
|
+
src: url('../fonts/roboto-slab/roboto-slab-symbols.woff2') format('woff2');
|
|
30
|
+
unicode-range: U+2202, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Xmind */
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'Xmind';
|
|
36
|
+
font-style: normal;
|
|
37
|
+
font-weight: 100 900;
|
|
38
|
+
font-display: swap;
|
|
39
|
+
src: url('../fonts/xmind/xmind-latin.woff2') format('woff2');
|
|
40
|
+
unicode-range:
|
|
41
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
42
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: 'Xmind';
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-weight: 100 900;
|
|
49
|
+
font-display: swap;
|
|
50
|
+
src: url('../fonts/xmind/xmind-greek.woff2') format('woff2');
|
|
51
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Xmind';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 100 900;
|
|
58
|
+
font-display: swap;
|
|
59
|
+
src: url('../fonts/xmind/xmind-symbols.woff2') format('woff2');
|
|
60
|
+
unicode-range: U+2202, U+2207, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@font-face {
|
|
64
|
+
font-family: 'Xmind';
|
|
65
|
+
font-style: italic;
|
|
66
|
+
font-weight: 100 900;
|
|
67
|
+
font-display: swap;
|
|
68
|
+
src: url('../fonts/xmind/xmind-italic-latin.woff2') format('woff2');
|
|
69
|
+
unicode-range:
|
|
70
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
71
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'Xmind';
|
|
76
|
+
font-style: italic;
|
|
77
|
+
font-weight: 100 900;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
src: url('../fonts/xmind/xmind-italic-greek.woff2') format('woff2');
|
|
80
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@font-face {
|
|
84
|
+
font-family: 'Xmind';
|
|
85
|
+
font-style: italic;
|
|
86
|
+
font-weight: 100 900;
|
|
87
|
+
font-display: swap;
|
|
88
|
+
src: url('../fonts/xmind/xmind-italic-symbols.woff2') format('woff2');
|
|
89
|
+
unicode-range: U+2202, U+2207, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* JetBrains Mono */
|
|
93
|
+
@font-face {
|
|
94
|
+
font-family: 'JetBrains Mono';
|
|
95
|
+
font-style: normal;
|
|
96
|
+
font-weight: 100 800;
|
|
97
|
+
font-display: swap;
|
|
98
|
+
src: url('../fonts/jetbrains-mono/jetbrains-mono-latin.woff2') format('woff2');
|
|
99
|
+
unicode-range:
|
|
100
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
101
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@font-face {
|
|
105
|
+
font-family: 'JetBrains Mono';
|
|
106
|
+
font-style: normal;
|
|
107
|
+
font-weight: 100 800;
|
|
108
|
+
font-display: swap;
|
|
109
|
+
src: url('../fonts/jetbrains-mono/jetbrains-mono-greek.woff2') format('woff2');
|
|
110
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@font-face {
|
|
114
|
+
font-family: 'JetBrains Mono';
|
|
115
|
+
font-style: normal;
|
|
116
|
+
font-weight: 100 800;
|
|
117
|
+
font-display: swap;
|
|
118
|
+
src: url('../fonts/jetbrains-mono/jetbrains-mono-symbols.woff2') format('woff2');
|
|
119
|
+
unicode-range:
|
|
120
|
+
U+2190, U+2192, U+2202, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@font-face {
|
|
124
|
+
font-family: 'JetBrains Mono';
|
|
125
|
+
font-style: italic;
|
|
126
|
+
font-weight: 100 800;
|
|
127
|
+
font-display: swap;
|
|
128
|
+
src: url('../fonts/jetbrains-mono/jetbrains-mono-italic-latin.woff2') format('woff2');
|
|
129
|
+
unicode-range:
|
|
130
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
131
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@font-face {
|
|
135
|
+
font-family: 'JetBrains Mono';
|
|
136
|
+
font-style: italic;
|
|
137
|
+
font-weight: 100 800;
|
|
138
|
+
font-display: swap;
|
|
139
|
+
src: url('../fonts/jetbrains-mono/jetbrains-mono-italic-greek.woff2') format('woff2');
|
|
140
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@font-face {
|
|
144
|
+
font-family: 'JetBrains Mono';
|
|
145
|
+
font-style: italic;
|
|
146
|
+
font-weight: 100 800;
|
|
147
|
+
font-display: swap;
|
|
148
|
+
src: url('../fonts/jetbrains-mono/jetbrains-mono-italic-symbols.woff2') format('woff2');
|
|
149
|
+
unicode-range:
|
|
150
|
+
U+2190, U+2192, U+2202, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Font families */
|
|
154
|
+
:root {
|
|
155
|
+
--rkui-font-display: 'Roboto Slab', Rockwell, 'DejaVu Serif', Georgia, serif;
|
|
156
|
+
--rkui-font-body: 'Xmind', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
157
|
+
--rkui-font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
|
158
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* Modular type scale: each step is the previous one times --rkui-type-ratio. */
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--rkui-type-ratio: 1.3;
|
|
5
|
+
|
|
6
|
+
/* Small text is fixed (1 / 1.25), since 1 / --rkui-type-ratio would be too small to read */
|
|
7
|
+
--rkui-step--1: 0.8rem;
|
|
8
|
+
--rkui-step-0: 1rem;
|
|
9
|
+
--rkui-step-1: calc(var(--rkui-step-0) * var(--rkui-type-ratio));
|
|
10
|
+
--rkui-step-2: calc(var(--rkui-step-1) * var(--rkui-type-ratio));
|
|
11
|
+
--rkui-step-3: calc(var(--rkui-step-2) * var(--rkui-type-ratio));
|
|
12
|
+
--rkui-step-4: calc(var(--rkui-step-3) * var(--rkui-type-ratio));
|
|
13
|
+
--rkui-step-5: calc(var(--rkui-step-4) * var(--rkui-type-ratio));
|
|
14
|
+
|
|
15
|
+
--rkui-line-height-body: 1.6;
|
|
16
|
+
--rkui-line-height-heading: 1.2;
|
|
17
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
An urgent message in a box in the middle of the window, like a script's `alert()`: a native
|
|
3
|
+
`<dialog>` opened as a modal, so the page behind it is blurred, held still and can't be used,
|
|
4
|
+
focus moves into it, and focus goes back to the opening button when it closes. A band in its `hue`
|
|
5
|
+
holds an icon and the title. The slot is the message; the `icon` slot replaces the band's warning
|
|
6
|
+
icon; the `actions` slot holds its buttons (`slot="actions"` in Astro, or
|
|
7
|
+
`<Fragment slot="actions">` around several; `<template #actions>` in Vue). `class`, `style` and
|
|
8
|
+
other attributes go on the `<dialog>`.
|
|
9
|
+
|
|
10
|
+
Needs no JavaScript. A button opens it with `command="show-modal"` and `commandfor` set to this
|
|
11
|
+
`id`, and one inside closes it with `command="close"`; its `value` becomes the dialog's
|
|
12
|
+
`returnValue`. A script opens it with `document.getElementById(id).showModal()`. Escape closes
|
|
13
|
+
it, unless it has `closedby="none"`; `closedby="any"` also closes it on a click outside. Put
|
|
14
|
+
`autofocus` on the button focus should start on, else the first one gets it. `alert-enhance.js`
|
|
15
|
+
makes the buttons and `closedby="none"` work in browsers without them (Safari before 26.2).
|
|
16
|
+
|
|
17
|
+
@example
|
|
18
|
+
<Button command="show-modal" commandfor="unsaved">Leave</Button>
|
|
19
|
+
<Alert id="unsaved" title="Unsaved changes">
|
|
20
|
+
<p>Your changes will be lost.</p>
|
|
21
|
+
<Button slot="actions" command="close" commandfor="unsaved">OK</Button>
|
|
22
|
+
</Alert>
|
|
23
|
+
-->
|
|
24
|
+
<script setup lang="ts">
|
|
25
|
+
import { computed } from 'vue'
|
|
26
|
+
import WarningIcon from '@oneonefour/rkui/icons/warning.vue'
|
|
27
|
+
import { hueVars, type HueOrHex } from '../../shared/hues'
|
|
28
|
+
|
|
29
|
+
interface Props {
|
|
30
|
+
/** The dialog's id, which the opening button's `commandfor` names. */
|
|
31
|
+
id: string
|
|
32
|
+
/** The title in the band, which names the dialog. */
|
|
33
|
+
title: string
|
|
34
|
+
/** The band's fill, a hue or a hex code; coral when left out. */
|
|
35
|
+
hue?: HueOrHex
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const { id, title, hue } = defineProps<Props>()
|
|
39
|
+
|
|
40
|
+
/** The band's fill and text as custom properties, when `hue` is set. */
|
|
41
|
+
const vars = computed(() =>
|
|
42
|
+
hueVars(hue, { fill: '--rkui-alert-hue', text: '--rkui-alert-on-hue', solid: true }),
|
|
43
|
+
)
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<template>
|
|
47
|
+
<dialog
|
|
48
|
+
:id
|
|
49
|
+
class="rkui-alert"
|
|
50
|
+
:style="vars"
|
|
51
|
+
role="alertdialog"
|
|
52
|
+
:aria-labelledby="`${id}-title`"
|
|
53
|
+
:aria-describedby="`${id}-message`"
|
|
54
|
+
>
|
|
55
|
+
<div class="rkui-alert-band">
|
|
56
|
+
<slot name="icon"><WarningIcon class="rkui-icon" /></slot>
|
|
57
|
+
<h2 :id="`${id}-title`" class="rkui-alert-title">{{ title }}</h2>
|
|
58
|
+
</div>
|
|
59
|
+
<div :id="`${id}-message`" class="rkui-alert-message">
|
|
60
|
+
<slot />
|
|
61
|
+
</div>
|
|
62
|
+
<div v-if="$slots.actions" class="rkui-alert-actions">
|
|
63
|
+
<slot name="actions" />
|
|
64
|
+
</div>
|
|
65
|
+
</dialog>
|
|
66
|
+
</template>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// An Alert's buttons and `closedby="none"`, in browsers without invoker commands or `closedby`
|
|
2
|
+
// (Safari before 26.2): a button with `commandfor` naming an Alert opens it
|
|
3
|
+
// (`command="show-modal"`) or closes it (`command="close"`), and Escape leaves an Alert with
|
|
4
|
+
// `closedby="none"` open. In browsers without scroll-driven animations, it marks the page
|
|
5
|
+
// data-rkui-page-scrolls as an Alert opens, if the page scrolls, so alert.css keeps the
|
|
6
|
+
// scrollbar's space. It does nothing where the browser does these itself. It needs no
|
|
7
|
+
// eachElement(): each listener looks for its Alert only when a click, Escape or opening comes.
|
|
8
|
+
|
|
9
|
+
if (!('command' in HTMLButtonElement.prototype)) {
|
|
10
|
+
document.addEventListener('click', (event) => {
|
|
11
|
+
const button = /** @type {Element} */ (event.target).closest('button[commandfor]')
|
|
12
|
+
const alert = button && document.getElementById(button.getAttribute('commandfor') ?? '')
|
|
13
|
+
if (!(alert instanceof HTMLDialogElement) || !alert.matches('.rkui-alert')) return
|
|
14
|
+
const command = button.getAttribute('command')
|
|
15
|
+
if (command === 'show-modal' && !alert.open) alert.showModal()
|
|
16
|
+
if (command === 'close') alert.close(/** @type {HTMLButtonElement} */ (button).value)
|
|
17
|
+
})
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (!('closedBy' in HTMLDialogElement.prototype)) {
|
|
21
|
+
document.addEventListener(
|
|
22
|
+
'cancel',
|
|
23
|
+
(event) => {
|
|
24
|
+
if (/** @type {Element} */ (event.target).matches('.rkui-alert[closedby="none"]')) {
|
|
25
|
+
event.preventDefault()
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
true,
|
|
29
|
+
)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if (!CSS.supports('animation-timeline: scroll()')) {
|
|
33
|
+
document.addEventListener(
|
|
34
|
+
'beforetoggle',
|
|
35
|
+
(event) => {
|
|
36
|
+
const dialog = /** @type {Element} */ (event.target)
|
|
37
|
+
if (event.newState !== 'open' || !dialog.matches('.rkui-alert')) return
|
|
38
|
+
const root = document.documentElement
|
|
39
|
+
root.toggleAttribute('data-rkui-page-scrolls', root.scrollHeight > root.clientHeight)
|
|
40
|
+
},
|
|
41
|
+
true,
|
|
42
|
+
)
|
|
43
|
+
}
|