@westpac/ui 0.31.0 → 0.32.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.
- package/CHANGELOG.md +13 -0
- package/dist/component-type.json +1 -1
- package/dist/components/accordion/components/accordion-item/accordion-item.styles.js +1 -1
- package/dist/components/checkbox-group/components/checkbox-group-checkbox/checkbox-group-checkbox.styles.js +4 -4
- package/dist/components/circle/circle.styles.d.ts +2 -2
- package/dist/components/circle/circle.styles.js +1 -1
- package/dist/components/flexi-cell/components/flexi-cell-circle/flexi-cell-circle.styles.js +1 -1
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icon/icon.styles.js +5 -5
- package/dist/components/list/components/list-item/list-item.styles.js +3 -3
- package/dist/components/pictogram/components/decorative/wbc-bank-card-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/accessibility-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/accounts-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/aeroplane-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/arrow-down-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/arrow-left-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/arrow-right-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/arrow-up-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/arrows-passing-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/atm-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/australia-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/bank-card-locked-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/bank-card-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/bank-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/birth-certificate-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/building-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/buoy-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/bus-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/business-person-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/calculator-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/calendar-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/car-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/cash-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/celebration-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/chat-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/clock-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/coffee-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/coins-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/compass-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/customer-profile-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/desktop-computer-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/document-and-pen-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/dollar-sign-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/drivers-licence-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/education-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/eftpos-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/envelope-email-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/envelope-printed-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/face-happy-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/face-unhappy-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/face-unsure-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/finger-motion-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/fingerprint-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/football-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/fork-knife-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/generic-document-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/gift-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/globe-australia-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/globe-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/graph-decreasing-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/graph-increasing-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/gym-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/headset-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/heart-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/house-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/light-bulb-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/loop-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/medicare-card-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/mobile-device-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/money-in-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/money-out-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/movie-tickets-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/nest-egg-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/noodles-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/number-1-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/number-2-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/number-3-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/number-4-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/number-5-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/padlock-locked-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/padlock-unlocked-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/passport-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/percent-sign-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/person-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/piggy-bank-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/pizza-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/plant-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/search-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/secure-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/shop-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/shopping-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/sparkle-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/star-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/stopwatch-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/target-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/tax-document-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/telephone-call-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/thumbs-up-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/tick-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/tools-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/tractor-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/truck-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/umbrella-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/unsecure-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/wallet-pictogram.js +1 -1
- package/dist/components/pictogram/components/informative/wearables-pictogram.js +1 -1
- package/dist/components/popover/components/panel/panel.component.d.ts +2 -1
- package/dist/components/popover/components/panel/panel.component.js +42 -40
- package/dist/components/popover/components/panel/panel.hook.d.ts +39 -0
- package/dist/components/popover/components/panel/panel.hook.js +83 -0
- package/dist/components/popover/components/panel/panel.styles.js +9 -6
- package/dist/components/popover/components/panel/panel.types.d.ts +4 -0
- package/dist/components/popover/popover.component.d.ts +1 -1
- package/dist/components/popover/popover.component.js +4 -3
- package/dist/components/popover/popover.types.d.ts +7 -0
- package/dist/components/progress-indicator/progress-indicator.styles.js +5 -5
- package/dist/components/progress-rope/components/progress-rope-group-step/progress-rope-group-step.styles.js +1 -1
- package/dist/components/progress-rope/components/progress-rope-step/progress-rope-step.styles.js +2 -2
- package/dist/components/radio-group/components/radio-group-radio/radio-group-radio.styles.js +4 -4
- package/dist/components/switch/switch.styles.js +4 -4
- package/dist/components/symbol/components/logos/red-avatar-circle-logo.js +1 -1
- package/dist/components/symbol/components/logos/red-avatar-circle-reversed-logo.js +1 -1
- package/dist/components/symbol/components/symbols/facebook-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/google-plus-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/instagram-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/linked-in-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/slack-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/twitter-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/x-mark-inverse-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/x-mark-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/x-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/yammer-symbol.js +1 -1
- package/dist/components/symbol/components/symbols/youtube-symbol.js +1 -1
- package/dist/components/textarea/textarea.styles.js +4 -4
- package/dist/css/westpac-ui.css +519 -515
- package/dist/css/westpac-ui.min.css +519 -515
- package/package.json +3 -3
- package/src/components/accordion/components/accordion-item/accordion-item.styles.ts +1 -1
- package/src/components/checkbox-group/components/checkbox-group-checkbox/checkbox-group-checkbox.styles.ts +4 -4
- package/src/components/circle/circle.styles.ts +1 -1
- package/src/components/flexi-cell/components/flexi-cell-circle/flexi-cell-circle.styles.ts +1 -1
- package/src/components/header/header.styles.ts +1 -1
- package/src/components/icon/icon.styles.ts +5 -5
- package/src/components/list/components/list-item/list-item.styles.ts +3 -3
- package/src/components/pictogram/components/decorative/wbc-bank-card-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/accessibility-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/accounts-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/aeroplane-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/arrow-down-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/arrow-left-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/arrow-right-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/arrow-up-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/arrows-passing-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/atm-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/australia-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/bank-card-locked-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/bank-card-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/bank-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/birth-certificate-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/building-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/buoy-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/bus-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/business-person-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/calculator-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/calendar-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/car-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/cash-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/celebration-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/chat-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/clock-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/coffee-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/coins-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/compass-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/customer-profile-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/desktop-computer-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/document-and-pen-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/dollar-sign-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/drivers-licence-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/education-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/eftpos-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/envelope-email-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/envelope-printed-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/face-happy-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/face-unhappy-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/face-unsure-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/finger-motion-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/fingerprint-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/football-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/fork-knife-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/generic-document-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/gift-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/globe-australia-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/globe-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/graph-decreasing-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/graph-increasing-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/gym-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/headset-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/heart-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/house-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/light-bulb-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/loop-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/medicare-card-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/mobile-device-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/money-in-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/money-out-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/movie-tickets-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/nest-egg-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/noodles-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/number-1-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/number-2-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/number-3-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/number-4-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/number-5-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/padlock-locked-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/padlock-unlocked-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/passport-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/percent-sign-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/person-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/piggy-bank-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/pizza-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/plant-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/search-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/secure-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/shop-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/shopping-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/sparkle-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/star-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/stopwatch-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/target-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/tax-document-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/telephone-call-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/thumbs-up-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/tick-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/tools-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/tractor-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/truck-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/umbrella-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/unsecure-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/wallet-pictogram.tsx +1 -1
- package/src/components/pictogram/components/informative/wearables-pictogram.tsx +1 -1
- package/src/components/popover/components/panel/panel.component.tsx +34 -45
- package/src/components/popover/components/panel/panel.hook.tsx +113 -0
- package/src/components/popover/components/panel/panel.styles.ts +9 -7
- package/src/components/popover/components/panel/panel.types.ts +4 -0
- package/src/components/popover/popover.component.tsx +10 -4
- package/src/components/popover/popover.types.ts +8 -0
- package/src/components/progress-indicator/progress-indicator.styles.ts +5 -5
- package/src/components/progress-rope/components/progress-rope-group-step/progress-rope-group-step.styles.ts +1 -1
- package/src/components/progress-rope/components/progress-rope-step/progress-rope-step.styles.ts +2 -2
- package/src/components/radio-group/components/radio-group-radio/radio-group-radio.styles.ts +4 -4
- package/src/components/switch/switch.styles.ts +4 -4
- package/src/components/symbol/components/logos/red-avatar-circle-logo.tsx +1 -1
- package/src/components/symbol/components/logos/red-avatar-circle-reversed-logo.tsx +1 -1
- package/src/components/symbol/components/symbols/facebook-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/google-plus-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/instagram-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/linked-in-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/slack-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/twitter-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/x-mark-inverse-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/x-mark-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/x-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/yammer-symbol.tsx +1 -1
- package/src/components/symbol/components/symbols/youtube-symbol.tsx +1 -1
- package/src/components/textarea/textarea.styles.ts +4 -4
- package/dist/components/popover/popover.utils.d.ts +0 -3
- package/dist/components/popover/popover.utils.js +0 -37
- package/src/components/popover/popover.utils.tsx +0 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@westpac/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -257,9 +257,9 @@
|
|
|
257
257
|
"typescript": "^5.5.4",
|
|
258
258
|
"vite": "^5.2.12",
|
|
259
259
|
"vitest": "^0.30.1",
|
|
260
|
-
"@westpac/ts-config": "~0.0.0",
|
|
261
260
|
"@westpac/eslint-config": "~0.4.0",
|
|
262
|
-
"@westpac/test-config": "~0.0.0"
|
|
261
|
+
"@westpac/test-config": "~0.0.0",
|
|
262
|
+
"@westpac/ts-config": "~0.0.0"
|
|
263
263
|
},
|
|
264
264
|
"dependencies": {
|
|
265
265
|
"@duetds/date-picker": "~1.4.0",
|
|
@@ -33,14 +33,14 @@ export const styles = tv(
|
|
|
33
33
|
},
|
|
34
34
|
size: {
|
|
35
35
|
large: {
|
|
36
|
-
checkIcon: '
|
|
36
|
+
checkIcon: 'size-5',
|
|
37
37
|
base: 'mb-2',
|
|
38
|
-
checkbox: '
|
|
38
|
+
checkbox: 'size-5',
|
|
39
39
|
},
|
|
40
40
|
medium: {
|
|
41
|
-
checkIcon: '
|
|
41
|
+
checkIcon: 'size-4',
|
|
42
42
|
base: 'mb-1',
|
|
43
|
-
checkbox: '
|
|
43
|
+
checkbox: 'size-4',
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
46
|
},
|
|
@@ -2,7 +2,7 @@ import { tv } from 'tailwind-variants';
|
|
|
2
2
|
|
|
3
3
|
export const styles = tv(
|
|
4
4
|
{
|
|
5
|
-
base: 'flex
|
|
5
|
+
base: 'flex size-5 flex-col items-center justify-center overflow-hidden rounded-full bg-background',
|
|
6
6
|
variants: {},
|
|
7
7
|
},
|
|
8
8
|
{ responsiveVariants: ['xsl', 'sm', 'md', 'lg', 'xl'] },
|
|
@@ -2,7 +2,7 @@ import { tv } from 'tailwind-variants';
|
|
|
2
2
|
|
|
3
3
|
export const styles = tv(
|
|
4
4
|
{
|
|
5
|
-
slots: { base: 'pointer-events-none
|
|
5
|
+
slots: { base: 'pointer-events-none size-4 text-[12px] font-bold text-muted' },
|
|
6
6
|
variants: {},
|
|
7
7
|
},
|
|
8
8
|
{ responsiveVariants: ['xsl', 'sm', 'md', 'lg', 'xl'] },
|
|
@@ -11,7 +11,7 @@ export const styles = tv(
|
|
|
11
11
|
largeLogo: 'max-sm:hidden',
|
|
12
12
|
leftContent: 'flex items-center',
|
|
13
13
|
leftButton:
|
|
14
|
-
'my-1 border-r border-[#E8E8ED] p-0
|
|
14
|
+
'my-1 rounded-none border-r border-[#E8E8ED] p-0 max-sm:-ml-2 max-sm:mr-2 max-sm:h-7 max-sm:min-w-7 sm:-ml-4 sm:mr-3 sm:h-[3.3125rem] sm:min-w-10',
|
|
15
15
|
rightContent: 'ml-auto flex items-center',
|
|
16
16
|
},
|
|
17
17
|
variants: {
|
|
@@ -5,11 +5,11 @@ export const styles = tv(
|
|
|
5
5
|
base: 'inline-block transition-colors disabled:pointer-events-none disabled:opacity-50',
|
|
6
6
|
variants: {
|
|
7
7
|
size: {
|
|
8
|
-
xsmall: '
|
|
9
|
-
small: '
|
|
10
|
-
medium: '
|
|
11
|
-
large: '
|
|
12
|
-
xlarge: '
|
|
8
|
+
xsmall: 'size-2',
|
|
9
|
+
small: 'size-3',
|
|
10
|
+
medium: 'size-4',
|
|
11
|
+
large: 'size-6',
|
|
12
|
+
xlarge: 'size-8',
|
|
13
13
|
},
|
|
14
14
|
color: {
|
|
15
15
|
success: 'text-success',
|
|
@@ -41,11 +41,11 @@ export const styles = tv(
|
|
|
41
41
|
},
|
|
42
42
|
type: {
|
|
43
43
|
bullet: {
|
|
44
|
-
bullet: 'left-[0.25rem] top-1
|
|
44
|
+
bullet: 'left-[0.25rem] top-1 size-[0.5rem] rounded-full',
|
|
45
45
|
},
|
|
46
46
|
link: {
|
|
47
47
|
bullet:
|
|
48
|
-
'left-[0.125rem] top-1
|
|
48
|
+
'left-[0.125rem] top-1 size-[0.5rem] rotate-45 border-b-0 border-l-0 border-r-[0.125rem] border-t-[0.125rem] bg-[transparent]',
|
|
49
49
|
},
|
|
50
50
|
tick: {
|
|
51
51
|
bullet:
|
|
@@ -79,7 +79,7 @@ export const styles = tv(
|
|
|
79
79
|
slots: ['bullet'],
|
|
80
80
|
type: 'link',
|
|
81
81
|
icon: true,
|
|
82
|
-
className: 'left-0 top-0
|
|
82
|
+
className: 'left-0 top-0 size-3 rotate-0 border-none bg-[transparent]',
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
slots: ['base'],
|
|
@@ -16,7 +16,7 @@ export function WBCBankCardPictogram({
|
|
|
16
16
|
}: PictogramProps) {
|
|
17
17
|
return (
|
|
18
18
|
<Pictogram
|
|
19
|
-
className={clsx('
|
|
19
|
+
className={clsx('size-[200px]', className)}
|
|
20
20
|
aria-label={ariaLabel}
|
|
21
21
|
copyrightYear={copyrightYear}
|
|
22
22
|
viewBoxHeight={viewBoxHeight}
|
|
@@ -18,7 +18,7 @@ export function AccessibilityPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function AccountsPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function AeroplanePictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function ArrowDownPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function ArrowLeftPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function ArrowRightPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function ArrowUpPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function ArrowsPassingPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function AustraliaPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function BankCardLockedPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function BankCardPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function BirthCertificatePictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function BuildingPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function BusinessPersonPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function CalculatorPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function CalendarPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function CelebrationPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function CompassPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function CustomerProfilePictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function DesktopComputerPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function DocumentAndPenPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function DollarSignPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function DriversLicencePictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function EducationPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function EnvelopeEmailPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function EnvelopePrintedPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function FaceHappyPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function FaceUnhappyPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function FaceUnsurePictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function FingerMotionPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function FingerprintPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function FootballPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function ForkKnifePictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function GenericDocumentPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|
|
@@ -18,7 +18,7 @@ export function GlobeAustraliaPictogram({
|
|
|
18
18
|
}: PictogramProps) {
|
|
19
19
|
return (
|
|
20
20
|
<Pictogram
|
|
21
|
-
className={clsx('
|
|
21
|
+
className={clsx('size-13', className)}
|
|
22
22
|
viewBoxWidth={viewBoxWidth}
|
|
23
23
|
viewBoxHeight={viewBoxHeight}
|
|
24
24
|
aria-label={ariaLabel}
|