braid-design-system 33.10.2 → 33.12.0-grad-connection-20250729214441

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/index.d.mts +113 -9
  3. package/dist/index.d.ts +113 -9
  4. package/dist/lib/components/PageBlock/PageBlock.cjs +2 -3
  5. package/dist/lib/components/PageBlock/PageBlock.mjs +3 -4
  6. package/dist/lib/components/PageBlock/pageBlockGutters.cjs +3 -0
  7. package/dist/lib/components/PageBlock/pageBlockGutters.mjs +4 -0
  8. package/dist/lib/components/RadioGroup/RadioGroup.cjs +0 -1
  9. package/dist/lib/components/RadioGroup/RadioGroup.mjs +0 -1
  10. package/dist/lib/components/TooltipRenderer/TooltipRenderer.cjs +21 -8
  11. package/dist/lib/components/TooltipRenderer/TooltipRenderer.mjs +21 -8
  12. package/dist/lib/components/private/Modal/ModalContent.cjs +3 -3
  13. package/dist/lib/components/private/Modal/ModalContent.mjs +3 -3
  14. package/dist/lib/components/useToast/Toast.cjs +67 -51
  15. package/dist/lib/components/useToast/Toast.css.cjs +10 -0
  16. package/dist/lib/components/useToast/Toast.css.mjs +10 -0
  17. package/dist/lib/components/useToast/Toast.mjs +68 -52
  18. package/dist/lib/components/useToast/Toaster.cjs +49 -20
  19. package/dist/lib/components/useToast/Toaster.css.cjs +18 -0
  20. package/dist/lib/components/useToast/Toaster.css.mjs +19 -0
  21. package/dist/lib/components/useToast/Toaster.mjs +49 -22
  22. package/dist/lib/components/useToast/consts.cjs +5 -0
  23. package/dist/lib/components/useToast/consts.mjs +6 -0
  24. package/dist/lib/components/useToast/useFlipList.cjs +116 -33
  25. package/dist/lib/components/useToast/useFlipList.mjs +116 -33
  26. package/dist/lib/playroom/snippets/gradConnHome.cjs +7 -0
  27. package/dist/lib/playroom/snippets/gradConnHome.mjs +8 -0
  28. package/dist/lib/playroom/snippets.cjs +3 -1
  29. package/dist/lib/playroom/snippets.mjs +3 -1
  30. package/dist/lib/themes/baseTokens/nvl.cjs +7 -10
  31. package/dist/lib/themes/baseTokens/nvl.mjs +7 -10
  32. package/dist/lib/themes/gradConnection/gradConnection.css.cjs +8 -0
  33. package/dist/lib/themes/gradConnection/gradConnection.css.mjs +9 -0
  34. package/dist/lib/themes/gradConnection/index.cjs +2 -0
  35. package/dist/lib/themes/gradConnection/index.mjs +1 -0
  36. package/dist/lib/themes/gradConnection/palette.cjs +42 -0
  37. package/dist/lib/themes/gradConnection/palette.mjs +43 -0
  38. package/dist/lib/themes/gradConnection/tokens.cjs +262 -0
  39. package/dist/lib/themes/gradConnection/tokens.mjs +261 -0
  40. package/dist/lib/themes/index.cjs +2 -0
  41. package/dist/lib/themes/index.mjs +2 -0
  42. package/dist/lib/themes/makeVanillaTheme.cjs +10 -10
  43. package/dist/lib/themes/makeVanillaTheme.mjs +1 -1
  44. package/dist/lib/utils/px.cjs +3 -0
  45. package/dist/lib/utils/px.mjs +4 -0
  46. package/dist/themes/gradConnection.cjs +3 -0
  47. package/dist/themes/gradConnection.d.mts +1 -0
  48. package/dist/themes/gradConnection.d.ts +1 -0
  49. package/dist/themes/gradConnection.mjs +4 -0
  50. package/dist/themes/seekBusiness.d.mts +1 -1
  51. package/dist/themes/seekBusiness.d.ts +1 -1
  52. package/dist/themes/seekJobs.d.mts +1 -1
  53. package/dist/themes/seekJobs.d.ts +1 -1
  54. package/dist/themes/wireframe.d.mts +1 -1
  55. package/dist/themes/wireframe.d.ts +1 -1
  56. package/package.json +10 -1
  57. package/themes/gradConnection/index.d.ts +2 -0
  58. package/themes/gradConnection/package.json +5 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # braid-design-system
2
2
 
