@mlola-ui/icons 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.tsx +253 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlola-ui/icons",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Mlola Glyph DNA: currentColor SVG icons with stable metaphors",
5
5
  "main": "./src/index.tsx",
6
6
  "types": "./src/index.tsx",
package/src/index.tsx CHANGED
@@ -47,7 +47,7 @@ export function createMlolaGlyph(
47
47
  },
48
48
  ref
49
49
  ) => {
50
- const labelled = Boolean(title || props["aria-label"] || props["aria-labelledby"]);
50
+ const labeled = Boolean(title || props["aria-label"] || props["aria-labelledby"]);
51
51
  return (
52
52
  <svg
53
53
  ref={ref}
@@ -60,8 +60,8 @@ export function createMlolaGlyph(
60
60
  strokeLinecap="round"
61
61
  strokeLinejoin="round"
62
62
  focusable="false"
63
- role={labelled ? "img" : undefined}
64
- aria-hidden={labelled ? undefined : true}
63
+ role={labeled ? "img" : undefined}
64
+ aria-hidden={labeled ? undefined : true}
65
65
  data-optical-size={opticalSize}
66
66
  data-animated={animate ? "" : undefined}
67
67
  className={`mlola-glyph ${animate ? "mlola-glyph-active" : ""} ${className ?? ""}`.trim()}
@@ -675,6 +675,221 @@ export const IconClearFormat = createIcon("IconClearFormat", () => (
675
675
  <path d="M5 5h11M10 5l-3 14M15 13l5 5M20 13l-5 5" />
676
676
  ));
677
677
 
678
+ /* ── 8. Everyday app glyphs ── */
679
+ /* The metaphors almost every product reaches for: layout and view, sorting
680
+ and filtering, filing, session, zoom, media, data, and contact. Drawn on
681
+ the same grid as the rest: a 9.5 circle, 18-wide frames with a 2 radius,
682
+ 1.25 dots, round ends. */
683
+
684
+ export const IconMoreVertical = createIcon("IconMoreVertical", () => (
685
+ <>
686
+ <circle cx="12" cy="5" r="1.25" fill="currentColor" />
687
+ <circle cx="12" cy="12" r="1.25" fill="currentColor" />
688
+ <circle cx="12" cy="19" r="1.25" fill="currentColor" />
689
+ </>
690
+ ));
691
+
692
+ export const IconPanelLeft = createIcon("IconPanelLeft", () => (
693
+ <>
694
+ <rect x="3" y="4" width="18" height="16" rx="2" />
695
+ <path d="M9.5 4v16" />
696
+ </>
697
+ ));
698
+
699
+ export const IconLayoutGrid = createIcon("IconLayoutGrid", () => (
700
+ <>
701
+ <rect x="3.5" y="3.5" width="7" height="7" rx="1.5" />
702
+ <rect x="13.5" y="3.5" width="7" height="7" rx="1.5" />
703
+ <rect x="3.5" y="13.5" width="7" height="7" rx="1.5" />
704
+ <rect x="13.5" y="13.5" width="7" height="7" rx="1.5" />
705
+ </>
706
+ ));
707
+
708
+ export const IconLayoutList = createIcon("IconLayoutList", () => (
709
+ <>
710
+ <rect x="3.5" y="4.5" width="5" height="5" rx="1.25" />
711
+ <rect x="3.5" y="14.5" width="5" height="5" rx="1.25" />
712
+ <path d="M12 6h8.5M12 8h5M12 16h8.5M12 18h5" />
713
+ </>
714
+ ));
715
+
716
+ export const IconArrowUpDown = createIcon("IconArrowUpDown", () => (
717
+ <path d="M7.5 20V4m-4 4 4-4 4 4M16.5 4v16m4-4-4 4-4-4" />
718
+ ));
719
+
720
+ export const IconFilter = createIcon("IconFilter", () => (
721
+ <path d="M3.5 4.5h17a.5.5 0 0 1 .4.8L14 13v6.2a.5.5 0 0 1-.3.5l-3 1.3a.5.5 0 0 1-.7-.5V13L3.1 5.3a.5.5 0 0 1 .4-.8Z" />
722
+ ));
723
+
724
+ export const IconMinimize = createIcon("IconMinimize", () => (
725
+ <path d="M9 4v4a1 1 0 0 1-1 1H4M20 9h-4a1 1 0 0 1-1-1V4M15 20v-4a1 1 0 0 1 1-1h4M4 15h4a1 1 0 0 1 1 1v4" />
726
+ ));
727
+
728
+ export const IconChevronsLeft = createIcon("IconChevronsLeft", () => (
729
+ <path d="m11 18-6-6 6-6M19 18l-6-6 6-6" />
730
+ ));
731
+
732
+ export const IconChevronsRight = createIcon("IconChevronsRight", () => (
733
+ <path d="m13 18 6-6-6-6M5 18l6-6-6-6" />
734
+ ));
735
+
736
+ export const IconSend = createIcon("IconSend", () => (
737
+ <>
738
+ <path d="M20.6 3.4 3.8 10.1a.5.5 0 0 0 0 .9l6.7 2.5 2.5 6.7a.5.5 0 0 0 .9 0Z" />
739
+ <path d="m10.5 13.5 10.1-10.1" />
740
+ </>
741
+ ));
742
+
743
+ export const IconArchive = createIcon("IconArchive", () => (
744
+ <>
745
+ <rect x="3" y="4" width="18" height="5" rx="1.5" />
746
+ <path d="M4.5 9v9a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V9M10 13h4" />
747
+ </>
748
+ ));
749
+
750
+ export const IconInbox = createIcon("IconInbox", () => (
751
+ <>
752
+ <path d="M3 13 5.6 5.8A2 2 0 0 1 7.5 4.5h9a2 2 0 0 1 1.9 1.3L21 13v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z" />
753
+ <path d="M3 13h5l1.5 2.5h5L16 13h5" />
754
+ </>
755
+ ));
756
+
757
+ export const IconTag = createIcon("IconTag", () => (
758
+ <>
759
+ <path d="M3 4.5A1.5 1.5 0 0 1 4.5 3h7.1a2 2 0 0 1 1.4.6l7.4 7.4a2 2 0 0 1 0 2.8l-6.2 6.2a2 2 0 0 1-2.8 0l-7.4-7.4a2 2 0 0 1-.6-1.4Z" />
760
+ <circle cx="8" cy="8" r="1.25" fill="currentColor" />
761
+ </>
762
+ ));
763
+
764
+ export const IconBookmark = createIcon("IconBookmark", () => (
765
+ <path d="M6.5 3h11A1.5 1.5 0 0 1 19 4.5V21l-7-4.5L5 21V4.5A1.5 1.5 0 0 1 6.5 3Z" />
766
+ ));
767
+
768
+ export const IconPin = createIcon("IconPin", () => (
769
+ <path d="M9 3h6M10 3v5.5L6.5 13h11L14 8.5V3M12 13v8" />
770
+ ));
771
+
772
+ export const IconFlag = createIcon("IconFlag", () => (
773
+ <path d="M5 21V3.5M5 4h12.3a.5.5 0 0 1 .4.8L15.5 8.5l2.2 3.7a.5.5 0 0 1-.4.8H5" />
774
+ ));
775
+
776
+ export const IconPrinter = createIcon("IconPrinter", () => (
777
+ <>
778
+ <path d="M7 8.5V3.5h10v5M7 17H5a2 2 0 0 1-2-2v-4.5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2V15a2 2 0 0 1-2 2h-2" />
779
+ <rect x="7" y="13.5" width="10" height="7" rx="1" />
780
+ </>
781
+ ));
782
+
783
+ export const IconClipboard = createIcon("IconClipboard", () => (
784
+ <>
785
+ <path d="M8 4.5H6.5A1.5 1.5 0 0 0 5 6v13.5A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H16" />
786
+ <rect x="8" y="3" width="8" height="3.5" rx="1" />
787
+ </>
788
+ ));
789
+
790
+ export const IconLogIn = createIcon("IconLogIn", () => (
791
+ <path d="M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4M3.5 12h11m-4-4 4 4-4 4" />
792
+ ));
793
+
794
+ export const IconLogOut = createIcon("IconLogOut", () => (
795
+ <path d="M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4M9.5 12h11m-4-4 4 4-4 4" />
796
+ ));
797
+
798
+ export const IconZoomIn = createIcon("IconZoomIn", () => (
799
+ <>
800
+ <circle cx="11" cy="11" r="7.5" />
801
+ <path d="m21 21-4.35-4.35M11 8v6M8 11h6" />
802
+ </>
803
+ ));
804
+
805
+ export const IconZoomOut = createIcon("IconZoomOut", () => (
806
+ <>
807
+ <circle cx="11" cy="11" r="7.5" />
808
+ <path d="m21 21-4.35-4.35M8 11h6" />
809
+ </>
810
+ ));
811
+
812
+ export const IconPause = createIcon("IconPause", () => (
813
+ <>
814
+ <rect x="6.5" y="4.5" width="3" height="15" rx="1" />
815
+ <rect x="14.5" y="4.5" width="3" height="15" rx="1" />
816
+ </>
817
+ ));
818
+
819
+ export const IconImage = createIcon("IconImage", () => (
820
+ <>
821
+ <rect x="3" y="4" width="18" height="16" rx="2" />
822
+ <circle cx="9" cy="9.5" r="1.75" />
823
+ <path d="m21 15-4.3-4.3a1 1 0 0 0-1.4 0L6 20" />
824
+ </>
825
+ ));
826
+
827
+ export const IconGlobe = createIcon("IconGlobe", () => (
828
+ <>
829
+ <circle cx="12" cy="12" r="9.5" />
830
+ <path d="M2.5 12h19M12 2.5c2.5 2.6 3.8 5.8 3.8 9.5s-1.3 6.9-3.8 9.5c-2.5-2.6-3.8-5.8-3.8-9.5s1.3-6.9 3.8-9.5Z" />
831
+ </>
832
+ ));
833
+
834
+ export const IconDatabase = createIcon("IconDatabase", () => (
835
+ <>
836
+ <ellipse cx="12" cy="5.5" rx="8" ry="3" />
837
+ <path d="M4 5.5v13c0 1.7 3.6 3 8 3s8-1.3 8-3v-13M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3" />
838
+ </>
839
+ ));
840
+
841
+ export const IconCloud = createIcon("IconCloud", () => (
842
+ <path d="M7 19a4.5 4.5 0 0 1-.5-9 6 6 0 0 1 11.6-1.5A4.8 4.8 0 0 1 17.5 19Z" />
843
+ ));
844
+
845
+ export const IconCreditCard = createIcon("IconCreditCard", () => (
846
+ <>
847
+ <rect x="2.5" y="5" width="19" height="14" rx="2" />
848
+ <path d="M2.5 10h19M6.5 15h3" />
849
+ </>
850
+ ));
851
+
852
+ export const IconBarChart = createIcon("IconBarChart", () => (
853
+ <path d="M4 20h16M7 16v-5M12 16V6M17 16V9" />
854
+ ));
855
+
856
+ export const IconTrendingUp = createIcon("IconTrendingUp", () => (
857
+ <path d="m3 17 6-6 4 4 8-8M15 7h6v6" />
858
+ ));
859
+
860
+ export const IconKey = createIcon("IconKey", () => (
861
+ <>
862
+ <circle cx="8" cy="15.5" r="4.5" />
863
+ <path d="m11.2 12.3 8.3-8.3M16.5 7l2.5 2.5M14 9.5l2 2" />
864
+ </>
865
+ ));
866
+
867
+ export const IconMapPin = createIcon("IconMapPin", () => (
868
+ <>
869
+ <path d="M12 21.5s-7-6.1-7-11.5a7 7 0 0 1 14 0c0 5.4-7 11.5-7 11.5Z" />
870
+ <circle cx="12" cy="10" r="2.5" />
871
+ </>
872
+ ));
873
+
874
+ export const IconPhone = createIcon("IconPhone", () => (
875
+ <path d="M5.2 3.5h2.9a1 1 0 0 1 .9.6l1.3 3.3a1 1 0 0 1-.3 1.1l-1.7 1.3a11.5 11.5 0 0 0 5.9 5.9l1.3-1.7a1 1 0 0 1 1.1-.3l3.3 1.3a1 1 0 0 1 .6.9v2.9a1.7 1.7 0 0 1-1.8 1.7A16.3 16.3 0 0 1 3.5 5.3a1.7 1.7 0 0 1 1.7-1.8Z" />
876
+ ));
877
+
878
+ export const IconMessage = createIcon("IconMessage", () => (
879
+ <path d="M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v10a1.5 1.5 0 0 1-1.5 1.5H9.5L4 21Z" />
880
+ ));
881
+
882
+ export const IconHelp = createIcon("IconHelp", () => (
883
+ <>
884
+ <circle cx="12" cy="12" r="9.5" />
885
+ <path d="M9.4 9.2a2.7 2.7 0 0 1 5.2 1c0 1.8-2.6 2.4-2.6 4M12 17h.01" />
886
+ </>
887
+ ));
888
+
889
+ export const IconLightbulb = createIcon("IconLightbulb", () => (
890
+ <path d="M9.5 18h5M10.5 21h3M12 3a6 6 0 0 0-3.6 10.8c.7.5 1.1 1.3 1.1 2.1v.1h5v-.1c0-.8.4-1.6 1.1-2.1A6 6 0 0 0 12 3Z" />
891
+ ));
892
+
678
893
  /* Drop-in names for replacing Lucide imports without adapter components. */
679
894
  export const Sparkles = IconSpark;
680
895
  export const Palette = IconPalette;
@@ -729,3 +944,38 @@ export const Calendar = IconCalendar;
729
944
  export const Clock = IconClock;
730
945
  export const Home = IconHome;
731
946
  export const ExternalLink = IconExternalLink;
947
+ export const MoreVertical = IconMoreVertical;
948
+ export const PanelLeft = IconPanelLeft;
949
+ export const LayoutGrid = IconLayoutGrid;
950
+ export const LayoutList = IconLayoutList;
951
+ export const ArrowUpDown = IconArrowUpDown;
952
+ export const Filter = IconFilter;
953
+ export const Minimize = IconMinimize;
954
+ export const ChevronsLeft = IconChevronsLeft;
955
+ export const ChevronsRight = IconChevronsRight;
956
+ export const Send = IconSend;
957
+ export const Archive = IconArchive;
958
+ export const Inbox = IconInbox;
959
+ export const Tag = IconTag;
960
+ export const Bookmark = IconBookmark;
961
+ export const Pin = IconPin;
962
+ export const Flag = IconFlag;
963
+ export const Printer = IconPrinter;
964
+ export const Clipboard = IconClipboard;
965
+ export const LogIn = IconLogIn;
966
+ export const LogOut = IconLogOut;
967
+ export const ZoomIn = IconZoomIn;
968
+ export const ZoomOut = IconZoomOut;
969
+ export const Pause = IconPause;
970
+ export const Globe = IconGlobe;
971
+ export const Database = IconDatabase;
972
+ export const Cloud = IconCloud;
973
+ export const CreditCard = IconCreditCard;
974
+ export const BarChart = IconBarChart;
975
+ export const TrendingUp = IconTrendingUp;
976
+ export const Key = IconKey;
977
+ export const MapPin = IconMapPin;
978
+ export const Phone = IconPhone;
979
+ export const MessageSquare = IconMessage;
980
+ export const CircleHelp = IconHelp;
981
+ export const Lightbulb = IconLightbulb;