@westpac/ui 0.40.1 → 0.40.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/popover/components/panel/panel.component.js +0 -1
- package/package.json +3 -3
- package/src/components/button/button.styles.ts +1 -1
- package/src/components/popover/components/panel/panel.component.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,7 @@ export const styles = tv({
|
|
|
30
30
|
base: 'border border-hero bg-hero text-white hover:bg-hero-70 active:bg-hero-50'
|
|
31
31
|
},
|
|
32
32
|
faint: {
|
|
33
|
-
base: 'border border-
|
|
33
|
+
base: 'border border-borderDark bg-light text-muted hover:bg-white active:bg-white'
|
|
34
34
|
},
|
|
35
35
|
link: {
|
|
36
36
|
base: 'text-link underline'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@westpac/ui",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
"vite": "^5.2.12",
|
|
259
259
|
"vitest": "^0.30.1",
|
|
260
260
|
"@westpac/eslint-config": "~0.4.0",
|
|
261
|
-
"@westpac/
|
|
262
|
-
"@westpac/
|
|
261
|
+
"@westpac/ts-config": "~0.0.0",
|
|
262
|
+
"@westpac/test-config": "~0.0.0"
|
|
263
263
|
},
|
|
264
264
|
"dependencies": {
|
|
265
265
|
"@duetds/date-picker": "~1.4.0",
|
|
@@ -32,7 +32,7 @@ export const styles = tv(
|
|
|
32
32
|
base: 'relative border border-primary bg-primary text-white hover:bg-primary-70 active:bg-primary-50 active-theme-rams:border-b-pop active-theme-rams:before:absolute active-theme-rams:before:bottom-0 active-theme-rams:before:block active-theme-rams:before:w-full active-theme-rams:before:bg-pop',
|
|
33
33
|
},
|
|
34
34
|
hero: { base: 'border border-hero bg-hero text-white hover:bg-hero-70 active:bg-hero-50' },
|
|
35
|
-
faint: { base: 'border border-
|
|
35
|
+
faint: { base: 'border border-borderDark bg-light text-muted hover:bg-white active:bg-white' },
|
|
36
36
|
link: { base: 'text-link underline' },
|
|
37
37
|
unstyled: { base: '' },
|
|
38
38
|
},
|
|
@@ -25,7 +25,7 @@ export function BasePanel({
|
|
|
25
25
|
|
|
26
26
|
const styles = panelStyles({ placement });
|
|
27
27
|
return (
|
|
28
|
-
<FocusScope
|
|
28
|
+
<FocusScope autoFocus restoreFocus>
|
|
29
29
|
<div style={popoverPosition} className={styles.popover()} test-id="popover" id={id} ref={popoverRef}>
|
|
30
30
|
<div className={styles.content()}>
|
|
31
31
|
<Tag tabIndex={0} className={styles.heading()}>
|