3
+ ## 33.12.0-grad-connection-20250729214441
4
+
5
+ ### Minor Changes
6
+
7
+ - Add `Grad Connection` theme (ea7b71938c059baefe257a91862adc953a95c1e1)
8
+
9
+ **EXAMPLE USAGE:**
10
+
11
+ ```jsx
12
+ import { BraidProvider } from 'braid-design-system';
13
+ import gradConnection from 'braid-design-system/themes/gradConnection';
14
+
15
+ export const App = () => (
16
+ <BraidProvider theme={gradConnection}>...</BraidProvider>
17
+ );
18
+ ```
19
+
20
+ ## 33.11.0
21
+
22
+ ### Minor Changes
23
+
24
+ - **useToast**: Improve layout of toasts when multiple toasts are shown ([#1782](https://github.com/seek-oss/braid-design-system/pull/1782))
25
+
26
+ When multiple toasts are shown simultaneously, they now visually stack in a collapsed format that expands on interaction.
27
+ This prevents toasts from obscuring page content while providing users with an easy way to manage and navigate through the recent toast history.
28
+
29
+ ### Patch Changes
30
+
31
+ - **RadioGroup:** Ensure provided `id` is assigned to `fieldset` ([#1845](https://github.com/seek-oss/braid-design-system/pull/1845))
32
+
33
+ Fixes a bug where the provided `id` was not being passed through to the `fieldset` element.
34
+
35
+ - **seekJobs, seekBusiness:** Update drop shadow palette ([#1847](https://github.com/seek-oss/braid-design-system/pull/1847))
36
+
37
+ Refine the drop shadow palette values of `small`, `medium`, and `large`.
38
+ The shadow values are now softer and more linear in their scale.
39
+
40
+ - **TooltipRenderer:** Optimise performance by reducing unnecessary recalculations of the trigger position ([#1833](https://github.com/seek-oss/braid-design-system/pull/1833))
41
+
42
+ - **seekJobs, seekBusiness:** Increase medium font weight ([#1843](https://github.com/seek-oss/braid-design-system/pull/1843))
43
+
44
+ The introduction of Traditional Chinese support means characters in this unicode range are rendered using the default `sans-serif` font.
45
+ The system fonts that handle these characters only cater for **regular** and **bold** weights, resulting in the `medium` weight of 500 falling back to 400 — resulting in loss of visual hierarchy.
46
+
47
+ By increasing the weight of `medium` to 600, it will now round up to 700 (`strong`) when the rendered font cannot satisfy `medium`.
48
+
49
+ This only affects `seekJobs` and `seekBusiness` themes rendering Traditional Chinese characters, all weights across other character sets remain unchanged.
50
+
3
51
  ## 33.10.2
4
52
 
5
53
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -3666,7 +3666,7 @@ type RadioGroupBaseProps<Value = NonNullable<string | number>> = FieldGroupBaseP
3666
3666
  type RadioGroupLabelProps = FieldLabelVariant;
3667
3667
  type RadioGroupProps<Value = NonNullable<string | number>> = RadioGroupBaseProps<Value> & RadioGroupLabelProps;
3668
3668
  declare const RadioGroup$1: {
3669
- ({ id, children, value, name, onChange, disabled, tone, size, ...props }: RadioGroupProps): react.JSX.Element;
3669
+ ({ children, value, name, onChange, disabled, tone, size, ...props }: RadioGroupProps): react.JSX.Element;
3670
3670
  displayName: string;
3671
3671
  };
3672
3672
 
@@ -4541,6 +4541,105 @@ declare function atoms(props: Omit<Atoms, 'background'>): string;
4541
4541
  *
4542
4542
  * Use the `seekJobs` theme instead.
4543
4543
  */
4544
+ declare const _default$7: {
4545
+ vanillaTheme: string;
4546
+ name: string;
4547
+ displayName: string;
4548
+ legacy: boolean;
4549
+ background: {
4550
+ lightMode: string;
4551
+ darkMode: string;
4552
+ };
4553
+ webFonts: {
4554
+ linkTag: string;
4555
+ href: string;
4556
+ }[];
4557
+ space: {
4558
+ grid: number;
4559
+ space: {
4560
+ gutter: number;
4561
+ xxsmall: number;
4562
+ xsmall: number;
4563
+ small: number;
4564
+ medium: number;
4565
+ large: number;
4566
+ xlarge: number;
4567
+ xxlarge: number;
4568
+ xxxlarge: number;
4569
+ };
4570
+ };
4571
+ color: {
4572
+ foreground: {
4573
+ brandAccentLight: string;
4574
+ brandAccent: string;
4575
+ cautionLight: string;
4576
+ caution: string;
4577
+ criticalLight: string;
4578
+ critical: string;
4579
+ formAccentLight: string;
4580
+ formAccent: string;
4581
+ infoLight: string;
4582
+ info: string;
4583
+ linkLight: string;
4584
+ link: string;
4585
+ linkHover: string;
4586
+ linkVisited: string;
4587
+ linkLightVisited: string;
4588
+ neutral: string;
4589
+ neutralInverted: string;
4590
+ positiveLight: string;
4591
+ positive: string;
4592
+ promoteLight: string;
4593
+ promote: string;
4594
+ rating: string;
4595
+ secondary: string;
4596
+ secondaryInverted: string;
4597
+ };
4598
+ background: {
4599
+ body: string;
4600
+ bodyDark: string;
4601
+ brand: string;
4602
+ brandAccent: string;
4603
+ brandAccentActive: string;
4604
+ brandAccentHover: string;
4605
+ brandAccentSoft: string;
4606
+ brandAccentSoftActive: string;
4607
+ brandAccentSoftHover: string;
4608
+ caution: string;
4609
+ cautionLight: string;
4610
+ critical: string;
4611
+ criticalActive: string;
4612
+ criticalHover: string;
4613
+ criticalLight: string;
4614
+ criticalSoft: string;
4615
+ criticalSoftActive: string;
4616
+ criticalSoftHover: string;
4617
+ formAccent: string;
4618
+ formAccentActive: string;
4619
+ formAccentHover: string;
4620
+ formAccentSoft: string;
4621
+ formAccentSoftActive: string;
4622
+ formAccentSoftHover: string;
4623
+ info: string;
4624
+ infoLight: string;
4625
+ neutral: string;
4626
+ neutralActive: string;
4627
+ neutralHover: string;
4628
+ neutralLight: string;
4629
+ neutralSoft: string;
4630
+ neutralSoftActive: string;
4631
+ neutralSoftHover: string;
4632
+ positive: string;
4633
+ positiveLight: string;
4634
+ promote: string;
4635
+ promoteLight: string;
4636
+ surface: string;
4637
+ surfaceDark: string;
4638
+ };
4639
+ };
4640
+ backgroundLightness: Record<"body" | "bodyDark" | "brand" | "brandAccent" | "brandAccentActive" | "brandAccentHover" | "brandAccentSoft" | "brandAccentSoftActive" | "brandAccentSoftHover" | "caution" | "cautionLight" | "critical" | "criticalActive" | "criticalHover" | "criticalLight" | "criticalSoft" | "criticalSoftActive" | "criticalSoftHover" | "formAccent" | "formAccentActive" | "formAccentHover" | "formAccentSoft" | "formAccentSoftActive" | "formAccentSoftHover" | "info" | "infoLight" | "neutral" | "neutralActive" | "neutralHover" | "neutralLight" | "neutralSoft" | "neutralSoftActive" | "neutralSoftHover" | "positive" | "positiveLight" | "promote" | "promoteLight" | "surface" | "surfaceDark", "light" | "dark">;
4641
+ };
4642
+
4544
4643
  declare const _default$6: {
4545
4644
  vanillaTheme: string;
4546
4645
  name: string;
@@ -5038,11 +5137,12 @@ declare const _default$2: {
5038
5137
 
5039
5138
  declare namespace themes {
5040
5139
  export {
5041
- _default$6 as apac,
5042
- _default$2 as docs,
5043
- _default$4 as seekBusiness,
5044
- _default$5 as seekJobs,
5045
- _default$3 as wireframe,
5140
+ _default$7 as apac,
5141
+ _default$3 as docs,
5142
+ _default$2 as gradConnection,
5143
+ _default$5 as seekBusiness,
5144
+ _default$6 as seekJobs,
5145
+ _default$4 as wireframe,
5046
5146
  };
5047
5147
  }
5048
5148
 
@@ -5348,11 +5448,15 @@ declare function useScope(): {
5348
5448
  colorModeValue: (value: Record<"lightMode" | "darkMode", any>) => any;
5349
5449
  };
5350
5450
 
5351
- declare const _default: {
5451
+ declare const _default: ({
5452
+ group: string;
5453
+ name: string;
5454
+ code: string;
5455
+ } | {
5352
5456
  group: string;
5353
5457
  name: string;
5354
5458
  code: string;
5355
- }[];
5459
+ })[];
5356
5460
 
5357
- export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, PublicBox as Box, Box as Box$1, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAI, IconAdd, IconArrow, IconAttachment, IconBluetooth, IconBold, IconBookmark, IconBulletList, IconCareer, IconCategory, IconCaution, IconChecklist, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCoverLetter, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDisallow, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconExperience, IconFilter, IconFlag, IconGift, IconGlobe, IconGrid, IconHash, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconItalic, IconLanguage, IconLicence, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconNumberedList, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconQR, IconRecommended, IconRedo, IconRefresh, IconRenderer, IconResume, IconRocket, IconSearch, IconSecurity, IconSend, IconSent, IconSentiment, IconSettings, IconShare, IconSkills, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialX, IconSocialYouTube, IconSort, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconTitle, IconUndo, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu, Page, PageBlock, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Spread$1 as Spread, Spread as Spread$1, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Table, TableBody, TableCell, TableFooter, TableHeader, TableHeaderCell, TableRow, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer, _default$1 as _default, _default as _default$1, _default$6 as _default$2, _default$2 as _default$3, _default$4, _default$5, _default$3 as _default$6, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, outlineStyle, responsiveStyle, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
5461
+ export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, PublicBox as Box, Box as Box$1, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAI, IconAdd, IconArrow, IconAttachment, IconBluetooth, IconBold, IconBookmark, IconBulletList, IconCareer, IconCategory, IconCaution, IconChecklist, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCoverLetter, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDisallow, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconExperience, IconFilter, IconFlag, IconGift, IconGlobe, IconGrid, IconHash, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconItalic, IconLanguage, IconLicence, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconNumberedList, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconQR, IconRecommended, IconRedo, IconRefresh, IconRenderer, IconResume, IconRocket, IconSearch, IconSecurity, IconSend, IconSent, IconSentiment, IconSettings, IconShare, IconSkills, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialX, IconSocialYouTube, IconSort, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconTitle, IconUndo, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu, Page, PageBlock, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Spread$1 as Spread, Spread as Spread$1, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Table, TableBody, TableCell, TableFooter, TableHeader, TableHeaderCell, TableRow, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer, _default$1 as _default, _default as _default$1, _default$7 as _default$2, _default$3, _default$2 as _default$4, _default$5, _default$6, _default$4 as _default$7, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, outlineStyle, responsiveStyle, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
5358
5462
  export type { Breakpoint, LinkComponent };
package/dist/index.d.ts CHANGED
@@ -3666,7 +3666,7 @@ type RadioGroupBaseProps<Value = NonNullable<string | number>> = FieldGroupBaseP
3666
3666
  type RadioGroupLabelProps = FieldLabelVariant;
3667
3667
  type RadioGroupProps<Value = NonNullable<string | number>> = RadioGroupBaseProps<Value> & RadioGroupLabelProps;
3668
3668
  declare const RadioGroup$1: {
3669
- ({ id, children, value, name, onChange, disabled, tone, size, ...props }: RadioGroupProps): react.JSX.Element;
3669
+ ({ children, value, name, onChange, disabled, tone, size, ...props }: RadioGroupProps): react.JSX.Element;
3670
3670
  displayName: string;
3671
3671
  };
3672
3672
 
@@ -4541,6 +4541,105 @@ declare function atoms(props: Omit<Atoms, 'background'>): string;
4541
4541
  *
4542
4542
  * Use the `seekJobs` theme instead.
4543
4543
  */
4544
+ declare const _default$7: {
4545
+ vanillaTheme: string;
4546
+ name: string;
4547
+ displayName: string;
4548
+ legacy: boolean;
4549
+ background: {
4550
+ lightMode: string;
4551
+ darkMode: string;
4552
+ };
4553
+ webFonts: {
4554
+ linkTag: string;
4555
+ href: string;
4556
+ }[];
4557
+ space: {
4558
+ grid: number;
4559
+ space: {
4560
+ gutter: number;
4561
+ xxsmall: number;
4562
+ xsmall: number;
4563
+ small: number;
4564
+ medium: number;
4565
+ large: number;
4566
+ xlarge: number;
4567
+ xxlarge: number;
4568
+ xxxlarge: number;
4569
+ };
4570
+ };
4571
+ color: {
4572
+ foreground: {
4573
+ brandAccentLight: string;
4574
+ brandAccent: string;
4575
+ cautionLight: string;
4576
+ caution: string;
4577
+ criticalLight: string;
4578
+ critical: string;
4579
+ formAccentLight: string;
4580
+ formAccent: string;
4581
+ infoLight: string;
4582
+ info: string;
4583
+ linkLight: string;
4584
+ link: string;
4585
+ linkHover: string;
4586
+ linkVisited: string;
4587
+ linkLightVisited: string;
4588
+ neutral: string;
4589
+ neutralInverted: string;
4590
+ positiveLight: string;
4591
+ positive: string;
4592
+ promoteLight: string;
4593
+ promote: string;
4594
+ rating: string;
4595
+ secondary: string;
4596
+ secondaryInverted: string;
4597
+ };
4598
+ background: {
4599
+ body: string;
4600
+ bodyDark: string;
4601
+ brand: string;
4602
+ brandAccent: string;
4603
+ brandAccentActive: string;
4604
+ brandAccentHover: string;
4605
+ brandAccentSoft: string;
4606
+ brandAccentSoftActive: string;
4607
+ brandAccentSoftHover: string;
4608
+ caution: string;
4609
+ cautionLight: string;
4610
+ critical: string;
4611
+ criticalActive: string;
4612
+ criticalHover: string;
4613
+ criticalLight: string;
4614
+ criticalSoft: string;
4615
+ criticalSoftActive: string;
4616
+ criticalSoftHover: string;
4617
+ formAccent: string;
4618
+ formAccentActive: string;
4619
+ formAccentHover: string;
4620
+ formAccentSoft: string;
4621
+ formAccentSoftActive: string;
4622
+ formAccentSoftHover: string;
4623
+ info: string;
4624
+ infoLight: string;
4625
+ neutral: string;
4626
+ neutralActive: string;
4627
+ neutralHover: string;
4628
+ neutralLight: string;
4629
+ neutralSoft: string;
4630
+ neutralSoftActive: string;
4631
+ neutralSoftHover: string;
4632
+ positive: string;
4633
+ positiveLight: string;
4634
+ promote: string;
4635
+ promoteLight: string;
4636
+ surface: string;
4637
+ surfaceDark: string;
4638
+ };
4639
+ };
4640
+ backgroundLightness: Record<"body" | "bodyDark" | "brand" | "brandAccent" | "brandAccentActive" | "brandAccentHover" | "brandAccentSoft" | "brandAccentSoftActive" | "brandAccentSoftHover" | "caution" | "cautionLight" | "critical" | "criticalActive" | "criticalHover" | "criticalLight" | "criticalSoft" | "criticalSoftActive" | "criticalSoftHover" | "formAccent" | "formAccentActive" | "formAccentHover" | "formAccentSoft" | "formAccentSoftActive" | "formAccentSoftHover" | "info" | "infoLight" | "neutral" | "neutralActive" | "neutralHover" | "neutralLight" | "neutralSoft" | "neutralSoftActive" | "neutralSoftHover" | "positive" | "positiveLight" | "promote" | "promoteLight" | "surface" | "surfaceDark", "light" | "dark">;
4641
+ };
4642
+
4544
4643
  declare const _default$6: {
4545
4644
  vanillaTheme: string;
4546
4645
  name: string;
@@ -5038,11 +5137,12 @@ declare const _default$2: {
5038
5137
 
5039
5138
  declare namespace themes {
5040
5139
  export {
5041
- _default$6 as apac,
5042
- _default$2 as docs,
5043
- _default$4 as seekBusiness,
5044
- _default$5 as seekJobs,
5045
- _default$3 as wireframe,
5140
+ _default$7 as apac,
5141
+ _default$3 as docs,
5142
+ _default$2 as gradConnection,
5143
+ _default$5 as seekBusiness,
5144
+ _default$6 as seekJobs,
5145
+ _default$4 as wireframe,
5046
5146
  };
5047
5147
  }
5048
5148
 
@@ -5348,11 +5448,15 @@ declare function useScope(): {
5348
5448
  colorModeValue: (value: Record<"lightMode" | "darkMode", any>) => any;
5349
5449
  };
5350
5450
 
5351
- declare const _default: {
5451
+ declare const _default: ({
5452
+ group: string;
5453
+ name: string;
5454
+ code: string;
5455
+ } | {
5352
5456
  group: string;
5353
5457
  name: string;
5354
5458
  code: string;
5355
- }[];
5459
+ })[];
5356
5460
 
5357
- export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, PublicBox as Box, Box as Box$1, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAI, IconAdd, IconArrow, IconAttachment, IconBluetooth, IconBold, IconBookmark, IconBulletList, IconCareer, IconCategory, IconCaution, IconChecklist, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCoverLetter, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDisallow, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconExperience, IconFilter, IconFlag, IconGift, IconGlobe, IconGrid, IconHash, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconItalic, IconLanguage, IconLicence, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconNumberedList, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconQR, IconRecommended, IconRedo, IconRefresh, IconRenderer, IconResume, IconRocket, IconSearch, IconSecurity, IconSend, IconSent, IconSentiment, IconSettings, IconShare, IconSkills, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialX, IconSocialYouTube, IconSort, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconTitle, IconUndo, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu, Page, PageBlock, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Spread$1 as Spread, Spread as Spread$1, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Table, TableBody, TableCell, TableFooter, TableHeader, TableHeaderCell, TableRow, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer, _default$1 as _default, _default as _default$1, _default$6 as _default$2, _default$2 as _default$3, _default$4, _default$5, _default$3 as _default$6, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, outlineStyle, responsiveStyle, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
5461
+ export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, PublicBox as Box, Box as Box$1, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAI, IconAdd, IconArrow, IconAttachment, IconBluetooth, IconBold, IconBookmark, IconBulletList, IconCareer, IconCategory, IconCaution, IconChecklist, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCoverLetter, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDisallow, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconExperience, IconFilter, IconFlag, IconGift, IconGlobe, IconGrid, IconHash, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconItalic, IconLanguage, IconLicence, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconNumberedList, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconQR, IconRecommended, IconRedo, IconRefresh, IconRenderer, IconResume, IconRocket, IconSearch, IconSecurity, IconSend, IconSent, IconSentiment, IconSettings, IconShare, IconSkills, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialX, IconSocialYouTube, IconSort, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconTitle, IconUndo, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu, Page, PageBlock, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Spread$1 as Spread, Spread as Spread$1, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Table, TableBody, TableCell, TableFooter, TableHeader, TableHeaderCell, TableRow, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer, _default$1 as _default, _default as _default$1, _default$7 as _default$2, _default$3, _default$2 as _default$4, _default$5, _default$6, _default$4 as _default$7, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, outlineStyle, responsiveStyle, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
5358
5462
  export type { Breakpoint, LinkComponent };
@@ -3,6 +3,7 @@ const jsxRuntime = require("react/jsx-runtime");
3
3
  const lib_components_Box_Box_cjs = require("../Box/Box.cjs");
4
4
  const lib_components_ContentBlock_ContentBlock_cjs = require("../ContentBlock/ContentBlock.cjs");
5
5
  const lib_components_private_buildDataAttributes_cjs = require("../private/buildDataAttributes.cjs");
6
+ const lib_components_PageBlock_pageBlockGutters_cjs = require("./pageBlockGutters.cjs");
6
7
  const validPageBlockComponents = [
7
8
  "div",
8
9
  "article",
@@ -11,7 +12,6 @@ const validPageBlockComponents = [
11
12
  "section",
12
13
  "nav"
13
14
  ];
14
- const gutters = { mobile: "small", tablet: "gutter" };
15
15
  const PageBlock = ({
16
16
  children,
17
17
  width = "large",
@@ -25,11 +25,10 @@ const PageBlock = ({
25
25
  {
26
26
  width: "full",
27
27
  component,
28
- paddingX: gutters,
28
+ paddingX: lib_components_PageBlock_pageBlockGutters_cjs.pageBlockGutters,
29
29
  ...lib_components_private_buildDataAttributes_cjs.buildDataAttributes({ data, validateRestProps: restProps }),
30
30
  children: width === "full" ? children : /* @__PURE__ */ jsxRuntime.jsx(lib_components_ContentBlock_ContentBlock_cjs.ContentBlock, { width, children })
31
31
  }
32
32
  );
33
33
  };
34
34
  exports.PageBlock = PageBlock;
35
- exports.gutters = gutters;
@@ -2,6 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { Box } from "../Box/Box.mjs";
3
3
  import { ContentBlock } from "../ContentBlock/ContentBlock.mjs";
4
4
  import { buildDataAttributes } from "../private/buildDataAttributes.mjs";
5
+ import { pageBlockGutters } from "./pageBlockGutters.mjs";
5
6
  const validPageBlockComponents = [
6
7
  "div",
7
8
  "article",
@@ -10,7 +11,6 @@ const validPageBlockComponents = [
10
11
  "section",
11
12
  "nav"
12
13
  ];
13
- const gutters = { mobile: "small", tablet: "gutter" };
14
14
  const PageBlock = ({
15
15
  children,
16
16
  width = "large",
@@ -24,13 +24,12 @@ const PageBlock = ({
24
24
  {
25
25
  width: "full",
26
26
  component,
27
- paddingX: gutters,
27
+ paddingX: pageBlockGutters,
28
28
  ...buildDataAttributes({ data, validateRestProps: restProps }),
29
29
  children: width === "full" ? children : /* @__PURE__ */ jsx(ContentBlock, { width, children })
30
30
  }
31
31
  );
32
32
  };
33
33
  export {
34
- PageBlock,
35
- gutters
34
+ PageBlock
36
35
  };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const pageBlockGutters = { mobile: "small", tablet: "gutter" };
3
+ exports.pageBlockGutters = pageBlockGutters;
@@ -0,0 +1,4 @@
1
+ const pageBlockGutters = { mobile: "small", tablet: "gutter" };
2
+ export {
3
+ pageBlockGutters
4
+ };
@@ -14,7 +14,6 @@ const stackSpaceForSize = {
14
14
  standard: "small"
15
15
  };
16
16
  const RadioGroup = ({
17
- id,
18
17
  children,
19
18
  value,
20
19
  name,
@@ -11,7 +11,6 @@ const stackSpaceForSize = {
11
11
  standard: "small"
12
12
  };
13
13
  const RadioGroup = ({
14
- id,
15
14
  children,
16
15
  value,
17
16
  name,
@@ -80,6 +80,7 @@ const TooltipRenderer = ({
80
80
  const isStatic = react.useContext(StaticTooltipContext);
81
81
  const isMobileDevice = react.useRef(isMobile__default.default()).current;
82
82
  const onScreen = react.useRef(null);
83
+ const showTooltip = isStatic ? true : open;
83
84
  react.useEffect(() => {
84
85
  const observer = new IntersectionObserver(
85
86
  ([entry]) => {
@@ -135,18 +136,30 @@ const TooltipRenderer = ({
135
136
  }
136
137
  };
137
138
  }, [open, isMobileDevice]);
138
- lib_hooks_useIsomorphicLayoutEffect_cjs.useIsomorphicLayoutEffect(() => {
139
+ const handleTooltipPosition = () => {
139
140
  const setPositions = () => {
140
- var _a, _b;
141
- setTooltipPosition((_a = tooltipRef.current) == null ? void 0 : _a.getBoundingClientRect());
142
- setTriggerPosition((_b = triggerRef.current) == null ? void 0 : _b.getBoundingClientRect());
141
+ if (tooltipRef.current) {
142
+ setTooltipPosition(tooltipRef.current.getBoundingClientRect());
143
+ }
144
+ if (triggerRef.current) {
145
+ setTriggerPosition(triggerRef.current.getBoundingClientRect());
146
+ }
143
147
  };
144
- const timeoutId = setTimeout(() => {
148
+ setTimeout(() => {
145
149
  const frameId = requestAnimationFrame(setPositions);
146
150
  return () => cancelAnimationFrame(frameId);
147
151
  }, lib_components_private_animationTimeout_cjs.animationTimeout / 2);
148
- return () => clearTimeout(timeoutId);
149
- });
152
+ };
153
+ lib_hooks_useIsomorphicLayoutEffect_cjs.useIsomorphicLayoutEffect(() => {
154
+ if (!showTooltip) {
155
+ return;
156
+ }
157
+ handleTooltipPosition();
158
+ window.addEventListener("resize", handleTooltipPosition);
159
+ return () => {
160
+ window.removeEventListener("resize", handleTooltipPosition);
161
+ };
162
+ }, [showTooltip]);
150
163
  let inferredPlacement = placement;
151
164
  let arrowLeftOffset = 0;
152
165
  if (tooltipPosition && triggerPosition) {
@@ -177,7 +190,7 @@ const TooltipRenderer = ({
177
190
  lockPlacement: isStatic,
178
191
  delayVisibility: !isMobileDevice,
179
192
  modal: false,
180
- open: isStatic ? true : open,
193
+ open: showTooltip,
181
194
  onClose: !isStatic ? () => setOpen(false) : void 0,
182
195
  triggerRef,
183
196
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -77,6 +77,7 @@ const TooltipRenderer = ({
77
77
  const isStatic = useContext(StaticTooltipContext);
78
78
  const isMobileDevice = useRef(isMobile()).current;
79
79
  const onScreen = useRef(null);
80
+ const showTooltip = isStatic ? true : open;
80
81
  useEffect(() => {
81
82
  const observer = new IntersectionObserver(
82
83
  ([entry]) => {
@@ -132,18 +133,30 @@ const TooltipRenderer = ({
132
133
  }
133
134
  };
134
135
  }, [open, isMobileDevice]);
135
- useIsomorphicLayoutEffect(() => {
136
+ const handleTooltipPosition = () => {
136
137
  const setPositions = () => {
137
- var _a, _b;
138
- setTooltipPosition((_a = tooltipRef.current) == null ? void 0 : _a.getBoundingClientRect());
139
- setTriggerPosition((_b = triggerRef.current) == null ? void 0 : _b.getBoundingClientRect());
138
+ if (tooltipRef.current) {
139
+ setTooltipPosition(tooltipRef.current.getBoundingClientRect());
140
+ }
141
+ if (triggerRef.current) {
142
+ setTriggerPosition(triggerRef.current.getBoundingClientRect());
143
+ }
140
144
  };
141
- const timeoutId = setTimeout(() => {
145
+ setTimeout(() => {
142
146
  const frameId = requestAnimationFrame(setPositions);
143
147
  return () => cancelAnimationFrame(frameId);
144
148
  }, animationTimeout / 2);
145
- return () => clearTimeout(timeoutId);
146
- });
149
+ };
150
+ useIsomorphicLayoutEffect(() => {
151
+ if (!showTooltip) {
152
+ return;
153
+ }
154
+ handleTooltipPosition();
155
+ window.addEventListener("resize", handleTooltipPosition);
156
+ return () => {
157
+ window.removeEventListener("resize", handleTooltipPosition);
158
+ };
159
+ }, [showTooltip]);
147
160
  let inferredPlacement = placement;
148
161
  let arrowLeftOffset = 0;
149
162
  if (tooltipPosition && triggerPosition) {
@@ -174,7 +187,7 @@ const TooltipRenderer = ({
174
187
  lockPlacement: isStatic,
175
188
  delayVisibility: !isMobileDevice,
176
189
  modal: false,
177
- open: isStatic ? true : open,
190
+ open: showTooltip,
178
191
  onClose: !isStatic ? () => setOpen(false) : void 0,
179
192
  triggerRef,
180
193
  children: /* @__PURE__ */ jsx(
@@ -7,7 +7,7 @@ const lib_components_Bleed_Bleed_cjs = require("../../Bleed/Bleed.cjs");
7
7
  const lib_components_Box_Box_cjs = require("../../Box/Box.cjs");
8
8
  const lib_components_ButtonIcon_ButtonIcon_cjs = require("../../ButtonIcon/ButtonIcon.cjs");
9
9
  const lib_components_Heading_Heading_cjs = require("../../Heading/Heading.cjs");
10
- const lib_components_PageBlock_PageBlock_cjs = require("../../PageBlock/PageBlock.cjs");
10
+ const lib_components_PageBlock_pageBlockGutters_cjs = require("../../PageBlock/pageBlockGutters.cjs");
11
11
  const lib_components_Stack_Stack_cjs = require("../../Stack/Stack.cjs");
12
12
  const lib_components_private_buildDataAttributes_cjs = require("../buildDataAttributes.cjs");
13
13
  const lib_components_private_normalizeKey_cjs = require("../normalizeKey.cjs");
@@ -120,7 +120,7 @@ const ModalContent = ({
120
120
  width: width !== "content" ? "full" : void 0,
121
121
  height: position === "right" || position === "left" ? "full" : void 0,
122
122
  paddingY: modalPadding,
123
- paddingX: position !== "center" ? lib_components_PageBlock_PageBlock_cjs.gutters : modalPadding,
123
+ paddingX: position !== "center" ? lib_components_PageBlock_pageBlockGutters_cjs.pageBlockGutters : modalPadding,
124
124
  className: [
125
125
  lib_components_private_Modal_Modal_css_cjs.pointerEventsAll,
126
126
  position === "center" && lib_components_private_Modal_Modal_css_cjs.maxSize[position]
@@ -171,7 +171,7 @@ const ModalContent = ({
171
171
  display: "flex",
172
172
  justifyContent: "flexEnd",
173
173
  paddingTop: modalPadding,
174
- paddingRight: position !== "center" ? lib_components_PageBlock_PageBlock_cjs.gutters : modalPadding,
174
+ paddingRight: position !== "center" ? lib_components_PageBlock_pageBlockGutters_cjs.pageBlockGutters : modalPadding,
175
175
  className: position === "center" && lib_components_private_Modal_Modal_css_cjs.maxSize[position],
176
176
  children: /* @__PURE__ */ jsxRuntime.jsx(lib_components_Bleed_Bleed_cjs.Bleed, { space: "xsmall", children: /* @__PURE__ */ jsxRuntime.jsx(
177
177
  lib_components_Box_Box_cjs.Box,
@@ -6,7 +6,7 @@ import { Bleed } from "../../Bleed/Bleed.mjs";
6
6
  import { Box } from "../../Box/Box.mjs";
7
7
  import { ButtonIcon } from "../../ButtonIcon/ButtonIcon.mjs";
8
8
  import { Heading } from "../../Heading/Heading.mjs";
9
- import { gutters } from "../../PageBlock/PageBlock.mjs";
9
+ import { pageBlockGutters } from "../../PageBlock/pageBlockGutters.mjs";
10
10
  import { Stack } from "../../Stack/Stack.mjs";
11
11
  import { buildDataAttributes } from "../buildDataAttributes.mjs";
12
12
  import { normalizeKey } from "../normalizeKey.mjs";
@@ -119,7 +119,7 @@ const ModalContent = ({
119
119
  width: width !== "content" ? "full" : void 0,
120
120
  height: position === "right" || position === "left" ? "full" : void 0,
121
121
  paddingY: modalPadding,
122
- paddingX: position !== "center" ? gutters : modalPadding,
122
+ paddingX: position !== "center" ? pageBlockGutters : modalPadding,
123
123
  className: [
124
124
  pointerEventsAll,
125
125
  position === "center" && maxSize[position]
@@ -170,7 +170,7 @@ const ModalContent = ({
170
170
  display: "flex",
171
171
  justifyContent: "flexEnd",
172
172
  paddingTop: modalPadding,
173
- paddingRight: position !== "center" ? gutters : modalPadding,
173
+ paddingRight: position !== "center" ? pageBlockGutters : modalPadding,
174
174
  className: position === "center" && maxSize[position],
175
175
  children: /* @__PURE__ */ jsx(Bleed, { space: "xsmall", children: /* @__PURE__ */ jsx(
176
176
  Box,