braid-design-system 33.10.0-seek-business-to-nvl-20250630033521 → 33.10.1

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 (96) hide show
  1. package/CHANGELOG.md +72 -41
  2. package/dist/css.cjs +2 -0
  3. package/dist/css.d.mts +1 -1
  4. package/dist/css.d.ts +1 -1
  5. package/dist/css.mjs +2 -0
  6. package/dist/index.d.mts +29 -10
  7. package/dist/index.d.ts +29 -10
  8. package/dist/lib/components/Accordion/AccordionItem.cjs +27 -41
  9. package/dist/lib/components/Accordion/AccordionItem.css.cjs +6 -12
  10. package/dist/lib/components/Accordion/AccordionItem.css.mjs +6 -12
  11. package/dist/lib/components/Accordion/AccordionItem.mjs +27 -41
  12. package/dist/lib/components/Alert/Alert.cjs +0 -12
  13. package/dist/lib/components/Alert/Alert.css.cjs +0 -8
  14. package/dist/lib/components/Alert/Alert.css.mjs +0 -8
  15. package/dist/lib/components/Alert/Alert.mjs +1 -13
  16. package/dist/lib/components/Badge/Badge.cjs +2 -2
  17. package/dist/lib/components/Badge/Badge.mjs +2 -2
  18. package/dist/lib/components/BraidProvider/BraidProvider.cjs +0 -2
  19. package/dist/lib/components/BraidProvider/BraidProvider.mjs +0 -2
  20. package/dist/lib/components/BraidTestProvider/BraidTestProvider.cjs +13 -10
  21. package/dist/lib/components/BraidTestProvider/BraidTestProvider.mjs +13 -10
  22. package/dist/lib/components/Button/Button.cjs +0 -11
  23. package/dist/lib/components/Button/Button.css.cjs +3 -9
  24. package/dist/lib/components/Button/Button.css.mjs +3 -9
  25. package/dist/lib/components/Button/Button.mjs +1 -12
  26. package/dist/lib/components/ButtonIcon/ButtonIcon.cjs +0 -1
  27. package/dist/lib/components/ButtonIcon/ButtonIcon.mjs +0 -1
  28. package/dist/lib/components/ButtonLink/ButtonLink.cjs +1 -0
  29. package/dist/lib/components/ButtonLink/ButtonLink.mjs +1 -0
  30. package/dist/lib/components/Pagination/Pagination.cjs +6 -4
  31. package/dist/lib/components/Pagination/Pagination.css.cjs +12 -0
  32. package/dist/lib/components/Pagination/Pagination.css.mjs +12 -0
  33. package/dist/lib/components/Pagination/Pagination.mjs +4 -2
  34. package/dist/lib/components/Stepper/Step.cjs +10 -22
  35. package/dist/lib/components/Stepper/Step.mjs +11 -23
  36. package/dist/lib/components/Stepper/Stepper.css.cjs +11 -12
  37. package/dist/lib/components/Stepper/Stepper.css.mjs +11 -12
  38. package/dist/lib/components/Table/Table.css.cjs +9 -4
  39. package/dist/lib/components/Table/Table.css.mjs +10 -5
  40. package/dist/lib/components/Table/TableCell.cjs +1 -1
  41. package/dist/lib/components/Table/TableCell.mjs +2 -2
  42. package/dist/lib/components/Tabs/Tab.cjs +2 -17
  43. package/dist/lib/components/Tabs/Tab.mjs +3 -18
  44. package/dist/lib/components/Tabs/TabPanel.cjs +4 -16
  45. package/dist/lib/components/Tabs/TabPanel.mjs +6 -18
  46. package/dist/lib/components/Tabs/Tabs.css.cjs +1 -14
  47. package/dist/lib/components/Tabs/Tabs.css.mjs +1 -14
  48. package/dist/lib/components/TextDropdown/TextDropdown.cjs +5 -16
  49. package/dist/lib/components/TextDropdown/TextDropdown.css.cjs +8 -14
  50. package/dist/lib/components/TextDropdown/TextDropdown.css.mjs +8 -14
  51. package/dist/lib/components/TextDropdown/TextDropdown.mjs +6 -17
  52. package/dist/lib/components/TextLink/TextLink.css.cjs +4 -4
  53. package/dist/lib/components/TextLink/TextLink.css.mjs +4 -4
  54. package/dist/lib/components/TextLinkButton/TextLinkButton.cjs +1 -0
  55. package/dist/lib/components/TextLinkButton/TextLinkButton.mjs +1 -0
  56. package/dist/lib/components/Textarea/Textarea.cjs +1 -0
  57. package/dist/lib/components/Textarea/Textarea.mjs +1 -0
  58. package/dist/lib/components/Toggle/Toggle.cjs +0 -9
  59. package/dist/lib/components/Toggle/Toggle.css.cjs +8 -11
  60. package/dist/lib/components/Toggle/Toggle.css.mjs +8 -11
  61. package/dist/lib/components/Toggle/Toggle.mjs +1 -10
  62. package/dist/lib/components/private/Field/Field.cjs +0 -2
  63. package/dist/lib/components/private/Field/Field.css.cjs +0 -8
  64. package/dist/lib/components/private/Field/Field.css.mjs +0 -8
  65. package/dist/lib/components/private/Field/Field.mjs +1 -3
  66. package/dist/lib/components/private/FieldOverlay/FieldOverlay.cjs +0 -1
  67. package/dist/lib/components/private/FieldOverlay/FieldOverlay.mjs +0 -1
  68. package/dist/lib/components/private/InlineField/InlineField.css.cjs +3 -10
  69. package/dist/lib/components/private/InlineField/InlineField.css.mjs +3 -10
  70. package/dist/lib/components/private/InlineField/StyledInput.cjs +0 -8
  71. package/dist/lib/components/private/InlineField/StyledInput.mjs +1 -9
  72. package/dist/lib/components/private/Modal/Modal.css.cjs +0 -8
  73. package/dist/lib/components/private/Modal/Modal.css.mjs +0 -8
  74. package/dist/lib/components/private/Modal/ModalContent.cjs +14 -25
  75. package/dist/lib/components/private/Modal/ModalContent.mjs +15 -26
  76. package/dist/lib/components/private/Overlay/Overlay.cjs +1 -6
  77. package/dist/lib/components/private/Overlay/Overlay.mjs +1 -6
  78. package/dist/lib/components/useToast/ToastContext.cjs +1 -4
  79. package/dist/lib/components/useToast/ToastContext.mjs +1 -4
  80. package/dist/lib/css/atoms/atomicProperties.cjs +5 -1
  81. package/dist/lib/css/atoms/atomicProperties.mjs +5 -1
  82. package/dist/lib/css/atoms/atoms.cjs +36 -0
  83. package/dist/lib/css/atoms/atoms.mjs +34 -0
  84. package/dist/lib/css/outlineStyle.cjs +17 -0
  85. package/dist/lib/css/outlineStyle.mjs +18 -0
  86. package/dist/lib/css/reset/reset.css.cjs +7 -11
  87. package/dist/lib/css/reset/reset.css.mjs +7 -11
  88. package/package.json +10 -10
  89. package/dist/lib/components/private/hideFocusRings/hideFocusRings.cjs +0 -2
  90. package/dist/lib/components/private/hideFocusRings/hideFocusRings.css.cjs +0 -14
  91. package/dist/lib/components/private/hideFocusRings/hideFocusRings.css.mjs +0 -15
  92. package/dist/lib/components/private/hideFocusRings/hideFocusRings.mjs +0 -1
  93. package/dist/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.cjs +0 -3
  94. package/dist/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.mjs +0 -4
  95. package/dist/lib/components/private/hideFocusRings/useHideFocusRings.cjs +0 -18
  96. package/dist/lib/components/private/hideFocusRings/useHideFocusRings.mjs +0 -19
