@dmsi/wedgekit-react 0.0.232 → 0.0.233
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/{chunk-JFPRYMID.js → chunk-3FOAGRIY.js} +1 -1
- package/dist/{chunk-BHJNYWQG.js → chunk-4AHS4CVA.js} +1 -1
- package/dist/{chunk-RDLEIAQU.js → chunk-6CTCHYIS.js} +5 -0
- package/dist/{chunk-2VRZB2A4.js → chunk-6ZYTR6DU.js} +1 -1
- package/dist/{chunk-CJELWEO2.js → chunk-7KLALK3J.js} +1 -1
- package/dist/{chunk-E3UOI2D2.js → chunk-DXVLA32J.js} +2 -2
- package/dist/{chunk-SYEJVSE4.js → chunk-FRHPFACM.js} +1 -1
- package/dist/{chunk-KGVKHWUK.js → chunk-FS2RQE55.js} +1 -1
- package/dist/{chunk-REOLWEZG.js → chunk-KEDK5EWD.js} +1 -1
- package/dist/{chunk-SK742QNF.js → chunk-KNP4LUFA.js} +1 -1
- package/dist/{chunk-3M23BFB4.js → chunk-MQXOQL3T.js} +3 -3
- package/dist/{chunk-ARC7FOL2.js → chunk-NWELJDBW.js} +3 -3
- package/dist/{chunk-T7UCZWWK.js → chunk-OGMN5SHL.js} +2 -2
- package/dist/{chunk-7BBXPM5C.js → chunk-OP5XCT3L.js} +1 -1
- package/dist/{chunk-BOWQUDUU.js → chunk-QA3KMRA6.js} +1 -1
- package/dist/{chunk-3WNXMCZV.js → chunk-QQ5G773N.js} +1 -1
- package/dist/{chunk-LPQ4QMAV.js → chunk-R2FGTCOY.js} +1 -1
- package/dist/{chunk-QHHNFGEX.js → chunk-RJBKI53P.js} +3 -3
- package/dist/{chunk-BW2MWMVM.js → chunk-UVG2TKTG.js} +3 -3
- package/dist/{chunk-VZVPD3XK.js → chunk-VDO7VGAD.js} +12 -12
- package/dist/{chunk-Q7ETEWBW.js → chunk-VGPOI7UP.js} +3 -3
- package/dist/{chunk-CJVTFYI4.js → chunk-VP7HJX24.js} +1 -1
- package/dist/{chunk-R4H6D4SZ.js → chunk-VR7X3NMG.js} +3 -3
- package/dist/{chunk-SQJ7MWY7.js → chunk-X73BO77J.js} +2 -2
- package/dist/{chunk-XQILVD56.js → chunk-XO6PXENP.js} +1 -1
- package/dist/{chunk-5JVMULVC.js → chunk-YCKRRAJA.js} +2 -2
- package/dist/components/AccessChangerTabItem.cjs +5 -0
- package/dist/components/AccessChangerTabItem.js +2 -2
- package/dist/components/Accordion.cjs +5 -0
- package/dist/components/Accordion.js +4 -4
- package/dist/components/Breadcrumbs.cjs +15 -4
- package/dist/components/Breadcrumbs.js +12 -6
- package/dist/components/Button.cjs +5 -0
- package/dist/components/Button.js +2 -2
- package/dist/components/CalendarRange.cjs +5 -0
- package/dist/components/CalendarRange.css +12 -13
- package/dist/components/CalendarRange.js +16 -16
- package/dist/components/Caption.cjs +5 -0
- package/dist/components/Caption.js +1 -1
- package/dist/components/Checkbox.cjs +5 -0
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/ContentTab.cjs +5 -0
- package/dist/components/ContentTab.js +3 -3
- package/dist/components/ContentTabs.cjs +5 -0
- package/dist/components/ContentTabs.js +3 -3
- package/dist/components/DataGridCell.cjs +5 -0
- package/dist/components/DataGridCell.js +7 -7
- package/dist/components/DateInput.cjs +5 -0
- package/dist/components/DateInput.css +12 -13
- package/dist/components/DateInput.js +16 -16
- package/dist/components/DateRangeInput.cjs +5 -0
- package/dist/components/DateRangeInput.css +12 -13
- package/dist/components/DateRangeInput.js +16 -16
- package/dist/components/Display.cjs +5 -0
- package/dist/components/Display.js +2 -2
- package/dist/components/FilterGroup.cjs +5 -0
- package/dist/components/FilterGroup.js +9 -9
- package/dist/components/Heading.cjs +5 -0
- package/dist/components/Heading.js +2 -2
- package/dist/components/Input.cjs +5 -0
- package/dist/components/Input.js +3 -3
- package/dist/components/InputGroup.cjs +5 -0
- package/dist/components/InputGroup.js +2 -2
- package/dist/components/Label.cjs +5 -0
- package/dist/components/Label.js +2 -2
- package/dist/components/Link.cjs +5 -0
- package/dist/components/Link.js +2 -2
- package/dist/components/MainBar.cjs +5 -0
- package/dist/components/MainBar.js +1 -1
- package/dist/components/MenuOption.cjs +5 -0
- package/dist/components/MenuOption.js +4 -4
- package/dist/components/MobileDataGrid.cjs +5 -0
- package/dist/components/MobileDataGrid.js +5 -5
- package/dist/components/Modal.cjs +5 -0
- package/dist/components/Modal.js +7 -7
- package/dist/components/ModalButtons.cjs +5 -0
- package/dist/components/ModalButtons.js +3 -3
- package/dist/components/ModalContent.cjs +5 -0
- package/dist/components/ModalContent.js +2 -2
- package/dist/components/ModalHeader.cjs +5 -0
- package/dist/components/ModalHeader.js +4 -4
- package/dist/components/NavigationTab.cjs +5 -0
- package/dist/components/NavigationTab.js +3 -3
- package/dist/components/NavigationTabs.cjs +5 -0
- package/dist/components/NavigationTabs.js +3 -3
- package/dist/components/NestedMenu.cjs +5 -0
- package/dist/components/NestedMenu.js +4 -4
- package/dist/components/Notification.cjs +5 -0
- package/dist/components/Notification.js +5 -5
- package/dist/components/OptionPill.cjs +5 -0
- package/dist/components/OptionPill.js +4 -4
- package/dist/components/PDFViewer.cjs +5 -0
- package/dist/components/PDFViewer.js +9 -9
- package/dist/components/Paragraph.cjs +5 -0
- package/dist/components/Paragraph.js +2 -2
- package/dist/components/Password.cjs +5 -0
- package/dist/components/Password.js +3 -3
- package/dist/components/ProjectBar.cjs +5 -0
- package/dist/components/ProjectBar.js +1 -1
- package/dist/components/Radio.cjs +5 -0
- package/dist/components/Radio.js +2 -2
- package/dist/components/Search.cjs +5 -0
- package/dist/components/Search.js +4 -4
- package/dist/components/Select.cjs +5 -0
- package/dist/components/Select.js +4 -4
- package/dist/components/SideMenuGroup.cjs +5 -0
- package/dist/components/SideMenuGroup.js +3 -3
- package/dist/components/SideMenuItem.cjs +5 -0
- package/dist/components/SideMenuItem.js +3 -3
- package/dist/components/Stack.cjs +5 -0
- package/dist/components/Stack.js +2 -2
- package/dist/components/StatusPill.cjs +5 -0
- package/dist/components/StatusPill.js +2 -2
- package/dist/components/Stepper.cjs +5 -0
- package/dist/components/Stepper.js +4 -4
- package/dist/components/Subheader.cjs +5 -0
- package/dist/components/Subheader.js +2 -2
- package/dist/components/Swatch.cjs +5 -0
- package/dist/components/Swatch.js +5 -5
- package/dist/components/Textarea.cjs +5 -0
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Time.cjs +5 -0
- package/dist/components/Time.js +4 -4
- package/dist/components/Toast.cjs +5 -0
- package/dist/components/Toast.js +4 -4
- package/dist/components/Tooltip.cjs +5 -0
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/TopBar.cjs +5 -0
- package/dist/components/TopBar.js +1 -1
- package/dist/components/Upload.cjs +5 -0
- package/dist/components/Upload.js +4 -4
- package/dist/components/index.cjs +5 -0
- package/dist/components/index.css +12 -13
- package/dist/components/index.js +15 -15
- package/dist/index.css +12 -13
- package/package.json +1 -1
- package/src/classNames.ts +9 -3
- package/src/components/Breadcrumbs.tsx +13 -6
- package/src/components/Link.tsx +1 -1
- package/src/components/Stack.tsx +1 -1
- package/src/index.css +4 -2
package/dist/index.css
CHANGED
|
@@ -146,6 +146,8 @@
|
|
|
146
146
|
--text-caption-desktop-compact: 12px;
|
|
147
147
|
--leading-caption-desktop: 1.333;
|
|
148
148
|
--leading-caption-mobile: 1.333;
|
|
149
|
+
--spacing-mobile-breadcrumb: 24px;
|
|
150
|
+
--spacing-desktop-breadcrumb: 24px;
|
|
149
151
|
--spacing-desktop-container-gap: 16px;
|
|
150
152
|
--spacing-mobile-container-gap: 16px;
|
|
151
153
|
--spacing-desktop-compact-container-gap: 16px;
|
|
@@ -1887,9 +1889,6 @@
|
|
|
1887
1889
|
.py-\[15px\] {
|
|
1888
1890
|
padding-block: 15px;
|
|
1889
1891
|
}
|
|
1890
|
-
.py-\[calc\(var\(--spacing-mobile-component-padding\)_\+_3px\)\] {
|
|
1891
|
-
padding-block: calc(var(--spacing-mobile-component-padding) + 3px);
|
|
1892
|
-
}
|
|
1893
1892
|
.py-mobile-component-gap {
|
|
1894
1893
|
padding-block: var(--spacing-mobile-component-gap);
|
|
1895
1894
|
}
|
|
@@ -2030,6 +2029,10 @@
|
|
|
2030
2029
|
--tw-leading: var(--leading-link-mobile);
|
|
2031
2030
|
line-height: var(--leading-link-mobile);
|
|
2032
2031
|
}
|
|
2032
|
+
.leading-mobile-breadcrumb {
|
|
2033
|
+
--tw-leading: var(--spacing-mobile-breadcrumb);
|
|
2034
|
+
line-height: var(--spacing-mobile-breadcrumb);
|
|
2035
|
+
}
|
|
2033
2036
|
.leading-paragraph-mobile {
|
|
2034
2037
|
--tw-leading: var(--leading-paragraph-mobile);
|
|
2035
2038
|
line-height: var(--leading-paragraph-mobile);
|
|
@@ -3692,11 +3695,6 @@
|
|
|
3692
3695
|
padding-inline: var(--spacing-desktop-compact-layout-padding);
|
|
3693
3696
|
}
|
|
3694
3697
|
}
|
|
3695
|
-
.compact\:py-\[calc\(var\(--spacing-desktop-compact-component-padding\)_\+_3px\)\] {
|
|
3696
|
-
&:where([data-compact]) {
|
|
3697
|
-
padding-block: calc(var(--spacing-desktop-compact-component-padding) + 3px);
|
|
3698
|
-
}
|
|
3699
|
-
}
|
|
3700
3698
|
.compact\:py-desktop-compact-component-gap {
|
|
3701
3699
|
&:where([data-compact]) {
|
|
3702
3700
|
padding-block: var(--spacing-desktop-compact-component-gap);
|
|
@@ -4008,11 +4006,6 @@
|
|
|
4008
4006
|
padding-inline: var(--spacing-desktop-layout-padding);
|
|
4009
4007
|
}
|
|
4010
4008
|
}
|
|
4011
|
-
.desktop\:py-\[calc\(var\(--spacing-desktop-component-padding\)_\+_3px\)\] {
|
|
4012
|
-
@container root (width >= 48rem) {
|
|
4013
|
-
padding-block: calc(var(--spacing-desktop-component-padding) + 3px);
|
|
4014
|
-
}
|
|
4015
|
-
}
|
|
4016
4009
|
.desktop\:py-desktop-component-gap {
|
|
4017
4010
|
@container root (width >= 48rem) {
|
|
4018
4011
|
padding-block: var(--spacing-desktop-component-gap);
|
|
@@ -4114,6 +4107,12 @@
|
|
|
4114
4107
|
line-height: var(--leading-caption-desktop);
|
|
4115
4108
|
}
|
|
4116
4109
|
}
|
|
4110
|
+
.desktop\:leading-desktop-breadcrumb {
|
|
4111
|
+
@container root (width >= 48rem) {
|
|
4112
|
+
--tw-leading: var(--spacing-desktop-breadcrumb);
|
|
4113
|
+
line-height: var(--spacing-desktop-breadcrumb);
|
|
4114
|
+
}
|
|
4115
|
+
}
|
|
4117
4116
|
.desktop\:leading-display-1-desktop {
|
|
4118
4117
|
@container root (width >= 48rem) {
|
|
4119
4118
|
--tw-leading: var(--leading-display-1-desktop);
|
package/package.json
CHANGED
package/src/classNames.ts
CHANGED
|
@@ -65,6 +65,12 @@ export const typography = {
|
|
|
65
65
|
"text-caption-mobile desktop:text-caption-desktop compact:text-caption-desktop-compact",
|
|
66
66
|
"leading-caption-mobile desktop:leading-caption-desktop",
|
|
67
67
|
),
|
|
68
|
+
|
|
69
|
+
breadcrumb: clsx(
|
|
70
|
+
"font-sans font-normal",
|
|
71
|
+
"text-paragraph-mobile desktop:text-paragraph-desktop compact:text-paragraph-desktop-compact",
|
|
72
|
+
"leading-mobile-breadcrumb desktop:leading-desktop-breadcrumb",
|
|
73
|
+
),
|
|
68
74
|
};
|
|
69
75
|
|
|
70
76
|
export const baseTransition = clsx(
|
|
@@ -96,8 +102,8 @@ export const componentPaddingBottom = clsx(
|
|
|
96
102
|
);
|
|
97
103
|
|
|
98
104
|
export const componentPaddingX = clsx(
|
|
99
|
-
"px-mobile-component-padding desktop:px-desktop-component-padding compact:px-desktop-compact-component-padding"
|
|
100
|
-
)
|
|
105
|
+
"px-mobile-component-padding desktop:px-desktop-component-padding compact:px-desktop-compact-component-padding",
|
|
106
|
+
);
|
|
101
107
|
|
|
102
108
|
export const componentPaddingY = clsx(
|
|
103
109
|
"py-mobile-component-padding desktop:py-desktop-component-padding compact:py-desktop-compact-component-padding",
|
|
@@ -120,7 +126,7 @@ export const componentPaddingMinus2pxBorder = clsx(
|
|
|
120
126
|
);
|
|
121
127
|
|
|
122
128
|
export const layoutPaddding = clsx(
|
|
123
|
-
"p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding"
|
|
129
|
+
"p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding",
|
|
124
130
|
);
|
|
125
131
|
|
|
126
132
|
export const layoutPaddingBottom = clsx(
|
|
@@ -26,13 +26,13 @@ export const Breadcrumb = ({
|
|
|
26
26
|
children,
|
|
27
27
|
onClick,
|
|
28
28
|
id,
|
|
29
|
-
testid
|
|
29
|
+
testid,
|
|
30
30
|
}: BreadcrumbProps) => {
|
|
31
31
|
const linkPadding = clsx(
|
|
32
32
|
"!text-text-link-normal whitespace-nowrap",
|
|
33
|
-
"py-
|
|
34
|
-
"desktop:py-
|
|
35
|
-
"compact:py-
|
|
33
|
+
"py-mobile-component-padding",
|
|
34
|
+
"desktop:py-desktop-component-padding",
|
|
35
|
+
"compact:py-desktop-compact-component-padding",
|
|
36
36
|
);
|
|
37
37
|
|
|
38
38
|
return (
|
|
@@ -42,6 +42,7 @@ export const Breadcrumb = ({
|
|
|
42
42
|
data-testid={testid ? `${testid}-link` : undefined}
|
|
43
43
|
className={linkPadding}
|
|
44
44
|
href={href}
|
|
45
|
+
typographyStyle="breadcrumb"
|
|
45
46
|
onClick={onClick}
|
|
46
47
|
>
|
|
47
48
|
{children}
|
|
@@ -56,7 +57,12 @@ const Chevron = () => (
|
|
|
56
57
|
</li>
|
|
57
58
|
);
|
|
58
59
|
|
|
59
|
-
export const Breadcrumbs = ({
|
|
60
|
+
export const Breadcrumbs = ({
|
|
61
|
+
asCardStyle,
|
|
62
|
+
id,
|
|
63
|
+
testid,
|
|
64
|
+
crumbs,
|
|
65
|
+
}: BreadcrumbsProps) => {
|
|
60
66
|
const scrollableElement = React.useRef<HTMLElement | null>(null);
|
|
61
67
|
const [isOverflow, setIsOverflow] = useState(false);
|
|
62
68
|
|
|
@@ -88,7 +94,8 @@ export const Breadcrumbs = ({ asCardStyle, id, testid, crumbs }: BreadcrumbsProp
|
|
|
88
94
|
{
|
|
89
95
|
"bg-white rounded-base shadow-4 px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding":
|
|
90
96
|
asCardStyle,
|
|
91
|
-
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding":
|
|
97
|
+
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding":
|
|
98
|
+
!asCardStyle,
|
|
92
99
|
},
|
|
93
100
|
)}
|
|
94
101
|
aria-label="Breadcrumb"
|
package/src/components/Link.tsx
CHANGED
|
@@ -8,7 +8,7 @@ export type LinkProps = AsProps &
|
|
|
8
8
|
TextAttributes &
|
|
9
9
|
TypographyProps & {
|
|
10
10
|
variant?: "primary" | "secondary" | "critical";
|
|
11
|
-
typographyStyle?: "paragraph" | "caption";
|
|
11
|
+
typographyStyle?: "paragraph" | "caption" | "breadcrumb";
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
paddedY?: boolean;
|
|
14
14
|
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
package/src/components/Stack.tsx
CHANGED
package/src/index.css
CHANGED
|
@@ -190,6 +190,9 @@
|
|
|
190
190
|
--leading-caption-mobile: 1.333;
|
|
191
191
|
|
|
192
192
|
/* ── Spacing ───────────────────────────── */
|
|
193
|
+
--spacing-mobile-breadcrumb: 24px;
|
|
194
|
+
--spacing-desktop-breadcrumb: 24px;
|
|
195
|
+
|
|
193
196
|
--spacing-desktop-container-gap: 16px;
|
|
194
197
|
--spacing-mobile-container-gap: 16px;
|
|
195
198
|
--spacing-desktop-compact-container-gap: 16px;
|
|
@@ -422,8 +425,7 @@
|
|
|
422
425
|
); /* Created for Main Navigation */
|
|
423
426
|
}
|
|
424
427
|
|
|
425
|
-
[data-theme="light"]{
|
|
426
|
-
|
|
428
|
+
[data-theme="light"] {
|
|
427
429
|
/** Color Token Aliases */
|
|
428
430
|
|
|
429
431
|
--color-text-primary-normal: var(--color-neutral-500);
|