braid-design-system 32.8.2 → 32.9.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.
@@ -36,6 +36,7 @@ const styles_lib_components_MenuItemCheckbox_MenuItemCheckbox_css_cjs = require(
36
36
  const styles_lib_components_OverflowMenu_OverflowMenu_css_cjs = require("./styles/lib/components/OverflowMenu/OverflowMenu.css.cjs");
37
37
  const isMobile = require("is-mobile");
38
38
  const styles_lib_components_MonthPicker_MonthPicker_css_cjs = require("./styles/lib/components/MonthPicker/MonthPicker.css.cjs");
39
+ const styles_lib_components_Page_Page_css_cjs = require("./styles/lib/components/Page/Page.css.cjs");
39
40
  const styles_lib_components_Pagination_Pagination_css_cjs = require("./styles/lib/components/Pagination/Pagination.css.cjs");
40
41
  const styles_lib_components_Rating_Rating_css_cjs = require("./styles/lib/components/Rating/Rating.css.cjs");
41
42
  const styles_lib_components_Stepper_Stepper_css_cjs = require("./styles/lib/components/Stepper/Stepper.css.cjs");
@@ -5993,6 +5994,40 @@ const Notice = ({
5993
5994
  }
5994
5995
  );
5995
5996
  };
5997
+ const PageContext = React.createContext(false);
5998
+ const Page$1 = ({
5999
+ children,
6000
+ footer,
6001
+ footerPosition,
6002
+ data,
6003
+ ...restProps
6004
+ }) => {
6005
+ assert__default.default(
6006
+ !React.useContext(PageContext),
6007
+ "Page components should not be nested within each other"
6008
+ );
6009
+ return /* @__PURE__ */ jsxRuntime.jsx(PageContext.Provider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
6010
+ ToastContext.Box,
6011
+ {
6012
+ display: "flex",
6013
+ flexDirection: "column",
6014
+ className: styles_lib_components_Page_Page_css_cjs.fullHeight,
6015
+ ...ToastContext.buildDataAttributes({ data, validateRestProps: restProps }),
6016
+ children: [
6017
+ /* @__PURE__ */ jsxRuntime.jsx(
6018
+ ToastContext.Box,
6019
+ {
6020
+ flexGrow: footerPosition !== "belowFold" ? 1 : void 0,
6021
+ className: footerPosition === "belowFold" ? styles_lib_components_Page_Page_css_cjs.fullHeight : void 0,
6022
+ paddingBottom: "xxxlarge",
6023
+ children
6024
+ }
6025
+ ),
6026
+ footer
6027
+ ]
6028
+ }
6029
+ ) });
6030
+ };
5996
6031
  const paginate = ({
5997
6032
  page,
5998
6033
  total,
@@ -7616,7 +7651,7 @@ const TabPanel = ({
7616
7651
  {
7617
7652
  zIndex: 1,
7618
7653
  boxShadow: "outlineFocus",
7619
- borderRadius: "standard",
7654
+ borderRadius: "large",
7620
7655
  className: styles_lib_components_Tabs_Tabs_css_cjs.tabPanelFocusRing,
7621
7656
  onlyVisibleForKeyboardNavigation: true
7622
7657
  }
@@ -8339,6 +8374,7 @@ exports.MenuRenderer = MenuRenderer;
8339
8374
  exports.MonthPicker = MonthPicker;
8340
8375
  exports.Notice = Notice;
8341
8376
  exports.OverflowMenu = OverflowMenu;
8377
+ exports.Page = Page$1;
8342
8378
  exports.PageBlock = PageBlock;
8343
8379
  exports.Pagination = Pagination;
8344
8380
  exports.PasswordField = PasswordField;
@@ -35,6 +35,7 @@ import { checkboxSize } from "./styles/lib/components/MenuItemCheckbox/MenuItemC
35
35
  import { triggerOffset } from "./styles/lib/components/OverflowMenu/OverflowMenu.css.mjs";
36
36
  import { isMobile } from "is-mobile";
37
37
  import { nativeInput } from "./styles/lib/components/MonthPicker/MonthPicker.css.mjs";
38
+ import { fullHeight } from "./styles/lib/components/Page/Page.css.mjs";
38
39
  import { hover, background, current, lightModeCurrentKeyline, darkModeCurrentKeyline } from "./styles/lib/components/Pagination/Pagination.css.mjs";
39
40
  import { starSpacing, textSpacing, lightModeStarColor, darkModeStarColor } from "./styles/lib/components/Rating/Rating.css.mjs";
40
41
  import { step, tone as tone$2, progressTrack, progressTrackCentered, progressLine, progressUnfilled, indicatorContainer, focusOverlay as focusOverlay$2, indicator, highlight, complete, active, inner, tick, stretch, stretchLastAboveTablet } from "./styles/lib/components/Stepper/Stepper.css.mjs";
@@ -5985,6 +5986,40 @@ const Notice = ({
5985
5986
  }
5986
5987
  );
5987
5988
  };
5989
+ const PageContext = createContext(false);
5990
+ const Page$1 = ({
5991
+ children: children2,
5992
+ footer,
5993
+ footerPosition,
5994
+ data,
5995
+ ...restProps
5996
+ }) => {
5997
+ assert(
5998
+ !useContext(PageContext),
5999
+ "Page components should not be nested within each other"
6000
+ );
6001
+ return /* @__PURE__ */ jsx(PageContext.Provider, { value: true, children: /* @__PURE__ */ jsxs(
6002
+ Box,
6003
+ {
6004
+ display: "flex",
6005
+ flexDirection: "column",
6006
+ className: fullHeight,
6007
+ ...buildDataAttributes({ data, validateRestProps: restProps }),
6008
+ children: [
6009
+ /* @__PURE__ */ jsx(
6010
+ Box,
6011
+ {
6012
+ flexGrow: footerPosition !== "belowFold" ? 1 : void 0,
6013
+ className: footerPosition === "belowFold" ? fullHeight : void 0,
6014
+ paddingBottom: "xxxlarge",
6015
+ children: children2
6016
+ }
6017
+ ),
6018
+ footer
6019
+ ]
6020
+ }
6021
+ ) });
6022
+ };
5988
6023
  const paginate = ({
5989
6024
  page,
5990
6025
  total,
@@ -7608,7 +7643,7 @@ const TabPanel = ({
7608
7643
  {
7609
7644
  zIndex: 1,
7610
7645
  boxShadow: "outlineFocus",
7611
- borderRadius: "standard",
7646
+ borderRadius: "large",
7612
7647
  className: tabPanelFocusRing,
7613
7648
  onlyVisibleForKeyboardNavigation: true
7614
7649
  }
@@ -8332,6 +8367,7 @@ export {
8332
8367
  MonthPicker,
8333
8368
  Notice,
8334
8369
  OverflowMenu,
8370
+ Page$1 as Page,
8335
8371
  PageBlock,
8336
8372
  Pagination,
8337
8373
  PasswordField,
package/dist/index.cjs CHANGED
@@ -141,6 +141,7 @@ exports.MenuRenderer = index.MenuRenderer;
141
141
  exports.MonthPicker = index.MonthPicker;
142
142
  exports.Notice = index.Notice;
143
143
  exports.OverflowMenu = index.OverflowMenu;
144
+ exports.Page = index.Page;
144
145
  exports.PageBlock = index.PageBlock;
145
146
  exports.Pagination = index.Pagination;
146
147
  exports.PasswordField = index.PasswordField;
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { Accordion, AccordionItem, Actions, Alert, Autosuggest, Badge, Bleed, PublicBox as Box, BoxRenderer, BraidPortal, BraidProvider, Button, ButtonIcon, ButtonLink, Card, Checkbox, CheckboxStandalone, Column, Columns, ContentBlock, Dialog, Disclosure, Divider, Drawer, Dropdown, FieldLabel, FieldMessage, Heading, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline, Link, LinkComponent, List, Loader, MenuItem, MenuItemCheckbox, MenuItemDivider, MenuItemLink, MenuRenderer, MonthPicker, Notice, OverflowMenu, PageBlock, Pagination, PasswordField, Radio, RadioGroup, RadioItem, Rating, Secondary, Stack, Step, Stepper, Strong, Tab, TabPanel, TabPanels, Tabs, TabsProvider, Tag, Text, TextDropdown, TextField, TextLink, TextLinkButton, Textarea, ThemeNameConsumer, Tiles, ToastProvider, Toggle, TooltipRenderer, filterSuggestions, makeLinkComponent, useBreakpoint, useColor, useResponsiveValue, useSpace, useThemeName, useToast } from './reset.js';
1
+ export { Accordion, AccordionItem, Actions, Alert, Autosuggest, Badge, Bleed, PublicBox as Box, BoxRenderer, BraidPortal, BraidProvider, Button, ButtonIcon, ButtonLink, Card, Checkbox, CheckboxStandalone, Column, Columns, ContentBlock, Dialog, Disclosure, Divider, Drawer, Dropdown, FieldLabel, FieldMessage, Heading, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline, Link, LinkComponent, List, Loader, MenuItem, MenuItemCheckbox, MenuItemDivider, MenuItemLink, MenuRenderer, MonthPicker, Notice, OverflowMenu, Page, PageBlock, Pagination, PasswordField, Radio, RadioGroup, RadioItem, Rating, Secondary, Stack, Step, Stepper, Strong, Tab, TabPanel, TabPanels, Tabs, TabsProvider, Tag, Text, TextDropdown, TextField, TextLink, TextLinkButton, Textarea, ThemeNameConsumer, Tiles, ToastProvider, Toggle, TooltipRenderer, filterSuggestions, makeLinkComponent, useBreakpoint, useColor, useResponsiveValue, useSpace, useThemeName, useToast } from './reset.js';
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BraidProvider, makeLinkComponent } from "./side-effects/lib/components/BraidProvider/BraidProvider.mjs";
2
2
  import { Bleed, PublicBox, BraidPortal, Button, ButtonIcon, Column, Columns, ContentBlock, Divider, Hidden, IconClear, IconCritical, IconPositive, IconRenderer, Inline, Stack, Text, TextLink, TextLinkButton, ToastProvider, TooltipRenderer, useResponsiveValue, useSpace, useThemeName, useToast } from "./ToastContext.chunk.mjs";
3
- import { Accordion, AccordionItem, Actions, Alert, Autosuggest, Badge, BoxRenderer, ButtonLink, Card, Checkbox, CheckboxStandalone, Dialog, Disclosure, Drawer, Dropdown, FieldLabel, FieldMessage, Heading, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconCompany, IconCompose, IconCopy, IconCreditCard, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Link, List, Loader, MenuItem, MenuItemCheckbox, MenuItemDivider, MenuItemLink, MenuRenderer, MonthPicker, Notice, OverflowMenu, PageBlock, Pagination, PasswordField, Radio, RadioGroup, RadioItem, Rating, Secondary, Step, Stepper, Strong, Tab, TabPanel, TabPanels, Tabs, TabsProvider, Tag, TextDropdown, TextField, Textarea, ThemeNameConsumer, Tiles, Toggle, filterSuggestions, useBreakpoint, useColor } from "./index.chunk.mjs";
3
+ import { Accordion, AccordionItem, Actions, Alert, Autosuggest, Badge, BoxRenderer, ButtonLink, Card, Checkbox, CheckboxStandalone, Dialog, Disclosure, Drawer, Dropdown, FieldLabel, FieldMessage, Heading, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconCompany, IconCompose, IconCopy, IconCreditCard, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Link, List, Loader, MenuItem, MenuItemCheckbox, MenuItemDivider, MenuItemLink, MenuRenderer, MonthPicker, Notice, OverflowMenu, Page, PageBlock, Pagination, PasswordField, Radio, RadioGroup, RadioItem, Rating, Secondary, Step, Stepper, Strong, Tab, TabPanel, TabPanels, Tabs, TabsProvider, Tag, TextDropdown, TextField, Textarea, ThemeNameConsumer, Tiles, Toggle, filterSuggestions, useBreakpoint, useColor } from "./index.chunk.mjs";
4
4
  export {
5
5
  Accordion,
6
6
  AccordionItem,
@@ -129,6 +129,7 @@ export {
129
129
  MonthPicker,
130
130
  Notice,
131
131
  OverflowMenu,
132
+ Page,
132
133
  PageBlock,
133
134
  Pagination,
134
135
  PasswordField,
@@ -987,6 +987,7 @@ exports.IconZoomOut = index.IconZoomOut;
987
987
  exports.Loader = index.Loader;
988
988
  exports.MenuItemDivider = index.MenuItemDivider;
989
989
  exports.MenuRenderer = index.MenuRenderer;
990
+ exports.Page = index.Page;
990
991
  exports.PageBlock = index.PageBlock;
991
992
  exports.RadioItem = index.RadioItem;
992
993
  exports.Secondary = index.Secondary;
@@ -1 +1 @@
1
- export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, Actions, Alert$1 as Alert, Autosuggest$1 as Autosuggest, Badge$1 as Badge, Bleed$1 as Bleed, Box, BoxRenderer, BraidPortal, BraidProvider, Button$1 as Button, ButtonIcon$1 as ButtonIcon, ButtonLink$1 as ButtonLink, Card$1 as Card, Checkbox$1 as Checkbox, CheckboxStandalone$1 as CheckboxStandalone, Column, Columns$1 as Columns, ContentBlock, Dialog$1 as Dialog, Disclosure$1 as Disclosure, Divider, Drawer$1 as Drawer, Dropdown$1 as Dropdown, FieldLabel$1 as FieldLabel, FieldMessage$1 as FieldMessage, Heading$1 as Heading, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Link$1 as Link, LinkComponent, List$1 as List, Loader, MenuItem$1 as MenuItem, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuRenderer, MonthPicker$1 as MonthPicker, Notice$1 as Notice, OverflowMenu$1 as OverflowMenu, PageBlock, Pagination$1 as Pagination, PasswordField$1 as PasswordField, Placeholder, Radio$1 as Radio, RadioGroup$1 as RadioGroup, RadioItem, Rating$1 as Rating, Secondary, Stack$1 as Stack, Step, Stepper, Strong, Tab$1 as Tab, TabPanel, TabPanels, Tabs$1 as Tabs, TabsProvider$1 as TabsProvider, Tag$1 as Tag, Text, TextDropdown$1 as TextDropdown, TextField$1 as TextField, TextLink, TextLinkButton, Textarea$1 as Textarea, ThemeNameConsumer, Tiles$1 as Tiles, ToastProvider, Toggle$1 as Toggle, TooltipRenderer$1 as TooltipRenderer, filterSuggestions, makeLinkComponent, useBreakpoint, useColor, useResponsiveValue, useSpace, useThemeName, useToast } from '../reset.js';
1
+ export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, Actions, Alert$1 as Alert, Autosuggest$1 as Autosuggest, Badge$1 as Badge, Bleed$1 as Bleed, Box, BoxRenderer, BraidPortal, BraidProvider, Button$1 as Button, ButtonIcon$1 as ButtonIcon, ButtonLink$1 as ButtonLink, Card$1 as Card, Checkbox$1 as Checkbox, CheckboxStandalone$1 as CheckboxStandalone, Column, Columns$1 as Columns, ContentBlock, Dialog$1 as Dialog, Disclosure$1 as Disclosure, Divider, Drawer$1 as Drawer, Dropdown$1 as Dropdown, FieldLabel$1 as FieldLabel, FieldMessage$1 as FieldMessage, Heading$1 as Heading, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Link$1 as Link, LinkComponent, List$1 as List, Loader, MenuItem$1 as MenuItem, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuRenderer, MonthPicker$1 as MonthPicker, Notice$1 as Notice, OverflowMenu$1 as OverflowMenu, Page, PageBlock, Pagination$1 as Pagination, PasswordField$1 as PasswordField, Placeholder, Radio$1 as Radio, RadioGroup$1 as RadioGroup, RadioItem, Rating$1 as Rating, Secondary, Stack$1 as Stack, Step, Stepper, Strong, Tab$1 as Tab, TabPanel, TabPanels, Tabs$1 as Tabs, TabsProvider$1 as TabsProvider, Tag$1 as Tag, Text, TextDropdown$1 as TextDropdown, TextField$1 as TextField, TextLink, TextLinkButton, Textarea$1 as Textarea, ThemeNameConsumer, Tiles$1 as Tiles, ToastProvider, Toggle$1 as Toggle, TooltipRenderer$1 as TooltipRenderer, filterSuggestions, makeLinkComponent, useBreakpoint, useColor, useResponsiveValue, useSpace, useThemeName, useToast } from '../reset.js';
@@ -7,7 +7,7 @@ import "../styles/lib/themes/seekBusiness/seekBusinessTheme.css.mjs";
7
7
  import { wireframe } from "../styles/lib/themes/wireframe/wireframeTheme.css.mjs";
8
8
  import "../styles/lib/themes/docs/docsTheme.css.mjs";
9
9
  import { Accordion as Accordion$1, validSpaceValues as validSpaceValues$1, AccordionItem as AccordionItem$1, Alert as Alert$1, Autosuggest as Autosuggest$1, Badge as Badge$1, ButtonLink as ButtonLink$1, Card as Card$1, validCardComponents, Checkbox as Checkbox$1, CheckboxStandalone as CheckboxStandalone$1, AllowCloseContext, Dialog as Dialog$1, Disclosure as Disclosure$1, Drawer as Drawer$1, Dropdown as Dropdown$1, FieldLabel as FieldLabel$1, FieldMessage as FieldMessage$1, tones, Heading as Heading$1, Link as Link$1, List as List$1, MonthPicker as MonthPicker$1, MenuItem as MenuItem$1, MenuItemLink as MenuItemLink$1, MenuItemCheckbox as MenuItemCheckbox$1, Notice as Notice$1, OverflowMenu as OverflowMenu$1, Pagination as Pagination$1, defaultPageLimit, PasswordField as PasswordField$1, Radio as Radio$1, RadioGroup as RadioGroup$1, Rating as Rating$1, TabsProvider as TabsProvider$1, Tabs as Tabs$1, Tab as Tab$1, Tag as Tag$1, Textarea as Textarea$1, TextDropdown as TextDropdown$1, parseSimpleToComplexOption, TextField as TextField$1, Tiles as Tiles$1, Toggle as Toggle$1 } from "../index.chunk.mjs";
10
- import { Actions, BoxRenderer, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconCompany, IconCompose, IconCopy, IconCreditCard, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Loader, MenuItemDivider, MenuRenderer, PageBlock, RadioItem, Secondary, Step, Stepper, Strong, TabPanel, TabPanels, ThemeNameConsumer, filterSuggestions, useBreakpoint, useColor } from "../index.chunk.mjs";
10
+ import { Actions, BoxRenderer, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconCompany, IconCompose, IconCopy, IconCreditCard, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Loader, MenuItemDivider, MenuRenderer, Page, PageBlock, RadioItem, Secondary, Step, Stepper, Strong, TabPanel, TabPanels, ThemeNameConsumer, filterSuggestions, useBreakpoint, useColor } from "../index.chunk.mjs";
11
11
  import { useFallbackState } from "../playroomState.chunk.mjs";
12
12
  import { useRef, forwardRef, useState, useEffect } from "react";
13
13
  import { v4 } from "uuid";
@@ -1026,6 +1026,7 @@ export {
1026
1026
  MonthPicker,
1027
1027
  Notice,
1028
1028
  OverflowMenu,
1029
+ Page,
1029
1030
  PageBlock,
1030
1031
  Pagination,
1031
1032
  PasswordField,
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const snippets$J = [{
2
+ const snippets$K = [{
3
3
  name: "Large",
4
4
  code: '<Accordion>\n <AccordionItem label="Item 1">\n <Placeholder height={100} />\n </AccordionItem>\n <AccordionItem label="Item 2">\n <Placeholder height={100} />\n </AccordionItem>\n <AccordionItem label="Item 3">\n <Placeholder height={100} />\n </AccordionItem>\n </Accordion>'
5
5
  }, {
@@ -21,7 +21,7 @@ const snippets$J = [{
21
21
  name: "Standalone item with a badge",
22
22
  code: '<AccordionItem label="Label" badge={<Badge tone="promote" weight="strong">\n Badge\n </Badge>}>\n <Placeholder height={100} />\n </AccordionItem>'
23
23
  }];
24
- const snippets$I = [{
24
+ const snippets$J = [{
25
25
  name: "With multiple buttons",
26
26
  code: '<Actions>\n <Button>Submit</Button>\n <Button variant="transparent">Cancel</Button>\n </Actions>'
27
27
  }, {
@@ -34,7 +34,7 @@ const snippets$I = [{
34
34
  name: "Small size",
35
35
  code: '<Actions size="small">\n <Button>Button 1</Button>\n <Button>Button 2</Button>\n <Button variant="transparent">Button 3</Button>\n </Actions>'
36
36
  }];
37
- const snippets$H = [{
37
+ const snippets$I = [{
38
38
  name: "Critical",
39
39
  code: '<Alert tone="critical">\n <Text>Critical Alert</Text>\n </Alert>'
40
40
  }, {
@@ -53,7 +53,7 @@ const snippets$H = [{
53
53
  name: "Dismissible alert",
54
54
  code: '<Alert onClose={() => {}} closeLabel="Close">\n <Text>Dismissible Alert</Text>\n </Alert>'
55
55
  }];
56
- const snippets$G = [{
56
+ const snippets$H = [{
57
57
  name: "Standard",
58
58
  code: `<Autosuggest id="fruit" label="Fruit" suggestions={[{
59
59
  text: 'Apples'
@@ -128,7 +128,7 @@ const snippets$G = [{
128
128
  text: 'Sydney'
129
129
  }]} />`
130
130
  }];
131
- const snippets$F = [{
131
+ const snippets$G = [{
132
132
  name: "Info",
133
133
  code: '<Badge tone="info">Badge</Badge>'
134
134
  }, {
@@ -168,7 +168,7 @@ const snippets$F = [{
168
168
  name: "Multiple",
169
169
  code: '<Inline space="small">\n <Badge tone="info">Badge</Badge>\n <Badge tone="positive">Badge</Badge>\n <Badge tone="promote">Badge</Badge>\n </Inline>'
170
170
  }];
171
- const snippets$E = [{
171
+ const snippets$F = [{
172
172
  name: "On all sides",
173
173
  code: '<Bleed space="gutter">\n <Placeholder height={80} />\n </Bleed>'
174
174
  }, {
@@ -190,7 +190,7 @@ const snippets$E = [{
190
190
  name: "To the right",
191
191
  code: '<Bleed right="gutter">\n <Placeholder height={80} />\n </Bleed>'
192
192
  }];
193
- const snippets$D = [{
193
+ const snippets$E = [{
194
194
  name: "Solid",
195
195
  code: "<Button>Button</Button>"
196
196
  }, {
@@ -251,7 +251,7 @@ const snippets$D = [{
251
251
  name: "Small Transparent",
252
252
  code: '<Button size="small" variant="transparent">\n Button\n </Button>'
253
253
  }];
254
- const snippets$C = [{
254
+ const snippets$D = [{
255
255
  name: "Soft",
256
256
  code: '<ButtonIcon variant="soft" icon={<IconBookmark />} label="Bookmark" id="buttonicon-soft" />'
257
257
  }, {
@@ -264,7 +264,7 @@ const snippets$C = [{
264
264
  name: "Secondary",
265
265
  code: '<ButtonIcon tone="secondary" icon={<IconClear />} label="Close" id="buttonicon-secondary" />'
266
266
  }];
267
- const snippets$B = [{
267
+ const snippets$C = [{
268
268
  name: "With Heading",
269
269
  code: '<Card>\n <Stack space="gutter">\n <Heading level="3">Heading</Heading>\n <Text>Text</Text>\n </Stack>\n </Card>'
270
270
  }, {
@@ -280,7 +280,7 @@ const snippets$B = [{
280
280
  name: "With Overflow Menu",
281
281
  code: '<Card>\n <Stack space="gutter">\n <Columns space="gutter">\n <Column>\n <Heading level="3">Heading</Heading>\n </Column>\n <Column width="content">\n <OverflowMenu label="Options">\n <MenuItem>Menu Item</MenuItem>\n </OverflowMenu>\n </Column>\n </Columns>\n <Text>Text</Text>\n </Stack>\n </Card>'
282
282
  }];
283
- const snippets$A = [{
283
+ const snippets$B = [{
284
284
  name: "Standard",
285
285
  code: '<Checkbox label="Label" />'
286
286
  }, {
@@ -299,7 +299,7 @@ const snippets$A = [{
299
299
  name: "With nested content",
300
300
  code: '<Checkbox label="Label">\n <Placeholder height={100} />\n </Checkbox>'
301
301
  }];
302
- const snippets$z = [{
302
+ const snippets$A = [{
303
303
  name: "2 Columns",
304
304
  code: '<Columns space="gutter">\n <Column>\n <Placeholder height={60} label="Column" />\n </Column>\n <Column>\n <Placeholder height={60} label="Column" />\n </Column>\n </Columns>'
305
305
  }, {
@@ -315,7 +315,7 @@ const snippets$z = [{
315
315
  name: "Main Content With Sidebar",
316
316
  code: '<Columns space="gutter" collapseBelow="tablet">\n <Column width="2/3">\n <Placeholder height={400} label="Main" />\n </Column>\n <Column>\n <Placeholder height={100} label="Sidebar" />\n </Column>\n </Columns>'
317
317
  }];
318
- const snippets$y = [{
318
+ const snippets$z = [{
319
319
  name: "Standard",
320
320
  code: "<ContentBlock>\n <Placeholder height={100} />\n </ContentBlock>"
321
321
  }, {
@@ -328,7 +328,7 @@ const snippets$y = [{
328
328
  name: "Large",
329
329
  code: '<ContentBlock width="large">\n <Placeholder height={100} />\n </ContentBlock>'
330
330
  }];
331
- const snippets$x = [{
331
+ const snippets$y = [{
332
332
  name: "Standard",
333
333
  code: '<Dialog title="Dialog Heading" open={true}>\n <Placeholder width={250} height={100} />\n </Dialog>'
334
334
  }, {
@@ -347,18 +347,18 @@ const snippets$x = [{
347
347
  name: "Large",
348
348
  code: '<Dialog title="Dialog Heading" width="large" open={true}>\n <Placeholder width="100%" height={100} />\n </Dialog>'
349
349
  }];
350
- const snippets$w = [{
350
+ const snippets$x = [{
351
351
  name: "Standard",
352
352
  code: '<Disclosure expandLabel="Show" collapseLabel="Hide">\n <Stack space="large">\n <Text>Content</Text>\n </Stack>\n </Disclosure>'
353
353
  }];
354
- const snippets$v = [{
354
+ const snippets$w = [{
355
355
  name: "Regular",
356
356
  code: "<Divider />"
357
357
  }, {
358
358
  name: "Strong",
359
359
  code: '<Divider weight="strong" />'
360
360
  }];
361
- const snippets$u = [{
361
+ const snippets$v = [{
362
362
  name: "Default",
363
363
  code: '<Drawer title="Drawer Heading" open={true}>\n <Placeholder width="100%" height={100} />\n </Drawer>'
364
364
  }, {
@@ -371,7 +371,7 @@ const snippets$u = [{
371
371
  name: "Large",
372
372
  code: '<Drawer title="Drawer Heading" width="large" open={true}>\n <Placeholder width="100%" height={100} />\n </Drawer>'
373
373
  }];
374
- const snippets$t = [{
374
+ const snippets$u = [{
375
375
  name: "Standard",
376
376
  code: '<Dropdown label="Label" placeholder="Please select">\n <option>Option 1</option>\n <option>Option 2</option>\n <option>Option 3</option>\n </Dropdown>'
377
377
  }, {
@@ -393,7 +393,7 @@ const snippets$t = [{
393
393
  name: "With a positive message",
394
394
  code: '<Dropdown label="Label" placeholder="Please select" tone="positive" message="Positive message">\n <option>Option 1</option>\n <option>Option 2</option>\n <option>Option 3</option>\n </Dropdown>'
395
395
  }];
396
- const snippets$s = [{
396
+ const snippets$t = [{
397
397
  name: "Standard",
398
398
  code: '<FieldLabel label="Label" />'
399
399
  }, {
@@ -403,7 +403,7 @@ const snippets$s = [{
403
403
  name: "Standard with tertiary label",
404
404
  code: '<FieldLabel label="Label" secondaryLabel="Optional" tertiaryLabel={<TextLink href="#">Help?</TextLink>} />'
405
405
  }];
406
- const snippets$r = [{
406
+ const snippets$s = [{
407
407
  name: "Standard",
408
408
  code: '<FieldMessage message="This is a message" />'
409
409
  }, {
@@ -416,7 +416,7 @@ const snippets$r = [{
416
416
  name: "Secondary message",
417
417
  code: '<FieldMessage message="This is a message" secondaryMessage={<Text size="small" tone="secondary">\n Secondary\n </Text>} />'
418
418
  }];
419
- const snippets$q = [{
419
+ const snippets$r = [{
420
420
  name: "Level 1",
421
421
  code: '<Heading level="1">Heading</Heading>'
422
422
  }, {
@@ -444,7 +444,7 @@ const snippets$q = [{
444
444
  name: "Level 4 (Weak)",
445
445
  code: '<Heading level="4" weight="weak">\n Heading\n </Heading>'
446
446
  }];
447
- const snippets$p = [{
447
+ const snippets$q = [{
448
448
  name: "Small space",
449
449
  code: '<Inline space="small">\n <Placeholder width={48} height={48} />\n <Placeholder width={48} height={48} />\n <Placeholder width={48} height={48} />\n </Inline>'
450
450
  }, {
@@ -467,7 +467,7 @@ const snippets$p = [{
467
467
  name: "Vertically centered",
468
468
  code: '<Inline space="small" alignY="center">\n <Placeholder width={48} height={40} />\n <Placeholder width={48} height={100} />\n <Placeholder width={48} height={60} />\n </Inline>'
469
469
  }];
470
- const snippets$o = [{
470
+ const snippets$p = [{
471
471
  name: "XSmall Space",
472
472
  code: '<List space="xsmall">\n <Text>Text</Text>\n <Text>Text</Text>\n <Text>Text</Text>\n </List>'
473
473
  }, {
@@ -492,11 +492,11 @@ const snippets$o = [{
492
492
  name: "Icon",
493
493
  code: '<List space="medium" type="icon" icon={<IconTick tone="positive" />}>\n <Text>Text</Text>\n <Text>Text</Text>\n <Text>Text</Text>\n </List>'
494
494
  }];
495
- const snippets$n = [{
495
+ const snippets$o = [{
496
496
  name: "Standard",
497
497
  code: "<Loader />"
498
498
  }];
499
- const snippets$m = [{
499
+ const snippets$n = [{
500
500
  name: "Standard",
501
501
  code: '<MonthPicker label="Month" />'
502
502
  }, {
@@ -518,7 +518,7 @@ const snippets$m = [{
518
518
  name: "With custom months and years",
519
519
  code: `<MonthPicker label="Started" monthLabel="MM" yearLabel="YYYY" monthNames={['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']} />`
520
520
  }];
521
- const snippets$l = [{
521
+ const snippets$m = [{
522
522
  name: "Critical",
523
523
  code: '<Notice tone="critical">\n <Text>Critical Notice</Text>\n </Notice>'
524
524
  }, {
@@ -531,10 +531,17 @@ const snippets$l = [{
531
531
  name: "Promote",
532
532
  code: '<Notice tone="promote">\n <Text>Promote Notice</Text>\n </Notice>'
533
533
  }];
534
- const snippets$k = [{
534
+ const snippets$l = [{
535
535
  name: "Standard",
536
536
  code: '<OverflowMenu label="Options">\n <MenuItem>Option</MenuItem>\n <MenuItem>Option</MenuItem>\n </OverflowMenu>'
537
537
  }];
538
+ const snippets$k = [{
539
+ name: "Default",
540
+ code: '<Page footer={<Placeholder label="Footer" height={100} />}>\n <Placeholder label="Header" height={60} />\n </Page>'
541
+ }, {
542
+ name: "Footer below fold",
543
+ code: '<Page footer={<Placeholder label="Footer" height={100} />} footerPosition="belowFold">\n <Placeholder label="Header" height={60} />\n </Page>'
544
+ }];
538
545
  const snippets$j = [{
539
546
  name: "Medium",
540
547
  code: '<PageBlock width="medium">\n <Placeholder height={100} />\n </PageBlock>'
@@ -814,32 +821,33 @@ const snippets$1 = [{
814
821
  code: '<TooltipRenderer tooltip={<Text>This is a tooltip!</Text>}>\n {({\n triggerProps\n }) => <Box {...triggerProps}>\n <Placeholder label="Tooltip trigger" height={100} />\n </Box>}\n </TooltipRenderer>'
815
822
  }];
816
823
  const snippets = Object.entries({
817
- Accordion: snippets$J,
818
- Actions: snippets$I,
819
- Alert: snippets$H,
820
- Autosuggest: snippets$G,
821
- Badge: snippets$F,
822
- Bleed: snippets$E,
823
- Button: snippets$D,
824
- ButtonIcon: snippets$C,
825
- Card: snippets$B,
826
- Checkbox: snippets$A,
827
- Columns: snippets$z,
828
- ContentBlock: snippets$y,
829
- Dialog: snippets$x,
830
- Disclosure: snippets$w,
831
- Divider: snippets$v,
832
- Drawer: snippets$u,
833
- Dropdown: snippets$t,
834
- FieldLabel: snippets$s,
835
- FieldMessage: snippets$r,
836
- Heading: snippets$q,
837
- Inline: snippets$p,
838
- List: snippets$o,
839
- Loader: snippets$n,
840
- MonthPicker: snippets$m,
841
- Notice: snippets$l,
842
- OverflowMenu: snippets$k,
824
+ Accordion: snippets$K,
825
+ Actions: snippets$J,
826
+ Alert: snippets$I,
827
+ Autosuggest: snippets$H,
828
+ Badge: snippets$G,
829
+ Bleed: snippets$F,
830
+ Button: snippets$E,
831
+ ButtonIcon: snippets$D,
832
+ Card: snippets$C,
833
+ Checkbox: snippets$B,
834
+ Columns: snippets$A,
835
+ ContentBlock: snippets$z,
836
+ Dialog: snippets$y,
837
+ Disclosure: snippets$x,
838
+ Divider: snippets$w,
839
+ Drawer: snippets$v,
840
+ Dropdown: snippets$u,
841
+ FieldLabel: snippets$t,
842
+ FieldMessage: snippets$s,
843
+ Heading: snippets$r,
844
+ Inline: snippets$q,
845
+ List: snippets$p,
846
+ Loader: snippets$o,
847
+ MonthPicker: snippets$n,
848
+ Notice: snippets$m,
849
+ OverflowMenu: snippets$l,
850
+ Page: snippets$k,
843
851
  PageBlock: snippets$j,
844
852
  Pagination: snippets$i,
845
853
  PasswordField: snippets$h,