@metamask-previews/design-system-react-native 0.0.0-preview.7df341a → 0.0.0-preview.8c84975
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/README.md +18 -0
- package/dist/components/AvatarAccount/AvatarAccount.d.ts +1 -2
- package/dist/components/AvatarAccount/AvatarAccount.d.ts.map +1 -1
- package/dist/components/AvatarAccount/AvatarAccount.js +17 -14
- package/dist/components/AvatarAccount/AvatarAccount.js.map +1 -1
- package/dist/components/AvatarAccount/AvatarAccount.types.d.ts +18 -5
- package/dist/components/AvatarAccount/AvatarAccount.types.d.ts.map +1 -1
- package/dist/components/AvatarAccount/AvatarAccount.types.js +0 -6
- package/dist/components/AvatarAccount/AvatarAccount.types.js.map +1 -1
- package/dist/components/AvatarAccount/index.d.ts +2 -3
- package/dist/components/AvatarAccount/index.d.ts.map +1 -1
- package/dist/components/AvatarAccount/index.js +5 -9
- package/dist/components/AvatarAccount/index.js.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.constants.d.ts +6 -0
- package/dist/components/AvatarBase/AvatarBase.constants.d.ts.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.constants.js +33 -0
- package/dist/components/AvatarBase/AvatarBase.constants.js.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.d.ts +4 -0
- package/dist/components/AvatarBase/AvatarBase.d.ts.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.js +31 -0
- package/dist/components/AvatarBase/AvatarBase.js.map +1 -0
- package/dist/{primitives → components}/AvatarBase/AvatarBase.types.d.ts +7 -9
- package/dist/components/AvatarBase/AvatarBase.types.d.ts.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.types.js.map +1 -0
- package/dist/components/AvatarBase/index.d.ts +4 -0
- package/dist/components/AvatarBase/index.d.ts.map +1 -0
- package/dist/components/AvatarBase/index.js +9 -0
- package/dist/components/AvatarBase/index.js.map +1 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.d.ts +1 -2
- package/dist/components/AvatarFavicon/AvatarFavicon.d.ts.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.js +14 -17
- package/dist/components/AvatarFavicon/AvatarFavicon.js.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts +12 -3
- package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.types.js.map +1 -1
- package/dist/components/AvatarFavicon/index.d.ts +2 -2
- package/dist/components/AvatarFavicon/index.d.ts.map +1 -1
- package/dist/components/AvatarFavicon/index.js +4 -7
- package/dist/components/AvatarFavicon/index.js.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts +2 -10
- package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.constants.js +13 -160
- package/dist/components/AvatarGroup/AvatarGroup.constants.js.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +2 -3
- package/dist/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.js +30 -39
- package/dist/components/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +13 -15
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.js +0 -11
- package/dist/components/AvatarGroup/AvatarGroup.types.js.map +1 -1
- package/dist/components/AvatarGroup/index.d.ts +2 -3
- package/dist/components/AvatarGroup/index.d.ts.map +1 -1
- package/dist/components/AvatarGroup/index.js +5 -9
- package/dist/components/AvatarGroup/index.js.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts +1 -2
- package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.constants.js +16 -17
- package/dist/components/AvatarIcon/AvatarIcon.constants.js.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.d.ts +1 -2
- package/dist/components/AvatarIcon/AvatarIcon.d.ts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.js +14 -41
- package/dist/components/AvatarIcon/AvatarIcon.js.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.types.d.ts +5 -10
- package/dist/components/AvatarIcon/AvatarIcon.types.d.ts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.types.js +0 -9
- package/dist/components/AvatarIcon/AvatarIcon.types.js.map +1 -1
- package/dist/components/AvatarIcon/index.d.ts +2 -3
- package/dist/components/AvatarIcon/index.d.ts.map +1 -1
- package/dist/components/AvatarIcon/index.js +5 -9
- package/dist/components/AvatarIcon/index.js.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.d.ts +1 -2
- package/dist/components/AvatarNetwork/AvatarNetwork.d.ts.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.js +14 -17
- package/dist/components/AvatarNetwork/AvatarNetwork.js.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts +12 -3
- package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.types.js.map +1 -1
- package/dist/components/AvatarNetwork/index.d.ts +2 -2
- package/dist/components/AvatarNetwork/index.d.ts.map +1 -1
- package/dist/components/AvatarNetwork/index.js +4 -7
- package/dist/components/AvatarNetwork/index.js.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.d.ts +1 -2
- package/dist/components/AvatarToken/AvatarToken.d.ts.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.js +14 -17
- package/dist/components/AvatarToken/AvatarToken.js.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.types.d.ts +12 -3
- package/dist/components/AvatarToken/AvatarToken.types.d.ts.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.types.js.map +1 -1
- package/dist/components/AvatarToken/index.d.ts +2 -2
- package/dist/components/AvatarToken/index.d.ts.map +1 -1
- package/dist/components/AvatarToken/index.js +4 -7
- package/dist/components/AvatarToken/index.js.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.constants.d.ts +1 -1
- package/dist/components/BadgeCount/BadgeCount.constants.d.ts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.constants.js +7 -7
- package/dist/components/BadgeCount/BadgeCount.constants.js.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.d.ts +1 -2
- package/dist/components/BadgeCount/BadgeCount.d.ts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.js +7 -30
- package/dist/components/BadgeCount/BadgeCount.js.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.types.d.ts +3 -10
- package/dist/components/BadgeCount/BadgeCount.types.d.ts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.types.js +0 -12
- package/dist/components/BadgeCount/BadgeCount.types.js.map +1 -1
- package/dist/components/BadgeCount/index.d.ts +2 -2
- package/dist/components/BadgeCount/index.d.ts.map +1 -1
- package/dist/components/BadgeCount/index.js +4 -7
- package/dist/components/BadgeCount/index.js.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.d.ts +1 -2
- package/dist/components/BadgeIcon/BadgeIcon.d.ts.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.js +4 -27
- package/dist/components/BadgeIcon/BadgeIcon.js.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.types.d.ts +2 -2
- package/dist/components/BadgeIcon/BadgeIcon.types.d.ts.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.types.js.map +1 -1
- package/dist/components/BadgeIcon/index.d.ts +1 -1
- package/dist/components/BadgeIcon/index.d.ts.map +1 -1
- package/dist/components/BadgeIcon/index.js +2 -5
- package/dist/components/BadgeIcon/index.js.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.d.ts +1 -2
- package/dist/components/BadgeNetwork/BadgeNetwork.d.ts.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.js +4 -27
- package/dist/components/BadgeNetwork/BadgeNetwork.js.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts +16 -2
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.js.map +1 -1
- package/dist/components/BadgeNetwork/index.d.ts +1 -1
- package/dist/components/BadgeNetwork/index.d.ts.map +1 -1
- package/dist/components/BadgeNetwork/index.js +2 -5
- package/dist/components/BadgeNetwork/index.js.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.js +8 -8
- package/dist/components/BadgeStatus/BadgeStatus.constants.js.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.ts +1 -2
- package/dist/components/BadgeStatus/BadgeStatus.d.ts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.js +6 -16
- package/dist/components/BadgeStatus/BadgeStatus.js.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.ts +7 -27
- package/dist/components/BadgeStatus/BadgeStatus.types.d.ts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.js +0 -26
- package/dist/components/BadgeStatus/BadgeStatus.types.js.map +1 -1
- package/dist/components/BadgeStatus/index.d.ts +2 -2
- package/dist/components/BadgeStatus/index.d.ts.map +1 -1
- package/dist/components/BadgeStatus/index.js +5 -8
- package/dist/components/BadgeStatus/index.js.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.d.ts +4 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.d.ts.map +1 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.js +110 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.js.map +1 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts +73 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts.map +1 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.js +3 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.js.map +1 -0
- package/dist/components/BadgeWrapper/index.d.ts +5 -0
- package/dist/components/BadgeWrapper/index.d.ts.map +1 -0
- package/dist/components/BadgeWrapper/index.js +9 -0
- package/dist/components/BadgeWrapper/index.js.map +1 -0
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +13 -12
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.types.d.ts +1 -10
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Button/Button.types.js +0 -12
- package/dist/components/Button/Button.types.js.map +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +5 -8
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts +1 -2
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js +63 -54
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts +3 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.js.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/index.d.ts +2 -2
- package/dist/components/Button/variants/ButtonPrimary/index.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/index.js +4 -7
- package/dist/components/Button/variants/ButtonPrimary/index.js.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts +1 -2
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js +62 -50
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts +3 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.js.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/index.d.ts +2 -2
- package/dist/components/Button/variants/ButtonSecondary/index.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/index.js +4 -7
- package/dist/components/Button/variants/ButtonSecondary/index.js.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts +1 -2
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js +69 -50
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts +3 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.js.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/index.d.ts +2 -2
- package/dist/components/Button/variants/ButtonTertiary/index.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/index.js +4 -7
- package/dist/components/Button/variants/ButtonTertiary/index.js.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.d.ts +4 -0
- package/dist/components/ButtonBase/ButtonBase.d.ts.map +1 -0
- package/dist/components/ButtonBase/ButtonBase.js +48 -0
- package/dist/components/ButtonBase/ButtonBase.js.map +1 -0
- package/dist/{primitives → components}/ButtonBase/ButtonBase.types.d.ts +9 -17
- package/dist/components/ButtonBase/ButtonBase.types.d.ts.map +1 -0
- package/dist/components/ButtonBase/ButtonBase.types.js +3 -0
- package/dist/components/ButtonBase/ButtonBase.types.js.map +1 -0
- package/dist/components/ButtonBase/index.d.ts +4 -0
- package/dist/components/ButtonBase/index.d.ts.map +1 -0
- package/dist/components/ButtonBase/index.js +8 -0
- package/dist/components/ButtonBase/index.js.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.ts +7 -4
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.ts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.js +10 -13
- package/dist/components/ButtonIcon/ButtonIcon.constants.js.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.d.ts +1 -2
- package/dist/components/ButtonIcon/ButtonIcon.d.ts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.js +17 -32
- package/dist/components/ButtonIcon/ButtonIcon.js.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.types.d.ts +8 -16
- package/dist/components/ButtonIcon/ButtonIcon.types.d.ts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.types.js +0 -16
- package/dist/components/ButtonIcon/ButtonIcon.types.js.map +1 -1
- package/dist/components/ButtonIcon/index.d.ts +2 -2
- package/dist/components/ButtonIcon/index.d.ts.map +1 -1
- package/dist/components/ButtonIcon/index.js +4 -7
- package/dist/components/ButtonIcon/index.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +17 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.js +122 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +57 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.js +3 -0
- package/dist/components/Checkbox/Checkbox.types.js.map +1 -0
- package/dist/components/Checkbox/index.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Checkbox/index.js +6 -0
- package/dist/components/Checkbox/index.js.map +1 -0
- package/dist/components/Icon/Icon.assets.d.ts.map +1 -1
- package/dist/components/Icon/Icon.assets.js +401 -171
- package/dist/components/Icon/Icon.assets.js.map +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -2
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Icon/Icon.js +4 -3
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/Icon/Icon.types.d.ts +3 -220
- package/dist/components/Icon/Icon.types.d.ts.map +1 -1
- package/dist/components/Icon/Icon.types.js +0 -228
- package/dist/components/Icon/Icon.types.js.map +1 -1
- package/dist/components/Icon/Icon.utilities.d.ts.map +1 -1
- package/dist/components/Icon/Icon.utilities.js +2 -2
- package/dist/components/Icon/Icon.utilities.js.map +1 -1
- package/dist/components/Icon/assets/accessibility.svg +1 -0
- package/dist/components/Icon/assets/activity.svg +1 -0
- package/dist/components/Icon/assets/add-card.svg +1 -0
- package/dist/components/Icon/assets/add-circle.svg +1 -0
- package/dist/components/Icon/assets/add-square.svg +1 -0
- package/dist/components/Icon/assets/add.svg +1 -0
- package/dist/components/Icon/assets/ai.svg +1 -0
- package/dist/components/Icon/assets/alternate-email.svg +1 -0
- package/dist/components/Icon/assets/apps.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-down.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-left.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-up-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-up.svg +1 -0
- package/dist/components/Icon/assets/arrow-circle-down.svg +1 -0
- package/dist/components/Icon/assets/arrow-circle-up.svg +1 -0
- package/dist/components/Icon/assets/arrow-double-left.svg +1 -0
- package/dist/components/Icon/assets/arrow-double-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-down.svg +1 -0
- package/dist/components/Icon/assets/arrow-drop-down-circle.svg +1 -0
- package/dist/components/Icon/assets/arrow-left.svg +1 -0
- package/dist/components/Icon/assets/arrow-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-up.svg +1 -0
- package/dist/components/Icon/assets/attachment.svg +1 -0
- package/dist/components/Icon/assets/ban.svg +1 -0
- package/dist/components/Icon/assets/bank-assured.svg +1 -0
- package/dist/components/Icon/assets/bank.svg +1 -0
- package/dist/components/Icon/assets/bold.svg +1 -0
- package/dist/components/Icon/assets/book.svg +1 -0
- package/dist/components/Icon/assets/bookmark.svg +1 -0
- package/dist/components/Icon/assets/bridge.svg +1 -0
- package/dist/components/Icon/assets/briefcase.svg +1 -0
- package/dist/components/Icon/assets/bulb.svg +1 -0
- package/dist/components/Icon/assets/buy-sell.svg +1 -0
- package/dist/components/Icon/assets/cake.svg +1 -0
- package/dist/components/Icon/assets/calculator.svg +1 -0
- package/dist/components/Icon/assets/calendar.svg +1 -0
- package/dist/components/Icon/assets/call.svg +1 -0
- package/dist/components/Icon/assets/camera.svg +1 -0
- package/dist/components/Icon/assets/campaign.svg +1 -0
- package/dist/components/Icon/assets/card-pos.svg +1 -0
- package/dist/components/Icon/assets/card.svg +1 -0
- package/dist/components/Icon/assets/cash.svg +1 -0
- package/dist/components/Icon/assets/category.svg +1 -0
- package/dist/components/Icon/assets/chart.svg +1 -0
- package/dist/components/Icon/assets/check-bold.svg +1 -0
- package/dist/components/Icon/assets/check.svg +1 -0
- package/dist/components/Icon/assets/circle-x.svg +1 -0
- package/dist/components/Icon/assets/clock-filled.svg +1 -0
- package/dist/components/Icon/assets/clock.svg +1 -0
- package/dist/components/Icon/assets/close.svg +1 -0
- package/dist/components/Icon/assets/cloud-download.svg +1 -0
- package/dist/components/Icon/assets/cloud-upload.svg +1 -0
- package/dist/components/Icon/assets/cloud.svg +1 -0
- package/dist/components/Icon/assets/code-circle.svg +1 -0
- package/dist/components/Icon/assets/code.svg +1 -0
- package/dist/components/Icon/assets/coin.svg +1 -0
- package/dist/components/Icon/assets/collapse.svg +1 -0
- package/dist/components/Icon/assets/confirmation.svg +1 -0
- package/dist/components/Icon/assets/connect.svg +1 -0
- package/dist/components/Icon/assets/copy-success.svg +1 -0
- package/dist/components/Icon/assets/copy.svg +1 -0
- package/dist/components/Icon/assets/credit-check.svg +1 -0
- package/dist/components/Icon/assets/currency-franc.svg +1 -0
- package/dist/components/Icon/assets/currency-lira.svg +1 -0
- package/dist/components/Icon/assets/currency-pound.svg +1 -0
- package/dist/components/Icon/assets/currency-yuan.svg +3 -0
- package/dist/components/Icon/assets/customize.svg +1 -0
- package/dist/components/Icon/assets/danger.svg +1 -0
- package/dist/components/Icon/assets/dark-filled.svg +1 -0
- package/dist/components/Icon/assets/dark.svg +1 -0
- package/dist/components/Icon/assets/data.svg +1 -0
- package/dist/components/Icon/assets/description.svg +1 -0
- package/dist/components/Icon/assets/details.svg +1 -0
- package/dist/components/Icon/assets/diagram.svg +1 -0
- package/dist/components/Icon/assets/document-code.svg +1 -0
- package/dist/components/Icon/assets/download.svg +1 -0
- package/dist/components/Icon/assets/draft.svg +1 -0
- package/dist/components/Icon/assets/eco-leaf.svg +1 -0
- package/dist/components/Icon/assets/edit-square.svg +1 -0
- package/dist/components/Icon/assets/edit.svg +1 -0
- package/dist/components/Icon/assets/encrypted-add.svg +1 -0
- package/dist/components/Icon/assets/eraser.svg +1 -0
- package/dist/components/Icon/assets/error.svg +1 -0
- package/dist/components/Icon/assets/ethereum.svg +1 -0
- package/dist/components/Icon/assets/exchange.svg +1 -0
- package/dist/components/Icon/assets/expand-vertical.svg +1 -0
- package/dist/components/Icon/assets/expand.svg +1 -0
- package/dist/components/Icon/assets/explore-filled.svg +1 -0
- package/dist/components/Icon/assets/explore.svg +1 -0
- package/dist/components/Icon/assets/export.svg +1 -0
- package/dist/components/Icon/assets/extension.svg +1 -0
- package/dist/components/Icon/assets/eye-slash.svg +1 -0
- package/dist/components/Icon/assets/eye.svg +1 -0
- package/dist/components/Icon/assets/face-id.svg +1 -0
- package/dist/components/Icon/assets/feedback.svg +1 -0
- package/dist/components/Icon/assets/file.svg +1 -0
- package/dist/components/Icon/assets/filter.svg +1 -0
- package/dist/components/Icon/assets/fingerprint.svg +1 -0
- package/dist/components/Icon/assets/fire.svg +1 -0
- package/dist/components/Icon/assets/first-page.svg +1 -0
- package/dist/components/Icon/assets/flag.svg +1 -0
- package/dist/components/Icon/assets/flash-slash.svg +1 -0
- package/dist/components/Icon/assets/flash.svg +1 -0
- package/dist/components/Icon/assets/flask.svg +1 -0
- package/dist/components/Icon/assets/flower.svg +1 -0
- package/dist/components/Icon/assets/folder.svg +1 -0
- package/dist/components/Icon/assets/forest.svg +1 -0
- package/dist/components/Icon/assets/full-circle.svg +1 -0
- package/dist/components/Icon/assets/gas.svg +1 -0
- package/dist/components/Icon/assets/gift.svg +1 -0
- package/dist/components/Icon/assets/global-search.svg +1 -0
- package/dist/components/Icon/assets/global.svg +1 -0
- package/dist/components/Icon/assets/graph.svg +1 -0
- package/dist/components/Icon/assets/hardware.svg +1 -0
- package/dist/components/Icon/assets/hash-tag.svg +1 -0
- package/dist/components/Icon/assets/heart-filled.svg +1 -0
- package/dist/components/Icon/assets/heart.svg +1 -0
- package/dist/components/Icon/assets/hierarchy.svg +1 -0
- package/dist/components/Icon/assets/home-filled.svg +1 -0
- package/dist/components/Icon/assets/home.svg +1 -0
- package/dist/components/Icon/assets/image.svg +1 -0
- package/dist/components/Icon/assets/info.svg +1 -0
- package/dist/components/Icon/assets/inventory.svg +1 -0
- package/dist/components/Icon/assets/joystick.svg +1 -0
- package/dist/components/Icon/assets/keep-filled.svg +1 -0
- package/dist/components/Icon/assets/keep.svg +1 -0
- package/dist/components/Icon/assets/key.svg +1 -0
- package/dist/components/Icon/assets/last-page.svg +1 -0
- package/dist/components/Icon/assets/light-filled.svg +1 -0
- package/dist/components/Icon/assets/light.svg +1 -0
- package/dist/components/Icon/assets/link.svg +1 -0
- package/dist/components/Icon/assets/loading.svg +1 -0
- package/dist/components/Icon/assets/location.svg +1 -0
- package/dist/components/Icon/assets/lock-slash.svg +1 -0
- package/dist/components/Icon/assets/lock.svg +1 -0
- package/dist/components/Icon/assets/locked-filled.svg +1 -0
- package/dist/components/Icon/assets/login.svg +1 -0
- package/dist/components/Icon/assets/logout.svg +1 -0
- package/dist/components/Icon/assets/mail.svg +1 -0
- package/dist/components/Icon/assets/map.svg +1 -0
- package/dist/components/Icon/assets/menu.svg +1 -0
- package/dist/components/Icon/assets/message-question.svg +1 -0
- package/dist/components/Icon/assets/messages.svg +1 -0
- package/dist/components/Icon/assets/mic.svg +1 -0
- package/dist/components/Icon/assets/minus-bold.svg +1 -0
- package/dist/components/Icon/assets/minus-square.svg +1 -0
- package/dist/components/Icon/assets/minus.svg +1 -0
- package/dist/components/Icon/assets/mobile.svg +1 -0
- package/dist/components/Icon/assets/money-bag.svg +1 -0
- package/dist/components/Icon/assets/money.svg +1 -0
- package/dist/components/Icon/assets/monitor.svg +1 -0
- package/dist/components/Icon/assets/more-horizontal.svg +1 -0
- package/dist/components/Icon/assets/more-vertical.svg +1 -0
- package/dist/components/Icon/assets/mountain-flag.svg +1 -0
- package/dist/components/Icon/assets/music-note.svg +1 -0
- package/dist/components/Icon/assets/notification.svg +1 -0
- package/dist/components/Icon/assets/page-info.svg +1 -0
- package/dist/components/Icon/assets/palette.svg +1 -0
- package/dist/components/Icon/assets/password-check.svg +1 -0
- package/dist/components/Icon/assets/pending.svg +1 -0
- package/dist/components/Icon/assets/people.svg +1 -0
- package/dist/components/Icon/assets/person-cancel.svg +1 -0
- package/dist/components/Icon/assets/pin.svg +1 -0
- package/dist/components/Icon/assets/plant.svg +1 -0
- package/dist/components/Icon/assets/plug.svg +1 -0
- package/dist/components/Icon/assets/plus-and-minus.svg +1 -0
- package/dist/components/Icon/assets/policy-alert.svg +1 -0
- package/dist/components/Icon/assets/print.svg +1 -0
- package/dist/components/Icon/assets/priority-high.svg +1 -0
- package/dist/components/Icon/assets/privacy-tip.svg +1 -0
- package/dist/components/Icon/assets/programming-arrows.svg +1 -0
- package/dist/components/Icon/assets/publish.svg +1 -0
- package/dist/components/Icon/assets/qr-code.svg +1 -0
- package/dist/components/Icon/assets/question.svg +1 -0
- package/dist/components/Icon/assets/receive.svg +1 -0
- package/dist/components/Icon/assets/received.svg +1 -0
- package/dist/components/Icon/assets/refresh.svg +1 -0
- package/dist/components/Icon/assets/remove-minus.svg +1 -0
- package/dist/components/Icon/assets/report.svg +1 -0
- package/dist/components/Icon/assets/rocket.svg +1 -0
- package/dist/components/Icon/assets/save-filled.svg +1 -0
- package/dist/components/Icon/assets/save.svg +1 -0
- package/dist/components/Icon/assets/saving.svg +1 -0
- package/dist/components/Icon/assets/scan-barcode.svg +1 -0
- package/dist/components/Icon/assets/scan-focus.svg +1 -0
- package/dist/components/Icon/assets/scan.svg +1 -0
- package/dist/components/Icon/assets/search.svg +1 -0
- package/dist/components/Icon/assets/security-alert.svg +1 -0
- package/dist/components/Icon/assets/security-cross.svg +1 -0
- package/dist/components/Icon/assets/security-key.svg +1 -0
- package/dist/components/Icon/assets/security-search.svg +1 -0
- package/dist/components/Icon/assets/security-slash.svg +1 -0
- package/dist/components/Icon/assets/security-tick.svg +1 -0
- package/dist/components/Icon/assets/security-time.svg +1 -0
- package/dist/components/Icon/assets/security-user.svg +1 -0
- package/dist/components/Icon/assets/security.svg +1 -0
- package/dist/components/Icon/assets/send.svg +1 -0
- package/dist/components/Icon/assets/sentiment-dissatisfied.svg +1 -0
- package/dist/components/Icon/assets/sentiment-neutral.svg +1 -0
- package/dist/components/Icon/assets/sentiment-satisfied.svg +1 -0
- package/dist/components/Icon/assets/sentiment-very-satisfied.svg +1 -0
- package/dist/components/Icon/assets/setting-filled.svg +1 -0
- package/dist/components/Icon/assets/setting.svg +1 -0
- package/dist/components/Icon/assets/share.svg +1 -0
- package/dist/components/Icon/assets/shield-lock.svg +1 -0
- package/dist/components/Icon/assets/shopping-bag.svg +1 -0
- package/dist/components/Icon/assets/shopping-cart.svg +1 -0
- package/dist/components/Icon/assets/signal-cellular.svg +1 -0
- package/dist/components/Icon/assets/slash.svg +1 -0
- package/dist/components/Icon/assets/sms.svg +1 -0
- package/dist/components/Icon/assets/snaps-mobile.svg +1 -0
- package/dist/components/Icon/assets/snaps-plus.svg +1 -0
- package/dist/components/Icon/assets/snaps-round.svg +1 -0
- package/dist/components/Icon/assets/snaps.svg +1 -0
- package/dist/components/Icon/assets/sort-by-alpha.svg +1 -0
- package/dist/components/Icon/assets/sort.svg +1 -0
- package/dist/components/Icon/assets/sparkle.svg +1 -0
- package/dist/components/Icon/assets/speed.svg +1 -0
- package/dist/components/Icon/assets/speedometer.svg +1 -0
- package/dist/components/Icon/assets/square.svg +1 -0
- package/dist/components/Icon/assets/stake.svg +1 -0
- package/dist/components/Icon/assets/star-filled.svg +1 -0
- package/dist/components/Icon/assets/star.svg +1 -0
- package/dist/components/Icon/assets/start.svg +1 -0
- package/dist/components/Icon/assets/storefront.svg +1 -0
- package/dist/components/Icon/assets/student.svg +1 -0
- package/dist/components/Icon/assets/swap-horizontal.svg +1 -0
- package/dist/components/Icon/assets/swap-vertical.svg +3 -0
- package/dist/components/Icon/assets/tab-close.svg +1 -0
- package/dist/components/Icon/assets/table-row.svg +1 -0
- package/dist/components/Icon/assets/tablet.svg +1 -0
- package/dist/components/Icon/assets/tag.svg +1 -0
- package/dist/components/Icon/assets/thumb-down-filled.svg +1 -0
- package/dist/components/Icon/assets/thumb-down.svg +1 -0
- package/dist/components/Icon/assets/thumb-up-filled.svg +1 -0
- package/dist/components/Icon/assets/thumb-up.svg +1 -0
- package/dist/components/Icon/assets/tint.svg +1 -0
- package/dist/components/Icon/assets/tooltip.svg +1 -0
- package/dist/components/Icon/assets/translate.svg +1 -0
- package/dist/components/Icon/assets/trash.svg +1 -0
- package/dist/components/Icon/assets/trend-down.svg +1 -0
- package/dist/components/Icon/assets/trend-up.svg +1 -0
- package/dist/components/Icon/assets/undo.svg +1 -0
- package/dist/components/Icon/assets/unfold.svg +1 -0
- package/dist/components/Icon/assets/unlocked-filled.svg +1 -0
- package/dist/components/Icon/assets/unpin.svg +1 -0
- package/dist/components/Icon/assets/upload-file.svg +1 -0
- package/dist/components/Icon/assets/upload.svg +1 -0
- package/dist/components/Icon/assets/usb.svg +1 -0
- package/dist/components/Icon/assets/user-check.svg +1 -0
- package/dist/components/Icon/assets/user-circle-add.svg +1 -0
- package/dist/components/Icon/assets/user-circle-remove.svg +1 -0
- package/dist/components/Icon/assets/user-circle.svg +1 -0
- package/dist/components/Icon/assets/user.svg +1 -0
- package/dist/components/Icon/assets/verified-filled.svg +1 -0
- package/dist/components/Icon/assets/verified.svg +1 -0
- package/dist/components/Icon/assets/videocam.svg +1 -0
- package/dist/components/Icon/assets/view-column.svg +1 -0
- package/dist/components/Icon/assets/view-in-ar.svg +1 -0
- package/dist/components/Icon/assets/volume-off.svg +1 -0
- package/dist/components/Icon/assets/volume-up.svg +1 -0
- package/dist/components/Icon/assets/wallet-filled.svg +1 -0
- package/dist/components/Icon/assets/wallet.svg +1 -0
- package/dist/components/Icon/assets/warning.svg +1 -0
- package/dist/components/Icon/assets/web-traffic.svg +1 -0
- package/dist/components/Icon/assets/widgets.svg +1 -0
- package/dist/components/Icon/assets/wifi-off.svg +1 -0
- package/dist/components/Icon/assets/wifi.svg +1 -0
- package/dist/components/Icon/assets/x.svg +1 -0
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +6 -9
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Text/Text.constants.d.ts +5 -4
- package/dist/components/Text/Text.constants.d.ts.map +1 -1
- package/dist/components/Text/Text.constants.js +18 -10
- package/dist/components/Text/Text.constants.js.map +1 -1
- package/dist/components/Text/Text.d.ts +1 -2
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Text/Text.js +7 -5
- package/dist/components/Text/Text.js.map +1 -1
- package/dist/components/Text/Text.types.d.ts +9 -89
- package/dist/components/Text/Text.types.d.ts.map +1 -1
- package/dist/components/Text/Text.types.js +0 -92
- package/dist/components/Text/Text.types.js.map +1 -1
- package/dist/components/Text/Text.utilities.d.ts.map +1 -1
- package/dist/components/Text/Text.utilities.js +4 -4
- package/dist/components/Text/Text.utilities.js.map +1 -1
- package/dist/components/Text/index.d.ts +2 -2
- package/dist/components/Text/index.d.ts.map +1 -1
- package/dist/components/Text/index.js +8 -11
- package/dist/components/Text/index.js.map +1 -1
- package/dist/components/TextButton/TextButton.constants.d.ts +3 -2
- package/dist/components/TextButton/TextButton.constants.d.ts.map +1 -1
- package/dist/components/TextButton/TextButton.constants.js +7 -24
- package/dist/components/TextButton/TextButton.constants.js.map +1 -1
- package/dist/components/TextButton/TextButton.d.ts +1 -2
- package/dist/components/TextButton/TextButton.d.ts.map +1 -1
- package/dist/components/TextButton/TextButton.js +33 -152
- package/dist/components/TextButton/TextButton.js.map +1 -1
- package/dist/components/TextButton/TextButton.types.d.ts +11 -15
- package/dist/components/TextButton/TextButton.types.d.ts.map +1 -1
- package/dist/components/TextButton/TextButton.types.js.map +1 -1
- package/dist/components/TextButton/index.d.ts +2 -1
- package/dist/components/TextButton/index.d.ts.map +1 -1
- package/dist/components/TextButton/index.js +4 -5
- package/dist/components/TextButton/index.js.map +1 -1
- package/dist/components/index.d.ts +49 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +81 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.d.ts +4 -0
- package/dist/components/temp-components/Blockies/Blockies.d.ts.map +1 -0
- package/dist/{primitives → components/temp-components}/Blockies/Blockies.js +2 -3
- package/dist/components/temp-components/Blockies/Blockies.js.map +1 -0
- package/dist/{primitives → components/temp-components}/Blockies/Blockies.types.d.ts +1 -1
- package/dist/components/temp-components/Blockies/Blockies.types.d.ts.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.types.js.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts +24 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.js +492 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.js.map +1 -0
- package/dist/components/temp-components/Blockies/index.d.ts +3 -0
- package/dist/components/temp-components/Blockies/index.d.ts.map +1 -0
- package/dist/components/temp-components/Blockies/index.js +6 -0
- package/dist/components/temp-components/Blockies/index.js.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts +4 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts.map +1 -0
- package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.js +2 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.js.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.ts.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.js.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/index.d.ts +3 -0
- package/dist/components/temp-components/ButtonAnimated/index.d.ts.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/index.js +6 -0
- package/dist/components/temp-components/ButtonAnimated/index.js.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts +4 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts.map +1 -0
- package/dist/{primitives → components/temp-components}/ImageOrSvg/ImageOrSvg.js +3 -5
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js.map +1 -0
- package/dist/{primitives → components/temp-components}/ImageOrSvg/ImageOrSvg.types.d.ts +7 -7
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.js.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/index.d.ts +3 -0
- package/dist/components/temp-components/ImageOrSvg/index.d.ts.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/index.js +6 -0
- package/dist/components/temp-components/ImageOrSvg/index.js.map +1 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts +4 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts.map +1 -0
- package/dist/{primitives → components/temp-components}/Jazzicon/Jazzicon.js +2 -2
- package/dist/components/temp-components/Jazzicon/Jazzicon.js.map +1 -0
- package/dist/{primitives → components/temp-components}/Jazzicon/Jazzicon.types.d.ts +1 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts.map +1 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.types.js.map +1 -0
- package/dist/components/temp-components/Jazzicon/index.d.ts +3 -0
- package/dist/components/temp-components/Jazzicon/index.d.ts.map +1 -0
- package/dist/components/temp-components/Jazzicon/index.js +6 -0
- package/dist/components/temp-components/Jazzicon/index.js.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.d.ts +4 -0
- package/dist/components/temp-components/Maskicon/Maskicon.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.js +52 -0
- package/dist/components/temp-components/Maskicon/Maskicon.js.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts +15 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.js +3 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.js.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts +57 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.js +282 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.js.map +1 -0
- package/dist/components/temp-components/Maskicon/index.d.ts +3 -0
- package/dist/components/temp-components/Maskicon/index.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/index.js +6 -0
- package/dist/components/temp-components/Maskicon/index.js.map +1 -0
- package/dist/components/temp-components/Spinner/Spinner.d.ts +4 -0
- package/dist/components/temp-components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/{temp-components → components/temp-components}/Spinner/Spinner.js +13 -13
- package/dist/components/temp-components/Spinner/Spinner.js.map +1 -0
- package/dist/{temp-components → components/temp-components}/Spinner/Spinner.types.d.ts +3 -2
- package/dist/components/temp-components/Spinner/Spinner.types.d.ts.map +1 -0
- package/dist/components/temp-components/Spinner/Spinner.types.js.map +1 -0
- package/dist/components/temp-components/Spinner/index.d.ts +3 -0
- package/dist/components/temp-components/Spinner/index.d.ts.map +1 -0
- package/dist/components/temp-components/Spinner/index.js +6 -0
- package/dist/components/temp-components/Spinner/index.js.map +1 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts +4 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts.map +1 -0
- package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.js +5 -4
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.js.map +1 -0
- package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.types.d.ts +2 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.ts.map +1 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.js.map +1 -0
- package/dist/components/temp-components/TextOrChildren/index.d.ts +3 -0
- package/dist/components/temp-components/TextOrChildren/index.d.ts.map +1 -0
- package/dist/components/temp-components/TextOrChildren/index.js +6 -0
- package/dist/components/temp-components/TextOrChildren/index.js.map +1 -0
- package/dist/index.d.ts +1 -136
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -85
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +618 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +629 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +15 -5
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.d.ts +0 -2
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.d.ts.map +0 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.js +0 -14
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.js.map +0 -1
- package/dist/components/AvatarGroup/AvatarGroup.utilities.d.ts +0 -48
- package/dist/components/AvatarGroup/AvatarGroup.utilities.d.ts.map +0 -1
- package/dist/components/AvatarGroup/AvatarGroup.utilities.js +0 -72
- package/dist/components/AvatarGroup/AvatarGroup.utilities.js.map +0 -1
- package/dist/components/AvatarIcon/AvatarIcon.utilities.d.ts +0 -24
- package/dist/components/AvatarIcon/AvatarIcon.utilities.d.ts.map +0 -1
- package/dist/components/AvatarIcon/AvatarIcon.utilities.js +0 -31
- package/dist/components/AvatarIcon/AvatarIcon.utilities.js.map +0 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.d.ts +0 -2
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.d.ts.map +0 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.js +0 -14
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.js.map +0 -1
- package/dist/components/AvatarToken/AvatarToken.constants.d.ts +0 -2
- package/dist/components/AvatarToken/AvatarToken.constants.d.ts.map +0 -1
- package/dist/components/AvatarToken/AvatarToken.constants.js +0 -14
- package/dist/components/AvatarToken/AvatarToken.constants.js.map +0 -1
- package/dist/components/Button/Button.constants.d.ts +0 -2
- package/dist/components/Button/Button.constants.d.ts.map +0 -1
- package/dist/components/Button/Button.constants.js +0 -7
- package/dist/components/Button/Button.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.d.ts +0 -3
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.js +0 -29
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.d.ts +0 -78
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.js +0 -122
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.js.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.d.ts +0 -3
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.js +0 -29
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.d.ts +0 -90
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.js +0 -145
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.js.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.d.ts +0 -3
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.js +0 -29
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.d.ts +0 -88
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.js +0 -147
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.js.map +0 -1
- package/dist/components/ButtonIcon/ButtonIcon.utilities.d.ts +0 -55
- package/dist/components/ButtonIcon/ButtonIcon.utilities.d.ts.map +0 -1
- package/dist/components/ButtonIcon/ButtonIcon.utilities.js +0 -73
- package/dist/components/ButtonIcon/ButtonIcon.utilities.js.map +0 -1
- package/dist/components/Icon/Icon.constants.d.ts +0 -7
- package/dist/components/Icon/Icon.constants.d.ts.map +0 -1
- package/dist/components/Icon/Icon.constants.js +0 -15
- package/dist/components/Icon/Icon.constants.js.map +0 -1
- package/dist/components/TextButton/TextButton.utilities.d.ts +0 -55
- package/dist/components/TextButton/TextButton.utilities.d.ts.map +0 -1
- package/dist/components/TextButton/TextButton.utilities.js +0 -77
- package/dist/components/TextButton/TextButton.utilities.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.constants.d.ts +0 -6
- package/dist/primitives/AvatarBase/AvatarBase.constants.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.constants.js +0 -34
- package/dist/primitives/AvatarBase/AvatarBase.constants.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.d.ts +0 -5
- package/dist/primitives/AvatarBase/AvatarBase.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.js +0 -55
- package/dist/primitives/AvatarBase/AvatarBase.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.types.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.types.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.utilities.d.ts +0 -30
- package/dist/primitives/AvatarBase/AvatarBase.utilities.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.utilities.js +0 -60
- package/dist/primitives/AvatarBase/AvatarBase.utilities.js.map +0 -1
- package/dist/primitives/AvatarBase/index.d.ts +0 -4
- package/dist/primitives/AvatarBase/index.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/index.js +0 -11
- package/dist/primitives/AvatarBase/index.js.map +0 -1
- package/dist/primitives/Blockies/Blockies.d.ts +0 -5
- package/dist/primitives/Blockies/Blockies.d.ts.map +0 -1
- package/dist/primitives/Blockies/Blockies.js.map +0 -1
- package/dist/primitives/Blockies/Blockies.types.d.ts.map +0 -1
- package/dist/primitives/Blockies/Blockies.types.js.map +0 -1
- package/dist/primitives/Blockies/index.d.ts +0 -3
- package/dist/primitives/Blockies/index.d.ts.map +0 -1
- package/dist/primitives/Blockies/index.js +0 -9
- package/dist/primitives/Blockies/index.js.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.d.ts +0 -5
- package/dist/primitives/ButtonAnimated/ButtonAnimated.d.ts.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.js.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.types.d.ts.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.types.js.map +0 -1
- package/dist/primitives/ButtonAnimated/index.d.ts +0 -3
- package/dist/primitives/ButtonAnimated/index.d.ts.map +0 -1
- package/dist/primitives/ButtonAnimated/index.js +0 -9
- package/dist/primitives/ButtonAnimated/index.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.constants.d.ts +0 -3
- package/dist/primitives/ButtonBase/ButtonBase.constants.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.constants.js +0 -32
- package/dist/primitives/ButtonBase/ButtonBase.constants.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.d.ts +0 -5
- package/dist/primitives/ButtonBase/ButtonBase.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.js +0 -84
- package/dist/primitives/ButtonBase/ButtonBase.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.types.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.types.js +0 -19
- package/dist/primitives/ButtonBase/ButtonBase.types.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.utilities.d.ts +0 -28
- package/dist/primitives/ButtonBase/ButtonBase.utilities.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.utilities.js +0 -41
- package/dist/primitives/ButtonBase/ButtonBase.utilities.js.map +0 -1
- package/dist/primitives/ButtonBase/index.d.ts +0 -4
- package/dist/primitives/ButtonBase/index.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/index.js +0 -11
- package/dist/primitives/ButtonBase/index.js.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.d.ts +0 -5
- package/dist/primitives/ImageOrSvg/ImageOrSvg.d.ts.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.js.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.types.d.ts.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.types.js.map +0 -1
- package/dist/primitives/ImageOrSvg/index.d.ts +0 -3
- package/dist/primitives/ImageOrSvg/index.d.ts.map +0 -1
- package/dist/primitives/ImageOrSvg/index.js +0 -9
- package/dist/primitives/ImageOrSvg/index.js.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.d.ts +0 -5
- package/dist/primitives/Jazzicon/Jazzicon.d.ts.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.js.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.types.d.ts.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.types.js.map +0 -1
- package/dist/primitives/Jazzicon/index.d.ts +0 -3
- package/dist/primitives/Jazzicon/index.d.ts.map +0 -1
- package/dist/primitives/Jazzicon/index.js +0 -9
- package/dist/primitives/Jazzicon/index.js.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.d.ts +0 -5
- package/dist/primitives/TextOrChildren/TextOrChildren.d.ts.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.js.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.types.d.ts.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.types.js.map +0 -1
- package/dist/primitives/TextOrChildren/index.d.ts +0 -3
- package/dist/primitives/TextOrChildren/index.d.ts.map +0 -1
- package/dist/primitives/TextOrChildren/index.js +0 -9
- package/dist/primitives/TextOrChildren/index.js.map +0 -1
- package/dist/shared/enums.d.ts +0 -47
- package/dist/shared/enums.d.ts.map +0 -1
- package/dist/shared/enums.js +0 -44
- package/dist/shared/enums.js.map +0 -1
- package/dist/temp-components/Spinner/Spinner.constants.d.ts +0 -3
- package/dist/temp-components/Spinner/Spinner.constants.d.ts.map +0 -1
- package/dist/temp-components/Spinner/Spinner.constants.js +0 -21
- package/dist/temp-components/Spinner/Spinner.constants.js.map +0 -1
- package/dist/temp-components/Spinner/Spinner.d.ts +0 -5
- package/dist/temp-components/Spinner/Spinner.d.ts.map +0 -1
- package/dist/temp-components/Spinner/Spinner.js.map +0 -1
- package/dist/temp-components/Spinner/Spinner.types.d.ts.map +0 -1
- package/dist/temp-components/Spinner/Spinner.types.js.map +0 -1
- package/dist/temp-components/Spinner/index.d.ts +0 -3
- package/dist/temp-components/Spinner/index.d.ts.map +0 -1
- package/dist/temp-components/Spinner/index.js +0 -9
- package/dist/temp-components/Spinner/index.js.map +0 -1
- /package/dist/{primitives → components}/AvatarBase/AvatarBase.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/Blockies/Blockies.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.types.d.ts +0 -0
- /package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/ImageOrSvg/ImageOrSvg.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/Jazzicon/Jazzicon.types.js +0 -0
- /package/dist/{temp-components → components/temp-components}/Spinner/Spinner.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.types.js +0 -0
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.generateButtonPrimaryTextClassNames = exports.generateButtonPrimaryContainerClassNames = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Generates a Tailwind class name for the container based on its state and optional additional classes.
|
|
6
|
-
*
|
|
7
|
-
* This function computes the appropriate background class name for a button's container, considering its
|
|
8
|
-
* `isPressed`, `isDanger`, `isInverse`, and `isLoading` states. Additional Tailwind class names can
|
|
9
|
-
* also be appended using the `twClassName` parameter.
|
|
10
|
-
*
|
|
11
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
12
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
13
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
14
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
15
|
-
* @param twClassName - Additional Tailwind class names for customization.
|
|
16
|
-
* @returns A combined string of Tailwind class names for the container's background styling.
|
|
17
|
-
*
|
|
18
|
-
* Example:
|
|
19
|
-
* ```
|
|
20
|
-
* const classNames = generateButtonPrimaryContainerClassNames({
|
|
21
|
-
* isPressed: true,
|
|
22
|
-
* isDanger: false,
|
|
23
|
-
* isInverse: true,
|
|
24
|
-
* isLoading: false,
|
|
25
|
-
* twClassName: 'rounded-lg',
|
|
26
|
-
* });
|
|
27
|
-
*
|
|
28
|
-
* console.log(classNames);
|
|
29
|
-
* // Output: "bg-background-defaultPressed rounded-lg"
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
const generateButtonPrimaryContainerClassNames = ({ isPressed = false, isDanger = false, isInverse = false, isLoading = false, twClassName = '', }) => {
|
|
33
|
-
let backgroundStyle;
|
|
34
|
-
const isPressedOrLoading = isPressed || isLoading;
|
|
35
|
-
if (isInverse && isDanger) {
|
|
36
|
-
backgroundStyle = isPressedOrLoading
|
|
37
|
-
? 'bg-background-defaultPressed'
|
|
38
|
-
: 'bg-background-default';
|
|
39
|
-
}
|
|
40
|
-
else if (isDanger) {
|
|
41
|
-
backgroundStyle = isPressedOrLoading
|
|
42
|
-
? 'bg-error-defaultPressed'
|
|
43
|
-
: 'bg-error-default';
|
|
44
|
-
}
|
|
45
|
-
else if (isInverse) {
|
|
46
|
-
backgroundStyle = isPressedOrLoading
|
|
47
|
-
? 'bg-background-defaultPressed'
|
|
48
|
-
: 'bg-background-default';
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
backgroundStyle = isPressedOrLoading
|
|
52
|
-
? 'bg-primary-defaultPressed'
|
|
53
|
-
: 'bg-primary-default';
|
|
54
|
-
}
|
|
55
|
-
return `${backgroundStyle} ${twClassName}`;
|
|
56
|
-
};
|
|
57
|
-
exports.generateButtonPrimaryContainerClassNames = generateButtonPrimaryContainerClassNames;
|
|
58
|
-
/**
|
|
59
|
-
* Generates a Tailwind class name for the text based on the button's state.
|
|
60
|
-
*
|
|
61
|
-
* This function calculates the appropriate text color class for a button based on its
|
|
62
|
-
* `isPressed`, `isDanger`, `isInverse`, and `isLoading` states. The returned class
|
|
63
|
-
* name determines how the button's text will be styled dynamically.
|
|
64
|
-
*
|
|
65
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
66
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
67
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
68
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
69
|
-
* @returns A string representing the Tailwind class for the text color.
|
|
70
|
-
*
|
|
71
|
-
* Example:
|
|
72
|
-
* ```
|
|
73
|
-
* const classNames = generateButtonPrimaryTextClassNames({
|
|
74
|
-
* isPressed: true,
|
|
75
|
-
* isDanger: false,
|
|
76
|
-
* isInverse: true,
|
|
77
|
-
* isLoading: false,
|
|
78
|
-
* });
|
|
79
|
-
*
|
|
80
|
-
* console.log(classNames);
|
|
81
|
-
* // Output: "text-text-default"
|
|
82
|
-
*
|
|
83
|
-
* const dangerPressed = generateButtonPrimaryTextClassNames({
|
|
84
|
-
* isPressed: true,
|
|
85
|
-
* isDanger: true,
|
|
86
|
-
* isInverse: true,
|
|
87
|
-
* isLoading: false,
|
|
88
|
-
* });
|
|
89
|
-
*
|
|
90
|
-
* console.log(dangerPressed);
|
|
91
|
-
* // Output: "text-error-defaultPressed"
|
|
92
|
-
* ```
|
|
93
|
-
*
|
|
94
|
-
* State Priorities:
|
|
95
|
-
* 1. If `isInverse` and `isDanger` are true, the class changes dynamically based on `isPressed` or `isLoading`.
|
|
96
|
-
* 2. If only `isDanger` is true, the text uses `text-primary-inverse`.
|
|
97
|
-
* 3. If only `isInverse` is true, the text uses `text-text-default`.
|
|
98
|
-
* 4. If none of the above states are true, the text defaults to `text-primary-inverse`.
|
|
99
|
-
*/
|
|
100
|
-
const generateButtonPrimaryTextClassNames = ({ isPressed = false, isDanger = false, isInverse = false, isLoading = false, }) => {
|
|
101
|
-
let textColor;
|
|
102
|
-
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
103
|
-
const isPressedOrLoading = isPressed || isLoading;
|
|
104
|
-
if (isDanger) {
|
|
105
|
-
textColor = 'text-primary-inverse';
|
|
106
|
-
}
|
|
107
|
-
else if (isInverse) {
|
|
108
|
-
textColor = 'text-text-default';
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
textColor = 'text-primary-inverse';
|
|
112
|
-
}
|
|
113
|
-
if (isInverse && isDanger) {
|
|
114
|
-
const pressedOrLoading = isPressedOrLoading;
|
|
115
|
-
textColor = pressedOrLoading
|
|
116
|
-
? 'text-error-defaultPressed'
|
|
117
|
-
: 'text-error-default';
|
|
118
|
-
}
|
|
119
|
-
return `${textColor}`;
|
|
120
|
-
};
|
|
121
|
-
exports.generateButtonPrimaryTextClassNames = generateButtonPrimaryTextClassNames;
|
|
122
|
-
//# sourceMappingURL=ButtonPrimary.utilities.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonPrimary.utilities.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.ts"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACI,MAAM,wCAAwC,GAAG,CAAC,EACvD,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,KAAK,EACjB,WAAW,GAAG,EAAE,GAGjB,EAAU,EAAE;IACX,IAAI,eAAe,CAAC;IACpB,MAAM,kBAAkB,GAAG,SAAS,IAAI,SAAS,CAAC;IAElD,IAAI,SAAS,IAAI,QAAQ,EAAE;QACzB,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,8BAA8B;YAChC,CAAC,CAAC,uBAAuB,CAAC;KAC7B;SAAM,IAAI,QAAQ,EAAE;QACnB,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,yBAAyB;YAC3B,CAAC,CAAC,kBAAkB,CAAC;KACxB;SAAM,IAAI,SAAS,EAAE;QACpB,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,8BAA8B;YAChC,CAAC,CAAC,uBAAuB,CAAC;KAC7B;SAAM;QACL,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,2BAA2B;YAC7B,CAAC,CAAC,oBAAoB,CAAC;KAC1B;IAED,OAAO,GAAG,eAAe,IAAI,WAAW,EAAE,CAAC;AAC7C,CAAC,CAAC;AA/BW,QAAA,wCAAwC,4CA+BnD;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACI,MAAM,mCAAmC,GAAG,CAAC,EAClD,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,KAAK,GAGlB,EAAU,EAAE;IACX,IAAI,SAAS,CAAC;IACd,wEAAwE;IACxE,MAAM,kBAAkB,GAAG,SAAS,IAAI,SAAS,CAAC;IAElD,IAAI,QAAQ,EAAE;QACZ,SAAS,GAAG,sBAAsB,CAAC;KACpC;SAAM,IAAI,SAAS,EAAE;QACpB,SAAS,GAAG,mBAAmB,CAAC;KACjC;SAAM;QACL,SAAS,GAAG,sBAAsB,CAAC;KACpC;IACD,IAAI,SAAS,IAAI,QAAQ,EAAE;QACzB,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,SAAS,GAAG,gBAAgB;YAC1B,CAAC,CAAC,2BAA2B;YAC7B,CAAC,CAAC,oBAAoB,CAAC;KAC1B;IAED,OAAO,GAAG,SAAS,EAAE,CAAC;AACxB,CAAC,CAAC;AA3BW,QAAA,mCAAmC,uCA2B9C","sourcesContent":["/* eslint-disable jsdoc/check-param-names */\n/* eslint-disable jsdoc/require-param */\nimport type { ButtonPrimaryProps } from './ButtonPrimary.types';\n\n/**\n * Generates a Tailwind class name for the container based on its state and optional additional classes.\n *\n * This function computes the appropriate background class name for a button's container, considering its\n * `isPressed`, `isDanger`, `isInverse`, and `isLoading` states. Additional Tailwind class names can\n * also be appended using the `twClassName` parameter.\n *\n * @param isPressed - Indicates whether the button is currently being pressed.\n * @param isDanger - Indicates whether the button is in a \"danger\" state.\n * @param isInverse - Indicates whether the button is using an \"inverse\" theme.\n * @param isLoading - Indicates whether the button is in a loading state.\n * @param twClassName - Additional Tailwind class names for customization.\n * @returns A combined string of Tailwind class names for the container's background styling.\n *\n * Example:\n * ```\n * const classNames = generateButtonPrimaryContainerClassNames({\n * isPressed: true,\n * isDanger: false,\n * isInverse: true,\n * isLoading: false,\n * twClassName: 'rounded-lg',\n * });\n *\n * console.log(classNames);\n * // Output: \"bg-background-defaultPressed rounded-lg\"\n * ```\n */\nexport const generateButtonPrimaryContainerClassNames = ({\n isPressed = false,\n isDanger = false,\n isInverse = false,\n isLoading = false,\n twClassName = '',\n}: Partial<ButtonPrimaryProps> & {\n isPressed?: boolean;\n}): string => {\n let backgroundStyle;\n const isPressedOrLoading = isPressed || isLoading;\n\n if (isInverse && isDanger) {\n backgroundStyle = isPressedOrLoading\n ? 'bg-background-defaultPressed'\n : 'bg-background-default';\n } else if (isDanger) {\n backgroundStyle = isPressedOrLoading\n ? 'bg-error-defaultPressed'\n : 'bg-error-default';\n } else if (isInverse) {\n backgroundStyle = isPressedOrLoading\n ? 'bg-background-defaultPressed'\n : 'bg-background-default';\n } else {\n backgroundStyle = isPressedOrLoading\n ? 'bg-primary-defaultPressed'\n : 'bg-primary-default';\n }\n\n return `${backgroundStyle} ${twClassName}`;\n};\n\n/**\n * Generates a Tailwind class name for the text based on the button's state.\n *\n * This function calculates the appropriate text color class for a button based on its\n * `isPressed`, `isDanger`, `isInverse`, and `isLoading` states. The returned class\n * name determines how the button's text will be styled dynamically.\n *\n * @param isPressed - Indicates whether the button is currently being pressed.\n * @param isDanger - Indicates whether the button is in a \"danger\" state.\n * @param isInverse - Indicates whether the button is using an \"inverse\" theme.\n * @param isLoading - Indicates whether the button is in a loading state.\n * @returns A string representing the Tailwind class for the text color.\n *\n * Example:\n * ```\n * const classNames = generateButtonPrimaryTextClassNames({\n * isPressed: true,\n * isDanger: false,\n * isInverse: true,\n * isLoading: false,\n * });\n *\n * console.log(classNames);\n * // Output: \"text-text-default\"\n *\n * const dangerPressed = generateButtonPrimaryTextClassNames({\n * isPressed: true,\n * isDanger: true,\n * isInverse: true,\n * isLoading: false,\n * });\n *\n * console.log(dangerPressed);\n * // Output: \"text-error-defaultPressed\"\n * ```\n *\n * State Priorities:\n * 1. If `isInverse` and `isDanger` are true, the class changes dynamically based on `isPressed` or `isLoading`.\n * 2. If only `isDanger` is true, the text uses `text-primary-inverse`.\n * 3. If only `isInverse` is true, the text uses `text-text-default`.\n * 4. If none of the above states are true, the text defaults to `text-primary-inverse`.\n */\nexport const generateButtonPrimaryTextClassNames = ({\n isPressed = false,\n isDanger = false,\n isInverse = false,\n isLoading = false,\n}: Partial<ButtonPrimaryProps> & {\n isPressed?: boolean;\n}): string => {\n let textColor;\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n const isPressedOrLoading = isPressed || isLoading;\n\n if (isDanger) {\n textColor = 'text-primary-inverse';\n } else if (isInverse) {\n textColor = 'text-text-default';\n } else {\n textColor = 'text-primary-inverse';\n }\n if (isInverse && isDanger) {\n const pressedOrLoading = isPressedOrLoading;\n textColor = pressedOrLoading\n ? 'text-error-defaultPressed'\n : 'text-error-default';\n }\n\n return `${textColor}`;\n};\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { ButtonSecondaryProps } from './ButtonSecondary.types';
|
|
2
|
-
export declare const DEFAULT_BUTTONSECONDARY_PROPS: Pick<ButtonSecondaryProps, 'textProps' | 'size' | 'isLoading' | 'spinnerProps' | 'startIconProps' | 'endIconProps' | 'isDisabled' | 'isFullWidth' | 'isDanger' | 'isInverse'>;
|
|
3
|
-
//# sourceMappingURL=ButtonSecondary.constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSecondary.constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAGpE,eAAO,MAAM,6BAA6B,EAAE,IAAI,CAC9C,oBAAoB,EAClB,WAAW,GACX,MAAM,GACN,WAAW,GACX,cAAc,GACd,gBAAgB,GAChB,cAAc,GACd,YAAY,GACZ,aAAa,GACb,UAAU,GACV,WAAW,CAqBd,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DEFAULT_BUTTONSECONDARY_PROPS = void 0;
|
|
4
|
-
const ButtonBase_constants_1 = require("../../../../primitives/ButtonBase/ButtonBase.constants");
|
|
5
|
-
const Icon_1 = require("../../../Icon");
|
|
6
|
-
const Text_1 = require("../../../Text");
|
|
7
|
-
// Defaults
|
|
8
|
-
exports.DEFAULT_BUTTONSECONDARY_PROPS = {
|
|
9
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS,
|
|
10
|
-
textProps: {
|
|
11
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.textProps,
|
|
12
|
-
color: Text_1.TextColor.PrimaryInverse,
|
|
13
|
-
},
|
|
14
|
-
spinnerProps: {
|
|
15
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.spinnerProps,
|
|
16
|
-
color: Icon_1.IconColor.PrimaryInverse,
|
|
17
|
-
},
|
|
18
|
-
startIconProps: {
|
|
19
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.startIconProps,
|
|
20
|
-
color: Icon_1.IconColor.PrimaryInverse,
|
|
21
|
-
},
|
|
22
|
-
endIconProps: {
|
|
23
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.endIconProps,
|
|
24
|
-
color: Icon_1.IconColor.PrimaryInverse,
|
|
25
|
-
},
|
|
26
|
-
isDanger: false,
|
|
27
|
-
isInverse: false,
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=ButtonSecondary.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSecondary.constants.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.ts"],"names":[],"mappings":";;;AAAA,iGAAkG;AAClG,wCAA0C;AAC1C,wCAA0C;AAG1C,WAAW;AACE,QAAA,6BAA6B,GAYtC;IACF,GAAG,+CAAwB;IAC3B,SAAS,EAAE;QACT,GAAG,+CAAwB,CAAC,SAAS;QACrC,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,YAAY,EAAE;QACZ,GAAG,+CAAwB,CAAC,YAAY;QACxC,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,cAAc,EAAE;QACd,GAAG,+CAAwB,CAAC,cAAc;QAC1C,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,YAAY,EAAE;QACZ,GAAG,+CAAwB,CAAC,YAAY;QACxC,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,KAAK;CACjB,CAAC","sourcesContent":["import { DEFAULT_BUTTONBASE_PROPS } from '../../../../primitives/ButtonBase/ButtonBase.constants';\nimport { IconColor } from '../../../Icon';\nimport { TextColor } from '../../../Text';\nimport type { ButtonSecondaryProps } from './ButtonSecondary.types';\n\n// Defaults\nexport const DEFAULT_BUTTONSECONDARY_PROPS: Pick<\n ButtonSecondaryProps,\n | 'textProps'\n | 'size'\n | 'isLoading'\n | 'spinnerProps'\n | 'startIconProps'\n | 'endIconProps'\n | 'isDisabled'\n | 'isFullWidth'\n | 'isDanger'\n | 'isInverse'\n> = {\n ...DEFAULT_BUTTONBASE_PROPS,\n textProps: {\n ...DEFAULT_BUTTONBASE_PROPS.textProps,\n color: TextColor.PrimaryInverse,\n },\n spinnerProps: {\n ...DEFAULT_BUTTONBASE_PROPS.spinnerProps,\n color: IconColor.PrimaryInverse,\n },\n startIconProps: {\n ...DEFAULT_BUTTONBASE_PROPS.startIconProps,\n color: IconColor.PrimaryInverse,\n },\n endIconProps: {\n ...DEFAULT_BUTTONBASE_PROPS.endIconProps,\n color: IconColor.PrimaryInverse,\n },\n isDanger: false,\n isInverse: false,\n};\n"]}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import type { ButtonSecondaryProps } from './ButtonSecondary.types';
|
|
2
|
-
/**
|
|
3
|
-
* Generates Tailwind class names for the button's container based on its state.
|
|
4
|
-
*
|
|
5
|
-
* This function calculates the appropriate background, border color, and border width
|
|
6
|
-
* class names for a secondary button container. It considers the button's states
|
|
7
|
-
* (`isPressed`, `isDanger`, `isInverse`, `isLoading`) to generate the correct styling,
|
|
8
|
-
* and allows for additional customization through `twClassName`.
|
|
9
|
-
*
|
|
10
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
11
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
12
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
13
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
14
|
-
* @param twClassName - Additional Tailwind class names for customization.
|
|
15
|
-
* @returns A string representing the combined Tailwind class names for the container's background, border, and custom styles.
|
|
16
|
-
*
|
|
17
|
-
* Example:
|
|
18
|
-
* ```
|
|
19
|
-
* const classNames = generateButtonSecondaryContainerClassNames({
|
|
20
|
-
* isPressed: true,
|
|
21
|
-
* isDanger: true,
|
|
22
|
-
* isInverse: false,
|
|
23
|
-
* isLoading: false,
|
|
24
|
-
* twClassName: 'rounded-md',
|
|
25
|
-
* });
|
|
26
|
-
*
|
|
27
|
-
* console.log(classNames);
|
|
28
|
-
* // Output: "bg-error-mutedPressed border-[1.5px] border-error-defaultPressed rounded-md"
|
|
29
|
-
*
|
|
30
|
-
* const inverseClassNames = generateButtonSecondaryContainerClassNames({
|
|
31
|
-
* isInverse: true,
|
|
32
|
-
* twClassName: 'rounded-lg',
|
|
33
|
-
* });
|
|
34
|
-
*
|
|
35
|
-
* console.log(inverseClassNames);
|
|
36
|
-
* // Output: "bg-transparent border-[1.5px] border-primary-inverse rounded-lg"
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* State Priorities:
|
|
40
|
-
* 1. If `isInverse` and `isDanger` are true, the background and border styles are derived dynamically based on `isPressed` or `isLoading`.
|
|
41
|
-
* 2. If only `isDanger` is true, the background and border styles use error-specific values.
|
|
42
|
-
* 3. If only `isInverse` is true, the border color uses inverse-specific values while the background remains transparent.
|
|
43
|
-
* 4. If none of the above states are true, default styles are applied for a non-inverse, non-danger secondary button.
|
|
44
|
-
* 5. The border width is always set to `border-[1.5px]`.
|
|
45
|
-
*/
|
|
46
|
-
export declare const generateButtonSecondaryContainerClassNames: ({ isPressed, isDanger, isInverse, isLoading, twClassName, }: Partial<ButtonSecondaryProps> & {
|
|
47
|
-
isPressed?: boolean | undefined;
|
|
48
|
-
}) => string;
|
|
49
|
-
/**
|
|
50
|
-
* Generates Tailwind class names for the text styling of a secondary button based on its state.
|
|
51
|
-
*
|
|
52
|
-
* This function determines the appropriate text color class name for a secondary button
|
|
53
|
-
* by considering its current states (`isPressed`, `isDanger`, `isInverse`, `isLoading`).
|
|
54
|
-
* The returned class name ensures that the text color dynamically adapts to the button's
|
|
55
|
-
* configuration.
|
|
56
|
-
*
|
|
57
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
58
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
59
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
60
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
61
|
-
* @returns A string representing the Tailwind class name for the button's text color.
|
|
62
|
-
*
|
|
63
|
-
* Example:
|
|
64
|
-
* ```
|
|
65
|
-
* const classNames = generateButtonSecondaryTextClassNames({
|
|
66
|
-
* isPressed: true,
|
|
67
|
-
* isDanger: true,
|
|
68
|
-
* isInverse: true,
|
|
69
|
-
* isLoading: false,
|
|
70
|
-
* });
|
|
71
|
-
*
|
|
72
|
-
* console.log(classNames);
|
|
73
|
-
* // Output: "text-error-defaultPressed"
|
|
74
|
-
*
|
|
75
|
-
* const defaultClassNames = generateButtonSecondaryTextClassNames({});
|
|
76
|
-
*
|
|
77
|
-
* console.log(defaultClassNames);
|
|
78
|
-
* // Output: "text-text-default"
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* State Priorities:
|
|
82
|
-
* 1. If `isInverse` and `isDanger` are true, the text color changes dynamically based on `isPressed` or `isLoading`.
|
|
83
|
-
* 2. If only `isDanger` is true, the text uses `text-error-default` or `text-error-defaultPressed` depending on the state.
|
|
84
|
-
* 3. If only `isInverse` is true, the text uses `text-primary-inverse`.
|
|
85
|
-
* 4. If none of the above states are true, the text defaults to `text-text-default`.
|
|
86
|
-
*/
|
|
87
|
-
export declare const generateButtonSecondaryTextClassNames: ({ isPressed, isDanger, isInverse, isLoading, }: Partial<ButtonSecondaryProps> & {
|
|
88
|
-
isPressed?: boolean | undefined;
|
|
89
|
-
}) => string;
|
|
90
|
-
//# sourceMappingURL=ButtonSecondary.utilities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSecondary.utilities.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,0CAA0C;;MAQnD,MAmCH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,qCAAqC;;MAO9C,MAmBH,CAAC"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.generateButtonSecondaryTextClassNames = exports.generateButtonSecondaryContainerClassNames = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Generates Tailwind class names for the button's container based on its state.
|
|
6
|
-
*
|
|
7
|
-
* This function calculates the appropriate background, border color, and border width
|
|
8
|
-
* class names for a secondary button container. It considers the button's states
|
|
9
|
-
* (`isPressed`, `isDanger`, `isInverse`, `isLoading`) to generate the correct styling,
|
|
10
|
-
* and allows for additional customization through `twClassName`.
|
|
11
|
-
*
|
|
12
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
13
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
14
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
15
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
16
|
-
* @param twClassName - Additional Tailwind class names for customization.
|
|
17
|
-
* @returns A string representing the combined Tailwind class names for the container's background, border, and custom styles.
|
|
18
|
-
*
|
|
19
|
-
* Example:
|
|
20
|
-
* ```
|
|
21
|
-
* const classNames = generateButtonSecondaryContainerClassNames({
|
|
22
|
-
* isPressed: true,
|
|
23
|
-
* isDanger: true,
|
|
24
|
-
* isInverse: false,
|
|
25
|
-
* isLoading: false,
|
|
26
|
-
* twClassName: 'rounded-md',
|
|
27
|
-
* });
|
|
28
|
-
*
|
|
29
|
-
* console.log(classNames);
|
|
30
|
-
* // Output: "bg-error-mutedPressed border-[1.5px] border-error-defaultPressed rounded-md"
|
|
31
|
-
*
|
|
32
|
-
* const inverseClassNames = generateButtonSecondaryContainerClassNames({
|
|
33
|
-
* isInverse: true,
|
|
34
|
-
* twClassName: 'rounded-lg',
|
|
35
|
-
* });
|
|
36
|
-
*
|
|
37
|
-
* console.log(inverseClassNames);
|
|
38
|
-
* // Output: "bg-transparent border-[1.5px] border-primary-inverse rounded-lg"
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* State Priorities:
|
|
42
|
-
* 1. If `isInverse` and `isDanger` are true, the background and border styles are derived dynamically based on `isPressed` or `isLoading`.
|
|
43
|
-
* 2. If only `isDanger` is true, the background and border styles use error-specific values.
|
|
44
|
-
* 3. If only `isInverse` is true, the border color uses inverse-specific values while the background remains transparent.
|
|
45
|
-
* 4. If none of the above states are true, default styles are applied for a non-inverse, non-danger secondary button.
|
|
46
|
-
* 5. The border width is always set to `border-[1.5px]`.
|
|
47
|
-
*/
|
|
48
|
-
const generateButtonSecondaryContainerClassNames = ({ isPressed = false, isDanger = false, isInverse = false, isLoading = false, twClassName = '', }) => {
|
|
49
|
-
let backgroundStyle;
|
|
50
|
-
let borderColorStyle;
|
|
51
|
-
const isPressedOrLoading = isPressed || isLoading;
|
|
52
|
-
if (isInverse && isDanger) {
|
|
53
|
-
backgroundStyle = isPressedOrLoading
|
|
54
|
-
? 'bg-background-defaultPressed'
|
|
55
|
-
: 'bg-background-default';
|
|
56
|
-
borderColorStyle = isPressedOrLoading
|
|
57
|
-
? 'border-background-defaultPressed'
|
|
58
|
-
: 'border-background-default';
|
|
59
|
-
}
|
|
60
|
-
else if (isDanger) {
|
|
61
|
-
backgroundStyle = isPressedOrLoading
|
|
62
|
-
? 'bg-error-mutedPressed'
|
|
63
|
-
: 'bg-transparent';
|
|
64
|
-
borderColorStyle = isPressedOrLoading
|
|
65
|
-
? 'border-error-defaultPressed'
|
|
66
|
-
: 'border-error-default';
|
|
67
|
-
}
|
|
68
|
-
else if (isInverse) {
|
|
69
|
-
backgroundStyle = isPressedOrLoading
|
|
70
|
-
? 'bg-background-pressed'
|
|
71
|
-
: 'bg-transparent';
|
|
72
|
-
borderColorStyle = 'border-primary-inverse';
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
backgroundStyle = isPressedOrLoading
|
|
76
|
-
? 'bg-background-pressed'
|
|
77
|
-
: 'bg-transparent';
|
|
78
|
-
borderColorStyle = 'border-icon-default';
|
|
79
|
-
}
|
|
80
|
-
const borderWidthStyle = 'border-[1.5px]';
|
|
81
|
-
return `${backgroundStyle} ${borderWidthStyle} ${borderColorStyle} ${twClassName}`;
|
|
82
|
-
};
|
|
83
|
-
exports.generateButtonSecondaryContainerClassNames = generateButtonSecondaryContainerClassNames;
|
|
84
|
-
/**
|
|
85
|
-
* Generates Tailwind class names for the text styling of a secondary button based on its state.
|
|
86
|
-
*
|
|
87
|
-
* This function determines the appropriate text color class name for a secondary button
|
|
88
|
-
* by considering its current states (`isPressed`, `isDanger`, `isInverse`, `isLoading`).
|
|
89
|
-
* The returned class name ensures that the text color dynamically adapts to the button's
|
|
90
|
-
* configuration.
|
|
91
|
-
*
|
|
92
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
93
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
94
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
95
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
96
|
-
* @returns A string representing the Tailwind class name for the button's text color.
|
|
97
|
-
*
|
|
98
|
-
* Example:
|
|
99
|
-
* ```
|
|
100
|
-
* const classNames = generateButtonSecondaryTextClassNames({
|
|
101
|
-
* isPressed: true,
|
|
102
|
-
* isDanger: true,
|
|
103
|
-
* isInverse: true,
|
|
104
|
-
* isLoading: false,
|
|
105
|
-
* });
|
|
106
|
-
*
|
|
107
|
-
* console.log(classNames);
|
|
108
|
-
* // Output: "text-error-defaultPressed"
|
|
109
|
-
*
|
|
110
|
-
* const defaultClassNames = generateButtonSecondaryTextClassNames({});
|
|
111
|
-
*
|
|
112
|
-
* console.log(defaultClassNames);
|
|
113
|
-
* // Output: "text-text-default"
|
|
114
|
-
* ```
|
|
115
|
-
*
|
|
116
|
-
* State Priorities:
|
|
117
|
-
* 1. If `isInverse` and `isDanger` are true, the text color changes dynamically based on `isPressed` or `isLoading`.
|
|
118
|
-
* 2. If only `isDanger` is true, the text uses `text-error-default` or `text-error-defaultPressed` depending on the state.
|
|
119
|
-
* 3. If only `isInverse` is true, the text uses `text-primary-inverse`.
|
|
120
|
-
* 4. If none of the above states are true, the text defaults to `text-text-default`.
|
|
121
|
-
*/
|
|
122
|
-
const generateButtonSecondaryTextClassNames = ({ isPressed = false, isDanger = false, isInverse = false, isLoading = false, }) => {
|
|
123
|
-
let textColor;
|
|
124
|
-
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
125
|
-
const isPressedOrLoading = isPressed || isLoading;
|
|
126
|
-
if (isInverse && isDanger) {
|
|
127
|
-
textColor = isPressedOrLoading
|
|
128
|
-
? 'text-error-defaultPressed'
|
|
129
|
-
: 'text-error-default';
|
|
130
|
-
}
|
|
131
|
-
else if (isDanger) {
|
|
132
|
-
textColor = isPressedOrLoading
|
|
133
|
-
? 'text-error-defaultPressed'
|
|
134
|
-
: 'text-error-default';
|
|
135
|
-
}
|
|
136
|
-
else if (isInverse) {
|
|
137
|
-
textColor = 'text-primary-inverse';
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
textColor = 'text-text-default';
|
|
141
|
-
}
|
|
142
|
-
return `${textColor}`;
|
|
143
|
-
};
|
|
144
|
-
exports.generateButtonSecondaryTextClassNames = generateButtonSecondaryTextClassNames;
|
|
145
|
-
//# sourceMappingURL=ButtonSecondary.utilities.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSecondary.utilities.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.ts"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACI,MAAM,0CAA0C,GAAG,CAAC,EACzD,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,KAAK,EACjB,WAAW,GAAG,EAAE,GAGjB,EAAU,EAAE;IACX,IAAI,eAAe,CAAC;IACpB,IAAI,gBAAgB,CAAC;IAErB,MAAM,kBAAkB,GAAG,SAAS,IAAI,SAAS,CAAC;IAElD,IAAI,SAAS,IAAI,QAAQ,EAAE;QACzB,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,8BAA8B;YAChC,CAAC,CAAC,uBAAuB,CAAC;QAC5B,gBAAgB,GAAG,kBAAkB;YACnC,CAAC,CAAC,kCAAkC;YACpC,CAAC,CAAC,2BAA2B,CAAC;KACjC;SAAM,IAAI,QAAQ,EAAE;QACnB,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,uBAAuB;YACzB,CAAC,CAAC,gBAAgB,CAAC;QACrB,gBAAgB,GAAG,kBAAkB;YACnC,CAAC,CAAC,6BAA6B;YAC/B,CAAC,CAAC,sBAAsB,CAAC;KAC5B;SAAM,IAAI,SAAS,EAAE;QACpB,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,uBAAuB;YACzB,CAAC,CAAC,gBAAgB,CAAC;QACrB,gBAAgB,GAAG,wBAAwB,CAAC;KAC7C;SAAM;QACL,eAAe,GAAG,kBAAkB;YAClC,CAAC,CAAC,uBAAuB;YACzB,CAAC,CAAC,gBAAgB,CAAC;QACrB,gBAAgB,GAAG,qBAAqB,CAAC;KAC1C;IAED,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;IAE1C,OAAO,GAAG,eAAe,IAAI,gBAAgB,IAAI,gBAAgB,IAAI,WAAW,EAAE,CAAC;AACrF,CAAC,CAAC;AA3CW,QAAA,0CAA0C,8CA2CrD;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACI,MAAM,qCAAqC,GAAG,CAAC,EACpD,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,KAAK,GAGlB,EAAU,EAAE;IACX,IAAI,SAAS,CAAC;IACd,wEAAwE;IACxE,MAAM,kBAAkB,GAAG,SAAS,IAAI,SAAS,CAAC;IAClD,IAAI,SAAS,IAAI,QAAQ,EAAE;QACzB,SAAS,GAAG,kBAAkB;YAC5B,CAAC,CAAC,2BAA2B;YAC7B,CAAC,CAAC,oBAAoB,CAAC;KAC1B;SAAM,IAAI,QAAQ,EAAE;QACnB,SAAS,GAAG,kBAAkB;YAC5B,CAAC,CAAC,2BAA2B;YAC7B,CAAC,CAAC,oBAAoB,CAAC;KAC1B;SAAM,IAAI,SAAS,EAAE;QACpB,SAAS,GAAG,sBAAsB,CAAC;KACpC;SAAM;QACL,SAAS,GAAG,mBAAmB,CAAC;KACjC;IAED,OAAO,GAAG,SAAS,EAAE,CAAC;AACxB,CAAC,CAAC;AA1BW,QAAA,qCAAqC,yCA0BhD","sourcesContent":["/* eslint-disable jsdoc/check-param-names */\n/* eslint-disable jsdoc/require-param */\nimport type { ButtonSecondaryProps } from './ButtonSecondary.types';\n\n/**\n * Generates Tailwind class names for the button's container based on its state.\n *\n * This function calculates the appropriate background, border color, and border width\n * class names for a secondary button container. It considers the button's states\n * (`isPressed`, `isDanger`, `isInverse`, `isLoading`) to generate the correct styling,\n * and allows for additional customization through `twClassName`.\n *\n * @param isPressed - Indicates whether the button is currently being pressed.\n * @param isDanger - Indicates whether the button is in a \"danger\" state.\n * @param isInverse - Indicates whether the button is using an \"inverse\" theme.\n * @param isLoading - Indicates whether the button is in a loading state.\n * @param twClassName - Additional Tailwind class names for customization.\n * @returns A string representing the combined Tailwind class names for the container's background, border, and custom styles.\n *\n * Example:\n * ```\n * const classNames = generateButtonSecondaryContainerClassNames({\n * isPressed: true,\n * isDanger: true,\n * isInverse: false,\n * isLoading: false,\n * twClassName: 'rounded-md',\n * });\n *\n * console.log(classNames);\n * // Output: \"bg-error-mutedPressed border-[1.5px] border-error-defaultPressed rounded-md\"\n *\n * const inverseClassNames = generateButtonSecondaryContainerClassNames({\n * isInverse: true,\n * twClassName: 'rounded-lg',\n * });\n *\n * console.log(inverseClassNames);\n * // Output: \"bg-transparent border-[1.5px] border-primary-inverse rounded-lg\"\n * ```\n *\n * State Priorities:\n * 1. If `isInverse` and `isDanger` are true, the background and border styles are derived dynamically based on `isPressed` or `isLoading`.\n * 2. If only `isDanger` is true, the background and border styles use error-specific values.\n * 3. If only `isInverse` is true, the border color uses inverse-specific values while the background remains transparent.\n * 4. If none of the above states are true, default styles are applied for a non-inverse, non-danger secondary button.\n * 5. The border width is always set to `border-[1.5px]`.\n */\nexport const generateButtonSecondaryContainerClassNames = ({\n isPressed = false,\n isDanger = false,\n isInverse = false,\n isLoading = false,\n twClassName = '',\n}: Partial<ButtonSecondaryProps> & {\n isPressed?: boolean;\n}): string => {\n let backgroundStyle;\n let borderColorStyle;\n\n const isPressedOrLoading = isPressed || isLoading;\n\n if (isInverse && isDanger) {\n backgroundStyle = isPressedOrLoading\n ? 'bg-background-defaultPressed'\n : 'bg-background-default';\n borderColorStyle = isPressedOrLoading\n ? 'border-background-defaultPressed'\n : 'border-background-default';\n } else if (isDanger) {\n backgroundStyle = isPressedOrLoading\n ? 'bg-error-mutedPressed'\n : 'bg-transparent';\n borderColorStyle = isPressedOrLoading\n ? 'border-error-defaultPressed'\n : 'border-error-default';\n } else if (isInverse) {\n backgroundStyle = isPressedOrLoading\n ? 'bg-background-pressed'\n : 'bg-transparent';\n borderColorStyle = 'border-primary-inverse';\n } else {\n backgroundStyle = isPressedOrLoading\n ? 'bg-background-pressed'\n : 'bg-transparent';\n borderColorStyle = 'border-icon-default';\n }\n\n const borderWidthStyle = 'border-[1.5px]';\n\n return `${backgroundStyle} ${borderWidthStyle} ${borderColorStyle} ${twClassName}`;\n};\n\n/**\n * Generates Tailwind class names for the text styling of a secondary button based on its state.\n *\n * This function determines the appropriate text color class name for a secondary button\n * by considering its current states (`isPressed`, `isDanger`, `isInverse`, `isLoading`).\n * The returned class name ensures that the text color dynamically adapts to the button's\n * configuration.\n *\n * @param isPressed - Indicates whether the button is currently being pressed.\n * @param isDanger - Indicates whether the button is in a \"danger\" state.\n * @param isInverse - Indicates whether the button is using an \"inverse\" theme.\n * @param isLoading - Indicates whether the button is in a loading state.\n * @returns A string representing the Tailwind class name for the button's text color.\n *\n * Example:\n * ```\n * const classNames = generateButtonSecondaryTextClassNames({\n * isPressed: true,\n * isDanger: true,\n * isInverse: true,\n * isLoading: false,\n * });\n *\n * console.log(classNames);\n * // Output: \"text-error-defaultPressed\"\n *\n * const defaultClassNames = generateButtonSecondaryTextClassNames({});\n *\n * console.log(defaultClassNames);\n * // Output: \"text-text-default\"\n * ```\n *\n * State Priorities:\n * 1. If `isInverse` and `isDanger` are true, the text color changes dynamically based on `isPressed` or `isLoading`.\n * 2. If only `isDanger` is true, the text uses `text-error-default` or `text-error-defaultPressed` depending on the state.\n * 3. If only `isInverse` is true, the text uses `text-primary-inverse`.\n * 4. If none of the above states are true, the text defaults to `text-text-default`.\n */\nexport const generateButtonSecondaryTextClassNames = ({\n isPressed = false,\n isDanger = false,\n isInverse = false,\n isLoading = false,\n}: Partial<ButtonSecondaryProps> & {\n isPressed?: boolean;\n}): string => {\n let textColor;\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n const isPressedOrLoading = isPressed || isLoading;\n if (isInverse && isDanger) {\n textColor = isPressedOrLoading\n ? 'text-error-defaultPressed'\n : 'text-error-default';\n } else if (isDanger) {\n textColor = isPressedOrLoading\n ? 'text-error-defaultPressed'\n : 'text-error-default';\n } else if (isInverse) {\n textColor = 'text-primary-inverse';\n } else {\n textColor = 'text-text-default';\n }\n\n return `${textColor}`;\n};\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { ButtonTertiaryProps } from './ButtonTertiary.types';
|
|
2
|
-
export declare const DEFAULT_BUTTONTERTIARY_PROPS: Pick<ButtonTertiaryProps, 'textProps' | 'size' | 'isLoading' | 'spinnerProps' | 'startIconProps' | 'endIconProps' | 'isDisabled' | 'isFullWidth' | 'isDanger' | 'isInverse'>;
|
|
3
|
-
//# sourceMappingURL=ButtonTertiary.constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonTertiary.constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAGlE,eAAO,MAAM,4BAA4B,EAAE,IAAI,CAC7C,mBAAmB,EACjB,WAAW,GACX,MAAM,GACN,WAAW,GACX,cAAc,GACd,gBAAgB,GAChB,cAAc,GACd,YAAY,GACZ,aAAa,GACb,UAAU,GACV,WAAW,CAqBd,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DEFAULT_BUTTONTERTIARY_PROPS = void 0;
|
|
4
|
-
const ButtonBase_constants_1 = require("../../../../primitives/ButtonBase/ButtonBase.constants");
|
|
5
|
-
const Icon_1 = require("../../../Icon");
|
|
6
|
-
const Text_1 = require("../../../Text");
|
|
7
|
-
// Defaults
|
|
8
|
-
exports.DEFAULT_BUTTONTERTIARY_PROPS = {
|
|
9
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS,
|
|
10
|
-
textProps: {
|
|
11
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.textProps,
|
|
12
|
-
color: Text_1.TextColor.PrimaryInverse,
|
|
13
|
-
},
|
|
14
|
-
spinnerProps: {
|
|
15
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.spinnerProps,
|
|
16
|
-
color: Icon_1.IconColor.PrimaryInverse,
|
|
17
|
-
},
|
|
18
|
-
startIconProps: {
|
|
19
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.startIconProps,
|
|
20
|
-
color: Icon_1.IconColor.PrimaryInverse,
|
|
21
|
-
},
|
|
22
|
-
endIconProps: {
|
|
23
|
-
...ButtonBase_constants_1.DEFAULT_BUTTONBASE_PROPS.endIconProps,
|
|
24
|
-
color: Icon_1.IconColor.PrimaryInverse,
|
|
25
|
-
},
|
|
26
|
-
isDanger: false,
|
|
27
|
-
isInverse: false,
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=ButtonTertiary.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonTertiary.constants.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.ts"],"names":[],"mappings":";;;AAAA,iGAAkG;AAClG,wCAA0C;AAC1C,wCAA0C;AAG1C,WAAW;AACE,QAAA,4BAA4B,GAYrC;IACF,GAAG,+CAAwB;IAC3B,SAAS,EAAE;QACT,GAAG,+CAAwB,CAAC,SAAS;QACrC,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,YAAY,EAAE;QACZ,GAAG,+CAAwB,CAAC,YAAY;QACxC,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,cAAc,EAAE;QACd,GAAG,+CAAwB,CAAC,cAAc;QAC1C,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,YAAY,EAAE;QACZ,GAAG,+CAAwB,CAAC,YAAY;QACxC,KAAK,EAAE,gBAAS,CAAC,cAAc;KAChC;IACD,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,KAAK;CACjB,CAAC","sourcesContent":["import { DEFAULT_BUTTONBASE_PROPS } from '../../../../primitives/ButtonBase/ButtonBase.constants';\nimport { IconColor } from '../../../Icon';\nimport { TextColor } from '../../../Text';\nimport type { ButtonTertiaryProps } from './ButtonTertiary.types';\n\n// Defaults\nexport const DEFAULT_BUTTONTERTIARY_PROPS: Pick<\n ButtonTertiaryProps,\n | 'textProps'\n | 'size'\n | 'isLoading'\n | 'spinnerProps'\n | 'startIconProps'\n | 'endIconProps'\n | 'isDisabled'\n | 'isFullWidth'\n | 'isDanger'\n | 'isInverse'\n> = {\n ...DEFAULT_BUTTONBASE_PROPS,\n textProps: {\n ...DEFAULT_BUTTONBASE_PROPS.textProps,\n color: TextColor.PrimaryInverse,\n },\n spinnerProps: {\n ...DEFAULT_BUTTONBASE_PROPS.spinnerProps,\n color: IconColor.PrimaryInverse,\n },\n startIconProps: {\n ...DEFAULT_BUTTONBASE_PROPS.startIconProps,\n color: IconColor.PrimaryInverse,\n },\n endIconProps: {\n ...DEFAULT_BUTTONBASE_PROPS.endIconProps,\n color: IconColor.PrimaryInverse,\n },\n isDanger: false,\n isInverse: false,\n};\n"]}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import type { ButtonTertiaryProps } from './ButtonTertiary.types';
|
|
2
|
-
/**
|
|
3
|
-
* Generates Tailwind class names for a tertiary button's container based on its state.
|
|
4
|
-
*
|
|
5
|
-
* This function calculates the background, border color, and border width styles dynamically
|
|
6
|
-
* depending on the button's state (`isPressed`, `isDanger`, `isInverse`, `isLoading`). It also
|
|
7
|
-
* allows additional Tailwind classes to be appended using the `twClassName` parameter.
|
|
8
|
-
*
|
|
9
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
10
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
11
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
12
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
13
|
-
* @param twClassName - Additional Tailwind class names for customization.
|
|
14
|
-
* @returns A string containing the combined Tailwind class names for the container's background,
|
|
15
|
-
* border styles, and any additional classes.
|
|
16
|
-
*
|
|
17
|
-
* Example:
|
|
18
|
-
* ```
|
|
19
|
-
* const classNames = generateButtonTertiaryContainerClassNames({
|
|
20
|
-
* isPressed: true,
|
|
21
|
-
* isDanger: true,
|
|
22
|
-
* isInverse: false,
|
|
23
|
-
* isLoading: false,
|
|
24
|
-
* twClassName: 'rounded-full',
|
|
25
|
-
* });
|
|
26
|
-
*
|
|
27
|
-
* console.log(classNames);
|
|
28
|
-
* // Output: "bg-error-mutedPressed border-0 border-error-mutedPressed rounded-full"
|
|
29
|
-
*
|
|
30
|
-
* const inverseClassNames = generateButtonTertiaryContainerClassNames({
|
|
31
|
-
* isInverse: true,
|
|
32
|
-
* twClassName: 'rounded-lg',
|
|
33
|
-
* });
|
|
34
|
-
*
|
|
35
|
-
* console.log(inverseClassNames);
|
|
36
|
-
* // Output: "bg-transparent border-[1.5px] border-primary-inverse rounded-lg"
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* State Priorities:
|
|
40
|
-
* 1. If `isInverse` and `isDanger` are true, styles are dynamically determined based on `isPressed` or `isLoading`.
|
|
41
|
-
* 2. If only `isDanger` is true, the styles reflect error-related colors with no borders.
|
|
42
|
-
* 3. If only `isInverse` is true, a border width is added along with inverse-specific styles.
|
|
43
|
-
* 4. If none of the above states are true, default styles are applied for a non-danger, non-inverse tertiary button.
|
|
44
|
-
*/
|
|
45
|
-
export declare const generateButtonTertiaryContainerClassNames: ({ isPressed, isDanger, isInverse, isLoading, twClassName, }: Partial<ButtonTertiaryProps> & {
|
|
46
|
-
isPressed?: boolean | undefined;
|
|
47
|
-
}) => string;
|
|
48
|
-
/**
|
|
49
|
-
* Generates Tailwind class names for a tertiary button's text styling based on its state.
|
|
50
|
-
*
|
|
51
|
-
* This function determines the appropriate text color class name for a tertiary button
|
|
52
|
-
* by evaluating the current states (`isPressed`, `isDanger`, `isInverse`, `isLoading`).
|
|
53
|
-
* The returned class name dynamically reflects the button's configuration.
|
|
54
|
-
*
|
|
55
|
-
* @param isPressed - Indicates whether the button is currently being pressed.
|
|
56
|
-
* @param isDanger - Indicates whether the button is in a "danger" state.
|
|
57
|
-
* @param isInverse - Indicates whether the button is using an "inverse" theme.
|
|
58
|
-
* @param isLoading - Indicates whether the button is in a loading state.
|
|
59
|
-
* @returns A string containing the Tailwind class name for the button's text color.
|
|
60
|
-
*
|
|
61
|
-
* Example:
|
|
62
|
-
* ```
|
|
63
|
-
* const classNames = generateButtonTertiaryTextClassNames({
|
|
64
|
-
* isPressed: true,
|
|
65
|
-
* isDanger: true,
|
|
66
|
-
* isInverse: false,
|
|
67
|
-
* isLoading: false,
|
|
68
|
-
* });
|
|
69
|
-
*
|
|
70
|
-
* console.log(classNames);
|
|
71
|
-
* // Output: "text-error-defaultPressed"
|
|
72
|
-
*
|
|
73
|
-
* const defaultClassNames = generateButtonTertiaryTextClassNames({});
|
|
74
|
-
*
|
|
75
|
-
* console.log(defaultClassNames);
|
|
76
|
-
* // Output: "text-primary-default"
|
|
77
|
-
* ```
|
|
78
|
-
*
|
|
79
|
-
* State Priorities:
|
|
80
|
-
* 1. If `isInverse` and `isDanger` are true, the text color is determined dynamically based on `isPressed` or `isLoading`.
|
|
81
|
-
* 2. If only `isDanger` is true, the text color defaults to `text-error-default` or `text-error-defaultPressed` depending on the state.
|
|
82
|
-
* 3. If only `isInverse` is true, the text color is `text-primary-inverse`.
|
|
83
|
-
* 4. If none of the above states are true, the text color defaults to `text-primary-default`.
|
|
84
|
-
*/
|
|
85
|
-
export declare const generateButtonTertiaryTextClassNames: ({ isPressed, isDanger, isInverse, isLoading, }: Partial<ButtonTertiaryProps> & {
|
|
86
|
-
isPressed?: boolean | undefined;
|
|
87
|
-
}) => string;
|
|
88
|
-
//# sourceMappingURL=ButtonTertiary.utilities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonTertiary.utilities.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,yCAAyC;;MAQlD,MAoCH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,oCAAoC;;MAO7C,MAqBH,CAAC"}
|