@bookklik/senangstart-icons 1.0.6 → 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/dist/senangstart-icon.min.js +1 -1
- package/dist/senangstart-icon.min.js.map +1 -1
- package/dist/senangstart.min.css +1 -1
- package/dist/senangstart.min.css.map +1 -1
- 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/src/icons.css +20 -0
- package/src/icons.json +30 -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
package/docs/index.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: home
|
|
3
|
+
|
|
4
|
+
hero:
|
|
5
|
+
name: "SenangStart Icons"
|
|
6
|
+
text: "Beautiful icons for modern web projects"
|
|
7
|
+
tagline: Curated, customizable, and easy to use icon library
|
|
8
|
+
actions:
|
|
9
|
+
- theme: brand
|
|
10
|
+
text: Get Started
|
|
11
|
+
link: /guide/getting-started
|
|
12
|
+
- theme: alt
|
|
13
|
+
text: View Icons
|
|
14
|
+
link: /icons/
|
|
15
|
+
image:
|
|
16
|
+
src: https://senangstart.com/img/use_senangstart.svg
|
|
17
|
+
alt: SenangStart Icons
|
|
18
|
+
|
|
19
|
+
features:
|
|
20
|
+
- icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m21.64 3.64-1.28-1.28a1.21 1.21 0 00-1.72 0L2.36 18.64a1.21 1.21 0 000 1.72l1.28 1.28a1.2 1.2 0 001.72 0L21.64 5.36a1.2 1.2 0 000-1.72M10.5 10.5l3 3M5 6v4M19 15v4M10 3v2M7 8H3M21 17h-4M11 4H9"></path></svg>
|
|
21
|
+
title: Customizable
|
|
22
|
+
details: Easily customize colors, sizes, and styles to match your design system.
|
|
23
|
+
- icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M9 3h5L12 8 18 8 8.5 22l3.5-10h-6l2-9z"></path></svg>
|
|
24
|
+
title: Lightweight
|
|
25
|
+
details: Optimized SVG icons that are fast to load and easy on performance.
|
|
26
|
+
- icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M9.90 5.32 L9.14 2.94 A9.5 9.5 0 0 1 14.86 2.94 L14.10 5.32 A7 7 0 0 1 16.73 6.84 L18.42 5.00 A9.5 9.5 0 0 1 21.27 9.94 L18.83 10.48 A7 7 0 0 1 18.83 13.52 L21.27 14.06 A9.5 9.5 0 0 1 18.42 19.00 L16.73 17.16 A7 7 0 0 1 14.10 18.68 L14.86 21.06 A9.5 9.5 0 0 1 9.14 21.06 L9.90 18.68 A7 7 0 0 1 7.27 17.16 L5.58 19.00 A9.5 9.5 0 0 1 2.73 14.06 L5.17 13.52 A7 7 0 0 1 5.17 10.48 L2.73 9.94 A9.5 9.5 0 0 1 5.58 5.00 L7.27 6.84 A7 7 0 0 1 9.90 5.32 Z M14.5 12 A2.5 2.5 0 1 0 9.5 12 A2.5 2.5 0 1 0 14.5 12 Z"></path></svg>
|
|
27
|
+
title: Easy Integration
|
|
28
|
+
details: Simple API with multiple ways to use - Web Components, CDN, or npm.
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Quick Start
|
|
32
|
+
|
|
33
|
+
Add SenangStart Icons to your project:
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<!-- CDN -->
|
|
37
|
+
<script src="https://unpkg.com/@bookklik/senangstart-icons/dist/senangstart-icon.min.js"></script>
|
|
38
|
+
|
|
39
|
+
<!-- Use icons -->
|
|
40
|
+
<ss-icon name="home"></ss-icon>
|
|
41
|
+
<ss-icon name="search" size="24"></ss-icon>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Or install via npm:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npm install @bookklik/senangstart-icons
|
|
48
|
+
```
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Konfigurasi
|
|
2
|
+
|
|
3
|
+
Konfigurasikan SenangStart Icons untuk keperluan projek anda.
|
|
4
|
+
|
|
5
|
+
## Tetapan Lalai
|
|
6
|
+
|
|
7
|
+
Tetapkan lalai global untuk semua ikon:
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
// Tetapkan saiz lalai untuk semua ikon
|
|
11
|
+
SSIcon.defaults = {
|
|
12
|
+
size: 24,
|
|
13
|
+
color: 'currentColor',
|
|
14
|
+
strokeWidth: 2
|
|
15
|
+
};
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Laluan Ikon Tersuai
|
|
19
|
+
|
|
20
|
+
Jika anda menghos ikon sendiri, konfigurasikan laluan asas:
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
// Tetapkan laluan tersuai ke ikon
|
|
24
|
+
SSIcon.config({
|
|
25
|
+
basePath: '/assets/icons/'
|
|
26
|
+
});
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Pramuat Ikon
|
|
30
|
+
|
|
31
|
+
Pramuat ikon yang kerap digunakan untuk prestasi yang lebih baik:
|
|
32
|
+
|
|
33
|
+
```js
|
|
34
|
+
// Pramuat ikon tertentu
|
|
35
|
+
SSIcon.preload(['home', 'user', 'settings', 'menu']);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Sokongan TypeScript
|
|
39
|
+
|
|
40
|
+
SenangStart Icons termasuk definisi TypeScript:
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
import '@bookklik/senangstart-icons';
|
|
44
|
+
|
|
45
|
+
// Elemen ikon ditaip
|
|
46
|
+
const icon: HTMLElement = document.querySelector('ss-icon')!;
|
|
47
|
+
icon.setAttribute('name', 'home');
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Integrasi Rangka Kerja
|
|
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
|
+
## Konfigurasi Pembinaan
|
|
98
|
+
|
|
99
|
+
### Webpack
|
|
100
|
+
|
|
101
|
+
Tiada konfigurasi tambahan diperlukan. Import terus:
|
|
102
|
+
|
|
103
|
+
```js
|
|
104
|
+
import '@bookklik/senangstart-icons';
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Vite
|
|
108
|
+
|
|
109
|
+
Berfungsi terus:
|
|
110
|
+
|
|
111
|
+
```js
|
|
112
|
+
import '@bookklik/senangstart-icons';
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Rollup
|
|
116
|
+
|
|
117
|
+
Tambah ke input anda:
|
|
118
|
+
|
|
119
|
+
```js
|
|
120
|
+
// rollup.config.js
|
|
121
|
+
export default {
|
|
122
|
+
input: 'src/main.js',
|
|
123
|
+
// ... baki konfigurasi
|
|
124
|
+
};
|
|
125
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Bermula
|
|
2
|
+
|
|
3
|
+
SenangStart Icons adalah pustaka ikon terkurasi yang direka untuk projek web. Ia menyediakan API yang mudah dan konsisten untuk menggunakan ikon di seluruh aplikasi anda.
|
|
4
|
+
|
|
5
|
+
## Apakah SenangStart Icons?
|
|
6
|
+
|
|
7
|
+
SenangStart Icons menawarkan:
|
|
8
|
+
|
|
9
|
+
- **Berasaskan Web Component** - Gunakan ikon sebagai elemen HTML tersuai
|
|
10
|
+
- **Reka Bentuk Konsisten** - Semua ikon mengikut bahasa reka bentuk yang seragam
|
|
11
|
+
- **Mudah Disesuaikan** - Kawal saiz, warna, dan lebar garisan
|
|
12
|
+
- **Ringan** - Ikon SVG yang dioptimumkan untuk pemuatan pantas
|
|
13
|
+
|
|
14
|
+
## Contoh Pantas
|
|
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
|
+
## Langkah Seterusnya
|
|
31
|
+
|
|
32
|
+
- [Pemasangan](/ms/guide/installation) - Pelajari pelbagai cara untuk memasang
|
|
33
|
+
- [Penggunaan](/ms/guide/usage) - Arahan penggunaan terperinci
|
|
34
|
+
- [Penggayaan](/ms/guide/styling) - Sesuaikan penampilan ikon
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Pemasangan
|
|
2
|
+
|
|
3
|
+
Terdapat pelbagai cara untuk memasang dan menggunakan SenangStart Icons dalam projek anda.
|
|
4
|
+
|
|
5
|
+
## CDN
|
|
6
|
+
|
|
7
|
+
Cara paling pantas untuk bermula ialah menggunakan CDN:
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
<script src="https://unpkg.com/@bookklik/senangstart-icons/dist/senangstart-icon.min.js"></script>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Atau dengan versi tertentu:
|
|
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
|
+
Pasang melalui npm untuk kegunaan dalam aplikasi yang dibundle:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install @bookklik/senangstart-icons
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Kemudian import dalam JavaScript anda:
|
|
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
|
+
## Sokongan Pelayar
|
|
46
|
+
|
|
47
|
+
SenangStart Icons menggunakan Web Components dan menyokong semua pelayar moden:
|
|
48
|
+
|
|
49
|
+
| Pelayar | Versi |
|
|
50
|
+
|---------|---------|
|
|
51
|
+
| Chrome | 67+ |
|
|
52
|
+
| Firefox | 63+ |
|
|
53
|
+
| Safari | 10.1+ |
|
|
54
|
+
| Edge | 79+ |
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# Penggayaan
|
|
2
|
+
|
|
3
|
+
Sesuaikan penampilan SenangStart Icons menggunakan CSS.
|
|
4
|
+
|
|
5
|
+
## Ciri Tersuai CSS
|
|
6
|
+
|
|
7
|
+
Ikon boleh digayakan menggunakan ciri tersuai CSS:
|
|
8
|
+
|
|
9
|
+
```css
|
|
10
|
+
ss-icon {
|
|
11
|
+
--ss-icon-color: #333;
|
|
12
|
+
--ss-icon-size: 24px;
|
|
13
|
+
}
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Gaya Sebaris
|
|
17
|
+
|
|
18
|
+
Gunakan gaya terus pada elemen ikon:
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<ss-icon name="home" style="color: blue;"></ss-icon>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Kelas CSS
|
|
25
|
+
|
|
26
|
+
Cipta gaya ikon yang boleh diguna semula:
|
|
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
|
+
## Kesan Hover
|
|
57
|
+
|
|
58
|
+
Tambah kesan hover interaktif:
|
|
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
|
+
## Animasi
|
|
72
|
+
|
|
73
|
+
Animasikan ikon dengan CSS:
|
|
74
|
+
|
|
75
|
+
```css
|
|
76
|
+
/* Animasi pusing */
|
|
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
|
+
/* Animasi denyut */
|
|
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
|
+
## Mod Gelap
|
|
103
|
+
|
|
104
|
+
Sokong mod gelap dengan 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
|
+
/* Atau dengan mod gelap berasaskan kelas */
|
|
118
|
+
.dark ss-icon {
|
|
119
|
+
color: #fff;
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Ikon dalam Butang
|
|
124
|
+
|
|
125
|
+
Gayakan ikon dalam butang:
|
|
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
|
+
Tambah Item
|
|
151
|
+
</button>
|
|
152
|
+
|
|
153
|
+
<button class="btn btn-icon-only">
|
|
154
|
+
<ss-icon name="menu"></ss-icon>
|
|
155
|
+
</button>
|
|
156
|
+
```
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Penggunaan
|
|
2
|
+
|
|
3
|
+
Pelajari cara menggunakan SenangStart Icons dalam projek anda.
|
|
4
|
+
|
|
5
|
+
## Penggunaan Asas
|
|
6
|
+
|
|
7
|
+
Selepas memasukkan pustaka, gunakan elemen tersuai `<ss-icon>`:
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
<ss-icon name="home"></ss-icon>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Atribut
|
|
14
|
+
|
|
15
|
+
### name
|
|
16
|
+
|
|
17
|
+
**Diperlukan.** Nama ikon untuk dipaparkan.
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<ss-icon name="search"></ss-icon>
|
|
21
|
+
<ss-icon name="user"></ss-icon>
|
|
22
|
+
<ss-icon name="settings"></ss-icon>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### size
|
|
26
|
+
|
|
27
|
+
Tetapkan saiz ikon dalam piksel. Lalai adalah `24`.
|
|
28
|
+
|
|
29
|
+
```html
|
|
30
|
+
<ss-icon name="home" size="16"></ss-icon>
|
|
31
|
+
<ss-icon name="home" size="24"></ss-icon>
|
|
32
|
+
<ss-icon name="home" size="32"></ss-icon>
|
|
33
|
+
<ss-icon name="home" size="48"></ss-icon>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### color
|
|
37
|
+
|
|
38
|
+
Tetapkan warna ikon. Menerima sebarang nilai warna CSS yang sah.
|
|
39
|
+
|
|
40
|
+
```html
|
|
41
|
+
<ss-icon name="heart" color="red"></ss-icon>
|
|
42
|
+
<ss-icon name="star" color="#f1c40f"></ss-icon>
|
|
43
|
+
<ss-icon name="check" color="rgb(46, 204, 113)"></ss-icon>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### stroke-width
|
|
47
|
+
|
|
48
|
+
Tetapkan lebar garisan untuk ikon bergaris luar.
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<ss-icon name="circle" stroke-width="1"></ss-icon>
|
|
52
|
+
<ss-icon name="circle" stroke-width="2"></ss-icon>
|
|
53
|
+
<ss-icon name="circle" stroke-width="3"></ss-icon>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Menggabungkan Atribut
|
|
57
|
+
|
|
58
|
+
Gabungkan beberapa atribut untuk penyesuaian penuh:
|
|
59
|
+
|
|
60
|
+
```html
|
|
61
|
+
<ss-icon
|
|
62
|
+
name="bell"
|
|
63
|
+
size="32"
|
|
64
|
+
color="#3498db"
|
|
65
|
+
stroke-width="2"
|
|
66
|
+
></ss-icon>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Dalam JavaScript
|
|
70
|
+
|
|
71
|
+
Anda juga boleh memanipulasi ikon secara programatik:
|
|
72
|
+
|
|
73
|
+
```js
|
|
74
|
+
// Dapatkan elemen ikon
|
|
75
|
+
const icon = document.querySelector('ss-icon');
|
|
76
|
+
|
|
77
|
+
// Tukar ikon
|
|
78
|
+
icon.setAttribute('name', 'check');
|
|
79
|
+
|
|
80
|
+
// Kemas kini saiz
|
|
81
|
+
icon.setAttribute('size', '48');
|
|
82
|
+
|
|
83
|
+
// Kemas kini warna
|
|
84
|
+
icon.setAttribute('color', 'green');
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Kebolehcapaian
|
|
88
|
+
|
|
89
|
+
Untuk kebolehcapaian yang lebih baik, tambah `aria-label` atau `aria-hidden`:
|
|
90
|
+
|
|
91
|
+
```html
|
|
92
|
+
<!-- Ikon hiasan -->
|
|
93
|
+
<ss-icon name="star" aria-hidden="true"></ss-icon>
|
|
94
|
+
|
|
95
|
+
<!-- Ikon bermakna -->
|
|
96
|
+
<ss-icon name="warning" aria-label="Amaran"></ss-icon>
|
|
97
|
+
|
|
98
|
+
<!-- Ikon dengan teks -->
|
|
99
|
+
<button>
|
|
100
|
+
<ss-icon name="save" aria-hidden="true"></ss-icon>
|
|
101
|
+
Simpan
|
|
102
|
+
</button>
|
|
103
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Alert
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Alert
|
|
6
|
+
|
|
7
|
+
<div style="display: flex; justify-content: center; padding: 2rem; background: var(--vp-c-bg-soft); border-radius: 8px; margin: 1rem 0;">
|
|
8
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 8.25V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18V8.25m-18 0V6a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 6v2.25m-18 0h18zM8 13.3h8v3H8z"></path></svg>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
## Penggunaan
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<ss-icon name="alert"></ss-icon>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Dengan saiz tersuai
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<ss-icon name="alert" size="32"></ss-icon>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Dengan warna tersuai
|
|
24
|
+
|
|
25
|
+
```html
|
|
26
|
+
<ss-icon name="alert" color="#3b82f6"></ss-icon>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Dengan lebar garisan tersuai
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<ss-icon name="alert" stroke="2"></ss-icon>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Butiran Ikon
|
|
36
|
+
|
|
37
|
+
| Ciri | Nilai |
|
|
38
|
+
|------|-------|
|
|
39
|
+
| **Nama** | Alert |
|
|
40
|
+
| **Slug** | `alert` |
|
|
41
|
+
| **Tag** | `warning`, `danger`, `notification`, `popup`, `window`, `modal`, `dialog`, `alert`, `senangwebs`, `sw-modals` |
|
|
42
|
+
|
|
43
|
+
## Laluan SVG
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
M3 8.25V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18V8.25m-18 0V6a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 6v2.25m-18 0h18zM8 13.3h8v3H8z
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## SVG Mentah
|
|
50
|
+
|
|
51
|
+
```html
|
|
52
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
53
|
+
<path d="M3 8.25V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18V8.25m-18 0V6a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 6v2.25m-18 0h18zM8 13.3h8v3H8z"></path>
|
|
54
|
+
</svg>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
[← Kembali ke Pustaka Ikon](/ms/icons/)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Align Bottom Object
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Align Bottom Object
|
|
6
|
+
|
|
7
|
+
<div style="display: flex; justify-content: center; padding: 2rem; background: var(--vp-c-bg-soft); border-radius: 8px; margin: 1rem 0;">
|
|
8
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4h3a1 1 0 011 1v3a1 1 0 01-1 1H9a1 1 0 01-1-1V5a1 1 0 011-1ZM12 12h6a1 1 0 011 1v3a1 1 0 01-1 1h-12a1 1 0 01-1-1v-3a1 1 0 011-1ZM21 20 3 20"></path></svg>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
## Penggunaan
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<ss-icon name="align-bottom-object"></ss-icon>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Dengan saiz tersuai
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<ss-icon name="align-bottom-object" size="32"></ss-icon>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Dengan warna tersuai
|
|
24
|
+
|
|
25
|
+
```html
|
|
26
|
+
<ss-icon name="align-bottom-object" color="#3b82f6"></ss-icon>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Dengan lebar garisan tersuai
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<ss-icon name="align-bottom-object" stroke="2"></ss-icon>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Butiran Ikon
|
|
36
|
+
|
|
37
|
+
| Ciri | Nilai |
|
|
38
|
+
|------|-------|
|
|
39
|
+
| **Nama** | Align Bottom Object |
|
|
40
|
+
| **Slug** | `align-bottom-object` |
|
|
41
|
+
| **Tag** | `align`, `bottom`, `object`, `layout`, `position`, `design` |
|
|
42
|
+
|
|
43
|
+
## Laluan SVG
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
M12 4h3a1 1 0 011 1v3a1 1 0 01-1 1H9a1 1 0 01-1-1V5a1 1 0 011-1ZM12 12h6a1 1 0 011 1v3a1 1 0 01-1 1h-12a1 1 0 01-1-1v-3a1 1 0 011-1ZM21 20 3 20
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## SVG Mentah
|
|
50
|
+
|
|
51
|
+
```html
|
|
52
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
53
|
+
<path d="M12 4h3a1 1 0 011 1v3a1 1 0 01-1 1H9a1 1 0 01-1-1V5a1 1 0 011-1ZM12 12h6a1 1 0 011 1v3a1 1 0 01-1 1h-12a1 1 0 01-1-1v-3a1 1 0 011-1ZM21 20 3 20"></path>
|
|
54
|
+
</svg>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
[← Kembali ke Pustaka Ikon](/ms/icons/)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Align Center Object
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Align Center Object
|
|
6
|
+
|
|
7
|
+
<div style="display: flex; justify-content: center; padding: 2rem; background: var(--vp-c-bg-soft); border-radius: 8px; margin: 1rem 0;">
|
|
8
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4h3a1 1 0 011 1v4a1 1 0 01-1 1H9a1 1 0 01-1-1V5a1 1 0 011-1ZM12 14h6a1 1 0 011 1v4a1 1 0 01-1 1h-12a1 1 0 01-1-1v-4a1 1 0 011-1ZM12 21 12 3"></path></svg>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
## Penggunaan
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<ss-icon name="align-center-object"></ss-icon>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Dengan saiz tersuai
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<ss-icon name="align-center-object" size="32"></ss-icon>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Dengan warna tersuai
|
|
24
|
+
|
|
25
|
+
```html
|
|
26
|
+
<ss-icon name="align-center-object" color="#3b82f6"></ss-icon>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Dengan lebar garisan tersuai
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<ss-icon name="align-center-object" stroke="2"></ss-icon>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Butiran Ikon
|
|
36
|
+
|
|
37
|
+
| Ciri | Nilai |
|
|
38
|
+
|------|-------|
|
|
39
|
+
| **Nama** | Align Center Object |
|
|
40
|
+
| **Slug** | `align-center-object` |
|
|
41
|
+
| **Tag** | `align`, `center`, `object`, `layout`, `position`, `design` |
|
|
42
|
+
|
|
43
|
+
## Laluan SVG
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
M12 4h3a1 1 0 011 1v4a1 1 0 01-1 1H9a1 1 0 01-1-1V5a1 1 0 011-1ZM12 14h6a1 1 0 011 1v4a1 1 0 01-1 1h-12a1 1 0 01-1-1v-4a1 1 0 011-1ZM12 21 12 3
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## SVG Mentah
|
|
50
|
+
|
|
51
|
+
```html
|
|
52
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
53
|
+
<path d="M12 4h3a1 1 0 011 1v4a1 1 0 01-1 1H9a1 1 0 01-1-1V5a1 1 0 011-1ZM12 14h6a1 1 0 011 1v4a1 1 0 01-1 1h-12a1 1 0 01-1-1v-4a1 1 0 011-1ZM12 21 12 3"></path>
|
|
54
|
+
</svg>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
[← Kembali ke Pustaka Ikon](/ms/icons/)
|