@bookklik/senangstart-icons 1.0.8 โ 1.0.12
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/.agent/skills/build-scripts/SKILL.md +155 -0
- package/.agent/skills/icon-development/SKILL.md +154 -0
- package/.agent/skills/senangstart-icons-architecture/SKILL.md +123 -0
- package/.agent/skills/testing/SKILL.md +202 -0
- package/.agent/skills/web-components/SKILL.md +209 -0
- package/.agent/workflows/add-icon.md +85 -0
- package/.agent/workflows/build.md +73 -0
- package/.agent/workflows/dev.md +52 -0
- package/.agent/workflows/docs.md +77 -0
- package/.agent/workflows/publish.md +80 -0
- package/.agent/workflows/test.md +56 -0
- package/README.md +13 -5
- package/dist/icons.min.js +2 -0
- package/dist/icons.min.js.map +1 -0
- package/dist/senangstart-icon.min.js +1 -1
- package/dist/senangstart-icon.min.js.map +1 -1
- package/docs/.vitepress/config.mjs +15 -13
- package/docs/guide/configuration.md +3 -48
- package/docs/guide/getting-started.md +10 -3
- package/docs/guide/installation.md +1 -1
- package/docs/guide/styling.md +10 -10
- package/docs/guide/usage.md +53 -44
- package/docs/icons/alert.md +12 -8
- package/docs/icons/align-bottom-object.md +12 -8
- package/docs/icons/align-center-object.md +12 -8
- package/docs/icons/align-left-object.md +12 -8
- package/docs/icons/align-middle-object.md +12 -8
- package/docs/icons/align-right-object.md +12 -8
- package/docs/icons/align-top-object.md +12 -8
- package/docs/icons/ar.md +12 -8
- package/docs/icons/archive-box.md +12 -8
- package/docs/icons/arrow-down.md +12 -8
- package/docs/icons/arrow-left-arrow-right.md +12 -8
- package/docs/icons/arrow-left-on-rectangle.md +12 -8
- package/docs/icons/arrow-left-right.md +12 -8
- package/docs/icons/arrow-left.md +12 -8
- package/docs/icons/arrow-long-down.md +12 -8
- package/docs/icons/arrow-long-left.md +12 -8
- package/docs/icons/arrow-long-right.md +12 -8
- package/docs/icons/arrow-long-up.md +12 -8
- package/docs/icons/arrow-path.md +12 -8
- package/docs/icons/arrow-right-on-rectangle.md +12 -8
- package/docs/icons/arrow-right.md +12 -8
- package/docs/icons/arrow-rotate-ccw.md +12 -8
- package/docs/icons/arrow-rotate-cw.md +12 -8
- package/docs/icons/arrow-top-right-on-square.md +12 -8
- package/docs/icons/arrow-up-arrow-down.md +12 -8
- package/docs/icons/arrow-up-down-left-right.md +12 -8
- package/docs/icons/arrow-up-down.md +12 -8
- package/docs/icons/arrow-up.md +12 -8
- package/docs/icons/banknotes.md +12 -8
- package/docs/icons/bars-3.md +12 -8
- package/docs/icons/basket.md +12 -8
- package/docs/icons/battery-0.md +12 -8
- package/docs/icons/battery-10.md +12 -8
- package/docs/icons/battery-100.md +12 -8
- package/docs/icons/battery-50.md +12 -8
- package/docs/icons/bell-alert.md +12 -8
- package/docs/icons/bell.md +12 -8
- package/docs/icons/bolt.md +12 -8
- package/docs/icons/book-close.md +12 -8
- package/docs/icons/book-open.md +12 -8
- package/docs/icons/book-stacked.md +12 -8
- package/docs/icons/bookmark.md +12 -8
- package/docs/icons/briefcase.md +12 -8
- package/docs/icons/brush.md +12 -8
- package/docs/icons/cake.md +12 -8
- package/docs/icons/calendar-approve.md +12 -8
- package/docs/icons/calendar-days.md +12 -8
- package/docs/icons/calendar-minus.md +12 -8
- package/docs/icons/calendar-plus.md +12 -8
- package/docs/icons/calendar-reject.md +12 -8
- package/docs/icons/calendar.md +12 -8
- package/docs/icons/camera.md +12 -8
- package/docs/icons/carousel.md +12 -8
- package/docs/icons/chart-bar.md +12 -8
- package/docs/icons/chart-line.md +12 -8
- package/docs/icons/chart-pie.md +12 -8
- package/docs/icons/chat-bubble-left-ellipsis.md +12 -8
- package/docs/icons/chat-bubble-left-right.md +12 -8
- package/docs/icons/chat-bubble-left.md +12 -8
- package/docs/icons/chat-bubble-right-ellipsis.md +12 -8
- package/docs/icons/chat-bubble-right.md +12 -8
- package/docs/icons/chatbot.md +12 -8
- package/docs/icons/check.md +12 -8
- package/docs/icons/chevron-double-down.md +12 -8
- package/docs/icons/chevron-double-left.md +12 -8
- package/docs/icons/chevron-double-right.md +12 -8
- package/docs/icons/chevron-double-up.md +12 -8
- package/docs/icons/chevron-down.md +12 -8
- package/docs/icons/chevron-left.md +12 -8
- package/docs/icons/chevron-right.md +12 -8
- package/docs/icons/chevron-up.md +12 -8
- package/docs/icons/circle.md +12 -8
- package/docs/icons/clipboard-document-check.md +12 -8
- package/docs/icons/clipboard.md +12 -8
- package/docs/icons/clock.md +12 -8
- package/docs/icons/cloud.md +12 -8
- package/docs/icons/code.md +12 -8
- package/docs/icons/cog-6-tooth.md +12 -8
- package/docs/icons/compress.md +12 -8
- package/docs/icons/computer-code.md +12 -8
- package/docs/icons/computer-desktop.md +12 -8
- package/docs/icons/computer-laptop.md +12 -8
- package/docs/icons/cone.md +12 -8
- package/docs/icons/console.md +12 -8
- package/docs/icons/container.md +12 -8
- package/docs/icons/contrast.md +12 -8
- package/docs/icons/controller.md +12 -8
- package/docs/icons/credit-card.md +12 -8
- package/docs/icons/crop.md +12 -8
- package/docs/icons/crosshair.md +12 -8
- package/docs/icons/cube.md +12 -8
- package/docs/icons/currency-dollar.md +12 -8
- package/docs/icons/currency-euro.md +12 -8
- package/docs/icons/currency-pound.md +12 -8
- package/docs/icons/currency-ringgit.md +12 -8
- package/docs/icons/currency-yen.md +12 -8
- package/docs/icons/cursor.md +12 -8
- package/docs/icons/cylinder-half.md +12 -8
- package/docs/icons/cylinder.md +12 -8
- package/docs/icons/device-phone-mobile.md +12 -8
- package/docs/icons/device-tablet.md +12 -8
- package/docs/icons/diamond.md +12 -8
- package/docs/icons/document-duplicate.md +12 -8
- package/docs/icons/document-text.md +12 -8
- package/docs/icons/document.md +12 -8
- package/docs/icons/dodecahedron.md +12 -8
- package/docs/icons/double-tick.md +12 -8
- package/docs/icons/draw-curve.md +12 -8
- package/docs/icons/draw-line.md +12 -8
- package/docs/icons/envelope-open.md +12 -8
- package/docs/icons/envelope.md +12 -8
- package/docs/icons/eraser.md +12 -8
- package/docs/icons/exclamation-circle.md +12 -8
- package/docs/icons/exclamation-triangle.md +12 -8
- package/docs/icons/expand.md +12 -8
- package/docs/icons/eye-slash.md +12 -8
- package/docs/icons/eye.md +12 -8
- package/docs/icons/flag.md +12 -8
- package/docs/icons/flip-horizontal.md +12 -8
- package/docs/icons/flip-vertical.md +12 -8
- package/docs/icons/focus.md +12 -8
- package/docs/icons/folder-minus.md +12 -8
- package/docs/icons/folder-open.md +12 -8
- package/docs/icons/folder-plus.md +12 -8
- package/docs/icons/folder.md +12 -8
- package/docs/icons/font.md +12 -8
- package/docs/icons/game.md +12 -8
- package/docs/icons/gift.md +12 -8
- package/docs/icons/globe-alt.md +12 -8
- package/docs/icons/gradient.md +12 -8
- package/docs/icons/grid.md +12 -8
- package/docs/icons/group-object.md +12 -8
- package/docs/icons/hand-grab.md +12 -8
- package/docs/icons/hand-thumb-down.md +12 -8
- package/docs/icons/hand-thumb-up.md +12 -8
- package/docs/icons/hand.md +12 -8
- package/docs/icons/heart-extruded.md +12 -8
- package/docs/icons/heart.md +12 -8
- package/docs/icons/hexagon.md +12 -8
- package/docs/icons/home.md +12 -8
- package/docs/icons/horizontal-3-dots.md +12 -8
- package/docs/icons/hourglass-0.md +12 -8
- package/docs/icons/hourglass-100.md +12 -8
- package/docs/icons/hourglass-50.md +12 -8
- package/docs/icons/hourglass-80.md +12 -8
- package/docs/icons/icosahedron.md +12 -8
- package/docs/icons/inbox.md +12 -8
- package/docs/icons/information-circle.md +12 -8
- package/docs/icons/key.md +12 -8
- package/docs/icons/layer-stacks.md +12 -8
- package/docs/icons/layout.md +12 -8
- package/docs/icons/light-bulb.md +12 -8
- package/docs/icons/lock-closed.md +12 -8
- package/docs/icons/lock-open.md +12 -8
- package/docs/icons/magic-wand.md +12 -8
- package/docs/icons/magnifying-glass-focus.md +12 -8
- package/docs/icons/magnifying-glass-minus.md +12 -8
- package/docs/icons/magnifying-glass-plus.md +12 -8
- package/docs/icons/magnifying-glass.md +12 -8
- package/docs/icons/map-pin.md +12 -8
- package/docs/icons/map.md +12 -8
- package/docs/icons/marquee.md +12 -8
- package/docs/icons/maximize.md +12 -8
- package/docs/icons/medal.md +12 -8
- package/docs/icons/microphone-mute.md +12 -8
- package/docs/icons/microphone.md +12 -8
- package/docs/icons/minimize.md +12 -8
- package/docs/icons/minus.md +12 -8
- package/docs/icons/moon.md +12 -8
- package/docs/icons/musical-note.md +12 -8
- package/docs/icons/octahedron.md +12 -8
- package/docs/icons/panorama.md +12 -8
- package/docs/icons/paper-clip.md +12 -8
- package/docs/icons/pause-circle.md +12 -8
- package/docs/icons/pause.md +12 -8
- package/docs/icons/pencil.md +12 -8
- package/docs/icons/phone-x-mark.md +12 -8
- package/docs/icons/phone.md +12 -8
- package/docs/icons/photo.md +12 -8
- package/docs/icons/plane.md +12 -8
- package/docs/icons/play-circle.md +12 -8
- package/docs/icons/play.md +12 -8
- package/docs/icons/plus.md +12 -8
- package/docs/icons/polygon.md +12 -8
- package/docs/icons/presentation-chart-line.md +12 -8
- package/docs/icons/presentation-media.md +12 -8
- package/docs/icons/pyramid.md +12 -8
- package/docs/icons/qr-code.md +12 -8
- package/docs/icons/question-mark-circle.md +12 -8
- package/docs/icons/rectangle.md +12 -8
- package/docs/icons/reel.md +12 -8
- package/docs/icons/robot.md +12 -8
- package/docs/icons/roof.md +12 -8
- package/docs/icons/rotate-add.md +12 -8
- package/docs/icons/rotate-minus.md +12 -8
- package/docs/icons/save.md +12 -8
- package/docs/icons/scissor.md +12 -8
- package/docs/icons/shapes.md +12 -8
- package/docs/icons/shield-check.md +12 -8
- package/docs/icons/shield-exclamation.md +12 -8
- package/docs/icons/shopping-bag.md +12 -8
- package/docs/icons/shopping-cart.md +12 -8
- package/docs/icons/sliders-horizontal.md +12 -8
- package/docs/icons/sliders-vertical.md +12 -8
- package/docs/icons/sparkles.md +12 -8
- package/docs/icons/speaker-wave.md +12 -8
- package/docs/icons/speaker-x-mark.md +12 -8
- package/docs/icons/sphere-half.md +12 -8
- package/docs/icons/sphere.md +12 -8
- package/docs/icons/square.md +12 -8
- package/docs/icons/star.md +12 -8
- package/docs/icons/stop-circle.md +12 -8
- package/docs/icons/stop.md +12 -8
- package/docs/icons/sun.md +12 -8
- package/docs/icons/table.md +12 -8
- package/docs/icons/tabs.md +12 -8
- package/docs/icons/tetrahedron.md +12 -8
- package/docs/icons/text-align-center.md +12 -8
- package/docs/icons/text-align-justify.md +12 -8
- package/docs/icons/text-align-left.md +12 -8
- package/docs/icons/text-align-right.md +12 -8
- package/docs/icons/text.md +12 -8
- package/docs/icons/thunder.md +12 -8
- package/docs/icons/tic-tac-toe.md +12 -8
- package/docs/icons/time-reset.md +12 -8
- package/docs/icons/torus-knot.md +12 -8
- package/docs/icons/torus.md +12 -8
- package/docs/icons/trash.md +12 -8
- package/docs/icons/trophy.md +12 -8
- package/docs/icons/truck.md +12 -8
- package/docs/icons/tube.md +12 -8
- package/docs/icons/ungroup-object.md +12 -8
- package/docs/icons/user-circle.md +12 -8
- package/docs/icons/user-group.md +12 -8
- package/docs/icons/user-minus.md +12 -8
- package/docs/icons/user-plus.md +12 -8
- package/docs/icons/user.md +12 -8
- package/docs/icons/users.md +12 -8
- package/docs/icons/vertical-3-dots.md +12 -8
- package/docs/icons/video-camera.md +12 -8
- package/docs/icons/vr.md +12 -8
- package/docs/icons/wedge.md +12 -8
- package/docs/icons/whiteboard.md +12 -8
- package/docs/icons/wifi.md +12 -8
- package/docs/icons/window.md +12 -8
- package/docs/icons/x-mark.md +12 -8
- package/docs/index.md +12 -5
- package/docs/ms/guide/configuration.md +3 -48
- package/docs/ms/guide/getting-started.md +10 -3
- package/docs/ms/guide/installation.md +1 -1
- package/docs/ms/guide/styling.md +10 -10
- package/docs/ms/guide/usage.md +52 -44
- package/docs/ms/icons/alert.md +12 -8
- package/docs/ms/icons/align-bottom-object.md +12 -8
- package/docs/ms/icons/align-center-object.md +12 -8
- package/docs/ms/icons/align-left-object.md +12 -8
- package/docs/ms/icons/align-middle-object.md +12 -8
- package/docs/ms/icons/align-right-object.md +12 -8
- package/docs/ms/icons/align-top-object.md +12 -8
- package/docs/ms/icons/ar.md +12 -8
- package/docs/ms/icons/archive-box.md +12 -8
- package/docs/ms/icons/arrow-down.md +12 -8
- package/docs/ms/icons/arrow-left-arrow-right.md +12 -8
- package/docs/ms/icons/arrow-left-on-rectangle.md +12 -8
- package/docs/ms/icons/arrow-left-right.md +12 -8
- package/docs/ms/icons/arrow-left.md +12 -8
- package/docs/ms/icons/arrow-long-down.md +12 -8
- package/docs/ms/icons/arrow-long-left.md +12 -8
- package/docs/ms/icons/arrow-long-right.md +12 -8
- package/docs/ms/icons/arrow-long-up.md +12 -8
- package/docs/ms/icons/arrow-path.md +12 -8
- package/docs/ms/icons/arrow-right-on-rectangle.md +12 -8
- package/docs/ms/icons/arrow-right.md +12 -8
- package/docs/ms/icons/arrow-rotate-ccw.md +12 -8
- package/docs/ms/icons/arrow-rotate-cw.md +12 -8
- package/docs/ms/icons/arrow-top-right-on-square.md +12 -8
- package/docs/ms/icons/arrow-up-arrow-down.md +12 -8
- package/docs/ms/icons/arrow-up-down-left-right.md +12 -8
- package/docs/ms/icons/arrow-up-down.md +12 -8
- package/docs/ms/icons/arrow-up.md +12 -8
- package/docs/ms/icons/banknotes.md +12 -8
- package/docs/ms/icons/bars-3.md +12 -8
- package/docs/ms/icons/basket.md +12 -8
- package/docs/ms/icons/battery-0.md +12 -8
- package/docs/ms/icons/battery-10.md +12 -8
- package/docs/ms/icons/battery-100.md +12 -8
- package/docs/ms/icons/battery-50.md +12 -8
- package/docs/ms/icons/bell-alert.md +12 -8
- package/docs/ms/icons/bell.md +12 -8
- package/docs/ms/icons/bolt.md +12 -8
- package/docs/ms/icons/book-close.md +12 -8
- package/docs/ms/icons/book-open.md +12 -8
- package/docs/ms/icons/book-stacked.md +12 -8
- package/docs/ms/icons/bookmark.md +12 -8
- package/docs/ms/icons/briefcase.md +12 -8
- package/docs/ms/icons/brush.md +12 -8
- package/docs/ms/icons/cake.md +12 -8
- package/docs/ms/icons/calendar-approve.md +12 -8
- package/docs/ms/icons/calendar-days.md +12 -8
- package/docs/ms/icons/calendar-minus.md +12 -8
- package/docs/ms/icons/calendar-plus.md +12 -8
- package/docs/ms/icons/calendar-reject.md +12 -8
- package/docs/ms/icons/calendar.md +12 -8
- package/docs/ms/icons/camera.md +12 -8
- package/docs/ms/icons/carousel.md +12 -8
- package/docs/ms/icons/chart-bar.md +12 -8
- package/docs/ms/icons/chart-line.md +12 -8
- package/docs/ms/icons/chart-pie.md +12 -8
- package/docs/ms/icons/chat-bubble-left-ellipsis.md +12 -8
- package/docs/ms/icons/chat-bubble-left-right.md +12 -8
- package/docs/ms/icons/chat-bubble-left.md +12 -8
- package/docs/ms/icons/chat-bubble-right-ellipsis.md +12 -8
- package/docs/ms/icons/chat-bubble-right.md +12 -8
- package/docs/ms/icons/chatbot.md +12 -8
- package/docs/ms/icons/check.md +12 -8
- package/docs/ms/icons/chevron-double-down.md +12 -8
- package/docs/ms/icons/chevron-double-left.md +12 -8
- package/docs/ms/icons/chevron-double-right.md +12 -8
- package/docs/ms/icons/chevron-double-up.md +12 -8
- package/docs/ms/icons/chevron-down.md +12 -8
- package/docs/ms/icons/chevron-left.md +12 -8
- package/docs/ms/icons/chevron-right.md +12 -8
- package/docs/ms/icons/chevron-up.md +12 -8
- package/docs/ms/icons/circle.md +12 -8
- package/docs/ms/icons/clipboard-document-check.md +12 -8
- package/docs/ms/icons/clipboard.md +12 -8
- package/docs/ms/icons/clock.md +12 -8
- package/docs/ms/icons/cloud.md +12 -8
- package/docs/ms/icons/code.md +12 -8
- package/docs/ms/icons/cog-6-tooth.md +12 -8
- package/docs/ms/icons/compress.md +12 -8
- package/docs/ms/icons/computer-code.md +12 -8
- package/docs/ms/icons/computer-desktop.md +12 -8
- package/docs/ms/icons/computer-laptop.md +12 -8
- package/docs/ms/icons/cone.md +12 -8
- package/docs/ms/icons/console.md +12 -8
- package/docs/ms/icons/container.md +12 -8
- package/docs/ms/icons/contrast.md +12 -8
- package/docs/ms/icons/controller.md +12 -8
- package/docs/ms/icons/credit-card.md +12 -8
- package/docs/ms/icons/crop.md +12 -8
- package/docs/ms/icons/crosshair.md +12 -8
- package/docs/ms/icons/cube.md +12 -8
- package/docs/ms/icons/currency-dollar.md +12 -8
- package/docs/ms/icons/currency-euro.md +12 -8
- package/docs/ms/icons/currency-pound.md +12 -8
- package/docs/ms/icons/currency-ringgit.md +12 -8
- package/docs/ms/icons/currency-yen.md +12 -8
- package/docs/ms/icons/cursor.md +12 -8
- package/docs/ms/icons/cylinder-half.md +12 -8
- package/docs/ms/icons/cylinder.md +12 -8
- package/docs/ms/icons/device-phone-mobile.md +12 -8
- package/docs/ms/icons/device-tablet.md +12 -8
- package/docs/ms/icons/diamond.md +12 -8
- package/docs/ms/icons/document-duplicate.md +12 -8
- package/docs/ms/icons/document-text.md +12 -8
- package/docs/ms/icons/document.md +12 -8
- package/docs/ms/icons/dodecahedron.md +12 -8
- package/docs/ms/icons/double-tick.md +12 -8
- package/docs/ms/icons/draw-curve.md +12 -8
- package/docs/ms/icons/draw-line.md +12 -8
- package/docs/ms/icons/envelope-open.md +12 -8
- package/docs/ms/icons/envelope.md +12 -8
- package/docs/ms/icons/eraser.md +12 -8
- package/docs/ms/icons/exclamation-circle.md +12 -8
- package/docs/ms/icons/exclamation-triangle.md +12 -8
- package/docs/ms/icons/expand.md +12 -8
- package/docs/ms/icons/eye-slash.md +12 -8
- package/docs/ms/icons/eye.md +12 -8
- package/docs/ms/icons/flag.md +12 -8
- package/docs/ms/icons/flip-horizontal.md +12 -8
- package/docs/ms/icons/flip-vertical.md +12 -8
- package/docs/ms/icons/focus.md +12 -8
- package/docs/ms/icons/folder-minus.md +12 -8
- package/docs/ms/icons/folder-open.md +12 -8
- package/docs/ms/icons/folder-plus.md +12 -8
- package/docs/ms/icons/folder.md +12 -8
- package/docs/ms/icons/font.md +12 -8
- package/docs/ms/icons/game.md +12 -8
- package/docs/ms/icons/gift.md +12 -8
- package/docs/ms/icons/globe-alt.md +12 -8
- package/docs/ms/icons/gradient.md +12 -8
- package/docs/ms/icons/grid.md +12 -8
- package/docs/ms/icons/group-object.md +12 -8
- package/docs/ms/icons/hand-grab.md +12 -8
- package/docs/ms/icons/hand-thumb-down.md +12 -8
- package/docs/ms/icons/hand-thumb-up.md +12 -8
- package/docs/ms/icons/hand.md +12 -8
- package/docs/ms/icons/heart-extruded.md +12 -8
- package/docs/ms/icons/heart.md +12 -8
- package/docs/ms/icons/hexagon.md +12 -8
- package/docs/ms/icons/home.md +12 -8
- package/docs/ms/icons/horizontal-3-dots.md +12 -8
- package/docs/ms/icons/hourglass-0.md +12 -8
- package/docs/ms/icons/hourglass-100.md +12 -8
- package/docs/ms/icons/hourglass-50.md +12 -8
- package/docs/ms/icons/hourglass-80.md +12 -8
- package/docs/ms/icons/icosahedron.md +12 -8
- package/docs/ms/icons/inbox.md +12 -8
- package/docs/ms/icons/information-circle.md +12 -8
- package/docs/ms/icons/key.md +12 -8
- package/docs/ms/icons/layer-stacks.md +12 -8
- package/docs/ms/icons/layout.md +12 -8
- package/docs/ms/icons/light-bulb.md +12 -8
- package/docs/ms/icons/lock-closed.md +12 -8
- package/docs/ms/icons/lock-open.md +12 -8
- package/docs/ms/icons/magic-wand.md +12 -8
- package/docs/ms/icons/magnifying-glass-focus.md +12 -8
- package/docs/ms/icons/magnifying-glass-minus.md +12 -8
- package/docs/ms/icons/magnifying-glass-plus.md +12 -8
- package/docs/ms/icons/magnifying-glass.md +12 -8
- package/docs/ms/icons/map-pin.md +12 -8
- package/docs/ms/icons/map.md +12 -8
- package/docs/ms/icons/marquee.md +12 -8
- package/docs/ms/icons/maximize.md +12 -8
- package/docs/ms/icons/medal.md +12 -8
- package/docs/ms/icons/microphone-mute.md +12 -8
- package/docs/ms/icons/microphone.md +12 -8
- package/docs/ms/icons/minimize.md +12 -8
- package/docs/ms/icons/minus.md +12 -8
- package/docs/ms/icons/moon.md +12 -8
- package/docs/ms/icons/musical-note.md +12 -8
- package/docs/ms/icons/octahedron.md +12 -8
- package/docs/ms/icons/panorama.md +12 -8
- package/docs/ms/icons/paper-clip.md +12 -8
- package/docs/ms/icons/pause-circle.md +12 -8
- package/docs/ms/icons/pause.md +12 -8
- package/docs/ms/icons/pencil.md +12 -8
- package/docs/ms/icons/phone-x-mark.md +12 -8
- package/docs/ms/icons/phone.md +12 -8
- package/docs/ms/icons/photo.md +12 -8
- package/docs/ms/icons/plane.md +12 -8
- package/docs/ms/icons/play-circle.md +12 -8
- package/docs/ms/icons/play.md +12 -8
- package/docs/ms/icons/plus.md +12 -8
- package/docs/ms/icons/polygon.md +12 -8
- package/docs/ms/icons/presentation-chart-line.md +12 -8
- package/docs/ms/icons/presentation-media.md +12 -8
- package/docs/ms/icons/pyramid.md +12 -8
- package/docs/ms/icons/qr-code.md +12 -8
- package/docs/ms/icons/question-mark-circle.md +12 -8
- package/docs/ms/icons/rectangle.md +12 -8
- package/docs/ms/icons/reel.md +12 -8
- package/docs/ms/icons/robot.md +12 -8
- package/docs/ms/icons/roof.md +12 -8
- package/docs/ms/icons/rotate-add.md +12 -8
- package/docs/ms/icons/rotate-minus.md +12 -8
- package/docs/ms/icons/save.md +12 -8
- package/docs/ms/icons/scissor.md +12 -8
- package/docs/ms/icons/shapes.md +12 -8
- package/docs/ms/icons/shield-check.md +12 -8
- package/docs/ms/icons/shield-exclamation.md +12 -8
- package/docs/ms/icons/shopping-bag.md +12 -8
- package/docs/ms/icons/shopping-cart.md +12 -8
- package/docs/ms/icons/sliders-horizontal.md +12 -8
- package/docs/ms/icons/sliders-vertical.md +12 -8
- package/docs/ms/icons/sparkles.md +12 -8
- package/docs/ms/icons/speaker-wave.md +12 -8
- package/docs/ms/icons/speaker-x-mark.md +12 -8
- package/docs/ms/icons/sphere-half.md +12 -8
- package/docs/ms/icons/sphere.md +12 -8
- package/docs/ms/icons/square.md +12 -8
- package/docs/ms/icons/star.md +12 -8
- package/docs/ms/icons/stop-circle.md +12 -8
- package/docs/ms/icons/stop.md +12 -8
- package/docs/ms/icons/sun.md +12 -8
- package/docs/ms/icons/table.md +12 -8
- package/docs/ms/icons/tabs.md +12 -8
- package/docs/ms/icons/tetrahedron.md +12 -8
- package/docs/ms/icons/text-align-center.md +12 -8
- package/docs/ms/icons/text-align-justify.md +12 -8
- package/docs/ms/icons/text-align-left.md +12 -8
- package/docs/ms/icons/text-align-right.md +12 -8
- package/docs/ms/icons/text.md +12 -8
- package/docs/ms/icons/thunder.md +12 -8
- package/docs/ms/icons/tic-tac-toe.md +12 -8
- package/docs/ms/icons/time-reset.md +12 -8
- package/docs/ms/icons/torus-knot.md +12 -8
- package/docs/ms/icons/torus.md +12 -8
- package/docs/ms/icons/trash.md +12 -8
- package/docs/ms/icons/trophy.md +12 -8
- package/docs/ms/icons/truck.md +12 -8
- package/docs/ms/icons/tube.md +12 -8
- package/docs/ms/icons/ungroup-object.md +12 -8
- package/docs/ms/icons/user-circle.md +12 -8
- package/docs/ms/icons/user-group.md +12 -8
- package/docs/ms/icons/user-minus.md +12 -8
- package/docs/ms/icons/user-plus.md +12 -8
- package/docs/ms/icons/user.md +12 -8
- package/docs/ms/icons/users.md +12 -8
- package/docs/ms/icons/vertical-3-dots.md +12 -8
- package/docs/ms/icons/video-camera.md +12 -8
- package/docs/ms/icons/vr.md +12 -8
- package/docs/ms/icons/wedge.md +12 -8
- package/docs/ms/icons/whiteboard.md +12 -8
- package/docs/ms/icons/wifi.md +12 -8
- package/docs/ms/icons/window.md +12 -8
- package/docs/ms/icons/x-mark.md +12 -8
- package/docs/ms/index.md +12 -5
- package/docs/public/assets/senangstart-icons-logo.svg +1 -0
- package/docs/public/assets/ss-logo.svg +83 -0
- package/docs/public/llms.txt +285 -0
- package/package.json +6 -1
- package/scripts/build-icon-docs.js +24 -16
- package/scripts/build-svgs.js +14 -6
- package/scripts/build.js +11 -0
- package/scripts/generate-llms-txt.js +70 -0
- package/src/index.js +1 -2
- package/tests/build-icon-docs.test.js +3 -1
- package/webpack.config.js +44 -39
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
width="219.6891"
|
|
4
|
+
height="220.68938"
|
|
5
|
+
overflow="hidden"
|
|
6
|
+
version="1.1"
|
|
7
|
+
id="svg9"
|
|
8
|
+
sodipodi:docname="ss_logo_typo - Copy.svg"
|
|
9
|
+
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
14
|
+
<sodipodi:namedview
|
|
15
|
+
id="namedview9"
|
|
16
|
+
pagecolor="#505050"
|
|
17
|
+
bordercolor="#ffffff"
|
|
18
|
+
borderopacity="1"
|
|
19
|
+
inkscape:showpageshadow="0"
|
|
20
|
+
inkscape:pageopacity="0"
|
|
21
|
+
inkscape:pagecheckerboard="1"
|
|
22
|
+
inkscape:deskcolor="#505050"
|
|
23
|
+
inkscape:zoom="1.876652"
|
|
24
|
+
inkscape:cx="-58.08216"
|
|
25
|
+
inkscape:cy="104.70775"
|
|
26
|
+
inkscape:window-width="3840"
|
|
27
|
+
inkscape:window-height="2054"
|
|
28
|
+
inkscape:window-x="2869"
|
|
29
|
+
inkscape:window-y="3229"
|
|
30
|
+
inkscape:window-maximized="1"
|
|
31
|
+
inkscape:current-layer="g5" />
|
|
32
|
+
<defs
|
|
33
|
+
id="defs3">
|
|
34
|
+
<clipPath
|
|
35
|
+
id="clip0">
|
|
36
|
+
<rect
|
|
37
|
+
x="1089"
|
|
38
|
+
y="1870"
|
|
39
|
+
width="1103"
|
|
40
|
+
height="184"
|
|
41
|
+
id="rect1" />
|
|
42
|
+
</clipPath>
|
|
43
|
+
<clipPath
|
|
44
|
+
id="clip1">
|
|
45
|
+
<rect
|
|
46
|
+
x="1089"
|
|
47
|
+
y="1870"
|
|
48
|
+
width="1103"
|
|
49
|
+
height="184"
|
|
50
|
+
id="rect2" />
|
|
51
|
+
</clipPath>
|
|
52
|
+
<clipPath
|
|
53
|
+
id="clip2">
|
|
54
|
+
<rect
|
|
55
|
+
x="1089"
|
|
56
|
+
y="1870"
|
|
57
|
+
width="1103"
|
|
58
|
+
height="184"
|
|
59
|
+
id="rect3" />
|
|
60
|
+
</clipPath>
|
|
61
|
+
</defs>
|
|
62
|
+
<g
|
|
63
|
+
transform="translate(-832.07171,-1852.1823)"
|
|
64
|
+
id="g9">
|
|
65
|
+
<g
|
|
66
|
+
id="g5">
|
|
67
|
+
<g
|
|
68
|
+
id="g4"
|
|
69
|
+
style="fill:#2563eb;fill-opacity:1">
|
|
70
|
+
<g
|
|
71
|
+
id="g3"
|
|
72
|
+
style="fill:#2563eb;fill-opacity:1">
|
|
73
|
+
<path
|
|
74
|
+
d="m 197.224,319.004 -1.79,2.659 c -8.511,13.441 -12.256,29.112 -11.272,44.673 l 0.049,0.576 0.576,0.051 c 15.562,0.982 31.234,-2.764 44.673,-11.274 l 2.661,-1.788 -1.318,1.861 c -2.1,2.822 -4.429,5.523 -6.986,8.08 -15.588,15.588 -36.533,22.684 -57.282,21.373 l -0.576,-0.051 -0.05,-0.576 c -1.311,-20.748 5.785,-41.692 21.374,-57.28 2.557,-2.557 5.258,-4.887 8.08,-6.987 z M 336.452,214.672 c -10.088,-10.088 -26.445,-10.088 -36.534,0 -10.089,10.089 -10.089,26.446 0,36.534 10.089,10.089 26.446,10.089 36.534,0 10.089,-10.088 10.089,-26.445 0,-36.534 z m 48.712,-48.713 0.098,1.467 c 2.144,49.559 -14.572,99.935 -50.091,139.46 l -2.652,2.796 3.933,51.127 -103.513,18.267 27.849,-27.851 -5.53,-3.49 c -10.021,-6.773 -19.541,-14.594 -28.408,-23.46 -8.868,-8.868 -16.687,-18.388 -23.462,-28.409 l -3.489,-5.532 -27.85,27.851 18.267,-103.513 51.126,3.932 2.796,-2.65 c 39.524,-35.52 89.901,-52.235 139.461,-50.093 z"
|
|
75
|
+
fill-rule="evenodd"
|
|
76
|
+
transform="matrix(1,0,0,1.00455,666.316,1685.75)"
|
|
77
|
+
id="path3"
|
|
78
|
+
style="fill:#2563eb;fill-opacity:1" />
|
|
79
|
+
</g>
|
|
80
|
+
</g>
|
|
81
|
+
</g>
|
|
82
|
+
</g>
|
|
83
|
+
</svg>
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
# @bookklik/senangstart-icons
|
|
2
|
+
|
|
3
|
+
Curated Starter icons designed for web projects.
|
|
4
|
+
|
|
5
|
+
Version: 1.0.12
|
|
6
|
+
License: MIT
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
### Web Components
|
|
11
|
+
|
|
12
|
+
1. Include the script:
|
|
13
|
+
```html
|
|
14
|
+
<script src="https://unpkg.com/@bookklik/senangstart-icons/dist/senangstart-icon.min.js"></script>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
2. Use the component:
|
|
18
|
+
```html
|
|
19
|
+
<ss-icon icon="icon-slug"></ss-icon>
|
|
20
|
+
<!-- Optional: thickness="1.5" -->
|
|
21
|
+
<ss-icon icon="icon-slug" thickness="2"></ss-icon>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### CSS Icons
|
|
25
|
+
|
|
26
|
+
1. Include the CSS:
|
|
27
|
+
```html
|
|
28
|
+
<link rel="stylesheet" href="https://unpkg.com/@bookklik/senangstart-icons/dist/senangstart-icon.css">
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
2. Use the class:
|
|
32
|
+
```html
|
|
33
|
+
<i class="ss ss-icon-slug"></i>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Available Icons (246)
|
|
37
|
+
|
|
38
|
+
Format: Icon Name (`slug`) - Tags
|
|
39
|
+
|
|
40
|
+
- Bars 3 (`bars-3`) - menu, hamburger, navigation, list, sidebar, drawer, options, toggle, bars-3
|
|
41
|
+
- X Mark (`x-mark`) - close, delete, remove, cancel, stop, exit, deny, reject, wrong, clear, x-mark
|
|
42
|
+
- Check (`check`) - tick, success, confirm, done, correct, ok, accept, valid, approve, complete, check
|
|
43
|
+
- Double Tick (`double-tick`) - check, done, success, read, seen, all done, delivered, double-tick
|
|
44
|
+
- Plus (`plus`) - add, create, new, expand, positive, math, increase, more, plus
|
|
45
|
+
- Minus (`minus`) - subtract, delete, remove, collapse, negative, math, decrease, less, minus
|
|
46
|
+
- Magnifying Glass (`magnifying-glass`) - search, find, zoom, explore, lookup, inspect, query, magnifying-glass, senangwebs, sw-index
|
|
47
|
+
- Magnifying Glass Focus (`magnifying-glass-focus`) - search, find, zoom fit, locate, center, target, magnifying-glass-focus
|
|
48
|
+
- Magnifying Glass Plus (`magnifying-glass-plus`) - search, find, zoom in, enlarge, detail, inspect, magnifying-glass-plus, plus
|
|
49
|
+
- Magnifying Glass Minus (`magnifying-glass-minus`) - search, find, zoom out, shrink, overview, magnifying-glass-minus, minus
|
|
50
|
+
- Home (`home`) - house, dashboard, main, start, root, building, residence, home
|
|
51
|
+
- Cog 6 Tooth (`cog-6-tooth`) - settings, gear, options, config, preferences, maintenance, system, mechanism, setup, cog-6-tooth
|
|
52
|
+
- Trash (`trash`) - delete, remove, bin, garbage, rubbish, waste, recycle, discard, junk, trash
|
|
53
|
+
- Arrow Left (`arrow-left`) - back, previous, direction, point, west, return, arrow-left
|
|
54
|
+
- Arrow Right (`arrow-right`) - forward, next, direction, point, east, proceed, arrow-right
|
|
55
|
+
- Arrow Up (`arrow-up`) - top, direction, point, north, ascend, upload, arrow-up
|
|
56
|
+
- Arrow Down (`arrow-down`) - bottom, direction, point, south, descend, download, arrow-down
|
|
57
|
+
- Arrow Long Left (`arrow-long-left`) - back, previous, direction, pointer, west, arrow-long-left
|
|
58
|
+
- Arrow Long Right (`arrow-long-right`) - forward, next, direction, pointer, east, arrow-long-right
|
|
59
|
+
- Arrow Long Up (`arrow-long-up`) - top, direction, pointer, north, arrow-long-up
|
|
60
|
+
- Arrow Long Down (`arrow-long-down`) - bottom, direction, pointer, south, arrow-long-down
|
|
61
|
+
- Arrow Path (`arrow-path`) - refresh, reload, cycle, loop, sync, update, restart, arrow-path, senangwebs, sw-loading
|
|
62
|
+
- Arrow Rotate Cw (`arrow-rotate-cw`) - rotate, refresh, reload, redo, spin, clockwise, repeat, arrow-rotate-cw
|
|
63
|
+
- Arrow Rotate Ccw (`arrow-rotate-ccw`) - rotate, undo, back, return, counter-clockwise, revert, arrow-rotate-ccw
|
|
64
|
+
- Rotate Add (`rotate-add`) - rotate, arrow-rotate-add
|
|
65
|
+
- Rotate Minus (`rotate-minus`) - rotate, rotate-minus
|
|
66
|
+
- Arrow Top Right On Square (`arrow-top-right-on-square`) - external, link, open, export, new tab, share, arrow-top-right-on-square
|
|
67
|
+
- Arrow Right On Rectangle (`arrow-right-on-rectangle`) - logout, exit, signout, leave, door, arrow-right-on-rectangle
|
|
68
|
+
- Arrow Left On Rectangle (`arrow-left-on-rectangle`) - login, enter, signin, join, access, door, arrow-left-on-rectangle
|
|
69
|
+
- Chevron Left (`chevron-left`) - back, previous, carousel, slider, pagination, chevron-left
|
|
70
|
+
- Chevron Right (`chevron-right`) - forward, next, carousel, slider, pagination, chevron-right
|
|
71
|
+
- Chevron Up (`chevron-up`) - top, collapse, accordion, fold, dropdown, ascend, chevron-up
|
|
72
|
+
- Chevron Down (`chevron-down`) - bottom, expand, accordion, unfold, dropdown, descend, chevron-down
|
|
73
|
+
- Chevron Double Left (`chevron-double-left`) - back, previous, fast, rewind, start, first, chevron-double-left
|
|
74
|
+
- Chevron Double Right (`chevron-double-right`) - forward, next, fast, fast-forward, end, last, chevron-double-right
|
|
75
|
+
- Chevron Double Up (`chevron-double-up`) - top, collapse, accordion, fold, dropdown, ascend, chevron-double-up
|
|
76
|
+
- Chevron Double Down (`chevron-double-down`) - bottom, expand, accordion, unfold, dropdown, descend, chevron-double-down
|
|
77
|
+
- Envelope (`envelope`) - mail, email, message, contact, letter, inbox, send, receive, envelope
|
|
78
|
+
- Envelope Open (`envelope-open`) - mail, email, read, newsletter, draft, envelope-open
|
|
79
|
+
- Chat Bubble Left (`chat-bubble-left`) - message, comment, talk, text, sms, feedback, dialog, chat-bubble-left
|
|
80
|
+
- Chat Bubble Right (`chat-bubble-right`) - message, comment, talk, reply, response, chat-bubble-right
|
|
81
|
+
- Chat Bubble Left Ellipsis (`chat-bubble-left-ellipsis`) - message, comment, typing, waiting, loading, chat-bubble-left-ellipsis
|
|
82
|
+
- Chat Bubble Right Ellipsis (`chat-bubble-right-ellipsis`) - message, comment, typing, response, active, chat-bubble-right-ellipsis
|
|
83
|
+
- Chat Bubble Left Right (`chat-bubble-left-right`) - conversation, exchange, discussion, interview, forum, chat-bubble-left-right
|
|
84
|
+
- Phone (`phone`) - call, contact, mobile, telephone, support, dial, hotline, phone
|
|
85
|
+
- Phone X Mark (`phone-x-mark`) - missed call, hang up, disconnect, reject call, busy, phone-x-mark
|
|
86
|
+
- User (`user`) - person, profile, account, member, avatar, admin, human, user
|
|
87
|
+
- User Circle (`user-circle`) - person, profile, account, portrait, avatar, user-circle
|
|
88
|
+
- User Plus (`user-plus`) - add user, register, signup, new member, invite, friend, user-plus
|
|
89
|
+
- User Minus (`user-minus`) - remove user, delete account, unfriend, block, user-minus
|
|
90
|
+
- User Group (`user-group`) - people, team, community, audience, staff, members, user-group
|
|
91
|
+
- Users (`users`) - people, team, community, public, clients, users
|
|
92
|
+
- Alert (`alert`) - warning, danger, notification, popup, window, modal, dialog, alert, senangwebs, sw-modals
|
|
93
|
+
- Play (`play`) - start, media, video, music, resume, stream, play
|
|
94
|
+
- Pause (`pause`) - stop, media, video, music, hold, break, pause
|
|
95
|
+
- Stop (`stop`) - media, video, end, terminate, halt, stop
|
|
96
|
+
- Play Circle (`play-circle`) - start, media, video, button, player, play-circle
|
|
97
|
+
- Pause Circle (`pause-circle`) - stop, media, hold, player, pause-circle
|
|
98
|
+
- Stop Circle (`stop-circle`) - stop, media, hold, player, stop-circle
|
|
99
|
+
- Speaker Wave (`speaker-wave`) - sound, volume, audio, noise, listen, speaker-wave
|
|
100
|
+
- Speaker X Mark (`speaker-x-mark`) - mute, silent, audio, off, quiet, speaker-x-mark
|
|
101
|
+
- Microphone (`microphone`) - record, audio, voice, speech, podcast, microphone
|
|
102
|
+
- Microphone Mute (`microphone-mute`) - mute, silent, voice, off, disabled, microphone-mute
|
|
103
|
+
- Video Camera (`video-camera`) - movie, film, record, cinema, camcorder, meeting, video-camera
|
|
104
|
+
- Camera (`camera`) - photo, picture, image, capture, snapshot, camera
|
|
105
|
+
- Photo (`photo`) - image, picture, gallery, media, landscape, photo, senangwebs, lightbox, sw-gallery
|
|
106
|
+
- Panorama (`panorama`) - image, picture, wide, view, landscape, panorama, senangwebs, vr, sw-tour
|
|
107
|
+
- Musical Note (`musical-note`) - audio, song, sound, melody, tune, musical-note
|
|
108
|
+
- Code (`code`) - coding, programming, developer, syntax, script, dev, code
|
|
109
|
+
- Console (`console`) - terminal, cli, command, prompt, system, admin, console
|
|
110
|
+
- Horizontal 3 Dots (`horizontal-3-dots`) - menu, more, options, ellipsis, meatball, overflow, horizontal-3-dots
|
|
111
|
+
- Vertical 3 Dots (`vertical-3-dots`) - menu, more, options, ellipsis, kebab, overflow, vertical-3-dots
|
|
112
|
+
- Save (`save`) - disk, floppy, store, keep, record, save
|
|
113
|
+
- Computer Laptop (`computer-laptop`) - device, macbook, pc, tech, screen, computer-laptop
|
|
114
|
+
- Computer Code (`computer-code`) - develop, program, syntax, developer, screen, computer-code, senangwebs, code, sw-one
|
|
115
|
+
- Computer Desktop (`computer-desktop`) - monitor, screen, pc, imac, display, workstation, computer-desktop
|
|
116
|
+
- Device Phone Mobile (`device-phone-mobile`) - iphone, smartphone, cell, screen, app, device-phone-mobile, senangwebs, sw-roll
|
|
117
|
+
- Device Tablet (`device-tablet`) - ipad, kindle, reader, screen, mobile, device-tablet
|
|
118
|
+
- Battery 0 (`battery-0`) - power, empty, charge, dead, status, battery-0
|
|
119
|
+
- Battery 10 (`battery-10`) - power, low, charge, status, battery-10
|
|
120
|
+
- Battery 50 (`battery-50`) - power, half, medium, charge, status, battery-50
|
|
121
|
+
- Battery 100 (`battery-100`) - power, full, complete, charged, status, energy, battery-100
|
|
122
|
+
- Controller (`controller`) - game, play, joystick, gamepad, console, controller, senangwebs, vr, sw-verse
|
|
123
|
+
- Game (`game`) - controller, play, joystick, arcade, entertainment, game, senangwebs, 2d, sw-xperience
|
|
124
|
+
- Window (`window`) - browser, app, ui, program, application, window
|
|
125
|
+
- Shopping Cart (`shopping-cart`) - buy, checkout, store, retail, ecommerce, shopping-cart
|
|
126
|
+
- Shopping Bag (`shopping-bag`) - buy, checkout, store, mall, retail, shopping-bag
|
|
127
|
+
- Basket (`basket`) - buy, checkout, store, market, grocery, basket, senangwebs, cart, shop, sw-buy
|
|
128
|
+
- Credit Card (`credit-card`) - payment, money, purchase, debit, plastic, credit-card
|
|
129
|
+
- Banknotes (`banknotes`) - money, cash, payment, bill, finance, banknotes
|
|
130
|
+
- Calendar (`calendar`) - date, schedule, time, event, plan, month, year, calendar
|
|
131
|
+
- Calendar Plus (`calendar-plus`) - date, schedule, time, calendar, add, new event, create, plus
|
|
132
|
+
- Calendar Minus (`calendar-minus`) - date, schedule, time, calendar, subtract, remove event, delete, minus
|
|
133
|
+
- Calendar Approve (`calendar-approve`) - date, schedule, time, calendar, approve, check, accept, booked
|
|
134
|
+
- Calendar Reject (`calendar-reject`) - date, schedule, time, calendar, reject, x-mark, remove, cancel
|
|
135
|
+
- Calendar Days (`calendar-days`) - date, schedule, time, week, month, agenda, calendar-days
|
|
136
|
+
- Briefcase (`briefcase`) - work, business, office, job, portfolio, briefcase
|
|
137
|
+
- Presentation Chart Line (`presentation-chart-line`) - analytics, graph, stats, report, data, trends, presentation-chart-line
|
|
138
|
+
- Presentation Media (`presentation-media`) - analytics, graph, screen, slide, projection, presentation-media, senangwebs, presentation, sw-deck
|
|
139
|
+
- Whiteboard (`whiteboard`) - draw, present, board, stand, easel, whiteboard, senangwebs, vector, sw-whiteboard
|
|
140
|
+
- Chart Line (`chart-line`) - graph, analytics, stats, growth, trends, chart-line
|
|
141
|
+
- Chart Bar (`chart-bar`) - graph, analytics, stats, comparison, data, chart-bar
|
|
142
|
+
- Chart Pie (`chart-pie`) - graph, analytics, stats, ratio, percentage, chart-pie, senangwebs, chart, sw-yield
|
|
143
|
+
- Currency Dollar (`currency-dollar`) - money, price, cost, usd, cash, finance, currency-dollar
|
|
144
|
+
- Currency Euro (`currency-euro`) - money, price, cost, eur, cash, finance, currency-euro
|
|
145
|
+
- Currency Pound (`currency-pound`) - money, price, cost, gbp, cash, finance, currency-pound
|
|
146
|
+
- Currency Yen (`currency-yen`) - money, price, cost, jpy, cash, finance, currency-yen
|
|
147
|
+
- Currency Ringgit (`currency-ringgit`) - money, price, cost, myr, cash, finance, currency-ringgit
|
|
148
|
+
- Tabs (`tabs`) - browser, ui, navigation, group, folder, tabs, senangwebs, sw-herd
|
|
149
|
+
- Document (`document`) - file, paper, page, sheet, record, document
|
|
150
|
+
- Document Text (`document-text`) - file, paper, page, content, article, document-text
|
|
151
|
+
- Document Duplicate (`document-duplicate`) - copy, clone, file, replicate, multiple, document-duplicate
|
|
152
|
+
- Folder (`folder`) - directory, organize, file, archive, group, folder
|
|
153
|
+
- Folder Open (`folder-open`) - directory, organize, file, browse, folder-open, senangwebs, sw-unfold
|
|
154
|
+
- Folder Plus (`folder-plus`) - add folder, new directory, create folder, organize, folder-plus
|
|
155
|
+
- Folder minus (`folder-minus`) - remove folder, delete directory, subtract folder, folder-minus
|
|
156
|
+
- Clipboard (`clipboard`) - copy, paste, board, notes, tasks, survey, clipboard, senangwebs, sw-jot
|
|
157
|
+
- Clipboard Document Check (`clipboard-document-check`) - checklist, task, done, audit, inventory, clipboard-document-check
|
|
158
|
+
- Paper Clip (`paper-clip`) - attach, file, link, office, paper-clip
|
|
159
|
+
- Archive Box (`archive-box`) - store, history, backup, inventory, storage, archive-box
|
|
160
|
+
- Inbox (`inbox`) - email, message, tray, receive, box, inbox
|
|
161
|
+
- Book Open (`book-open`) - read, learn, library, study, education, book-open, senangwebs, sw-story
|
|
162
|
+
- Book Close (`book-close`) - read, learn, library, notebook, journal, book-close
|
|
163
|
+
- Book Stacked (`book-stacked`) - read, learn, library, pile, education, book-stacked
|
|
164
|
+
- Lock Closed (`lock-closed`) - secure, password, private, protect, auth, login, lock-closed
|
|
165
|
+
- Lock Open (`lock-open`) - unlock, public, access, insecure, logout, lock-open
|
|
166
|
+
- Key (`key`) - password, access, secure, admin, unlock, token, key
|
|
167
|
+
- Shield Check (`shield-check`) - secure, safe, verified, protected, antivirus, shield-check
|
|
168
|
+
- Shield Exclamation (`shield-exclamation`) - danger, warning, security, risk, unsecured, shield-exclamation
|
|
169
|
+
- Exclamation Circle (`exclamation-circle`) - error, warning, alert, attention, problem, exclamation-circle
|
|
170
|
+
- Exclamation Triangle (`exclamation-triangle`) - warning, danger, caution, risk, hazard, exclamation-triangle
|
|
171
|
+
- Information Circle (`information-circle`) - help, details, info, about, hint, guide, information-circle
|
|
172
|
+
- Question Mark Circle (`question-mark-circle`) - help, faq, support, unknown, query, question-mark-circle, senangwebs, question, sw-quiz
|
|
173
|
+
- Bell (`bell`) - notification, alert, alarm, reminder, ring, bell, senangwebs, prompt, sw-notices
|
|
174
|
+
- Bell Alert (`bell-alert`) - notification, alert, alarm, active, urgent, reminder, bell-alert
|
|
175
|
+
- Eye (`eye`) - view, show, visible, watch, see, reveal, eye
|
|
176
|
+
- Eye Slash (`eye-slash`) - hide, invisible, password, conceal, blind, off, eye-slash
|
|
177
|
+
- Light Bulb (`light-bulb`) - idea, tip, solution, inspiration, lamp, light-bulb
|
|
178
|
+
- Bolt (`bolt`) - energy, power, fast, lightning, flash, electric, bolt
|
|
179
|
+
- Moon (`moon`) - dark mode, night, sleep, weather, crescent, moon
|
|
180
|
+
- Sun (`sun`) - light mode, day, bright, weather, sunny, sun
|
|
181
|
+
- Cloud (`cloud`) - weather, sky, overcast, upload, server, cloud
|
|
182
|
+
- Thunder (`thunder`) - weather, storm, lightning, rain, flash, thunder
|
|
183
|
+
- Star (`star`) - favorite, rating, like, review, bookmark, featured, star
|
|
184
|
+
- Heart (`heart`) - like, love, favorite, save, health, romance, heart
|
|
185
|
+
- Hand Thumb Up (`hand-thumb-up`) - like, approve, good, yes, agree, vote, hand-thumb-up
|
|
186
|
+
- Hand Thumb Down (`hand-thumb-down`) - dislike, reject, bad, no, disagree, vote, hand-thumb-down
|
|
187
|
+
- Hand (`hand`) - hand, pointer, select, palm, open, click, human, gesture
|
|
188
|
+
- Hand Grab (`hand-grab`) - hand, grab, clenched, fist, drag, hold, select, gesture
|
|
189
|
+
- Flag (`flag`) - report, country, goal, mark, banner, finish, flag
|
|
190
|
+
- Bookmark (`bookmark`) - save, favorite, tag, marker, read later, bookmark
|
|
191
|
+
- Map (`map`) - location, travel, guide, navigation, place, map
|
|
192
|
+
- Map Pin (`map-pin`) - location, marker, spot, point, destination, gps, map-pin
|
|
193
|
+
- Globe Alt (`globe-alt`) - world, internet, web, earth, network, global, globe-alt
|
|
194
|
+
- Truck (`truck`) - delivery, shipping, transport, vehicle, logistics, lorry, truck
|
|
195
|
+
- Cake (`cake`) - birthday, celebrate, party, dessert, food, cake
|
|
196
|
+
- Gift (`gift`) - present, reward, bonus, box, surprise, giveaway, gift
|
|
197
|
+
- Trophy (`trophy`) - award, winner, achievement, champion, prize, trophy
|
|
198
|
+
- Medal (`medal`) - award, achievement, winner, badge, ribbon, medal
|
|
199
|
+
- Qr Code (`qr-code`) - scan, code, link, barcode, reader, qr-code
|
|
200
|
+
- Wifi (`wifi`) - internet, connection, network, signal, online, wifi
|
|
201
|
+
- Vr (`vr`) - virtual reality, glasses, game, headset, metaverse, vr
|
|
202
|
+
- AR (`ar`) - augmented reality, 3d, cube, virtual, model, ar
|
|
203
|
+
- Group Object (`group-object`) - combine, merge, join, select, design, group-object
|
|
204
|
+
- Ungroup Object (`ungroup-object`) - separate, split, detach, divide, design, ungroup-object
|
|
205
|
+
- Align Left Object (`align-left-object`) - align, left, object, layout, position, design
|
|
206
|
+
- Align Center Object (`align-center-object`) - align, center, object, layout, position, design
|
|
207
|
+
- Align Right Object (`align-right-object`) - align, right, object, layout, position, design
|
|
208
|
+
- Align Top Object (`align-top-object`) - align, top, object, layout, position, design
|
|
209
|
+
- Align Middle Object (`align-middle-object`) - align, middle, object, layout, position, design
|
|
210
|
+
- Align Bottom Object (`align-bottom-object`) - align, bottom, object, layout, position, design
|
|
211
|
+
- Carousel (`carousel`) - slider, gallery, images, swipe, carousel, senangwebs, sw-frame
|
|
212
|
+
- Reel (`reel`) - video, movie, film, tape, cinema, reel, senangwebs, sw-reel
|
|
213
|
+
- Container (`container`) - container, box, center, layout, design
|
|
214
|
+
- Flip Horizontal (`flip-horizontal`) - flip, horizontal, flip-horizontal, design
|
|
215
|
+
- Flip Vertical (`flip-vertical`) - flip, vertical, flip-vertical, design
|
|
216
|
+
- Grid (`grid`) - layout, view, table, cells, pattern, grid
|
|
217
|
+
- Tic Tac Toe (`tic-tac-toe`) - layout, view, game, grid, tic-tac-toe
|
|
218
|
+
- Robot (`robot`) - bot, ai, automation, toy, android, machine, robot
|
|
219
|
+
- Chatbot (`chatbot`) - bot, ai, support, chat, assistant, chatbot, senangwebs, sw-chatbot
|
|
220
|
+
- Arrow Left Arrow Right (`arrow-left-arrow-right`) - swap, exchange, switch, trade, compare, transfer, arrow-left-arrow-right
|
|
221
|
+
- Arrow Up Arrow Down (`arrow-up-arrow-down`) - sort, swap, switch, order, transfer, vertical, arrow-up-arrow-down
|
|
222
|
+
- Arrow Left Right (`arrow-left-right`) - swap, horizontal, resize, stretch, expand, arrow-left-right
|
|
223
|
+
- Arrow Up Down (`arrow-up-down`) - swap, vertical, resize, stretch, expand, arrow-up-down
|
|
224
|
+
- Arrow Up Down Left Right (`arrow-up-down-left-right`) - move, all directions, pan, drag, position, arrow-up-down-left-right
|
|
225
|
+
- Maximize (`maximize`) - expand, fullscreen, enlarge, scale up, maximize
|
|
226
|
+
- Minimize (`minimize`) - collapse, small, shrink, scale down, minimize
|
|
227
|
+
- Compress (`compress`) - compress, small, shrink, scale down, minimize
|
|
228
|
+
- Expand (`expand`) - expand, large, grow, scale up, maximize
|
|
229
|
+
- Layout (`layout`) - dashboard, ui, grid, interface, sidebar, template, layout
|
|
230
|
+
- Table (`table`) - table, grid, spreadsheet, data, rows, columns, cells, layout
|
|
231
|
+
- Focus (`focus`) - focus, lock in, scan, fullscreen, aim, target, center
|
|
232
|
+
- Crosshair (`crosshair`) - crosshair, aim, target, center, focus, game
|
|
233
|
+
- Hourglass 0 (`hourglass-0`) - time, wait, loading, start, timer, hourglass-0
|
|
234
|
+
- Hourglass 50 (`hourglass-50`) - time, wait, loading, halfway, process, hourglass-50
|
|
235
|
+
- Hourglass 80 (`hourglass-80`) - time, wait, loading, almost done, pending, hourglass-80
|
|
236
|
+
- Hourglass 100 (`hourglass-100`) - time, wait, loading, done, finished, complete, hourglass-100
|
|
237
|
+
- Clock (`clock`) - time, watch, schedule, duration, timer, clock, senangwebs, time, sw-epoch
|
|
238
|
+
- Time Reset (`time-reset`) - undo, history, restore, backwards, rewind, time-reset
|
|
239
|
+
- Layer Stacks (`layer-stacks`) - layers, stack, group, collection, database, layer-stacks
|
|
240
|
+
- Cube (`cube`) - 3d, block, shape, geometry, box, cube, senangwebs, model, sw-kiln
|
|
241
|
+
- Sphere (`sphere`) - shape, round, 3d, circle, geometry, ball, sphere
|
|
242
|
+
- Cylinder (`cylinder`) - shape, round, 3d, geometry, column, tube, cylinder
|
|
243
|
+
- Tube (`tube`) - shape, round, 3d, pipe, hollow, geometry, tube
|
|
244
|
+
- Cone (`cone`) - shape, triangle, 3d, geometry, pointed, cone
|
|
245
|
+
- Pyramid (`pyramid`) - shape, triangle, 3d, geometry, egypt, pyramid
|
|
246
|
+
- Polygon (`polygon`) - shape, polygon, 3d, mesh, geometry, hexagon, polygon
|
|
247
|
+
- Torus (`torus`) - shape, donut, 3d, ring, circular, geometry, torus
|
|
248
|
+
- Plane (`plane`) - shape, flat, 3d, surface, floor, ground, plane
|
|
249
|
+
- Wedge (`wedge`) - shape, triangle, 3d, incline, slope, ramp, wedge
|
|
250
|
+
- Roof (`roof`) - shape, prism, 3d, house, top, shelter, roof
|
|
251
|
+
- Cylinder Half (`cylinder-half`) - shape, half, 3d, cut, section, geometry, cylinder-half
|
|
252
|
+
- Sphere Half (`sphere-half`) - shape, hemisphere, 3d, dome, half, round, sphere-half
|
|
253
|
+
- Heart Extruded (`heart-extruded`) - shape, love, 3d, valentine, like, favorite, heart-extruded
|
|
254
|
+
- Torus Knot (`torus-knot`) - shape, knot, 3d, twisted, loop, geometry, torus-knot
|
|
255
|
+
- Tetrahedron (`tetrahedron`) - shape, pyramid, 3d, triangle, platonic, geometry, tetrahedron
|
|
256
|
+
- Octahedron (`octahedron`) - shape, diamond, 3d, crystal, platonic, geometry, octahedron
|
|
257
|
+
- Icosahedron (`icosahedron`) - shape, poly, 3d, d20, game, platonic, geometry, icosahedron
|
|
258
|
+
- Dodecahedron (`dodecahedron`) - shape, pentagon, 3d, d12, platonic, geometry, dodecahedron
|
|
259
|
+
- Sparkles (`sparkles`) - ai, magic, new, shine, clean, glitter, sparkles, senangwebs, motion, sw-animations
|
|
260
|
+
- Magic Wand (`magic-wand`) - magic, wizard, spell, edit, fix, auto, enhance, magic-wand
|
|
261
|
+
- Contrast (`contrast`) - display, accessibility, brightness, mode, theme, contrast
|
|
262
|
+
- Gradient (`gradient`) - gradient, color, design, log
|
|
263
|
+
- Cursor (`cursor`) - pointer, mouse, click, select, arrow, cursor
|
|
264
|
+
- Marquee (`marquee`) - marquee, select, arrow, cursor
|
|
265
|
+
- Shapes (`shapes`) - shapes, triangle, circle, square, geometry, design, graphic
|
|
266
|
+
- Square (`square`) - shape, box, stop, block, geometry, square
|
|
267
|
+
- Rectangle (`rectangle`) - shape, box, card, geometry, rectangle
|
|
268
|
+
- Circle (`circle`) - shape, round, radio, dot, geometry, circle
|
|
269
|
+
- Diamond (`diamond`) - shape, rhombus, gem, card, geometry, diamond
|
|
270
|
+
- Hexagon (`hexagon`) - shape, polygon, nut, geometry, hexagon
|
|
271
|
+
- Draw Line (`draw-line`) - edit, write, draw, line, stroke, diagonal, draw-line
|
|
272
|
+
- Draw Curve (`draw-curve`) - draw, curve, line, s-curve, spline, vector, bezier
|
|
273
|
+
- Pencil (`pencil`) - edit, write, draw, modify, update, pencil
|
|
274
|
+
- Brush (`brush`) - brush, paint, draw, art, design, style, edit, creative, stroke, painting
|
|
275
|
+
- Eraser (`eraser`) - delete, remove, clear, rub, cleanup, eraser
|
|
276
|
+
- Crop (`crop`) - crop, trim, cut, resize, select, frame, boundary, image, edit
|
|
277
|
+
- Scissor (`scissor`) - cut, tool, clip, trim, snip, scissor, senangwebs, sw-photobooth
|
|
278
|
+
- Font (`font`) - text, typography, letter, character, style, font
|
|
279
|
+
- Text (`text`) - text, typography, letter, type, input, write
|
|
280
|
+
- Text Align Center (`text-align-center`) - format, paragraph, center, middle, text-align-center
|
|
281
|
+
- Text Align Left (`text-align-left`) - format, paragraph, left, start, text-align-left
|
|
282
|
+
- Text Align Right (`text-align-right`) - format, paragraph, right, end, text-align-right
|
|
283
|
+
- Text Align Justify (`text-align-justify`) - format, paragraph, justify, stretch, text-align-justify
|
|
284
|
+
- Sliders Horizontal (`sliders-horizontal`) - settings, filters, adjust, levels, controls, sliders-horizontal
|
|
285
|
+
- Sliders Vertical (`sliders-vertical`) - settings, filters, adjust, levels, controls, sliders-vertical
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bookklik/senangstart-icons",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Curated Starter icons designed for web projects.",
|
|
5
5
|
"main": "dist/senangstart-icon.min.js",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/senangstart-icon.min.js",
|
|
8
|
+
"./icons": "./dist/icons.min.js",
|
|
9
|
+
"./style.css": "./dist/senangstart.min.css"
|
|
10
|
+
},
|
|
6
11
|
"scripts": {
|
|
7
12
|
"build:svg": "node scripts/build-svgs.js",
|
|
8
13
|
"build:icon-docs": "node scripts/build-icon-docs.js",
|
|
@@ -39,26 +39,30 @@ ${svgPreview}
|
|
|
39
39
|
|
|
40
40
|
## Usage
|
|
41
41
|
|
|
42
|
+
### With Web Components
|
|
43
|
+
|
|
42
44
|
\`\`\`html
|
|
43
|
-
<ss-icon
|
|
45
|
+
<ss-icon icon="${slug}"></ss-icon>
|
|
44
46
|
\`\`\`
|
|
45
47
|
|
|
46
|
-
### With
|
|
48
|
+
### With icon tag
|
|
47
49
|
|
|
48
50
|
\`\`\`html
|
|
49
|
-
<
|
|
51
|
+
<i class="ss ss-${slug}"></i>
|
|
50
52
|
\`\`\`
|
|
51
53
|
|
|
52
|
-
### With custom
|
|
54
|
+
### With custom stroke width / thickness
|
|
53
55
|
|
|
54
56
|
\`\`\`html
|
|
55
|
-
<ss-icon
|
|
57
|
+
<ss-icon icon="${slug}" thickness="1.2"></ss-icon>
|
|
56
58
|
\`\`\`
|
|
57
59
|
|
|
58
|
-
###
|
|
60
|
+
### Node.js
|
|
59
61
|
|
|
60
|
-
\`\`\`
|
|
61
|
-
|
|
62
|
+
\`\`\`javascript
|
|
63
|
+
const icons = require('@bookklik/senangstart-icons/icons');
|
|
64
|
+
const svg = icons['${slug}'];
|
|
65
|
+
console.log(svg);
|
|
62
66
|
\`\`\`
|
|
63
67
|
|
|
64
68
|
## Icon Details
|
|
@@ -101,26 +105,30 @@ ${svgPreview}
|
|
|
101
105
|
|
|
102
106
|
## Penggunaan
|
|
103
107
|
|
|
108
|
+
### Dengan Komponen Web
|
|
109
|
+
|
|
104
110
|
\`\`\`html
|
|
105
|
-
<ss-icon
|
|
111
|
+
<ss-icon icon="${slug}"></ss-icon>
|
|
106
112
|
\`\`\`
|
|
107
113
|
|
|
108
|
-
### Dengan
|
|
114
|
+
### Dengan tag ikon
|
|
109
115
|
|
|
110
116
|
\`\`\`html
|
|
111
|
-
<
|
|
117
|
+
<i class="ss ss-${slug}"></i>
|
|
112
118
|
\`\`\`
|
|
113
119
|
|
|
114
|
-
### Dengan
|
|
120
|
+
### Dengan ketebalan garisan tersuai
|
|
115
121
|
|
|
116
122
|
\`\`\`html
|
|
117
|
-
<ss-icon
|
|
123
|
+
<ss-icon icon="${slug}" thickness="1.2"></ss-icon>
|
|
118
124
|
\`\`\`
|
|
119
125
|
|
|
120
|
-
###
|
|
126
|
+
### Node.js
|
|
121
127
|
|
|
122
|
-
\`\`\`
|
|
123
|
-
|
|
128
|
+
\`\`\`javascript
|
|
129
|
+
const icons = require('@bookklik/senangstart-icons/icons');
|
|
130
|
+
const svg = icons['${slug}'];
|
|
131
|
+
console.log(svg);
|
|
124
132
|
\`\`\`
|
|
125
133
|
|
|
126
134
|
## Butiran Ikon
|
package/scripts/build-svgs.js
CHANGED
|
@@ -11,7 +11,6 @@ const icons = JSON.parse(fs.readFileSync(iconsPath, "utf8"));
|
|
|
11
11
|
if (!fs.existsSync(svgDir)) {
|
|
12
12
|
fs.mkdirSync(svgDir, { recursive: true });
|
|
13
13
|
}
|
|
14
|
-
|
|
15
14
|
const iconExports = [];
|
|
16
15
|
|
|
17
16
|
icons.forEach((icon) => {
|
|
@@ -34,14 +33,23 @@ icons.forEach((icon) => {
|
|
|
34
33
|
console.log(`Generated ${slug}.svg`);
|
|
35
34
|
|
|
36
35
|
// Add to exports
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
iconExports.push(`"${slug}": require("./${slug}.svg")`);
|
|
36
|
+
const varName = `icon_${slug.replace(/-/g, "_")}`;
|
|
37
|
+
iconExports.push({ varName, slug });
|
|
40
38
|
});
|
|
41
39
|
|
|
42
40
|
// Generate index.js
|
|
43
|
-
const
|
|
44
|
-
${
|
|
41
|
+
const imports = iconExports
|
|
42
|
+
.map(({ varName, slug }) => `import ${varName} from "./${slug}.svg";`)
|
|
43
|
+
.join("\n");
|
|
44
|
+
|
|
45
|
+
const exportsObj = iconExports
|
|
46
|
+
.map(({ varName, slug }) => ` "${slug}": ${varName}`)
|
|
47
|
+
.join(",\n");
|
|
48
|
+
|
|
49
|
+
const indexContent = `${imports}
|
|
50
|
+
|
|
51
|
+
const icons = {
|
|
52
|
+
${exportsObj}
|
|
45
53
|
};
|
|
46
54
|
|
|
47
55
|
export default icons;
|
package/scripts/build.js
CHANGED
|
@@ -21,6 +21,13 @@ function copyDir(src, dest) {
|
|
|
21
21
|
|
|
22
22
|
console.log('๐จ Building SenangStart Icons...\n');
|
|
23
23
|
|
|
24
|
+
// Step 0: Clean dist
|
|
25
|
+
const distDir = path.resolve(__dirname, "../dist");
|
|
26
|
+
if (fs.existsSync(distDir)) {
|
|
27
|
+
console.log('๐งน Cleaning dist directory...');
|
|
28
|
+
fs.rmSync(distDir, { recursive: true, force: true });
|
|
29
|
+
}
|
|
30
|
+
|
|
24
31
|
// Step 1: Build SVGs
|
|
25
32
|
console.log('๐ฆ Step 1: Building SVGs...');
|
|
26
33
|
execSync('node scripts/build-svgs.js', { stdio: 'inherit' });
|
|
@@ -37,4 +44,8 @@ execSync('node scripts/build-icon-docs.js', { stdio: 'inherit' });
|
|
|
37
44
|
console.log('\nโ๏ธ Step 4: Running Webpack...');
|
|
38
45
|
execSync('npx webpack --mode production', { stdio: 'inherit' });
|
|
39
46
|
|
|
47
|
+
// Step 5: Generate llms.txt
|
|
48
|
+
console.log('\n๐ Step 5: Generating llms.txt...');
|
|
49
|
+
execSync('node scripts/generate-llms-txt.js', { stdio: 'inherit' });
|
|
50
|
+
|
|
40
51
|
console.log('\nโ
Build complete! Files copied to docs/public/');
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
|
|
4
|
+
// Paths
|
|
5
|
+
const iconsJsonPath = path.join(__dirname, '..', 'src', 'icons.json');
|
|
6
|
+
const publicDir = path.join(__dirname, '..', 'docs', 'public');
|
|
7
|
+
const outputFile = path.join(publicDir, 'llms.txt');
|
|
8
|
+
const packageJsonPath = path.join(__dirname, '..', 'package.json');
|
|
9
|
+
|
|
10
|
+
// Read data
|
|
11
|
+
const icons = JSON.parse(fs.readFileSync(iconsJsonPath, 'utf8'));
|
|
12
|
+
const pkg = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
|
|
13
|
+
|
|
14
|
+
// Ensure output directory exists
|
|
15
|
+
fs.mkdirSync(publicDir, { recursive: true });
|
|
16
|
+
|
|
17
|
+
console.log(`๐ Generating llms.txt for ${icons.length} icons...\n`);
|
|
18
|
+
|
|
19
|
+
// Content sections
|
|
20
|
+
const header = `# ${pkg.name}
|
|
21
|
+
|
|
22
|
+
${pkg.description}
|
|
23
|
+
|
|
24
|
+
Version: ${pkg.version}
|
|
25
|
+
License: ${pkg.license}
|
|
26
|
+
`;
|
|
27
|
+
|
|
28
|
+
const usage = `## Usage
|
|
29
|
+
|
|
30
|
+
### Web Components
|
|
31
|
+
|
|
32
|
+
1. Include the script:
|
|
33
|
+
\`\`\`html
|
|
34
|
+
<script src="https://unpkg.com/${pkg.name}/dist/senangstart-icon.min.js"></script>
|
|
35
|
+
\`\`\`
|
|
36
|
+
|
|
37
|
+
2. Use the component:
|
|
38
|
+
\`\`\`html
|
|
39
|
+
<ss-icon icon="icon-slug"></ss-icon>
|
|
40
|
+
<!-- Optional: thickness="1.5" -->
|
|
41
|
+
<ss-icon icon="icon-slug" thickness="2"></ss-icon>
|
|
42
|
+
\`\`\`
|
|
43
|
+
|
|
44
|
+
### CSS Icons
|
|
45
|
+
|
|
46
|
+
1. Include the CSS:
|
|
47
|
+
\`\`\`html
|
|
48
|
+
<link rel="stylesheet" href="https://unpkg.com/${pkg.name}/dist/senangstart-icon.css">
|
|
49
|
+
\`\`\`
|
|
50
|
+
|
|
51
|
+
2. Use the class:
|
|
52
|
+
\`\`\`html
|
|
53
|
+
<i class="ss ss-icon-slug"></i>
|
|
54
|
+
\`\`\`
|
|
55
|
+
`;
|
|
56
|
+
|
|
57
|
+
const iconsList = `## Available Icons (${icons.length})
|
|
58
|
+
|
|
59
|
+
Format: Icon Name (\`slug\`) - Tags
|
|
60
|
+
|
|
61
|
+
${icons.map(icon => `- ${icon.name} (\`${icon.slug}\`) - ${icon.tags.join(', ')}`).join('\n')}
|
|
62
|
+
`;
|
|
63
|
+
|
|
64
|
+
// Combine content
|
|
65
|
+
const content = [header, usage, iconsList].join('\n');
|
|
66
|
+
|
|
67
|
+
// Write file
|
|
68
|
+
fs.writeFileSync(outputFile, content);
|
|
69
|
+
|
|
70
|
+
console.log(`โ
Generated docs/public/llms.txt (${content.length} bytes)`);
|
package/src/index.js
CHANGED
|
@@ -50,7 +50,9 @@ describe('build-icon-docs.js', () => {
|
|
|
50
50
|
const content = fs.readFileSync(mdPath, 'utf8');
|
|
51
51
|
|
|
52
52
|
expect(content).toContain('## Usage');
|
|
53
|
-
expect(content).toContain(`<ss-icon
|
|
53
|
+
expect(content).toContain(`<ss-icon icon="${sampleIcon.slug}">`);
|
|
54
|
+
expect(content).toContain(`<i class="ss ss-${sampleIcon.slug}"></i>`);
|
|
55
|
+
expect(content).toContain(`thickness="1.2"`);
|
|
54
56
|
});
|
|
55
57
|
|
|
56
58
|
it('should include icon details table', () => {
|