@moderneinc/neo-styled-components 2.2.1 → 2.3.0-next.4021a6

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.
@@ -3,7 +3,7 @@ import type { ReactNode } from 'react';
3
3
  /**
4
4
  * Props for the NeoMarketplaceCard component
5
5
  */
6
- export interface NeoMarketplaceCardProps extends Omit<CardProps, 'children'> {
6
+ export interface NeoMarketplaceCardProps extends Omit<CardProps, 'children' | 'title'> {
7
7
  /**
8
8
  * The logo to display (48x48px ReactNode)
9
9
  */
@@ -13,9 +13,9 @@ export interface NeoMarketplaceCardProps extends Omit<CardProps, 'children'> {
13
13
  */
14
14
  recipeCount: string;
15
15
  /**
16
- * The title text
16
+ * The title text or element
17
17
  */
18
- title: string;
18
+ title: ReactNode | string;
19
19
  /**
20
20
  * The description text
21
21
  */
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import * as _mui_material_ButtonBase from '@mui/material/ButtonBase';
10
10
  import { ButtonBaseProps } from '@mui/material/ButtonBase';
11
11
  import { ButtonGroupProps } from '@mui/material/ButtonGroup';
12
12
  import { CheckboxProps } from '@mui/material/Checkbox';
13
- import { DataGridProProps, GridSlots, GridDensity as GridDensity$1, ToolbarProps, GridColumnsPanelProps } from '@mui/x-data-grid-pro';
13
+ import { GridDensity as GridDensity$1, DataGridProProps, GridSlots, ToolbarProps, GridColumnsPanelProps } from '@mui/x-data-grid-pro';
14
14
  import * as _mui_material_styles from '@mui/material/styles';
15
15
  import { SxProps, Theme, Breakpoint } from '@mui/material/styles';
16
16
  import { DividerProps } from '@mui/material/Divider';
@@ -2524,7 +2524,7 @@ declare const NeoTypologyControl: {
2524
2524
  /**
2525
2525
  * Props for the NeoMarketplaceCard component
2526
2526
  */
2527
- interface NeoMarketplaceCardProps extends Omit<CardProps, 'children'> {
2527
+ interface NeoMarketplaceCardProps extends Omit<CardProps, 'children' | 'title'> {
2528
2528
  /**
2529
2529
  * The logo to display (48x48px ReactNode)
2530
2530
  */
@@ -2534,9 +2534,9 @@ interface NeoMarketplaceCardProps extends Omit<CardProps, 'children'> {
2534
2534
  */
2535
2535
  recipeCount: string;
2536
2536
  /**
2537
- * The title text
2537
+ * The title text or element
2538
2538
  */
2539
- title: string;
2539
+ title: ReactNode | string;
2540
2540
  /**
2541
2541
  * The description text
2542
2542
  */
package/dist/index.esm.js CHANGED
@@ -499,34 +499,52 @@ const NeoActivityIndicatorCell = ({ event = 'commit-job', secondaryEvent, scene
499
499
  NeoActivityIndicatorCell.displayName = 'NeoActivityIndicatorCell';
500
500
 
501
501
  /**
502
- * @license lucide-react v0.562.0 - ISC
502
+ * @license lucide-react v0.563.0 - ISC
503
+ *
504
+ * This source code is licensed under the ISC license.
505
+ * See the LICENSE file in the root directory of this source tree.
506
+ */
507
+
508
+ const mergeClasses = (...classes) => classes.filter((className, index, array) => {
509
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
510
+ }).join(" ").trim();
511
+
512
+ /**
513
+ * @license lucide-react v0.563.0 - ISC
503
514
  *
504
515
  * This source code is licensed under the ISC license.
505
516
  * See the LICENSE file in the root directory of this source tree.
506
517
  */
507
518
 
508
519
  const toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
520
+
521
+ /**
522
+ * @license lucide-react v0.563.0 - ISC
523
+ *
524
+ * This source code is licensed under the ISC license.
525
+ * See the LICENSE file in the root directory of this source tree.
526
+ */
527
+
509
528
  const toCamelCase = (string) => string.replace(
510
529
  /^([A-Z])|[\s-_]+(\w)/g,
511
530
  (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
512
531
  );
532
+
533
+ /**
534
+ * @license lucide-react v0.563.0 - ISC
535
+ *
536
+ * This source code is licensed under the ISC license.
537
+ * See the LICENSE file in the root directory of this source tree.
538
+ */
539
+
540
+
513
541
  const toPascalCase = (string) => {
514
542
  const camelCase = toCamelCase(string);
515
543
  return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
516
544
  };
517
- const mergeClasses = (...classes) => classes.filter((className, index, array) => {
518
- return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
519
- }).join(" ").trim();
520
- const hasA11yProp = (props) => {
521
- for (const prop in props) {
522
- if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
523
- return true;
524
- }
525
- }
526
- };
527
545
 
528
546
  /**
529
- * @license lucide-react v0.562.0 - ISC
547
+ * @license lucide-react v0.563.0 - ISC
530
548
  *
531
549
  * This source code is licensed under the ISC license.
532
550
  * See the LICENSE file in the root directory of this source tree.
@@ -545,7 +563,23 @@ var defaultAttributes = {
545
563
  };
546
564
 
547
565
  /**
548
- * @license lucide-react v0.562.0 - ISC
566
+ * @license lucide-react v0.563.0 - ISC
567
+ *
568
+ * This source code is licensed under the ISC license.
569
+ * See the LICENSE file in the root directory of this source tree.
570
+ */
571
+
572
+ const hasA11yProp = (props) => {
573
+ for (const prop in props) {
574
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
575
+ return true;
576
+ }
577
+ }
578
+ return false;
579
+ };
580
+
581
+ /**
582
+ * @license lucide-react v0.563.0 - ISC
549
583
  *
550
584
  * This source code is licensed under the ISC license.
551
585
  * See the LICENSE file in the root directory of this source tree.
@@ -583,7 +617,7 @@ const Icon = forwardRef(
583
617
  );
584
618
 
585
619
  /**
586
- * @license lucide-react v0.562.0 - ISC
620
+ * @license lucide-react v0.563.0 - ISC
587
621
  *
588
622
  * This source code is licensed under the ISC license.
589
623
  * See the LICENSE file in the root directory of this source tree.
@@ -608,7 +642,7 @@ const createLucideIcon = (iconName, iconNode) => {
608
642
  };
609
643
 
610
644
  /**
611
- * @license lucide-react v0.562.0 - ISC
645
+ * @license lucide-react v0.563.0 - ISC
612
646
  *
613
647
  * This source code is licensed under the ISC license.
614
648
  * See the LICENSE file in the root directory of this source tree.
@@ -622,7 +656,7 @@ const __iconNode$h = [
622
656
  const ArrowDown = createLucideIcon("arrow-down", __iconNode$h);
623
657
 
624
658
  /**
625
- * @license lucide-react v0.562.0 - ISC
659
+ * @license lucide-react v0.563.0 - ISC
626
660
  *
627
661
  * This source code is licensed under the ISC license.
628
662
  * See the LICENSE file in the root directory of this source tree.
@@ -636,7 +670,7 @@ const __iconNode$g = [
636
670
  const ArrowUp = createLucideIcon("arrow-up", __iconNode$g);
637
671
 
638
672
  /**
639
- * @license lucide-react v0.562.0 - ISC
673
+ * @license lucide-react v0.563.0 - ISC
640
674
  *
641
675
  * This source code is licensed under the ISC license.
642
676
  * See the LICENSE file in the root directory of this source tree.
@@ -658,7 +692,7 @@ const __iconNode$f = [
658
692
  const CalendarDays = createLucideIcon("calendar-days", __iconNode$f);
659
693
 
660
694
  /**
661
- * @license lucide-react v0.562.0 - ISC
695
+ * @license lucide-react v0.563.0 - ISC
662
696
  *
663
697
  * This source code is licensed under the ISC license.
664
698
  * See the LICENSE file in the root directory of this source tree.
@@ -669,7 +703,7 @@ const __iconNode$e = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
669
703
  const ChevronDown = createLucideIcon("chevron-down", __iconNode$e);
670
704
 
671
705
  /**
672
- * @license lucide-react v0.562.0 - ISC
706
+ * @license lucide-react v0.563.0 - ISC
673
707
  *
674
708
  * This source code is licensed under the ISC license.
675
709
  * See the LICENSE file in the root directory of this source tree.
@@ -680,7 +714,7 @@ const __iconNode$d = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
680
714
  const ChevronLeft = createLucideIcon("chevron-left", __iconNode$d);
681
715
 
682
716
  /**
683
- * @license lucide-react v0.562.0 - ISC
717
+ * @license lucide-react v0.563.0 - ISC
684
718
  *
685
719
  * This source code is licensed under the ISC license.
686
720
  * See the LICENSE file in the root directory of this source tree.
@@ -691,7 +725,7 @@ const __iconNode$c = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
691
725
  const ChevronRight = createLucideIcon("chevron-right", __iconNode$c);
692
726
 
693
727
  /**
694
- * @license lucide-react v0.562.0 - ISC
728
+ * @license lucide-react v0.563.0 - ISC
695
729
  *
696
730
  * This source code is licensed under the ISC license.
697
731
  * See the LICENSE file in the root directory of this source tree.
@@ -702,7 +736,7 @@ const __iconNode$b = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
702
736
  const ChevronUp = createLucideIcon("chevron-up", __iconNode$b);
703
737
 
704
738
  /**
705
- * @license lucide-react v0.562.0 - ISC
739
+ * @license lucide-react v0.563.0 - ISC
706
740
  *
707
741
  * This source code is licensed under the ISC license.
708
742
  * See the LICENSE file in the root directory of this source tree.
@@ -716,7 +750,7 @@ const __iconNode$a = [
716
750
  const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$a);
717
751
 
718
752
  /**
719
- * @license lucide-react v0.562.0 - ISC
753
+ * @license lucide-react v0.563.0 - ISC
720
754
  *
721
755
  * This source code is licensed under the ISC license.
722
756
  * See the LICENSE file in the root directory of this source tree.
@@ -731,7 +765,7 @@ const __iconNode$9 = [
731
765
  const CircleAlert = createLucideIcon("circle-alert", __iconNode$9);
732
766
 
733
767
  /**
734
- * @license lucide-react v0.562.0 - ISC
768
+ * @license lucide-react v0.563.0 - ISC
735
769
  *
736
770
  * This source code is licensed under the ISC license.
737
771
  * See the LICENSE file in the root directory of this source tree.
@@ -745,7 +779,7 @@ const __iconNode$8 = [
745
779
  const CircleCheck = createLucideIcon("circle-check", __iconNode$8);
746
780
 
747
781
  /**
748
- * @license lucide-react v0.562.0 - ISC
782
+ * @license lucide-react v0.563.0 - ISC
749
783
  *
750
784
  * This source code is licensed under the ISC license.
751
785
  * See the LICENSE file in the root directory of this source tree.
@@ -760,7 +794,7 @@ const __iconNode$7 = [
760
794
  const CircleQuestionMark = createLucideIcon("circle-question-mark", __iconNode$7);
761
795
 
762
796
  /**
763
- * @license lucide-react v0.562.0 - ISC
797
+ * @license lucide-react v0.563.0 - ISC
764
798
  *
765
799
  * This source code is licensed under the ISC license.
766
800
  * See the LICENSE file in the root directory of this source tree.
@@ -775,7 +809,7 @@ const __iconNode$6 = [
775
809
  const Columns3 = createLucideIcon("columns-3", __iconNode$6);
776
810
 
777
811
  /**
778
- * @license lucide-react v0.562.0 - ISC
812
+ * @license lucide-react v0.563.0 - ISC
779
813
  *
780
814
  * This source code is licensed under the ISC license.
781
815
  * See the LICENSE file in the root directory of this source tree.
@@ -790,7 +824,7 @@ const __iconNode$5 = [
790
824
  const ListFilter = createLucideIcon("list-filter", __iconNode$5);
791
825
 
792
826
  /**
793
- * @license lucide-react v0.562.0 - ISC
827
+ * @license lucide-react v0.563.0 - ISC
794
828
  *
795
829
  * This source code is licensed under the ISC license.
796
830
  * See the LICENSE file in the root directory of this source tree.
@@ -804,7 +838,7 @@ const __iconNode$4 = [
804
838
  const Plus = createLucideIcon("plus", __iconNode$4);
805
839
 
806
840
  /**
807
- * @license lucide-react v0.562.0 - ISC
841
+ * @license lucide-react v0.563.0 - ISC
808
842
  *
809
843
  * This source code is licensed under the ISC license.
810
844
  * See the LICENSE file in the root directory of this source tree.
@@ -818,7 +852,7 @@ const __iconNode$3 = [
818
852
  const Search = createLucideIcon("search", __iconNode$3);
819
853
 
820
854
  /**
821
- * @license lucide-react v0.562.0 - ISC
855
+ * @license lucide-react v0.563.0 - ISC
822
856
  *
823
857
  * This source code is licensed under the ISC license.
824
858
  * See the LICENSE file in the root directory of this source tree.
@@ -835,7 +869,7 @@ const __iconNode$2 = [
835
869
  const Trash2 = createLucideIcon("trash-2", __iconNode$2);
836
870
 
837
871
  /**
838
- * @license lucide-react v0.562.0 - ISC
872
+ * @license lucide-react v0.563.0 - ISC
839
873
  *
840
874
  * This source code is licensed under the ISC license.
841
875
  * See the LICENSE file in the root directory of this source tree.
@@ -854,7 +888,7 @@ const __iconNode$1 = [
854
888
  const WifiOff = createLucideIcon("wifi-off", __iconNode$1);
855
889
 
856
890
  /**
857
- * @license lucide-react v0.562.0 - ISC
891
+ * @license lucide-react v0.563.0 - ISC
858
892
  *
859
893
  * This source code is licensed under the ISC license.
860
894
  * See the LICENSE file in the root directory of this source tree.