package/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  # braid-design-system
2
2
 
3
- ## 33.10.0-seek-business-to-nvl-20250630033521
3
+ ## 33.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - **useToast:** Clean up internal refactor ([#1837](https://github.com/seek-oss/braid-design-system/pull/1837))
8
+
9
+ - **Dialog, Drawer:** Refactor layout, ensure content area is the full height ([#1834](https://github.com/seek-oss/braid-design-system/pull/1834))
10
+
11
+ This change allows you to spread content to the bottom of a `Drawer`, for example with a `vertical` direction `Spread`.
12
+
13
+ - Ensure focus rings are consistent across components ([#1828](https://github.com/seek-oss/braid-design-system/pull/1828))
14
+
15
+ Aligns a few edge cases where focus rings were not consistent due to elements or aria roles not captured by the reset.
16
+
17
+ - **BraidTestProvider:** Align mock with real IntersectionObserver API ([#1837](https://github.com/seek-oss/braid-design-system/pull/1837))
18
+
19
+ - **Table:** Ensure `alignY` prop is applied consistently across browsers ([#1832](https://github.com/seek-oss/braid-design-system/pull/1832))
20
+
21
+ Fixes an issue where setting the `alignY` prop to `top` would not apply the `vertical-align` CSS property — instead falling through to our CSS reset which sets `vertical-align: baseline` (rendering inconsistently across browsers).
22
+
23
+ ## 33.10.0
4
24
 
5
25
  ### Minor Changes
6
26
 
@@ -12,11 +32,62 @@
12
32
  <Box position="sticky" top={0} ... />
13
33
  ```
14
34
 
35
+ - **Box, atoms**: Deprecate `outline` value `none`, and `boxShadow` value `outlineFocus`. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
36
+
37
+ Previously it was recommended to hide an element's `outline` in favour of using `boxShadow="outlineFocus"`.
38
+
39
+ Braid now leverages the `outline` property directly, managing focus rings of interactive elements as part of its scoped CSS reset.
40
+
41
+ **MIGRATION GUIDE:**
42
+
43
+ For styling the focus ring via `Box`:
44
+ 1. Remove usage of `outline="none"` and `boxShadow="outlineFocus"`
45
+ 2. Refer to [`focus outlines`] for guidance on leveraging Braid's focus outline styles.
46
+
47
+ ```diff
48
+ - <Box outline="none" className={styles.customFocusStyles} />
49
+ + <Box />
50
+ ```
51
+
52
+ For styling the focus outline of an element based on the focus of another element, see [`outlineStyle`].
53
+
54
+ [`focus outlines`]: https://seek-oss.github.io/braid-design-system/components/Box#focus-outlines
55
+ [`outlineStyle`]: https://seek-oss.github.io/braid-design-system/css/outlineStyle
56
+
15
57
  - **seekBusiness:** Migrate to updated visual language ([#1819](https://github.com/seek-oss/braid-design-system/pull/1819))
16
58
 
17
59
  Migrate `seekBusiness` theme to new visual language.
18
60
  Adopts the `seekJobs` theme for the latest design standards, rather than the legacy `apac` theme, while retaining the `seekBusiness` brand accent colour.
19
61
 
62
+ ### Patch Changes
63
+
64
+ - **ButtonIcon**: Ensure the focus outline is styled consistently with other components. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
65
+
66
+ Fix issue which caused the Braid focus outline to show along with the native browser focus outline.
67
+
68
+ - **apac:** Deprecate theme in favour of `seekJobs` theme ([#1820](https://github.com/seek-oss/braid-design-system/pull/1820))
69
+
70
+ **MIGRATION GUIDE:**
71
+
72
+ ```diff
73
+ # App.tsx
74
+ - import apac from 'braid-design-system/themes/apac';
75
+ + import seekJobs from 'braid-design-system/themes/seekJobs';
76
+
77
+ - <BraidProvider theme={apac} ...>
78
+ + <BraidProvider theme={seekJobs} ...>
79
+ ```
80
+
81
+ - Migrate from custom focus ring visibility to native `:focus-visible` behaviour. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
82
+
83
+ Previously Braid would change the presentation of focus ring outlines based on the user input, i.e. mouse or keyboard,
84
+ to prevent showing focus rings on click.
85
+ With the updated Browser Support Policy, we can now leverage the native `:focus-visible` pseudo class instead.
86
+
87
+ - **Dialog, Drawer**: Ensure the focus outline is correctly applied to the title. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
88
+
89
+ Fix issue where focus outline would not be long enough to wrap the entire title text in certain situations.
90
+
20
91
  ## 33.9.1
21
92
 
22
93
  ### Patch Changes
@@ -972,7 +1043,6 @@ See full changelog below 👇
972
1043
  - Standardise `disabled` & `critical` state across form fields ([#1564](https://github.com/seek-oss/braid-design-system/pull/1564))
973
1044
 
974
1045
  Improves the consistency of form fields when combining both `disabled` and `critical` tone, which includes:
975
-
976
1046
  - Hiding `critical` borders
977
1047
  - Hiding `message` and not reserving space for it unless explicitly providing the `reserveMessageSpace` prop.
978
1048
 
@@ -1604,7 +1674,6 @@ See full changelog below 👇
1604
1674
  Our different approach to using colour has seen links dialled back to compete less with other messaging and CTAs.
1605
1675
 
1606
1676
  This affects the following usages across the system:
1607
-
1608
1677
  - `vars.foregroundColor.link`
1609
1678
  - `Text` (using `tone="link"`)
1610
1679
  - `TextLink` and (`TextLinkButton`)
@@ -2416,7 +2485,6 @@ For more detail on the specific changes in this release, please read on.
2416
2485
  - **Tab, Tabs:** Updated visual design ([#1180](https://github.com/seek-oss/braid-design-system/pull/1180))
2417
2486
 
2418
2487
  The appearance of a `Tab` has been updated. Changes include:
2419
-
2420
2488
  - Tab button use `regular` text weight
2421
2489
  - Hover state of inactive tab toggles `neutral` tone instead of underline
2422
2490
  - Active tab indicator underlines content only, without the horizontal gutter and animates between tabs
@@ -3456,7 +3524,6 @@ For more detail on the specific changes in this release, please read on.
3456
3524
 
3457
3525
  **New foregrounds**
3458
3526
  The following foregrounds are now available on the `vars.foregroundColor` theme object:
3459
-
3460
3527
  - `cautionLight`
3461
3528
  - `infoLight`
3462
3529
  - `linkLight`
@@ -3717,12 +3784,10 @@ For more detail on the specific changes in this release, please read on.
3717
3784
  **TOKEN CHANGES**
3718
3785
 
3719
3786
  **New**
3720
-
3721
3787
  - **backgroundColor:** `surface`, `neutralSoft`
3722
3788
  - **borderColor:** `neutral`, `neutralInverted`, `neutralLight`
3723
3789
 
3724
3790
  **Removed**
3725
-
3726
3791
  - **backgroundColor:** `card`, `formAccentDisabled`, `input`, `inputDisabled`, `selection`
3727
3792
  - **borderColor:** `formHover`, `standard`, `standardInverted`
3728
3793
 
@@ -3816,7 +3881,6 @@ For more detail on the specific changes in this release, please read on.
3816
3881
 
3817
3882
  **New backgrounds**
3818
3883
  The following backgrounds are now available:
3819
-
3820
3884
  - `neutralActive`
3821
3885
  - `neutralHover`
3822
3886
  - `neutralSoftActive`
@@ -3824,7 +3888,6 @@ For more detail on the specific changes in this release, please read on.
3824
3888
 
3825
3889
  **New boxShadows**
3826
3890
  The following box shadows are now available:
3827
-
3828
3891
  - `borderBrandAccentLightLarge`
3829
3892
  - `borderCriticalLightLarge`
3830
3893
  - `borderFormAccentLight`
@@ -3834,7 +3897,6 @@ For more detail on the specific changes in this release, please read on.
3834
3897
 
3835
3898
  **New boxShadows**
3836
3899
  The following box shadows are now available:
3837
-
3838
3900
  - `borderBrandAccentLightLarge`
3839
3901
  - `borderCriticalLightLarge`
3840
3902
  - `borderFormAccentLight`
@@ -3848,7 +3910,6 @@ For more detail on the specific changes in this release, please read on.
3848
3910
 
3849
3911
  **New backgrounds**
3850
3912
  The following backgrounds are now available on the `vars.backgroundColor` theme object:
3851
-
3852
3913
  - `neutralActive`
3853
3914
  - `neutralHover`
3854
3915
  - `neutralSoftActive`
@@ -3856,7 +3917,6 @@ For more detail on the specific changes in this release, please read on.
3856
3917
 
3857
3918
  **New borderColors**
3858
3919
  The following border colors are now available on the `vars.borderColor` theme object:
3859
-
3860
3920
  - `brandAccentLight`
3861
3921
  - `criticalLight`
3862
3922
  - `formAccentLight`
@@ -3944,7 +4004,6 @@ For more detail on the specific changes in this release, please read on.
3944
4004
  - **Box:** Add new background and border colours ([#983](https://github.com/seek-oss/braid-design-system/pull/983))
3945
4005
 
3946
4006
  New `background` values:
3947
-
3948
4007
  - `brandAccentSoft`
3949
4008
  - `brandAccentSoftActive`
3950
4009
  - `brandAccentSoftHover`
@@ -3956,7 +4015,6 @@ For more detail on the specific changes in this release, please read on.
3956
4015
  - `formAccentSoftHover`
3957
4016
 
3958
4017
  New `boxShadow` values:
3959
-
3960
4018
  - `borderCautionLight`
3961
4019
  - `borderCriticalLight`
3962
4020
  - `borderInfoLight`
@@ -3964,7 +4022,6 @@ For more detail on the specific changes in this release, please read on.
3964
4022
  - `borderPromoteLight`
3965
4023
 
3966
4024
  - **atoms:** Add new `boxShadow` values: ([#983](https://github.com/seek-oss/braid-design-system/pull/983))
3967
-
3968
4025
  - `borderCautionLight`
3969
4026
  - `borderCriticalLight`
3970
4027
  - `borderInfoLight`
@@ -3974,7 +4031,6 @@ For more detail on the specific changes in this release, please read on.
3974
4031
  - **vars:** Add new background and border colours ([#983](https://github.com/seek-oss/braid-design-system/pull/983))
3975
4032
 
3976
4033
  New `backgroundColor` values:
3977
-
3978
4034
  - `brandAccentSoft`
3979
4035
  - `brandAccentSoftActive`
3980
4036
  - `brandAccentSoftHover`
@@ -3986,7 +4042,6 @@ For more detail on the specific changes in this release, please read on.
3986
4042
  - `formAccentSoftHover`
3987
4043
 
3988
4044
  New `borderColor` values:
3989
-
3990
4045
  - `cautionLight`
3991
4046
  - `criticalLight`
3992
4047
  - `infoLight`
@@ -4064,7 +4119,6 @@ For more detail on the specific changes in this release, please read on.
4064
4119
  - Add `wide` breakpoint of 1200px ([#960](https://github.com/seek-oss/braid-design-system/pull/960))
4065
4120
 
4066
4121
  This adds support for `wide` to the following touchpoints:
4067
-
4068
4122
  - Responsive values, e.g.
4069
4123
  ```ts
4070
4124
  { mobile: 'small', wide: 'large' }
@@ -4203,7 +4257,6 @@ For more detail on the specific changes in this release, please read on.
4203
4257
  - Updated minimum browser requirement to browsers that support CSS variables ([#947](https://github.com/seek-oss/braid-design-system/pull/947))
4204
4258
 
4205
4259
  For the major browsers this includes:
4206
-
4207
4260
  - Chrome 49+
4208
4261
  - iOS 9.3+
4209
4262
  - Safari 9.1+
@@ -4220,7 +4273,6 @@ For more detail on the specific changes in this release, please read on.
4220
4273
  - Standardise breakpoints across all themes ([#947](https://github.com/seek-oss/braid-design-system/pull/947))
4221
4274
 
4222
4275
  All themes now use the following breakpoints:
4223
-
4224
4276
  - Mobile: `0px`
4225
4277
  - Tablet: `740px`
4226
4278
  - Desktop: `992px`
@@ -4230,16 +4282,13 @@ For more detail on the specific changes in this release, please read on.
4230
4282
  This is a change for the following themes:
4231
4283
 
4232
4284
  **jobStreet, jobStreetClassic, jobsDb, occ, wireframe**
4233
-
4234
4285
  - Tablet: `768px` → `740px`
4235
4286
 
4236
4287
  **catho**
4237
-
4238
4288
  - Tablet: `600px` → `740px`
4239
4289
  - Desktop: `1024px` → `992px`
4240
4290
 
4241
4291
  **docs**
4242
-
4243
4292
  - Tablet: `768px` → `740px`
4244
4293
  - Desktop: `1136px` → `992px`
4245
4294
 
@@ -4443,7 +4492,6 @@ For more detail on the specific changes in this release, please read on.
4443
4492
  To maintain accessibility, it is required to provide either a **aria-label** or **aria-labelledby** property, to describe the field's intent.
4444
4493
 
4445
4494
  Given there is no visual label, the following features from a standard Checkbox cannot be supported:
4446
-
4447
4495
  - description
4448
4496
  - message
4449
4497
  - badge
@@ -5491,13 +5539,11 @@ For more detail on the specific changes in this release, please read on.
5491
5539
  The following z-index palette is now available on `Box`:
5492
5540
 
5493
5541
  **Local stacking**
5494
-
5495
5542
  - `0`
5496
5543
  - `1`
5497
5544
  - `2`
5498
5545
 
5499
5546
  **Global stacking**
5500
-
5501
5547
  - `"dropdownBackdrop"`
5502
5548
  - `"dropdown"`
5503
5549
  - `"sticky"`
@@ -5621,7 +5667,6 @@ For more detail on the specific changes in this release, please read on.
5621
5667
  - Add `List` component ([#710](https://github.com/seek-oss/braid-design-system/pull/710))
5622
5668
 
5623
5669
  `List` serves as a replacement for the `BulletList` and `Bullet` components which adds the following improvements:
5624
-
5625
5670
  - Support for numbers and alpha characters as bullets
5626
5671
  - Support for custom start positions in number/alpha lists
5627
5672
  - Rich content support, e.g. list items with multiple paragraphs, nested lists, etc.
@@ -5686,7 +5731,6 @@ For more detail on the specific changes in this release, please read on.
5686
5731
  The `_LEGACY_SPACE_` prop was provided to support consumers migrating to [`v14`](https://github.com/seek-oss/braid-design-system/releases/tag/v14.0.0) when the white space cropping and layout components were originally introduced. This has now been removed to allow us to further improve on our approach.
5687
5732
 
5688
5733
  Migrating off this prop will require consumers to perform the following steps:
5689
-
5690
5734
  - Remove the usage of `_LEGACY_SPACE_` on a component
5691
5735
  - Conduct a visual review of the impact (component will appear closer to neighbouring elements)
5692
5736
  - Use existing layout components, e.g. `Stack`, to define/control the reintroduction of the desired space.
@@ -5771,7 +5815,6 @@ For more detail on the specific changes in this release, please read on.
5771
5815
  - **`seekBusiness` theme:** Inherit from new `apac` theme rather than the deprecated `seekAnz` theme ([#694](https://github.com/seek-oss/braid-design-system/pull/694))
5772
5816
 
5773
5817
  Just like the migration from `seekAnz` to `apac`, the visual changes are as follows:
5774
-
5775
5818
  - The body background has changed from `#eeeeee` to `#f5f6f8`.
5776
5819
  - All grey colours now have a hint of blue.
5777
5820
  - Buttons and form fields have decreased in height from `48px` to `44px`.
@@ -5802,7 +5845,6 @@ For more detail on the specific changes in this release, please read on.
5802
5845
  This component serves as a replacement for `ToggleContent` from [SEEK Style Guide.](https://github.com/seek-oss/seek-style-guide)
5803
5846
 
5804
5847
  **SEEK STYLE GUIDE MIGRATION GUIDE**
5805
-
5806
5848
  - `ToggleContent` has been renamed to `Disclosure`.
5807
5849
  - The `onShowMore` prop has been renamed to `onToggle`.
5808
5850
  - The spacing around the button has changed to follow [Braid's layout guidelines.](https://seek-oss.github.io/braid-design-system/foundations/layout) Design review is recommeded.
@@ -5843,7 +5885,6 @@ For more detail on the specific changes in this release, please read on.
5843
5885
  Consumers of the `seekAnz` theme are under no immediate pressure to migrate and both themes will be provided for the forseeable future. For now, this theme is aimed at those teams that are explicitly wanting to adopt newer design standards.
5844
5886
 
5845
5887
  The visual changes to `seekAnz` are as follows:
5846
-
5847
5888
  - The body background has changed from `#eeeeee` to `#f5f6f8`.
5848
5889
  - All grey colours now have a hint of blue.
5849
5890
  - Buttons and form fields have decreased in height from 48px to 44px.
@@ -5886,7 +5927,6 @@ For more detail on the specific changes in this release, please read on.
5886
5927
  - MonthPicker: Support custom month and year labels ([#672](https://github.com/seek-oss/braid-design-system/pull/672))
5887
5928
 
5888
5929
  To support internationalisation, you can now pass the following props to `MonthPicker`:
5889
-
5890
5930
  - **monthLabel** (`string`)
5891
5931
  - **yearLabel** (`string`)
5892
5932
  - **monthNames** (`string[]`)
@@ -6068,7 +6108,6 @@ For more detail on the specific changes in this release, please read on.
6068
6108
  - Improve field border contrast ratio ([#638](https://github.com/seek-oss/braid-design-system/pull/638))
6069
6109
 
6070
6110
  To improve accessibility, field borders have been darkened for the following themes:
6071
-
6072
6111
  - `seekAnz`
6073
6112
  - `seekBusiness`
6074
6113
  - `seekUnifiedBeta`
@@ -6277,7 +6316,6 @@ For more detail on the specific changes in this release, please read on.
6277
6316
  The implementation of internal spacing within fields has been adjusted to better support browser extensions for password managers.
6278
6317
 
6279
6318
  Affects the following components:
6280
-
6281
6319
  - PasswordField: visibility toggle button
6282
6320
  - TextField: clear button
6283
6321
  - Autosuggest: clear button
@@ -6291,7 +6329,6 @@ For more detail on the specific changes in this release, please read on.
6291
6329
  Field buttons, such as clear and password visibility toggle, fire on mouse down to ensure focus is retained on the relevant field. We now ensure that the button only recognises left mouse button clicks.
6292
6330
 
6293
6331
  Affects the following components:
6294
-
6295
6332
  - PasswordField: visibility toggle button
6296
6333
  - TextField: clear button
6297
6334
  - Autosuggest: clear button
@@ -6501,7 +6538,6 @@ For more detail on the specific changes in this release, please read on.
6501
6538
  - Drop lodash usage to decrease bundle size. ([#585](https://github.com/seek-oss/braid-design-system/pull/585))
6502
6539
 
6503
6540
  This directly affects `MonthPicker` and any components using the `data` prop:
6504
-
6505
6541
  - All field components
6506
6542
  - OverflowMenu
6507
6543
  - MenuRenderer
@@ -6558,7 +6594,6 @@ For more detail on the specific changes in this release, please read on.
6558
6594
  In order to make your custom link component available for any type of link (not just usages of `TextLink`), this release introduces a new `Link` component which renders an unstyled `a` tag by default.
6559
6595
 
6560
6596
  **BREAKING CHANGES**
6561
-
6562
6597
  - `TextLink` now requires an `href` prop. Even though this is unlikely to affect anyone (a `TextLink` without an `href` isn't terribly useful), this is still technically a breaking change.
6563
6598
 
6564
6599
  However, if you find an instance of `TextLink` that you think _shouldn't_ have an `href`, this is a sign that it's not _actually_ a link and you should use a [`TextLinkRenderer`](https://seek-oss.github.io/braid-design-system/components/TextLinkRenderer) instead. Unfortunately, because there's no way for us to know the semantics of your usage ahead of time, we're unable to provide a migration guide, so you'll need to be mindful of how this might impact accessibility.
@@ -6685,7 +6720,6 @@ For more detail on the specific changes in this release, please read on.
6685
6720
  - Add customisable `MenuRenderer` component ([#514](https://github.com/seek-oss/braid-design-system/pull/514))
6686
6721
 
6687
6722
  **BREAKING CHANGES**
6688
-
6689
6723
  - Rename `OverflowMenuItem` to `MenuItem`.
6690
6724
  - Removed `type="link"` from `OverflowMenuItem` due to an accessibility issue with the approach (based on review of consumer usage, it did not seem to be used).
6691
6725
 
@@ -6694,7 +6728,6 @@ For more detail on the specific changes in this release, please read on.
6694
6728
  **`MenuRenderer`**
6695
6729
 
6696
6730
  Encapsulates all the behaviours of an accessible menu button, allowing consumers to define a custom `trigger` to open the menu. The trigger function receives two arguments:
6697
-
6698
6731
  1. Props required for accessibility, including mouse/keyboard interactions
6699
6732
  2. Menu state object containing the `open` state.
6700
6733
 
@@ -6755,7 +6788,6 @@ For more detail on the specific changes in this release, please read on.
6755
6788
  - Only show focus rings on buttons for keyboard navigation. ([#526](https://github.com/seek-oss/braid-design-system/pull/526))
6756
6789
 
6757
6790
  This impacts the following components:
6758
-
6759
6791
  - `Button`
6760
6792
  - `ButtonRenderer`
6761
6793
  - `OverflowMenu`
@@ -6802,5 +6834,4 @@ For more detail on the specific changes in this release, please read on.
6802
6834
  - 33139c8: Clone seekAnz theme to seekUnifiedBeta
6803
6835
 
6804
6836
  BREAKING CHANGE
6805
-
6806
6837
  - `jobsDbRebrand` theme has been removed
package/dist/css.cjs CHANGED
@@ -4,6 +4,7 @@ const lib_css_atoms_atoms_cjs = require("./lib/css/atoms/atoms.cjs");
4
4
  const lib_css_breakpoints_cjs = require("./lib/css/breakpoints.cjs");
5
5
  const lib_css_colorModeStyle_cjs = require("./lib/css/colorModeStyle.cjs");
6
6
  const lib_css_globalTypographyStyles_cjs = require("./lib/css/globalTypographyStyles.cjs");
7
+ const lib_css_outlineStyle_cjs = require("./lib/css/outlineStyle.cjs");
7
8
  const lib_css_responsiveStyle_cjs = require("./lib/css/responsiveStyle.cjs");
8
9
  const lib_themes_vars_css_cjs = require("./lib/themes/vars.css.cjs");
9
10
  const {
@@ -48,6 +49,7 @@ exports.breakpoints = lib_css_breakpoints_cjs.breakpoints;
48
49
  exports.colorModeStyle = lib_css_colorModeStyle_cjs.colorModeStyle;
49
50
  exports.globalHeadingStyle = lib_css_globalTypographyStyles_cjs.globalHeadingStyle;
50
51
  exports.globalTextStyle = lib_css_globalTypographyStyles_cjs.globalTextStyle;
52
+ exports.outlineStyle = lib_css_outlineStyle_cjs.outlineStyle;
51
53
  exports.responsiveStyle = lib_css_responsiveStyle_cjs.responsiveStyle;
52
54
  exports.atoms = atoms;
53
55
  exports.vars = vars;
package/dist/css.d.mts CHANGED
@@ -1 +1 @@
1
- export { Breakpoint, atoms, breakpoints, colorModeStyle, globalHeadingStyle, globalTextStyle, responsiveStyle, vars } from './index.js';
1
+ export { Breakpoint, atoms, breakpoints, colorModeStyle, globalHeadingStyle, globalTextStyle, outlineStyle, responsiveStyle, vars } from './index.js';
package/dist/css.d.ts CHANGED
@@ -1 +1 @@
1
- export { Breakpoint, atoms, breakpoints, colorModeStyle, globalHeadingStyle, globalTextStyle, responsiveStyle, vars } from './index.js';
1
+ export { Breakpoint, atoms, breakpoints, colorModeStyle, globalHeadingStyle, globalTextStyle, outlineStyle, responsiveStyle, vars } from './index.js';
package/dist/css.mjs CHANGED
@@ -2,6 +2,7 @@ import { atoms as atoms$1 } from "./lib/css/atoms/atoms.mjs";
2
2
  import { breakpoints } from "./lib/css/breakpoints.mjs";
3
3
  import { colorModeStyle } from "./lib/css/colorModeStyle.mjs";
4
4
  import { globalHeadingStyle, globalTextStyle } from "./lib/css/globalTypographyStyles.mjs";
5
+ import { outlineStyle } from "./lib/css/outlineStyle.mjs";
5
6
  import { responsiveStyle } from "./lib/css/responsiveStyle.mjs";
6
7
  import { vars as vars$1 } from "./lib/themes/vars.css.mjs";
7
8
  const {
@@ -48,6 +49,7 @@ export {
48
49
  colorModeStyle,
49
50
  globalHeadingStyle,
50
51
  globalTextStyle,
52
+ outlineStyle,
51
53
  responsiveStyle,
52
54
  vars
53
55
  };
package/dist/index.d.mts CHANGED
@@ -2194,7 +2194,7 @@ declare const responsiveAtomicProperties: {
2194
2194
  declare const sprinkles: ((props: {
2195
2195
  readonly overflow?: "hidden" | "scroll" | "visible" | "auto" | undefined;
2196
2196
  readonly userSelect?: "none" | undefined;
2197
- readonly outline?: "none" | undefined;
2197
+ readonly outline?: "none" | "focus" | undefined;
2198
2198
  readonly opacity?: 0 | undefined;
2199
2199
  readonly zIndex?: 0 | 2 | 1 | "dropdownBackdrop" | "dropdown" | "sticky" | "modalBackdrop" | "modal" | "notification" | undefined;
2200
2200
  readonly cursor?: "default" | "pointer" | undefined;
@@ -2811,10 +2811,10 @@ interface TextProps extends TypographyProps {
2811
2811
  }
2812
2812
  declare const Text: ({ size: sizeProp, tone: toneProp, weight: weightProp, maxLines: maxLinesProp, baseline, ...typographyProps }: TextProps) => react.JSX.Element;
2813
2813
 
2814
- declare const validTones$1: readonly ["neutral", "secondary"];
2814
+ declare const validTones: readonly ["neutral", "secondary"];
2815
2815
  interface AccordionContextValue {
2816
2816
  size?: TextProps['size'];
2817
- tone?: (typeof validTones$1)[number];
2817
+ tone?: (typeof validTones)[number];
2818
2818
  weight?: TextProps['weight'];
2819
2819
  }
2820
2820
 
@@ -2831,12 +2831,13 @@ interface AccordionProps {
2831
2831
  declare const Accordion$1: ({ children, size, tone, weight, space: spaceProp, dividers, data, ...restProps }: AccordionProps) => react.JSX.Element;
2832
2832
 
2833
2833
  type ValueOrArray<T> = T | T[];
2834
- declare const validTones: readonly ["promote", "info", "neutral", "positive", "caution", "critical"];
2835
- type Tone$2 = (typeof validTones)[number];
2836
- type BadgeWeight = 'strong' | 'regular';
2834
+ declare const validBadgeTones: readonly ["promote", "info", "neutral", "positive", "caution", "critical"];
2835
+ type Tone$2 = (typeof validBadgeTones)[number];
2836
+ declare const validBadgeWeights: readonly ["strong", "regular"];
2837
+ type Weight = (typeof validBadgeWeights)[number];
2837
2838
  interface BadgeProps {
2838
2839
  tone?: Tone$2;
2839
- weight?: BadgeWeight;
2840
+ weight?: Weight;
2840
2841
  bleedY?: boolean;
2841
2842
  title?: string;
2842
2843
  children: ValueOrArray<string | number>;
@@ -2872,7 +2873,8 @@ declare const AccordionItem$1: ({ id, label, children, badge, size: sizeProp, to
2872
2873
  declare const buttonTones: readonly ["formAccent", "brandAccent", "critical", "neutral"];
2873
2874
 
2874
2875
  declare const buttonVariants: readonly ["solid", "ghost", "soft", "transparent"];
2875
- type ButtonSize = 'standard' | 'small';
2876
+ declare const buttonSizes: readonly ["standard", "small"];
2877
+ type ButtonSize = (typeof buttonSizes)[number];
2876
2878
  type ButtonTone = (typeof buttonTones)[number];
2877
2879
  type ButtonVariant = (typeof buttonVariants)[number];
2878
2880
  interface ButtonStyleProps {
@@ -3754,10 +3756,12 @@ interface StrongProps {
3754
3756
  }
3755
3757
  declare const Strong: ({ children, data, id, ...restProps }: StrongProps) => react.JSX.Element;
3756
3758
 
3759
+ declare const alignY: Record<"top" | "center", string>;
3760
+
3757
3761
  interface TableProps {
3758
3762
  label: string;
3759
3763
  children: ReactNode;
3760
- alignY?: 'top' | 'center';
3764
+ alignY?: keyof typeof alignY;
3761
3765
  data?: DataAttributeMap;
3762
3766
  }
3763
3767
  declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
@@ -4384,6 +4388,16 @@ interface GlobalHeadingProps {
4384
4388
  }
4385
4389
  declare const globalHeadingStyle: ({ weight, level, }: GlobalHeadingProps) => StyleRule;
4386
4390
 
4391
+ declare const outlineStyle: (selector: string) => {
4392
+ outline: string;
4393
+ transition: string;
4394
+ selectors: {
4395
+ [x: string]: {
4396
+ outlineColor: `var(--${string})`;
4397
+ };
4398
+ };
4399
+ };
4400
+
4387
4401
  type CSSProps = Omit<StyleRule, '@media' | '@supports'>;
4388
4402
  interface ResponsiveStyle {
4389
4403
  mobile?: CSSProps;
@@ -4522,6 +4536,11 @@ declare const vars: {
4522
4536
  };
4523
4537
  declare function atoms(props: Omit<Atoms, 'background'>): string;
4524
4538
 
4539
+ /**
4540
+ * @deprecated the `apac` theme is deprecated and will be removed in a future release.
4541
+ *
4542
+ * Use the `seekJobs` theme instead.
4543
+ */
4525
4544
  declare const _default$6: {
4526
4545
  vanillaTheme: string;
4527
4546
  name: string;
@@ -5335,5 +5354,5 @@ declare const _default: {
5335
5354
  code: string;
5336
5355
  }[];
5337
5356
 
5338
- 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, responsiveStyle, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
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 };
5339
5358
  export type { Breakpoint, LinkComponent };
package/dist/index.d.ts CHANGED
@@ -2194,7 +2194,7 @@ declare const responsiveAtomicProperties: {
2194
2194
  declare const sprinkles: ((props: {
2195
2195
  readonly overflow?: "hidden" | "scroll" | "visible" | "auto" | undefined;
2196
2196
  readonly userSelect?: "none" | undefined;
2197
- readonly outline?: "none" | undefined;
2197
+ readonly outline?: "none" | "focus" | undefined;
2198
2198
  readonly opacity?: 0 | undefined;
2199
2199
  readonly zIndex?: 0 | 2 | 1 | "dropdownBackdrop" | "dropdown" | "sticky" | "modalBackdrop" | "modal" | "notification" | undefined;
2200
2200
  readonly cursor?: "default" | "pointer" | undefined;
@@ -2811,10 +2811,10 @@ interface TextProps extends TypographyProps {
2811
2811
  }
2812
2812
  declare const Text: ({ size: sizeProp, tone: toneProp, weight: weightProp, maxLines: maxLinesProp, baseline, ...typographyProps }: TextProps) => react.JSX.Element;
2813
2813
 
2814
- declare const validTones$1: readonly ["neutral", "secondary"];
2814
+ declare const validTones: readonly ["neutral", "secondary"];
2815
2815
  interface AccordionContextValue {
2816
2816
  size?: TextProps['size'];
2817
- tone?: (typeof validTones$1)[number];
2817
+ tone?: (typeof validTones)[number];
2818
2818
  weight?: TextProps['weight'];
2819
2819
  }
2820
2820
 
@@ -2831,12 +2831,13 @@ interface AccordionProps {
2831
2831
  declare const Accordion$1: ({ children, size, tone, weight, space: spaceProp, dividers, data, ...restProps }: AccordionProps) => react.JSX.Element;
2832
2832
 
2833
2833
  type ValueOrArray<T> = T | T[];
2834
- declare const validTones: readonly ["promote", "info", "neutral", "positive", "caution", "critical"];
2835
- type Tone$2 = (typeof validTones)[number];
2836
- type BadgeWeight = 'strong' | 'regular';
2834
+ declare const validBadgeTones: readonly ["promote", "info", "neutral", "positive", "caution", "critical"];
2835
+ type Tone$2 = (typeof validBadgeTones)[number];
2836
+ declare const validBadgeWeights: readonly ["strong", "regular"];
2837
+ type Weight = (typeof validBadgeWeights)[number];
2837
2838
  interface BadgeProps {
2838
2839
  tone?: Tone$2;
2839
- weight?: BadgeWeight;
2840
+ weight?: Weight;
2840
2841
  bleedY?: boolean;
2841
2842
  title?: string;
2842
2843
  children: ValueOrArray<string | number>;
@@ -2872,7 +2873,8 @@ declare const AccordionItem$1: ({ id, label, children, badge, size: sizeProp, to
2872
2873
  declare const buttonTones: readonly ["formAccent", "brandAccent", "critical", "neutral"];
2873
2874
 
2874
2875
  declare const buttonVariants: readonly ["solid", "ghost", "soft", "transparent"];
2875
- type ButtonSize = 'standard' | 'small';
2876
+ declare const buttonSizes: readonly ["standard", "small"];
2877
+ type ButtonSize = (typeof buttonSizes)[number];
2876
2878
  type ButtonTone = (typeof buttonTones)[number];
2877
2879
  type ButtonVariant = (typeof buttonVariants)[number];
2878
2880
  interface ButtonStyleProps {
@@ -3754,10 +3756,12 @@ interface StrongProps {
3754
3756
  }
3755
3757
  declare const Strong: ({ children, data, id, ...restProps }: StrongProps) => react.JSX.Element;
3756
3758
 
3759
+ declare const alignY: Record<"top" | "center", string>;
3760
+
3757
3761
  interface TableProps {
3758
3762
  label: string;
3759
3763
  children: ReactNode;
3760
- alignY?: 'top' | 'center';
3764
+ alignY?: keyof typeof alignY;
3761
3765
  data?: DataAttributeMap;
3762
3766
  }
3763
3767
  declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
@@ -4384,6 +4388,16 @@ interface GlobalHeadingProps {
4384
4388
  }
4385
4389
  declare const globalHeadingStyle: ({ weight, level, }: GlobalHeadingProps) => StyleRule;
4386
4390
 
4391
+ declare const outlineStyle: (selector: string) => {
4392
+ outline: string;
4393
+ transition: string;
4394
+ selectors: {
4395
+ [x: string]: {
4396
+ outlineColor: `var(--${string})`;
4397
+ };
4398
+ };
4399
+ };
4400
+
4387
4401
  type CSSProps = Omit<StyleRule, '@media' | '@supports'>;
4388
4402
  interface ResponsiveStyle {
4389
4403
  mobile?: CSSProps;
@@ -4522,6 +4536,11 @@ declare const vars: {
4522
4536
  };
4523
4537
  declare function atoms(props: Omit<Atoms, 'background'>): string;
4524
4538
 
4539
+ /**
4540
+ * @deprecated the `apac` theme is deprecated and will be removed in a future release.
4541
+ *
4542
+ * Use the `seekJobs` theme instead.
4543
+ */
4525
4544
  declare const _default$6: {
4526
4545
  vanillaTheme: string;
4527
4546
  name: string;
@@ -5335,5 +5354,5 @@ declare const _default: {
5335
5354
  code: string;
5336
5355
  }[];
5337
5356
 
5338
- 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, responsiveStyle, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
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 };
5339
5358
  export type { Breakpoint, LinkComponent };