@box/blueprint-web 7.3.1 → 7.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/lib-esm/index.css +47 -0
- package/lib-esm/index.d.ts +1 -0
- package/lib-esm/index.js +1 -0
- package/lib-esm/page-section/index.d.ts +7 -0
- package/lib-esm/page-section/index.js +14 -0
- package/lib-esm/page-section/page-section-container.d.ts +2 -0
- package/lib-esm/page-section/page-section-container.js +18 -0
- package/lib-esm/page-section/page-section-content.d.ts +2 -0
- package/lib-esm/page-section/page-section-content.js +18 -0
- package/lib-esm/page-section/page-section-divider.d.ts +2 -0
- package/lib-esm/page-section/page-section-divider.js +14 -0
- package/lib-esm/page-section/page-section-header.d.ts +2 -0
- package/lib-esm/page-section/page-section-header.js +18 -0
- package/lib-esm/page-section/page-section.d.ts +2 -0
- package/lib-esm/page-section/page-section.js +18 -0
- package/lib-esm/page-section/page-section.module.js +4 -0
- package/package.json +2 -2
package/lib-esm/index.css
CHANGED
|
@@ -3650,6 +3650,53 @@ table.bp_inline_table_module_inlineTable--b023b tr:not(:last-child) td{
|
|
|
3650
3650
|
.bp_navigation_menu_module_navigationMenuSeparator--79f80{
|
|
3651
3651
|
margin-block:var(--space-2);
|
|
3652
3652
|
}
|
|
3653
|
+
|
|
3654
|
+
.bp_page_section_module_pageSectionContainer--30452{
|
|
3655
|
+
display:flex;
|
|
3656
|
+
flex-direction:column;
|
|
3657
|
+
gap:var(--space-8);
|
|
3658
|
+
}
|
|
3659
|
+
@media (width > 767px){
|
|
3660
|
+
.bp_page_section_module_pageSectionContainer--30452{
|
|
3661
|
+
gap:var(--space-12);
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
|
|
3665
|
+
.bp_page_section_module_pageSection--30452{
|
|
3666
|
+
display:flex;
|
|
3667
|
+
flex-direction:column;
|
|
3668
|
+
gap:var(--space-7);
|
|
3669
|
+
}
|
|
3670
|
+
@media (width > 767px){
|
|
3671
|
+
.bp_page_section_module_pageSection--30452{
|
|
3672
|
+
flex-direction:row;
|
|
3673
|
+
gap:var(--space-20);
|
|
3674
|
+
}
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
.bp_page_section_module_pageSectionHeader--30452{
|
|
3678
|
+
display:flex;
|
|
3679
|
+
flex-direction:column;
|
|
3680
|
+
gap:var(--space-2);
|
|
3681
|
+
}
|
|
3682
|
+
@media (width > 767px){
|
|
3683
|
+
.bp_page_section_module_pageSectionHeader--30452{
|
|
3684
|
+
width:200px;
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3687
|
+
@media (width > 1023px){
|
|
3688
|
+
.bp_page_section_module_pageSectionHeader--30452{
|
|
3689
|
+
width:242px;
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3693
|
+
.bp_page_section_module_pageSectionContent--30452{
|
|
3694
|
+
flex-grow:1;
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
.bp_page_section_module_pageSectionDivider--30452{
|
|
3698
|
+
width:100%;
|
|
3699
|
+
}
|
|
3653
3700
|
.bp_chip_module_chip--34343{
|
|
3654
3701
|
align-items:center;
|
|
3655
3702
|
border:none;
|
package/lib-esm/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from './list-item/list-item';
|
|
|
25
25
|
export * from './loading-indicator/loading-indicator';
|
|
26
26
|
export * from './modal';
|
|
27
27
|
export * from './navigation-menu';
|
|
28
|
+
export * from './page-section';
|
|
28
29
|
export * from './primitives/calendar';
|
|
29
30
|
export * from './primitives/chips/filter-chip';
|
|
30
31
|
export * from './primitives/context-menu';
|
package/lib-esm/index.js
CHANGED
|
@@ -27,6 +27,7 @@ export { ActionCell, Cell, Column, DropIndicator, Row, Table, TableBody, TableHe
|
|
|
27
27
|
export { LoadingIndicator } from './loading-indicator/loading-indicator.js';
|
|
28
28
|
export { Modal } from './modal/modal.js';
|
|
29
29
|
export { NavigationMenu } from './navigation-menu/index.js';
|
|
30
|
+
export { PageSection } from './page-section/index.js';
|
|
30
31
|
export { Calendar } from './primitives/calendar/calendar.js';
|
|
31
32
|
export { CalendarDate, CalendarDateTime, DateFormatter, Time, ZonedDateTime } from './primitives/calendar/classes.util.js';
|
|
32
33
|
export { fromAbsolute } from './primitives/calendar/from-absolute.util.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const PageSection: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
3
|
+
Container: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
Content: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
Header: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
Divider: import("react").ForwardRefExoticComponent<import("react").RefAttributes<HTMLHRElement>>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PageSection as PageSection$1 } from './page-section.js';
|
|
2
|
+
import { PageSectionContainer } from './page-section-container.js';
|
|
3
|
+
import { PageSectionContent } from './page-section-content.js';
|
|
4
|
+
import { PageSectionDivider } from './page-section-divider.js';
|
|
5
|
+
import { PageSectionHeader } from './page-section-header.js';
|
|
6
|
+
|
|
7
|
+
const PageSection = Object.assign(PageSection$1, {
|
|
8
|
+
Container: PageSectionContainer,
|
|
9
|
+
Content: PageSectionContent,
|
|
10
|
+
Header: PageSectionHeader,
|
|
11
|
+
Divider: PageSectionDivider
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export { PageSection };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import styles from './page-section.module.js';
|
|
5
|
+
|
|
6
|
+
const PageSectionContainer = /*#__PURE__*/forwardRef(({
|
|
7
|
+
className,
|
|
8
|
+
...rest
|
|
9
|
+
}, forwardedRef) => {
|
|
10
|
+
return jsx("div", {
|
|
11
|
+
...rest,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
className: clsx(styles.pageSectionContainer, className)
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
PageSectionContainer.displayName = 'PageSection.Container';
|
|
17
|
+
|
|
18
|
+
export { PageSectionContainer };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import styles from './page-section.module.js';
|
|
5
|
+
|
|
6
|
+
const PageSectionContent = /*#__PURE__*/forwardRef(({
|
|
7
|
+
className,
|
|
8
|
+
...rest
|
|
9
|
+
}, forwardedRef) => {
|
|
10
|
+
return jsx("div", {
|
|
11
|
+
...rest,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
className: clsx(styles.pageSectionContent, className)
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
PageSectionContent.displayName = 'PageSection.Content';
|
|
17
|
+
|
|
18
|
+
export { PageSectionContent };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Divider } from '../divider/divider.js';
|
|
4
|
+
import styles from './page-section.module.js';
|
|
5
|
+
|
|
6
|
+
const PageSectionDivider = /*#__PURE__*/forwardRef((_, forwardedRef) => {
|
|
7
|
+
return jsx(Divider, {
|
|
8
|
+
ref: forwardedRef,
|
|
9
|
+
className: styles.pageSectionDivider
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
PageSectionDivider.displayName = 'PageSection.Divider';
|
|
13
|
+
|
|
14
|
+
export { PageSectionDivider };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import styles from './page-section.module.js';
|
|
5
|
+
|
|
6
|
+
const PageSectionHeader = /*#__PURE__*/forwardRef(({
|
|
7
|
+
className,
|
|
8
|
+
...rest
|
|
9
|
+
}, forwardedRef) => {
|
|
10
|
+
return jsx("div", {
|
|
11
|
+
...rest,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
className: clsx(styles.pageSectionHeader, className)
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
PageSectionHeader.displayName = 'PageSection.Header';
|
|
17
|
+
|
|
18
|
+
export { PageSectionHeader };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import styles from './page-section.module.js';
|
|
5
|
+
|
|
6
|
+
const PageSection = /*#__PURE__*/forwardRef(({
|
|
7
|
+
className,
|
|
8
|
+
...rest
|
|
9
|
+
}, forwardedRef) => {
|
|
10
|
+
return jsx("div", {
|
|
11
|
+
...rest,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
className: clsx(styles.pageSection, className)
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
PageSection.displayName = 'PageSection';
|
|
17
|
+
|
|
18
|
+
export { PageSection };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import '../index.css';
|
|
2
|
+
var styles = {"pageSectionContainer":"bp_page_section_module_pageSectionContainer--30452","pageSection":"bp_page_section_module_pageSection--30452","pageSectionHeader":"bp_page_section_module_pageSectionHeader--30452","pageSectionContent":"bp_page_section_module_pageSectionContent--30452","pageSectionDivider":"bp_page_section_module_pageSectionDivider--30452"};
|
|
3
|
+
|
|
4
|
+
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@box/storybook-utils": "^0.2.0",
|
|
59
59
|
"react-stately": "^3.31.1"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "b47b6c859b0acae07254d87a87f916a26656367d",
|
|
62
62
|
"module": "lib-esm/index.js",
|
|
63
63
|
"main": "lib-esm/index.js",
|
|
64
64
|
"exports": {
|