@bookklik/senangstart-icons 1.0.7 → 1.0.8
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/.github/workflows/deploy-docs.yml +61 -0
- package/docs/.vitepress/config.mjs +171 -0
- package/docs/.vitepress/theme/custom.css +64 -0
- package/docs/.vitepress/theme/index.js +4 -0
- package/docs/guide/configuration.md +125 -0
- package/docs/guide/getting-started.md +34 -0
- package/docs/guide/installation.md +54 -0
- package/docs/guide/styling.md +156 -0
- package/docs/guide/usage.md +103 -0
- package/docs/icons/alert.md +59 -0
- package/docs/icons/align-bottom-object.md +59 -0
- package/docs/icons/align-center-object.md +59 -0
- package/docs/icons/align-left-object.md +59 -0
- package/docs/icons/align-middle-object.md +59 -0
- package/docs/icons/align-right-object.md +59 -0
- package/docs/icons/align-top-object.md +59 -0
- package/docs/icons/ar.md +59 -0
- package/docs/icons/archive-box.md +59 -0
- package/docs/icons/arrow-down.md +59 -0
- package/docs/icons/arrow-left-arrow-right.md +59 -0
- package/docs/icons/arrow-left-on-rectangle.md +59 -0
- package/docs/icons/arrow-left-right.md +59 -0
- package/docs/icons/arrow-left.md +59 -0
- package/docs/icons/arrow-long-down.md +59 -0
- package/docs/icons/arrow-long-left.md +59 -0
- package/docs/icons/arrow-long-right.md +59 -0
- package/docs/icons/arrow-long-up.md +59 -0
- package/docs/icons/arrow-path.md +59 -0
- package/docs/icons/arrow-right-on-rectangle.md +59 -0
- package/docs/icons/arrow-right.md +59 -0
- package/docs/icons/arrow-rotate-ccw.md +59 -0
- package/docs/icons/arrow-rotate-cw.md +59 -0
- package/docs/icons/arrow-top-right-on-square.md +59 -0
- package/docs/icons/arrow-up-arrow-down.md +59 -0
- package/docs/icons/arrow-up-down-left-right.md +59 -0
- package/docs/icons/arrow-up-down.md +59 -0
- package/docs/icons/arrow-up.md +59 -0
- package/docs/icons/banknotes.md +59 -0
- package/docs/icons/bars-3.md +59 -0
- package/docs/icons/basket.md +59 -0
- package/docs/icons/battery-0.md +59 -0
- package/docs/icons/battery-10.md +59 -0
- package/docs/icons/battery-100.md +59 -0
- package/docs/icons/battery-50.md +59 -0
- package/docs/icons/bell-alert.md +59 -0
- package/docs/icons/bell.md +59 -0
- package/docs/icons/bolt.md +59 -0
- package/docs/icons/book-close.md +59 -0
- package/docs/icons/book-open.md +59 -0
- package/docs/icons/book-stacked.md +59 -0
- package/docs/icons/bookmark.md +59 -0
- package/docs/icons/briefcase.md +59 -0
- package/docs/icons/brush.md +59 -0
- package/docs/icons/cake.md +59 -0
- package/docs/icons/calendar-approve.md +59 -0
- package/docs/icons/calendar-days.md +59 -0
- package/docs/icons/calendar-minus.md +59 -0
- package/docs/icons/calendar-plus.md +59 -0
- package/docs/icons/calendar-reject.md +59 -0
- package/docs/icons/calendar.md +59 -0
- package/docs/icons/camera.md +59 -0
- package/docs/icons/carousel.md +59 -0
- package/docs/icons/chart-bar.md +59 -0
- package/docs/icons/chart-line.md +59 -0
- package/docs/icons/chart-pie.md +59 -0
- package/docs/icons/chat-bubble-left-ellipsis.md +59 -0
- package/docs/icons/chat-bubble-left-right.md +59 -0
- package/docs/icons/chat-bubble-left.md +59 -0
- package/docs/icons/chat-bubble-right-ellipsis.md +59 -0
- package/docs/icons/chat-bubble-right.md +59 -0
- package/docs/icons/chatbot.md +59 -0
- package/docs/icons/check.md +59 -0
- package/docs/icons/chevron-double-down.md +59 -0
- package/docs/icons/chevron-double-left.md +59 -0
- package/docs/icons/chevron-double-right.md +59 -0
- package/docs/icons/chevron-double-up.md +59 -0
- package/docs/icons/chevron-down.md +59 -0
- package/docs/icons/chevron-left.md +59 -0
- package/docs/icons/chevron-right.md +59 -0
- package/docs/icons/chevron-up.md +59 -0
- package/docs/icons/circle.md +59 -0
- package/docs/icons/clipboard-document-check.md +59 -0
- package/docs/icons/clipboard.md +59 -0
- package/docs/icons/clock.md +59 -0
- package/docs/icons/cloud.md +59 -0
- package/docs/icons/code.md +59 -0
- package/docs/icons/cog-6-tooth.md +59 -0
- package/docs/icons/compress.md +59 -0
- package/docs/icons/computer-code.md +59 -0
- package/docs/icons/computer-desktop.md +59 -0
- package/docs/icons/computer-laptop.md +59 -0
- package/docs/icons/cone.md +59 -0
- package/docs/icons/console.md +59 -0
- package/docs/icons/container.md +59 -0
- package/docs/icons/contrast.md +59 -0
- package/docs/icons/controller.md +59 -0
- package/docs/icons/credit-card.md +59 -0
- package/docs/icons/crop.md +59 -0
- package/docs/icons/crosshair.md +59 -0
- package/docs/icons/cube.md +59 -0
- package/docs/icons/currency-dollar.md +59 -0
- package/docs/icons/currency-euro.md +59 -0
- package/docs/icons/currency-pound.md +59 -0
- package/docs/icons/currency-ringgit.md +59 -0
- package/docs/icons/currency-yen.md +59 -0
- package/docs/icons/cursor.md +59 -0
- package/docs/icons/cylinder-half.md +59 -0
- package/docs/icons/cylinder.md +59 -0
- package/docs/icons/device-phone-mobile.md +59 -0
- package/docs/icons/device-tablet.md +59 -0
- package/docs/icons/diamond.md +59 -0
- package/docs/icons/document-duplicate.md +59 -0
- package/docs/icons/document-text.md +59 -0
- package/docs/icons/document.md +59 -0
- package/docs/icons/dodecahedron.md +59 -0
- package/docs/icons/double-tick.md +59 -0
- package/docs/icons/draw-curve.md +59 -0
- package/docs/icons/draw-line.md +59 -0
- package/docs/icons/envelope-open.md +59 -0
- package/docs/icons/envelope.md +59 -0
- package/docs/icons/eraser.md +59 -0
- package/docs/icons/exclamation-circle.md +59 -0
- package/docs/icons/exclamation-triangle.md +59 -0
- package/docs/icons/expand.md +59 -0
- package/docs/icons/eye-slash.md +59 -0
- package/docs/icons/eye.md +59 -0
- package/docs/icons/flag.md +59 -0
- package/docs/icons/flip-horizontal.md +59 -0
- package/docs/icons/flip-vertical.md +59 -0
- package/docs/icons/focus.md +59 -0
- package/docs/icons/folder-minus.md +59 -0
- package/docs/icons/folder-open.md +59 -0
- package/docs/icons/folder-plus.md +59 -0
- package/docs/icons/folder.md +59 -0
- package/docs/icons/font.md +59 -0
- package/docs/icons/game.md +59 -0
- package/docs/icons/gift.md +59 -0
- package/docs/icons/globe-alt.md +59 -0
- package/docs/icons/gradient.md +59 -0
- package/docs/icons/grid.md +59 -0
- package/docs/icons/group-object.md +59 -0
- package/docs/icons/hand-grab.md +59 -0
- package/docs/icons/hand-thumb-down.md +59 -0
- package/docs/icons/hand-thumb-up.md +59 -0
- package/docs/icons/hand.md +59 -0
- package/docs/icons/heart-extruded.md +59 -0
- package/docs/icons/heart.md +59 -0
- package/docs/icons/hexagon.md +59 -0
- package/docs/icons/home.md +59 -0
- package/docs/icons/horizontal-3-dots.md +59 -0
- package/docs/icons/hourglass-0.md +59 -0
- package/docs/icons/hourglass-100.md +59 -0
- package/docs/icons/hourglass-50.md +59 -0
- package/docs/icons/hourglass-80.md +59 -0
- package/docs/icons/icosahedron.md +59 -0
- package/docs/icons/inbox.md +59 -0
- package/docs/icons/index.md +1295 -0
- package/docs/icons/information-circle.md +59 -0
- package/docs/icons/key.md +59 -0
- package/docs/icons/layer-stacks.md +59 -0
- package/docs/icons/layout.md +59 -0
- package/docs/icons/light-bulb.md +59 -0
- package/docs/icons/lock-closed.md +59 -0
- package/docs/icons/lock-open.md +59 -0
- package/docs/icons/magic-wand.md +59 -0
- package/docs/icons/magnifying-glass-focus.md +59 -0
- package/docs/icons/magnifying-glass-minus.md +59 -0
- package/docs/icons/magnifying-glass-plus.md +59 -0
- package/docs/icons/magnifying-glass.md +59 -0
- package/docs/icons/map-pin.md +59 -0
- package/docs/icons/map.md +59 -0
- package/docs/icons/marquee.md +59 -0
- package/docs/icons/maximize.md +59 -0
- package/docs/icons/medal.md +59 -0
- package/docs/icons/microphone-mute.md +59 -0
- package/docs/icons/microphone.md +59 -0
- package/docs/icons/minimize.md +59 -0
- package/docs/icons/minus.md +59 -0
- package/docs/icons/moon.md +59 -0
- package/docs/icons/musical-note.md +59 -0
- package/docs/icons/octahedron.md +59 -0
- package/docs/icons/panorama.md +59 -0
- package/docs/icons/paper-clip.md +59 -0
- package/docs/icons/pause-circle.md +59 -0
- package/docs/icons/pause.md +59 -0
- package/docs/icons/pencil.md +59 -0
- package/docs/icons/phone-x-mark.md +59 -0
- package/docs/icons/phone.md +59 -0
- package/docs/icons/photo.md +59 -0
- package/docs/icons/plane.md +59 -0
- package/docs/icons/play-circle.md +59 -0
- package/docs/icons/play.md +59 -0
- package/docs/icons/plus.md +59 -0
- package/docs/icons/polygon.md +59 -0
- package/docs/icons/presentation-chart-line.md +59 -0
- package/docs/icons/presentation-media.md +59 -0
- package/docs/icons/pyramid.md +59 -0
- package/docs/icons/qr-code.md +59 -0
- package/docs/icons/question-mark-circle.md +59 -0
- package/docs/icons/rectangle.md +59 -0
- package/docs/icons/reel.md +59 -0
- package/docs/icons/robot.md +59 -0
- package/docs/icons/roof.md +59 -0
- package/docs/icons/rotate-add.md +59 -0
- package/docs/icons/rotate-minus.md +59 -0
- package/docs/icons/save.md +59 -0
- package/docs/icons/scissor.md +59 -0
- package/docs/icons/shapes.md +59 -0
- package/docs/icons/shield-check.md +59 -0
- package/docs/icons/shield-exclamation.md +59 -0
- package/docs/icons/shopping-bag.md +59 -0
- package/docs/icons/shopping-cart.md +59 -0
- package/docs/icons/sliders-horizontal.md +59 -0
- package/docs/icons/sliders-vertical.md +59 -0
- package/docs/icons/sparkles.md +59 -0
- package/docs/icons/speaker-wave.md +59 -0
- package/docs/icons/speaker-x-mark.md +59 -0
- package/docs/icons/sphere-half.md +59 -0
- package/docs/icons/sphere.md +59 -0
- package/docs/icons/square.md +59 -0
- package/docs/icons/star.md +59 -0
- package/docs/icons/stop-circle.md +59 -0
- package/docs/icons/stop.md +59 -0
- package/docs/icons/sun.md +59 -0
- package/docs/icons/table.md +59 -0
- package/docs/icons/tabs.md +59 -0
- package/docs/icons/tetrahedron.md +59 -0
- package/docs/icons/text-align-center.md +59 -0
- package/docs/icons/text-align-justify.md +59 -0
- package/docs/icons/text-align-left.md +59 -0
- package/docs/icons/text-align-right.md +59 -0
- package/docs/icons/text.md +59 -0
- package/docs/icons/thunder.md +59 -0
- package/docs/icons/tic-tac-toe.md +59 -0
- package/docs/icons/time-reset.md +59 -0
- package/docs/icons/torus-knot.md +59 -0
- package/docs/icons/torus.md +59 -0
- package/docs/icons/trash.md +59 -0
- package/docs/icons/trophy.md +59 -0
- package/docs/icons/truck.md +59 -0
- package/docs/icons/tube.md +59 -0
- package/docs/icons/ungroup-object.md +59 -0
- package/docs/icons/user-circle.md +59 -0
- package/docs/icons/user-group.md +59 -0
- package/docs/icons/user-minus.md +59 -0
- package/docs/icons/user-plus.md +59 -0
- package/docs/icons/user.md +59 -0
- package/docs/icons/users.md +59 -0
- package/docs/icons/vertical-3-dots.md +59 -0
- package/docs/icons/video-camera.md +59 -0
- package/docs/icons/vr.md +59 -0
- package/docs/icons/wedge.md +59 -0
- package/docs/icons/whiteboard.md +59 -0
- package/docs/icons/wifi.md +59 -0
- package/docs/icons/window.md +59 -0
- package/docs/icons/x-mark.md +59 -0
- package/docs/index.md +48 -0
- package/docs/ms/guide/configuration.md +125 -0
- package/docs/ms/guide/getting-started.md +34 -0
- package/docs/ms/guide/installation.md +54 -0
- package/docs/ms/guide/styling.md +156 -0
- package/docs/ms/guide/usage.md +103 -0
- package/docs/ms/icons/alert.md +59 -0
- package/docs/ms/icons/align-bottom-object.md +59 -0
- package/docs/ms/icons/align-center-object.md +59 -0
- package/docs/ms/icons/align-left-object.md +59 -0
- package/docs/ms/icons/align-middle-object.md +59 -0
- package/docs/ms/icons/align-right-object.md +59 -0
- package/docs/ms/icons/align-top-object.md +59 -0
- package/docs/ms/icons/ar.md +59 -0
- package/docs/ms/icons/archive-box.md +59 -0
- package/docs/ms/icons/arrow-down.md +59 -0
- package/docs/ms/icons/arrow-left-arrow-right.md +59 -0
- package/docs/ms/icons/arrow-left-on-rectangle.md +59 -0
- package/docs/ms/icons/arrow-left-right.md +59 -0
- package/docs/ms/icons/arrow-left.md +59 -0
- package/docs/ms/icons/arrow-long-down.md +59 -0
- package/docs/ms/icons/arrow-long-left.md +59 -0
- package/docs/ms/icons/arrow-long-right.md +59 -0
- package/docs/ms/icons/arrow-long-up.md +59 -0
- package/docs/ms/icons/arrow-path.md +59 -0
- package/docs/ms/icons/arrow-right-on-rectangle.md +59 -0
- package/docs/ms/icons/arrow-right.md +59 -0
- package/docs/ms/icons/arrow-rotate-ccw.md +59 -0
- package/docs/ms/icons/arrow-rotate-cw.md +59 -0
- package/docs/ms/icons/arrow-top-right-on-square.md +59 -0
- package/docs/ms/icons/arrow-up-arrow-down.md +59 -0
- package/docs/ms/icons/arrow-up-down-left-right.md +59 -0
- package/docs/ms/icons/arrow-up-down.md +59 -0
- package/docs/ms/icons/arrow-up.md +59 -0
- package/docs/ms/icons/banknotes.md +59 -0
- package/docs/ms/icons/bars-3.md +59 -0
- package/docs/ms/icons/basket.md +59 -0
- package/docs/ms/icons/battery-0.md +59 -0
- package/docs/ms/icons/battery-10.md +59 -0
- package/docs/ms/icons/battery-100.md +59 -0
- package/docs/ms/icons/battery-50.md +59 -0
- package/docs/ms/icons/bell-alert.md +59 -0
- package/docs/ms/icons/bell.md +59 -0
- package/docs/ms/icons/bolt.md +59 -0
- package/docs/ms/icons/book-close.md +59 -0
- package/docs/ms/icons/book-open.md +59 -0
- package/docs/ms/icons/book-stacked.md +59 -0
- package/docs/ms/icons/bookmark.md +59 -0
- package/docs/ms/icons/briefcase.md +59 -0
- package/docs/ms/icons/brush.md +59 -0
- package/docs/ms/icons/cake.md +59 -0
- package/docs/ms/icons/calendar-approve.md +59 -0
- package/docs/ms/icons/calendar-days.md +59 -0
- package/docs/ms/icons/calendar-minus.md +59 -0
- package/docs/ms/icons/calendar-plus.md +59 -0
- package/docs/ms/icons/calendar-reject.md +59 -0
- package/docs/ms/icons/calendar.md +59 -0
- package/docs/ms/icons/camera.md +59 -0
- package/docs/ms/icons/carousel.md +59 -0
- package/docs/ms/icons/chart-bar.md +59 -0
- package/docs/ms/icons/chart-line.md +59 -0
- package/docs/ms/icons/chart-pie.md +59 -0
- package/docs/ms/icons/chat-bubble-left-ellipsis.md +59 -0
- package/docs/ms/icons/chat-bubble-left-right.md +59 -0
- package/docs/ms/icons/chat-bubble-left.md +59 -0
- package/docs/ms/icons/chat-bubble-right-ellipsis.md +59 -0
- package/docs/ms/icons/chat-bubble-right.md +59 -0
- package/docs/ms/icons/chatbot.md +59 -0
- package/docs/ms/icons/check.md +59 -0
- package/docs/ms/icons/chevron-double-down.md +59 -0
- package/docs/ms/icons/chevron-double-left.md +59 -0
- package/docs/ms/icons/chevron-double-right.md +59 -0
- package/docs/ms/icons/chevron-double-up.md +59 -0
- package/docs/ms/icons/chevron-down.md +59 -0
- package/docs/ms/icons/chevron-left.md +59 -0
- package/docs/ms/icons/chevron-right.md +59 -0
- package/docs/ms/icons/chevron-up.md +59 -0
- package/docs/ms/icons/circle.md +59 -0
- package/docs/ms/icons/clipboard-document-check.md +59 -0
- package/docs/ms/icons/clipboard.md +59 -0
- package/docs/ms/icons/clock.md +59 -0
- package/docs/ms/icons/cloud.md +59 -0
- package/docs/ms/icons/code.md +59 -0
- package/docs/ms/icons/cog-6-tooth.md +59 -0
- package/docs/ms/icons/compress.md +59 -0
- package/docs/ms/icons/computer-code.md +59 -0
- package/docs/ms/icons/computer-desktop.md +59 -0
- package/docs/ms/icons/computer-laptop.md +59 -0
- package/docs/ms/icons/cone.md +59 -0
- package/docs/ms/icons/console.md +59 -0
- package/docs/ms/icons/container.md +59 -0
- package/docs/ms/icons/contrast.md +59 -0
- package/docs/ms/icons/controller.md +59 -0
- package/docs/ms/icons/credit-card.md +59 -0
- package/docs/ms/icons/crop.md +59 -0
- package/docs/ms/icons/crosshair.md +59 -0
- package/docs/ms/icons/cube.md +59 -0
- package/docs/ms/icons/currency-dollar.md +59 -0
- package/docs/ms/icons/currency-euro.md +59 -0
- package/docs/ms/icons/currency-pound.md +59 -0
- package/docs/ms/icons/currency-ringgit.md +59 -0
- package/docs/ms/icons/currency-yen.md +59 -0
- package/docs/ms/icons/cursor.md +59 -0
- package/docs/ms/icons/cylinder-half.md +59 -0
- package/docs/ms/icons/cylinder.md +59 -0
- package/docs/ms/icons/device-phone-mobile.md +59 -0
- package/docs/ms/icons/device-tablet.md +59 -0
- package/docs/ms/icons/diamond.md +59 -0
- package/docs/ms/icons/document-duplicate.md +59 -0
- package/docs/ms/icons/document-text.md +59 -0
- package/docs/ms/icons/document.md +59 -0
- package/docs/ms/icons/dodecahedron.md +59 -0
- package/docs/ms/icons/double-tick.md +59 -0
- package/docs/ms/icons/draw-curve.md +59 -0
- package/docs/ms/icons/draw-line.md +59 -0
- package/docs/ms/icons/envelope-open.md +59 -0
- package/docs/ms/icons/envelope.md +59 -0
- package/docs/ms/icons/eraser.md +59 -0
- package/docs/ms/icons/exclamation-circle.md +59 -0
- package/docs/ms/icons/exclamation-triangle.md +59 -0
- package/docs/ms/icons/expand.md +59 -0
- package/docs/ms/icons/eye-slash.md +59 -0
- package/docs/ms/icons/eye.md +59 -0
- package/docs/ms/icons/flag.md +59 -0
- package/docs/ms/icons/flip-horizontal.md +59 -0
- package/docs/ms/icons/flip-vertical.md +59 -0
- package/docs/ms/icons/focus.md +59 -0
- package/docs/ms/icons/folder-minus.md +59 -0
- package/docs/ms/icons/folder-open.md +59 -0
- package/docs/ms/icons/folder-plus.md +59 -0
- package/docs/ms/icons/folder.md +59 -0
- package/docs/ms/icons/font.md +59 -0
- package/docs/ms/icons/game.md +59 -0
- package/docs/ms/icons/gift.md +59 -0
- package/docs/ms/icons/globe-alt.md +59 -0
- package/docs/ms/icons/gradient.md +59 -0
- package/docs/ms/icons/grid.md +59 -0
- package/docs/ms/icons/group-object.md +59 -0
- package/docs/ms/icons/hand-grab.md +59 -0
- package/docs/ms/icons/hand-thumb-down.md +59 -0
- package/docs/ms/icons/hand-thumb-up.md +59 -0
- package/docs/ms/icons/hand.md +59 -0
- package/docs/ms/icons/heart-extruded.md +59 -0
- package/docs/ms/icons/heart.md +59 -0
- package/docs/ms/icons/hexagon.md +59 -0
- package/docs/ms/icons/home.md +59 -0
- package/docs/ms/icons/horizontal-3-dots.md +59 -0
- package/docs/ms/icons/hourglass-0.md +59 -0
- package/docs/ms/icons/hourglass-100.md +59 -0
- package/docs/ms/icons/hourglass-50.md +59 -0
- package/docs/ms/icons/hourglass-80.md +59 -0
- package/docs/ms/icons/icosahedron.md +59 -0
- package/docs/ms/icons/inbox.md +59 -0
- package/docs/ms/icons/index.md +1295 -0
- package/docs/ms/icons/information-circle.md +59 -0
- package/docs/ms/icons/key.md +59 -0
- package/docs/ms/icons/layer-stacks.md +59 -0
- package/docs/ms/icons/layout.md +59 -0
- package/docs/ms/icons/light-bulb.md +59 -0
- package/docs/ms/icons/lock-closed.md +59 -0
- package/docs/ms/icons/lock-open.md +59 -0
- package/docs/ms/icons/magic-wand.md +59 -0
- package/docs/ms/icons/magnifying-glass-focus.md +59 -0
- package/docs/ms/icons/magnifying-glass-minus.md +59 -0
- package/docs/ms/icons/magnifying-glass-plus.md +59 -0
- package/docs/ms/icons/magnifying-glass.md +59 -0
- package/docs/ms/icons/map-pin.md +59 -0
- package/docs/ms/icons/map.md +59 -0
- package/docs/ms/icons/marquee.md +59 -0
- package/docs/ms/icons/maximize.md +59 -0
- package/docs/ms/icons/medal.md +59 -0
- package/docs/ms/icons/microphone-mute.md +59 -0
- package/docs/ms/icons/microphone.md +59 -0
- package/docs/ms/icons/minimize.md +59 -0
- package/docs/ms/icons/minus.md +59 -0
- package/docs/ms/icons/moon.md +59 -0
- package/docs/ms/icons/musical-note.md +59 -0
- package/docs/ms/icons/octahedron.md +59 -0
- package/docs/ms/icons/panorama.md +59 -0
- package/docs/ms/icons/paper-clip.md +59 -0
- package/docs/ms/icons/pause-circle.md +59 -0
- package/docs/ms/icons/pause.md +59 -0
- package/docs/ms/icons/pencil.md +59 -0
- package/docs/ms/icons/phone-x-mark.md +59 -0
- package/docs/ms/icons/phone.md +59 -0
- package/docs/ms/icons/photo.md +59 -0
- package/docs/ms/icons/plane.md +59 -0
- package/docs/ms/icons/play-circle.md +59 -0
- package/docs/ms/icons/play.md +59 -0
- package/docs/ms/icons/plus.md +59 -0
- package/docs/ms/icons/polygon.md +59 -0
- package/docs/ms/icons/presentation-chart-line.md +59 -0
- package/docs/ms/icons/presentation-media.md +59 -0
- package/docs/ms/icons/pyramid.md +59 -0
- package/docs/ms/icons/qr-code.md +59 -0
- package/docs/ms/icons/question-mark-circle.md +59 -0
- package/docs/ms/icons/rectangle.md +59 -0
- package/docs/ms/icons/reel.md +59 -0
- package/docs/ms/icons/robot.md +59 -0
- package/docs/ms/icons/roof.md +59 -0
- package/docs/ms/icons/rotate-add.md +59 -0
- package/docs/ms/icons/rotate-minus.md +59 -0
- package/docs/ms/icons/save.md +59 -0
- package/docs/ms/icons/scissor.md +59 -0
- package/docs/ms/icons/shapes.md +59 -0
- package/docs/ms/icons/shield-check.md +59 -0
- package/docs/ms/icons/shield-exclamation.md +59 -0
- package/docs/ms/icons/shopping-bag.md +59 -0
- package/docs/ms/icons/shopping-cart.md +59 -0
- package/docs/ms/icons/sliders-horizontal.md +59 -0
- package/docs/ms/icons/sliders-vertical.md +59 -0
- package/docs/ms/icons/sparkles.md +59 -0
- package/docs/ms/icons/speaker-wave.md +59 -0
- package/docs/ms/icons/speaker-x-mark.md +59 -0
- package/docs/ms/icons/sphere-half.md +59 -0
- package/docs/ms/icons/sphere.md +59 -0
- package/docs/ms/icons/square.md +59 -0
- package/docs/ms/icons/star.md +59 -0
- package/docs/ms/icons/stop-circle.md +59 -0
- package/docs/ms/icons/stop.md +59 -0
- package/docs/ms/icons/sun.md +59 -0
- package/docs/ms/icons/table.md +59 -0
- package/docs/ms/icons/tabs.md +59 -0
- package/docs/ms/icons/tetrahedron.md +59 -0
- package/docs/ms/icons/text-align-center.md +59 -0
- package/docs/ms/icons/text-align-justify.md +59 -0
- package/docs/ms/icons/text-align-left.md +59 -0
- package/docs/ms/icons/text-align-right.md +59 -0
- package/docs/ms/icons/text.md +59 -0
- package/docs/ms/icons/thunder.md +59 -0
- package/docs/ms/icons/tic-tac-toe.md +59 -0
- package/docs/ms/icons/time-reset.md +59 -0
- package/docs/ms/icons/torus-knot.md +59 -0
- package/docs/ms/icons/torus.md +59 -0
- package/docs/ms/icons/trash.md +59 -0
- package/docs/ms/icons/trophy.md +59 -0
- package/docs/ms/icons/truck.md +59 -0
- package/docs/ms/icons/tube.md +59 -0
- package/docs/ms/icons/ungroup-object.md +59 -0
- package/docs/ms/icons/user-circle.md +59 -0
- package/docs/ms/icons/user-group.md +59 -0
- package/docs/ms/icons/user-minus.md +59 -0
- package/docs/ms/icons/user-plus.md +59 -0
- package/docs/ms/icons/user.md +59 -0
- package/docs/ms/icons/users.md +59 -0
- package/docs/ms/icons/vertical-3-dots.md +59 -0
- package/docs/ms/icons/video-camera.md +59 -0
- package/docs/ms/icons/vr.md +59 -0
- package/docs/ms/icons/wedge.md +59 -0
- package/docs/ms/icons/whiteboard.md +59 -0
- package/docs/ms/icons/wifi.md +59 -0
- package/docs/ms/icons/window.md +59 -0
- package/docs/ms/icons/x-mark.md +59 -0
- package/docs/ms/index.md +48 -0
- package/package.json +13 -3
- package/scripts/build-icon-docs.js +331 -0
- package/scripts/build.js +40 -0
- package/test-results.json +11 -0
- package/tests/build-css.test.js +134 -0
- package/tests/build-icon-docs.test.js +132 -0
- package/tests/build-pipeline.test.js +138 -0
- package/tests/build-svgs.test.js +102 -0
- package/tests/ss-icon.test.js +178 -0
- package/tests/ss-loader.test.js +156 -0
- package/vitest.config.js +15 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
name: Deploy VitePress to GitHub Pages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [master]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
pages: write
|
|
11
|
+
id-token: write
|
|
12
|
+
|
|
13
|
+
concurrency:
|
|
14
|
+
group: pages
|
|
15
|
+
cancel-in-progress: false
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
build:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- name: Checkout
|
|
22
|
+
uses: actions/checkout@v4
|
|
23
|
+
with:
|
|
24
|
+
fetch-depth: 0
|
|
25
|
+
|
|
26
|
+
- name: Setup Node
|
|
27
|
+
uses: actions/setup-node@v4
|
|
28
|
+
with:
|
|
29
|
+
node-version: 20
|
|
30
|
+
cache: npm
|
|
31
|
+
|
|
32
|
+
- name: Setup Pages
|
|
33
|
+
uses: actions/configure-pages@v4
|
|
34
|
+
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
run: npm ci
|
|
37
|
+
|
|
38
|
+
- name: Build icons
|
|
39
|
+
run: npm run build
|
|
40
|
+
|
|
41
|
+
- name: Run tests
|
|
42
|
+
run: npm test
|
|
43
|
+
|
|
44
|
+
- name: Build docs
|
|
45
|
+
run: npm run docs:build
|
|
46
|
+
|
|
47
|
+
- name: Upload artifact
|
|
48
|
+
uses: actions/upload-pages-artifact@v3
|
|
49
|
+
with:
|
|
50
|
+
path: docs/.vitepress/dist
|
|
51
|
+
|
|
52
|
+
deploy:
|
|
53
|
+
environment:
|
|
54
|
+
name: github-pages
|
|
55
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
56
|
+
needs: build
|
|
57
|
+
runs-on: ubuntu-latest
|
|
58
|
+
steps:
|
|
59
|
+
- name: Deploy to GitHub Pages
|
|
60
|
+
id: deployment
|
|
61
|
+
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { defineConfig } from 'vitepress'
|
|
2
|
+
import { createRequire } from 'module'
|
|
3
|
+
import fs from 'fs'
|
|
4
|
+
import path from 'path'
|
|
5
|
+
|
|
6
|
+
const require = createRequire(import.meta.url)
|
|
7
|
+
const pkg = require('../../package.json')
|
|
8
|
+
|
|
9
|
+
// Load icons from icons.json to generate sidebar
|
|
10
|
+
const iconsPath = path.resolve(__dirname, '../../src/icons.json')
|
|
11
|
+
const icons = JSON.parse(fs.readFileSync(iconsPath, 'utf8'))
|
|
12
|
+
const iconSidebarItems = icons.map(icon => ({
|
|
13
|
+
text: icon.name,
|
|
14
|
+
link: `/icons/${icon.slug}`
|
|
15
|
+
}))
|
|
16
|
+
|
|
17
|
+
// Shared theme config
|
|
18
|
+
const sharedThemeConfig = {
|
|
19
|
+
logo: 'https://senangstart.com/img/ss_logo_typo.svg',
|
|
20
|
+
siteTitle: false,
|
|
21
|
+
socialLinks: [
|
|
22
|
+
{ icon: 'github', link: 'https://github.com/bookklik-technologies/senangstart-icons' }
|
|
23
|
+
],
|
|
24
|
+
footer: {
|
|
25
|
+
message: 'Released under the MIT License.',
|
|
26
|
+
copyright: 'Copyright © 2025 Bookklik Technologies'
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Generate Malay icon sidebar items
|
|
31
|
+
const iconSidebarItemsMs = icons.map(icon => ({
|
|
32
|
+
text: icon.name,
|
|
33
|
+
link: `/ms/icons/${icon.slug}`
|
|
34
|
+
}))
|
|
35
|
+
|
|
36
|
+
export default defineConfig({
|
|
37
|
+
title: 'SenangStart Icons',
|
|
38
|
+
description: 'Curated Starter icons designed for web projects',
|
|
39
|
+
base: '/senangstart-icons/',
|
|
40
|
+
|
|
41
|
+
head: [
|
|
42
|
+
['link', { rel: 'icon', type: 'image/png', href: 'https://senangstart.com/img/ss_icon_accent.svg' }],
|
|
43
|
+
['script', { type: 'senangstart/config' }, '{ "darkMode": "selector" }'],
|
|
44
|
+
],
|
|
45
|
+
|
|
46
|
+
locales: {
|
|
47
|
+
root: {
|
|
48
|
+
label: 'English',
|
|
49
|
+
lang: 'en'
|
|
50
|
+
},
|
|
51
|
+
ms: {
|
|
52
|
+
label: 'Bahasa Melayu',
|
|
53
|
+
lang: 'ms',
|
|
54
|
+
title: 'SenangStart Icons',
|
|
55
|
+
description: 'Ikon permulaan terkurasi untuk projek web',
|
|
56
|
+
themeConfig: {
|
|
57
|
+
nav: [
|
|
58
|
+
{ text: 'Utama', link: '/ms/' },
|
|
59
|
+
{ text: 'Panduan', link: '/ms/guide/getting-started' },
|
|
60
|
+
{ text: 'Ikon', link: '/ms/icons/' },
|
|
61
|
+
{
|
|
62
|
+
text: `v${pkg.version}`,
|
|
63
|
+
items: [
|
|
64
|
+
{ text: 'Changelog', link: '/changelog' },
|
|
65
|
+
{ text: 'GitHub', link: 'https://github.com/bookklik-technologies/senangstart-icons' }
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
sidebar: {
|
|
70
|
+
'/ms/guide/': [
|
|
71
|
+
{
|
|
72
|
+
text: 'Pengenalan',
|
|
73
|
+
items: [
|
|
74
|
+
{ text: 'Bermula', link: '/ms/guide/getting-started' },
|
|
75
|
+
{ text: 'Pemasangan', link: '/ms/guide/installation' },
|
|
76
|
+
{ text: 'Penggunaan', link: '/ms/guide/usage' }
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
text: 'Penyesuaian',
|
|
81
|
+
items: [
|
|
82
|
+
{ text: 'Penggayaan', link: '/ms/guide/styling' },
|
|
83
|
+
{ text: 'Konfigurasi', link: '/ms/guide/configuration' }
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
'/ms/icons/': [
|
|
88
|
+
{
|
|
89
|
+
text: 'Pustaka Ikon',
|
|
90
|
+
items: [
|
|
91
|
+
{ text: 'Semua Ikon', link: '/ms/icons/' }
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
text: 'Ikon',
|
|
96
|
+
collapsed: false,
|
|
97
|
+
items: iconSidebarItemsMs
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
footer: {
|
|
102
|
+
message: 'Dikeluarkan di bawah Lesen MIT.',
|
|
103
|
+
copyright: 'Hakcipta © 2025 Bookklik Technologies'
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
themeConfig: {
|
|
110
|
+
...sharedThemeConfig,
|
|
111
|
+
|
|
112
|
+
nav: [
|
|
113
|
+
{ text: 'Home', link: '/' },
|
|
114
|
+
{ text: 'Guide', link: '/guide/getting-started' },
|
|
115
|
+
{ text: 'Icons', link: '/icons/' },
|
|
116
|
+
{
|
|
117
|
+
text: `v${pkg.version}`,
|
|
118
|
+
items: [
|
|
119
|
+
{ text: 'Changelog', link: '/changelog' },
|
|
120
|
+
{ text: 'GitHub', link: 'https://github.com/bookklik-technologies/senangstart-icons' }
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
|
|
125
|
+
sidebar: {
|
|
126
|
+
'/guide/': [
|
|
127
|
+
{
|
|
128
|
+
text: 'Introduction',
|
|
129
|
+
items: [
|
|
130
|
+
{ text: 'Getting Started', link: '/guide/getting-started' },
|
|
131
|
+
{ text: 'Installation', link: '/guide/installation' },
|
|
132
|
+
{ text: 'Usage', link: '/guide/usage' }
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
text: 'Customization',
|
|
137
|
+
items: [
|
|
138
|
+
{ text: 'Styling', link: '/guide/styling' },
|
|
139
|
+
{ text: 'Configuration', link: '/guide/configuration' }
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
'/icons/': [
|
|
144
|
+
{
|
|
145
|
+
text: 'Icon Library',
|
|
146
|
+
items: [
|
|
147
|
+
{ text: 'All Icons', link: '/icons/' }
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
text: 'Icons',
|
|
152
|
+
collapsed: false,
|
|
153
|
+
items: iconSidebarItems
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
socialLinks: [
|
|
159
|
+
{ icon: 'github', link: 'https://github.com/bookklik-technologies/senangstart-icons' }
|
|
160
|
+
],
|
|
161
|
+
|
|
162
|
+
footer: {
|
|
163
|
+
message: 'Released under the MIT License.',
|
|
164
|
+
copyright: 'Copyright © 2025 Bookklik Technologies'
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
search: {
|
|
168
|
+
provider: 'local'
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
})
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SenangStart CSS - VitePress Theme Customization
|
|
3
|
+
* Brand colors: primary #2563EB, secondary #DBEAFE, dark #3E4A5D
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* Font family - Outfit (must be first) */
|
|
7
|
+
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
/* Brand Colors */
|
|
11
|
+
--vp-c-brand-1: #2563EB;
|
|
12
|
+
--vp-c-brand-2: #3B82F6;
|
|
13
|
+
--vp-c-brand-3: #DBEAFE;
|
|
14
|
+
|
|
15
|
+
/* Override default colors */
|
|
16
|
+
--vp-c-default-1: #3E4A5D;
|
|
17
|
+
--vp-c-default-2: #4B5563;
|
|
18
|
+
--vp-c-default-3: #6B7280;
|
|
19
|
+
|
|
20
|
+
/* Button colors */
|
|
21
|
+
--vp-button-brand-bg: #2563EB;
|
|
22
|
+
--vp-button-brand-hover-bg: #1D4ED8;
|
|
23
|
+
--vp-button-brand-active-bg: #1E40AF;
|
|
24
|
+
|
|
25
|
+
/* Font family */
|
|
26
|
+
--vp-font-family-base: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
27
|
+
--vp-font-family-mono: 'JetBrains Mono', 'Fira Code', monospace;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Code blocks with brand accent */
|
|
31
|
+
.vp-doc div[class*='language-'] {
|
|
32
|
+
border-left: 3px solid #2563EB;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Sidebar active link */
|
|
36
|
+
.VPSidebarItem.is-active > .item > .link > .text {
|
|
37
|
+
color: #2563EB;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Custom container styling */
|
|
41
|
+
.custom-block.tip {
|
|
42
|
+
border-color: #2563EB;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.custom-block.warning {
|
|
46
|
+
border-color: #F59E0B;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.custom-block.danger {
|
|
50
|
+
border-color: #EF4444;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Hero alt button - white background for better visibility */
|
|
54
|
+
.VPButton.alt {
|
|
55
|
+
background-color: #F1F5F9 !important;
|
|
56
|
+
color: #3E4A5D !important;
|
|
57
|
+
border-color: #F1F5F9 !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.VPButton.alt:hover {
|
|
61
|
+
background-color: #DBEAFE !important;
|
|
62
|
+
color: #2563EB !important;
|
|
63
|
+
border-color: #DBEAFE !important;
|
|
64
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Configuration
|
|
2
|
+
|
|
3
|
+
Configure SenangStart Icons for your project needs.
|
|
4
|
+
|
|
5
|
+
## Default Settings
|
|
6
|
+
|
|
7
|
+
Set global defaults for all icons:
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
// Set default size for all icons
|
|
11
|
+
SSIcon.defaults = {
|
|
12
|
+
size: 24,
|
|
13
|
+
color: 'currentColor',
|
|
14
|
+
strokeWidth: 2
|
|
15
|
+
};
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Custom Icon Path
|
|
19
|
+
|
|
20
|
+
If you're self-hosting the icons, configure the base path:
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
// Set custom path to icons
|
|
24
|
+
SSIcon.config({
|
|
25
|
+
basePath: '/assets/icons/'
|
|
26
|
+
});
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Preloading Icons
|
|
30
|
+
|
|
31
|
+
Preload commonly used icons for better performance:
|
|
32
|
+
|
|
33
|
+
```js
|
|
34
|
+
// Preload specific icons
|
|
35
|
+
SSIcon.preload(['home', 'user', 'settings', 'menu']);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## TypeScript Support
|
|
39
|
+
|
|
40
|
+
SenangStart Icons includes TypeScript definitions:
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
import '@bookklik/senangstart-icons';
|
|
44
|
+
|
|
45
|
+
// Icon element is typed
|
|
46
|
+
const icon: HTMLElement = document.querySelector('ss-icon')!;
|
|
47
|
+
icon.setAttribute('name', 'home');
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Framework Integration
|
|
51
|
+
|
|
52
|
+
### Vue.js
|
|
53
|
+
|
|
54
|
+
```vue
|
|
55
|
+
<template>
|
|
56
|
+
<ss-icon :name="iconName" :size="iconSize"></ss-icon>
|
|
57
|
+
</template>
|
|
58
|
+
|
|
59
|
+
<script setup>
|
|
60
|
+
import '@bookklik/senangstart-icons';
|
|
61
|
+
|
|
62
|
+
const iconName = 'home';
|
|
63
|
+
const iconSize = 24;
|
|
64
|
+
</script>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### React
|
|
68
|
+
|
|
69
|
+
```jsx
|
|
70
|
+
import '@bookklik/senangstart-icons';
|
|
71
|
+
|
|
72
|
+
function App() {
|
|
73
|
+
return (
|
|
74
|
+
<ss-icon name="home" size="24"></ss-icon>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Angular
|
|
80
|
+
|
|
81
|
+
```ts
|
|
82
|
+
// app.module.ts
|
|
83
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
84
|
+
import '@bookklik/senangstart-icons';
|
|
85
|
+
|
|
86
|
+
@NgModule({
|
|
87
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
88
|
+
})
|
|
89
|
+
export class AppModule { }
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
```html
|
|
93
|
+
<!-- component.html -->
|
|
94
|
+
<ss-icon name="home" size="24"></ss-icon>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Build Configuration
|
|
98
|
+
|
|
99
|
+
### Webpack
|
|
100
|
+
|
|
101
|
+
No additional configuration needed. Import directly:
|
|
102
|
+
|
|
103
|
+
```js
|
|
104
|
+
import '@bookklik/senangstart-icons';
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Vite
|
|
108
|
+
|
|
109
|
+
Works out of the box:
|
|
110
|
+
|
|
111
|
+
```js
|
|
112
|
+
import '@bookklik/senangstart-icons';
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Rollup
|
|
116
|
+
|
|
117
|
+
Add to your input:
|
|
118
|
+
|
|
119
|
+
```js
|
|
120
|
+
// rollup.config.js
|
|
121
|
+
export default {
|
|
122
|
+
input: 'src/main.js',
|
|
123
|
+
// ... rest of config
|
|
124
|
+
};
|
|
125
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Getting Started
|
|
2
|
+
|
|
3
|
+
SenangStart Icons is a curated icon library designed for web projects. It provides a simple, consistent API for using icons across your applications.
|
|
4
|
+
|
|
5
|
+
## What is SenangStart Icons?
|
|
6
|
+
|
|
7
|
+
SenangStart Icons offers:
|
|
8
|
+
|
|
9
|
+
- **Web Component-based** - Use icons as custom HTML elements
|
|
10
|
+
- **Consistent Design** - All icons follow a unified design language
|
|
11
|
+
- **Easy Customization** - Control size, color, and stroke width
|
|
12
|
+
- **Lightweight** - Optimized SVG icons for fast loading
|
|
13
|
+
|
|
14
|
+
## Quick Example
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!DOCTYPE html>
|
|
18
|
+
<html>
|
|
19
|
+
<head>
|
|
20
|
+
<script src="https://unpkg.com/@bookklik/senangstart-icons/dist/senangstart-icon.min.js"></script>
|
|
21
|
+
</head>
|
|
22
|
+
<body>
|
|
23
|
+
<ss-icon name="home"></ss-icon>
|
|
24
|
+
<ss-icon name="user" size="32"></ss-icon>
|
|
25
|
+
<ss-icon name="settings" color="#3498db"></ss-icon>
|
|
26
|
+
</body>
|
|
27
|
+
</html>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Next Steps
|
|
31
|
+
|
|
32
|
+
- [Installation](/guide/installation) - Learn different ways to install
|
|
33
|
+
- [Usage](/guide/usage) - Detailed usage instructions
|
|
34
|
+
- [Styling](/guide/styling) - Customize icon appearance
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
There are multiple ways to install and use SenangStart Icons in your project.
|
|
4
|
+
|
|
5
|
+
## CDN
|
|
6
|
+
|
|
7
|
+
The quickest way to get started is using the CDN:
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
<script src="https://unpkg.com/@bookklik/senangstart-icons/dist/senangstart-icon.min.js"></script>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or with a specific version:
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<script src="https://unpkg.com/@bookklik/senangstart-icons@1.0.7/dist/senangstart-icon.min.js"></script>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## npm
|
|
20
|
+
|
|
21
|
+
Install via npm for use in bundled applications:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install @bookklik/senangstart-icons
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Then import in your JavaScript:
|
|
28
|
+
|
|
29
|
+
```js
|
|
30
|
+
import '@bookklik/senangstart-icons';
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Yarn
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
yarn add @bookklik/senangstart-icons
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## pnpm
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pnpm add @bookklik/senangstart-icons
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Browser Support
|
|
46
|
+
|
|
47
|
+
SenangStart Icons uses Web Components and supports all modern browsers:
|
|
48
|
+
|
|
49
|
+
| Browser | Version |
|
|
50
|
+
|---------|---------|
|
|
51
|
+
| Chrome | 67+ |
|
|
52
|
+
| Firefox | 63+ |
|
|
53
|
+
| Safari | 10.1+ |
|
|
54
|
+
| Edge | 79+ |
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# Styling
|
|
2
|
+
|
|
3
|
+
Customize the appearance of SenangStart Icons using CSS.
|
|
4
|
+
|
|
5
|
+
## CSS Custom Properties
|
|
6
|
+
|
|
7
|
+
Icons can be styled using CSS custom properties:
|
|
8
|
+
|
|
9
|
+
```css
|
|
10
|
+
ss-icon {
|
|
11
|
+
--ss-icon-color: #333;
|
|
12
|
+
--ss-icon-size: 24px;
|
|
13
|
+
}
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Inline Styles
|
|
17
|
+
|
|
18
|
+
Apply styles directly to icon elements:
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<ss-icon name="home" style="color: blue;"></ss-icon>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## CSS Classes
|
|
25
|
+
|
|
26
|
+
Create reusable icon styles:
|
|
27
|
+
|
|
28
|
+
```css
|
|
29
|
+
.icon-primary {
|
|
30
|
+
color: #3498db;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.icon-danger {
|
|
34
|
+
color: #e74c3c;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.icon-success {
|
|
38
|
+
color: #2ecc71;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.icon-lg {
|
|
42
|
+
font-size: 32px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.icon-sm {
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<ss-icon name="info" class="icon-primary"></ss-icon>
|
|
52
|
+
<ss-icon name="x-circle" class="icon-danger"></ss-icon>
|
|
53
|
+
<ss-icon name="check-circle" class="icon-success"></ss-icon>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Hover Effects
|
|
57
|
+
|
|
58
|
+
Add interactive hover effects:
|
|
59
|
+
|
|
60
|
+
```css
|
|
61
|
+
ss-icon {
|
|
62
|
+
transition: color 0.2s ease, transform 0.2s ease;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
ss-icon:hover {
|
|
66
|
+
color: #3498db;
|
|
67
|
+
transform: scale(1.1);
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Animation
|
|
72
|
+
|
|
73
|
+
Animate icons with CSS:
|
|
74
|
+
|
|
75
|
+
```css
|
|
76
|
+
/* Spin animation */
|
|
77
|
+
@keyframes spin {
|
|
78
|
+
from { transform: rotate(0deg); }
|
|
79
|
+
to { transform: rotate(360deg); }
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.icon-spin {
|
|
83
|
+
animation: spin 1s linear infinite;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Pulse animation */
|
|
87
|
+
@keyframes pulse {
|
|
88
|
+
0%, 100% { opacity: 1; }
|
|
89
|
+
50% { opacity: 0.5; }
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.icon-pulse {
|
|
93
|
+
animation: pulse 2s ease-in-out infinite;
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
```html
|
|
98
|
+
<ss-icon name="loader" class="icon-spin"></ss-icon>
|
|
99
|
+
<ss-icon name="heart" class="icon-pulse"></ss-icon>
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Dark Mode
|
|
103
|
+
|
|
104
|
+
Support dark mode with CSS:
|
|
105
|
+
|
|
106
|
+
```css
|
|
107
|
+
ss-icon {
|
|
108
|
+
color: #333;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@media (prefers-color-scheme: dark) {
|
|
112
|
+
ss-icon {
|
|
113
|
+
color: #fff;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Or with class-based dark mode */
|
|
118
|
+
.dark ss-icon {
|
|
119
|
+
color: #fff;
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Icon in Buttons
|
|
124
|
+
|
|
125
|
+
Style icons within buttons:
|
|
126
|
+
|
|
127
|
+
```css
|
|
128
|
+
.btn {
|
|
129
|
+
display: inline-flex;
|
|
130
|
+
align-items: center;
|
|
131
|
+
gap: 0.5rem;
|
|
132
|
+
padding: 0.5rem 1rem;
|
|
133
|
+
border: none;
|
|
134
|
+
border-radius: 4px;
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.btn ss-icon {
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.btn-icon-only {
|
|
143
|
+
padding: 0.5rem;
|
|
144
|
+
}
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
```html
|
|
148
|
+
<button class="btn">
|
|
149
|
+
<ss-icon name="plus" size="16"></ss-icon>
|
|
150
|
+
Add Item
|
|
151
|
+
</button>
|
|
152
|
+
|
|
153
|
+
<button class="btn btn-icon-only">
|
|
154
|
+
<ss-icon name="menu"></ss-icon>
|
|
155
|
+
</button>
|
|
156
|
+
```
|