@moderneinc/neo-styled-components 2.3.0 → 2.4.0
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/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/LargeCard/LargeCard.d.ts +26 -0
- package/dist/NavItem/NavItem.d.ts +26 -0
- package/dist/SideNav/SideNav.d.ts +26 -0
- package/dist/TopNav/TopNav.d.ts +26 -0
- package/dist/Tree/Tree.d.ts +26 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +87 -51
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +87 -51
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -92,6 +92,6 @@ export declare const NeoCheckbox: {
|
|
|
92
92
|
* Base styled checkbox component without label wrapper
|
|
93
93
|
* Used internally by NeoCheckbox and directly in DataGrid
|
|
94
94
|
*
|
|
95
|
-
* @
|
|
95
|
+
* @public
|
|
96
96
|
*/
|
|
97
97
|
export { StyledCheckbox as NeoCheckboxBase };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the NeoLargeCard component
|
|
4
|
+
*/
|
|
5
|
+
export interface NeoLargeCardProps {
|
|
6
|
+
/**
|
|
7
|
+
* The content to display inside the component
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* NeoLargeCard - TODO: Add component description
|
|
13
|
+
*
|
|
14
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=5925-11
|
|
15
|
+
*
|
|
16
|
+
* Figma Props Mapping:
|
|
17
|
+
* - TODO: Document Figma property mappings
|
|
18
|
+
* - FigmaProp → reactProp
|
|
19
|
+
*
|
|
20
|
+
* Design Tokens Used:
|
|
21
|
+
* - TODO: List design tokens used (e.g., semanticColors.text.primary, typography.body.medium)
|
|
22
|
+
*/
|
|
23
|
+
export declare const NeoLargeCard: {
|
|
24
|
+
({ children, ...props }: NeoLargeCardProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the NeoNavItem component
|
|
4
|
+
*/
|
|
5
|
+
export interface NeoNavItemProps {
|
|
6
|
+
/**
|
|
7
|
+
* The content to display inside the component
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* NeoNavItem - TODO: Add component description
|
|
13
|
+
*
|
|
14
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=4286-13844
|
|
15
|
+
*
|
|
16
|
+
* Figma Props Mapping:
|
|
17
|
+
* - TODO: Document Figma property mappings
|
|
18
|
+
* - FigmaProp → reactProp
|
|
19
|
+
*
|
|
20
|
+
* Design Tokens Used:
|
|
21
|
+
* - TODO: List design tokens used (e.g., semanticColors.text.primary, typography.body.medium)
|
|
22
|
+
*/
|
|
23
|
+
export declare const NeoNavItem: {
|
|
24
|
+
({ children, ...props }: NeoNavItemProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the NeoSideNav component
|
|
4
|
+
*/
|
|
5
|
+
export interface NeoSideNavProps {
|
|
6
|
+
/**
|
|
7
|
+
* The content to display inside the component
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* NeoSideNav - TODO: Add component description
|
|
13
|
+
*
|
|
14
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=4065-3425
|
|
15
|
+
*
|
|
16
|
+
* Figma Props Mapping:
|
|
17
|
+
* - TODO: Document Figma property mappings
|
|
18
|
+
* - FigmaProp → reactProp
|
|
19
|
+
*
|
|
20
|
+
* Design Tokens Used:
|
|
21
|
+
* - TODO: List design tokens used (e.g., semanticColors.text.primary, typography.body.medium)
|
|
22
|
+
*/
|
|
23
|
+
export declare const NeoSideNav: {
|
|
24
|
+
({ children, ...props }: NeoSideNavProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the NeoTopNav component
|
|
4
|
+
*/
|
|
5
|
+
export interface NeoTopNavProps {
|
|
6
|
+
/**
|
|
7
|
+
* The content to display inside the component
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* NeoTopNav - TODO: Add component description
|
|
13
|
+
*
|
|
14
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=4618-185228
|
|
15
|
+
*
|
|
16
|
+
* Figma Props Mapping:
|
|
17
|
+
* - TODO: Document Figma property mappings
|
|
18
|
+
* - FigmaProp → reactProp
|
|
19
|
+
*
|
|
20
|
+
* Design Tokens Used:
|
|
21
|
+
* - TODO: List design tokens used (e.g., semanticColors.text.primary, typography.body.medium)
|
|
22
|
+
*/
|
|
23
|
+
export declare const NeoTopNav: {
|
|
24
|
+
({ children, ...props }: NeoTopNavProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the NeoTree component
|
|
4
|
+
*/
|
|
5
|
+
export interface NeoTreeProps {
|
|
6
|
+
/**
|
|
7
|
+
* The content to display inside the component
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* NeoTree - TODO: Add component description
|
|
13
|
+
*
|
|
14
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=4190-30493
|
|
15
|
+
*
|
|
16
|
+
* Figma Props Mapping:
|
|
17
|
+
* - TODO: Document Figma property mappings
|
|
18
|
+
* - FigmaProp → reactProp
|
|
19
|
+
*
|
|
20
|
+
* Design Tokens Used:
|
|
21
|
+
* - TODO: List design tokens used (e.g., semanticColors.text.primary, typography.body.medium)
|
|
22
|
+
*/
|
|
23
|
+
export declare const NeoTree: {
|
|
24
|
+
({ children, ...props }: NeoTreeProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
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 {
|
|
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';
|
package/dist/index.esm.js
CHANGED
|
@@ -74,18 +74,11 @@ const StyledAvatar = styled(Avatar, {
|
|
|
74
74
|
height: spacing.spacing_2_1_2,
|
|
75
75
|
fontSize: theme.typography.pxToRem(typography.fontSize.xs),
|
|
76
76
|
}),
|
|
77
|
-
...(size === 'medium' &&
|
|
78
|
-
variant === 'initials' && {
|
|
77
|
+
...(size === 'medium' && {
|
|
79
78
|
width: spacing.spacing_5_1_2,
|
|
80
79
|
height: spacing.spacing_5_1_2,
|
|
81
80
|
fontSize: theme.typography.pxToRem(typography.fontSize.sm),
|
|
82
81
|
}),
|
|
83
|
-
...(size === 'medium' &&
|
|
84
|
-
variant === 'circular' && {
|
|
85
|
-
width: 36,
|
|
86
|
-
height: 36,
|
|
87
|
-
fontSize: theme.typography.pxToRem(typography.fontSize.sm),
|
|
88
|
-
}),
|
|
89
82
|
// Initials variant styling
|
|
90
83
|
...(variant === 'initials' && {
|
|
91
84
|
backgroundColor: colors.violet[100],
|
|
@@ -160,6 +153,7 @@ const StyledChip$1 = styled(Chip)(({ theme }) => ({
|
|
|
160
153
|
borderRadius: borderRadius.full,
|
|
161
154
|
fontSize: theme.typography.pxToRem(typography.fontSize.xs),
|
|
162
155
|
lineHeight: 1,
|
|
156
|
+
fontWeight: typography.fontWeight.medium,
|
|
163
157
|
gap: spacing.spacing_1_2,
|
|
164
158
|
overflow: 'visible',
|
|
165
159
|
[`& .${chipClasses.label}`]: {
|
|
@@ -499,34 +493,52 @@ const NeoActivityIndicatorCell = ({ event = 'commit-job', secondaryEvent, scene
|
|
|
499
493
|
NeoActivityIndicatorCell.displayName = 'NeoActivityIndicatorCell';
|
|
500
494
|
|
|
501
495
|
/**
|
|
502
|
-
* @license lucide-react v0.
|
|
496
|
+
* @license lucide-react v0.563.0 - ISC
|
|
497
|
+
*
|
|
498
|
+
* This source code is licensed under the ISC license.
|
|
499
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
500
|
+
*/
|
|
501
|
+
|
|
502
|
+
const mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
503
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
504
|
+
}).join(" ").trim();
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @license lucide-react v0.563.0 - ISC
|
|
503
508
|
*
|
|
504
509
|
* This source code is licensed under the ISC license.
|
|
505
510
|
* See the LICENSE file in the root directory of this source tree.
|
|
506
511
|
*/
|
|
507
512
|
|
|
508
513
|
const toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* @license lucide-react v0.563.0 - ISC
|
|
517
|
+
*
|
|
518
|
+
* This source code is licensed under the ISC license.
|
|
519
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
520
|
+
*/
|
|
521
|
+
|
|
509
522
|
const toCamelCase = (string) => string.replace(
|
|
510
523
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
511
524
|
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
|
|
512
525
|
);
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @license lucide-react v0.563.0 - ISC
|
|
529
|
+
*
|
|
530
|
+
* This source code is licensed under the ISC license.
|
|
531
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
532
|
+
*/
|
|
533
|
+
|
|
534
|
+
|
|
513
535
|
const toPascalCase = (string) => {
|
|
514
536
|
const camelCase = toCamelCase(string);
|
|
515
537
|
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
516
538
|
};
|
|
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
539
|
|
|
528
540
|
/**
|
|
529
|
-
* @license lucide-react v0.
|
|
541
|
+
* @license lucide-react v0.563.0 - ISC
|
|
530
542
|
*
|
|
531
543
|
* This source code is licensed under the ISC license.
|
|
532
544
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -545,7 +557,23 @@ var defaultAttributes = {
|
|
|
545
557
|
};
|
|
546
558
|
|
|
547
559
|
/**
|
|
548
|
-
* @license lucide-react v0.
|
|
560
|
+
* @license lucide-react v0.563.0 - ISC
|
|
561
|
+
*
|
|
562
|
+
* This source code is licensed under the ISC license.
|
|
563
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
564
|
+
*/
|
|
565
|
+
|
|
566
|
+
const hasA11yProp = (props) => {
|
|
567
|
+
for (const prop in props) {
|
|
568
|
+
if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
|
|
569
|
+
return true;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
return false;
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @license lucide-react v0.563.0 - ISC
|
|
549
577
|
*
|
|
550
578
|
* This source code is licensed under the ISC license.
|
|
551
579
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -583,7 +611,7 @@ const Icon = forwardRef(
|
|
|
583
611
|
);
|
|
584
612
|
|
|
585
613
|
/**
|
|
586
|
-
* @license lucide-react v0.
|
|
614
|
+
* @license lucide-react v0.563.0 - ISC
|
|
587
615
|
*
|
|
588
616
|
* This source code is licensed under the ISC license.
|
|
589
617
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -608,7 +636,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
608
636
|
};
|
|
609
637
|
|
|
610
638
|
/**
|
|
611
|
-
* @license lucide-react v0.
|
|
639
|
+
* @license lucide-react v0.563.0 - ISC
|
|
612
640
|
*
|
|
613
641
|
* This source code is licensed under the ISC license.
|
|
614
642
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -622,7 +650,7 @@ const __iconNode$h = [
|
|
|
622
650
|
const ArrowDown = createLucideIcon("arrow-down", __iconNode$h);
|
|
623
651
|
|
|
624
652
|
/**
|
|
625
|
-
* @license lucide-react v0.
|
|
653
|
+
* @license lucide-react v0.563.0 - ISC
|
|
626
654
|
*
|
|
627
655
|
* This source code is licensed under the ISC license.
|
|
628
656
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -636,7 +664,7 @@ const __iconNode$g = [
|
|
|
636
664
|
const ArrowUp = createLucideIcon("arrow-up", __iconNode$g);
|
|
637
665
|
|
|
638
666
|
/**
|
|
639
|
-
* @license lucide-react v0.
|
|
667
|
+
* @license lucide-react v0.563.0 - ISC
|
|
640
668
|
*
|
|
641
669
|
* This source code is licensed under the ISC license.
|
|
642
670
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -658,7 +686,7 @@ const __iconNode$f = [
|
|
|
658
686
|
const CalendarDays = createLucideIcon("calendar-days", __iconNode$f);
|
|
659
687
|
|
|
660
688
|
/**
|
|
661
|
-
* @license lucide-react v0.
|
|
689
|
+
* @license lucide-react v0.563.0 - ISC
|
|
662
690
|
*
|
|
663
691
|
* This source code is licensed under the ISC license.
|
|
664
692
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -669,7 +697,7 @@ const __iconNode$e = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
|
669
697
|
const ChevronDown = createLucideIcon("chevron-down", __iconNode$e);
|
|
670
698
|
|
|
671
699
|
/**
|
|
672
|
-
* @license lucide-react v0.
|
|
700
|
+
* @license lucide-react v0.563.0 - ISC
|
|
673
701
|
*
|
|
674
702
|
* This source code is licensed under the ISC license.
|
|
675
703
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -680,7 +708,7 @@ const __iconNode$d = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
|
680
708
|
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$d);
|
|
681
709
|
|
|
682
710
|
/**
|
|
683
|
-
* @license lucide-react v0.
|
|
711
|
+
* @license lucide-react v0.563.0 - ISC
|
|
684
712
|
*
|
|
685
713
|
* This source code is licensed under the ISC license.
|
|
686
714
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -691,7 +719,7 @@ const __iconNode$c = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
|
691
719
|
const ChevronRight = createLucideIcon("chevron-right", __iconNode$c);
|
|
692
720
|
|
|
693
721
|
/**
|
|
694
|
-
* @license lucide-react v0.
|
|
722
|
+
* @license lucide-react v0.563.0 - ISC
|
|
695
723
|
*
|
|
696
724
|
* This source code is licensed under the ISC license.
|
|
697
725
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -702,7 +730,7 @@ const __iconNode$b = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
|
702
730
|
const ChevronUp = createLucideIcon("chevron-up", __iconNode$b);
|
|
703
731
|
|
|
704
732
|
/**
|
|
705
|
-
* @license lucide-react v0.
|
|
733
|
+
* @license lucide-react v0.563.0 - ISC
|
|
706
734
|
*
|
|
707
735
|
* This source code is licensed under the ISC license.
|
|
708
736
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -716,7 +744,7 @@ const __iconNode$a = [
|
|
|
716
744
|
const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$a);
|
|
717
745
|
|
|
718
746
|
/**
|
|
719
|
-
* @license lucide-react v0.
|
|
747
|
+
* @license lucide-react v0.563.0 - ISC
|
|
720
748
|
*
|
|
721
749
|
* This source code is licensed under the ISC license.
|
|
722
750
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -731,7 +759,7 @@ const __iconNode$9 = [
|
|
|
731
759
|
const CircleAlert = createLucideIcon("circle-alert", __iconNode$9);
|
|
732
760
|
|
|
733
761
|
/**
|
|
734
|
-
* @license lucide-react v0.
|
|
762
|
+
* @license lucide-react v0.563.0 - ISC
|
|
735
763
|
*
|
|
736
764
|
* This source code is licensed under the ISC license.
|
|
737
765
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -745,7 +773,7 @@ const __iconNode$8 = [
|
|
|
745
773
|
const CircleCheck = createLucideIcon("circle-check", __iconNode$8);
|
|
746
774
|
|
|
747
775
|
/**
|
|
748
|
-
* @license lucide-react v0.
|
|
776
|
+
* @license lucide-react v0.563.0 - ISC
|
|
749
777
|
*
|
|
750
778
|
* This source code is licensed under the ISC license.
|
|
751
779
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -760,7 +788,7 @@ const __iconNode$7 = [
|
|
|
760
788
|
const CircleQuestionMark = createLucideIcon("circle-question-mark", __iconNode$7);
|
|
761
789
|
|
|
762
790
|
/**
|
|
763
|
-
* @license lucide-react v0.
|
|
791
|
+
* @license lucide-react v0.563.0 - ISC
|
|
764
792
|
*
|
|
765
793
|
* This source code is licensed under the ISC license.
|
|
766
794
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -775,7 +803,7 @@ const __iconNode$6 = [
|
|
|
775
803
|
const Columns3 = createLucideIcon("columns-3", __iconNode$6);
|
|
776
804
|
|
|
777
805
|
/**
|
|
778
|
-
* @license lucide-react v0.
|
|
806
|
+
* @license lucide-react v0.563.0 - ISC
|
|
779
807
|
*
|
|
780
808
|
* This source code is licensed under the ISC license.
|
|
781
809
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -790,7 +818,7 @@ const __iconNode$5 = [
|
|
|
790
818
|
const ListFilter = createLucideIcon("list-filter", __iconNode$5);
|
|
791
819
|
|
|
792
820
|
/**
|
|
793
|
-
* @license lucide-react v0.
|
|
821
|
+
* @license lucide-react v0.563.0 - ISC
|
|
794
822
|
*
|
|
795
823
|
* This source code is licensed under the ISC license.
|
|
796
824
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -804,7 +832,7 @@ const __iconNode$4 = [
|
|
|
804
832
|
const Plus = createLucideIcon("plus", __iconNode$4);
|
|
805
833
|
|
|
806
834
|
/**
|
|
807
|
-
* @license lucide-react v0.
|
|
835
|
+
* @license lucide-react v0.563.0 - ISC
|
|
808
836
|
*
|
|
809
837
|
* This source code is licensed under the ISC license.
|
|
810
838
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -818,7 +846,7 @@ const __iconNode$3 = [
|
|
|
818
846
|
const Search = createLucideIcon("search", __iconNode$3);
|
|
819
847
|
|
|
820
848
|
/**
|
|
821
|
-
* @license lucide-react v0.
|
|
849
|
+
* @license lucide-react v0.563.0 - ISC
|
|
822
850
|
*
|
|
823
851
|
* This source code is licensed under the ISC license.
|
|
824
852
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -835,7 +863,7 @@ const __iconNode$2 = [
|
|
|
835
863
|
const Trash2 = createLucideIcon("trash-2", __iconNode$2);
|
|
836
864
|
|
|
837
865
|
/**
|
|
838
|
-
* @license lucide-react v0.
|
|
866
|
+
* @license lucide-react v0.563.0 - ISC
|
|
839
867
|
*
|
|
840
868
|
* This source code is licensed under the ISC license.
|
|
841
869
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -854,7 +882,7 @@ const __iconNode$1 = [
|
|
|
854
882
|
const WifiOff = createLucideIcon("wifi-off", __iconNode$1);
|
|
855
883
|
|
|
856
884
|
/**
|
|
857
|
-
* @license lucide-react v0.
|
|
885
|
+
* @license lucide-react v0.563.0 - ISC
|
|
858
886
|
*
|
|
859
887
|
* This source code is licensed under the ISC license.
|
|
860
888
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -874,7 +902,7 @@ const StyledAlert$2 = styled(Alert, {
|
|
|
874
902
|
// Variant-specific styles
|
|
875
903
|
const variantStyles = {
|
|
876
904
|
dark: {
|
|
877
|
-
backgroundColor:
|
|
905
|
+
backgroundColor: semanticColors.surfaces.snackbarBrand,
|
|
878
906
|
color: semanticColors.surfaces.white,
|
|
879
907
|
},
|
|
880
908
|
light: {
|
|
@@ -1057,7 +1085,15 @@ function NeoBreadcrumbs({ children, className }) {
|
|
|
1057
1085
|
}
|
|
1058
1086
|
|
|
1059
1087
|
// Props that should not be forwarded to ButtonBase (Button-specific props that ButtonBase doesn't support)
|
|
1060
|
-
const buttonOnlyProps$1 = [
|
|
1088
|
+
const buttonOnlyProps$1 = [
|
|
1089
|
+
'variant',
|
|
1090
|
+
'size',
|
|
1091
|
+
'loading',
|
|
1092
|
+
'startIcon',
|
|
1093
|
+
'endIcon',
|
|
1094
|
+
'fullWidth',
|
|
1095
|
+
'disableElevation',
|
|
1096
|
+
];
|
|
1061
1097
|
const StyledButtonBase$1 = styled(ButtonBase, {
|
|
1062
1098
|
shouldForwardProp: prop => !buttonOnlyProps$1.includes(prop),
|
|
1063
1099
|
})(({ theme, variant = 'primary', size = 'medium', loading = false }) => {
|
|
@@ -1065,13 +1101,13 @@ const StyledButtonBase$1 = styled(ButtonBase, {
|
|
|
1065
1101
|
const sizeConfig = {
|
|
1066
1102
|
small: {
|
|
1067
1103
|
height: 32,
|
|
1068
|
-
padding: `0 ${theme.spacing(
|
|
1104
|
+
padding: `0 ${theme.spacing(1.5)}`,
|
|
1069
1105
|
fontSize: theme.typography.pxToRem(14),
|
|
1070
1106
|
},
|
|
1071
1107
|
medium: {
|
|
1072
1108
|
height: spacing.spacing_5,
|
|
1073
|
-
padding: `0 ${theme.spacing(
|
|
1074
|
-
fontSize: theme.typography.pxToRem(
|
|
1109
|
+
padding: `0 ${theme.spacing(2)}`,
|
|
1110
|
+
fontSize: theme.typography.pxToRem(14),
|
|
1075
1111
|
},
|
|
1076
1112
|
};
|
|
1077
1113
|
const sizeStyles = sizeConfig[size];
|
|
@@ -1081,7 +1117,7 @@ const StyledButtonBase$1 = styled(ButtonBase, {
|
|
|
1081
1117
|
padding: sizeStyles.padding,
|
|
1082
1118
|
fontSize: sizeStyles.fontSize,
|
|
1083
1119
|
fontWeight: 500,
|
|
1084
|
-
lineHeight: 1.
|
|
1120
|
+
lineHeight: '1.25rem',
|
|
1085
1121
|
borderRadius: borderRadius.button,
|
|
1086
1122
|
textTransform: 'none',
|
|
1087
1123
|
transition: theme.transitions.create(['background-color', 'border-color', 'color'], {
|
|
@@ -1914,7 +1950,7 @@ const StyledSelect = styled(MuiSelect)({
|
|
|
1914
1950
|
},
|
|
1915
1951
|
'&.Mui-focused': {
|
|
1916
1952
|
backgroundColor: semanticColors.input.background,
|
|
1917
|
-
borderColor: semanticColors.
|
|
1953
|
+
borderColor: semanticColors.buttons.primary.default,
|
|
1918
1954
|
},
|
|
1919
1955
|
'&::before': {
|
|
1920
1956
|
display: 'none',
|
|
@@ -1927,7 +1963,7 @@ const StyledSelect = styled(MuiSelect)({
|
|
|
1927
1963
|
paddingBottom: spacing.spacing_1,
|
|
1928
1964
|
paddingLeft: spacing.spacing_1_1_2,
|
|
1929
1965
|
paddingRight: spacing.spacing_5,
|
|
1930
|
-
fontSize: typography.fontSize.
|
|
1966
|
+
fontSize: typography.fontSize.sm,
|
|
1931
1967
|
fontWeight: typography.fontWeight.regular,
|
|
1932
1968
|
color: semanticColors.typography.input.default,
|
|
1933
1969
|
},
|
|
@@ -3887,7 +3923,7 @@ const StyledInputBase = styled(InputBase, {
|
|
|
3887
3923
|
height: spacing.spacing_5_1_2,
|
|
3888
3924
|
padding: `${spacing.spacing_2}px ${spacing.spacing_3}px ${spacing.spacing_2}px ${startAdornment ? 0 : spacing.spacing_2}px`,
|
|
3889
3925
|
fontSize: theme.typography.pxToRem(typography.fontSize.default),
|
|
3890
|
-
borderRadius: borderRadius.
|
|
3926
|
+
borderRadius: borderRadius.input,
|
|
3891
3927
|
},
|
|
3892
3928
|
};
|
|
3893
3929
|
const sizeStyles = sizeConfig[size];
|
|
@@ -5457,9 +5493,9 @@ const StyledTab = styled(MuiTab)(({ theme }) => ({
|
|
|
5457
5493
|
minHeight: spacing.spacing_5,
|
|
5458
5494
|
padding: `${theme.spacing(1)} ${theme.spacing(2)}`,
|
|
5459
5495
|
textTransform: 'none',
|
|
5460
|
-
fontWeight:
|
|
5496
|
+
fontWeight: 400,
|
|
5461
5497
|
fontSize: theme.typography.pxToRem(14),
|
|
5462
|
-
lineHeight: 1.
|
|
5498
|
+
lineHeight: '1.5rem',
|
|
5463
5499
|
color: semanticColors.typography.tab.inactive,
|
|
5464
5500
|
transition: 'none', // Remove animation
|
|
5465
5501
|
[`&.${tabClasses.selected}`]: {
|