@thecb/components 10.6.1-beta.0 → 10.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1052 -302
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +42 -18
- package/dist/index.esm.js +1048 -302
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/DisabledAccountsAddIcon.js +200 -0
- package/src/components/atoms/icons/DisabledPaymentMethodsAddIcon.js +62 -0
- package/src/components/atoms/icons/DisabledPropertiesAddIcon.js +54 -0
- package/src/components/atoms/icons/PropertiesAddIcon.js +1 -0
- package/src/components/atoms/icons/WalletIconSmall.js +3 -7
- package/src/components/atoms/icons/icons.stories.js +9 -1
- package/src/components/atoms/icons/index.js +7 -1
- package/src/components/atoms/index.js +1 -0
- package/src/components/atoms/placeholder/Placeholder.js +85 -26
- package/src/components/atoms/placeholder/Placeholder.stories.js +2 -0
- package/src/components/atoms/placeholder/Placeholder.theme.js +8 -2
- package/src/components/atoms/spinner/Spinner.js +13 -5
- package/src/components/atoms/spinner/index.d.ts +4 -0
- package/src/components/atoms/toggle-switch/ToggleSwitch.js +33 -61
- package/src/components/atoms/toggle-switch/ToggleSwitch.stories.js +2 -3
- package/src/components/atoms/toggle-switch/ToggleSwitch.theme.js +5 -5
- package/src/components/atoms/wallet-name/WalletName.js +102 -0
- package/src/components/atoms/wallet-name/WalletName.stories.js +24 -0
- package/src/components/atoms/wallet-name/index.d.ts +15 -0
- package/src/components/atoms/wallet-name/index.js +3 -0
- package/src/components/molecules/editable-list/EditableList.js +3 -1
- package/src/components/molecules/editable-list/EditableList.stories.js +1 -3
- package/src/components/molecules/link-card/LinkCard.theme.js +7 -21
- package/src/components/molecules/modal/Modal.js +6 -217
- package/src/components/molecules/modal/Modal.stories.js +57 -13
- package/src/components/molecules/modal/ModalControlV1.js +234 -0
- package/src/components/molecules/modal/ModalControlV2.js +218 -0
- package/src/components/molecules/modal/__private__/ButtonLayoutWrapper.js +24 -0
- package/src/components/molecules/modal/__private__/CancelButton.js +36 -0
- package/src/components/molecules/modal/__private__/CloseButton.js +34 -0
- package/src/components/molecules/modal/__private__/CloseIconButton.js +39 -0
- package/src/components/molecules/modal/__private__/ContinueButton.js +45 -0
- package/src/components/molecules/modal/__private__/index.d.ts +59 -0
- package/src/components/molecules/modal/__private__/index.js +5 -0
- package/src/components/molecules/partial-amount-form/PartialAmountField.js +49 -0
- package/src/components/molecules/partial-amount-form/PartialAmountForm.js +8 -22
- package/src/components/molecules/radio-section/InnerRadioSection.js +7 -2
- package/src/components/molecules/registration-form/RegistrationForm.js +6 -3
- package/src/components/molecules/registration-form/RegistrationForm.state.js +4 -3
- package/src/constants/style_constants.d.ts +18 -6
- package/src/constants/style_constants.js +23 -20
- package/src/components/atoms/icons/.DS_Store +0 -0
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
/* These are constants used by nav frontend components */
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
3
|
+
export const BORDER_RADIUS = {
|
|
4
|
+
MD: "4px" // Figma: Corners/Standard Corner
|
|
5
|
+
};
|
|
6
|
+
export const BORDER_THIN = "1px";
|
|
7
|
+
export const FONT_SIZE = {
|
|
8
|
+
XS: "0.750rem", // 12px
|
|
9
|
+
SM: "0.875rem", // 14px
|
|
10
|
+
MD: "1.000rem", // 16px
|
|
11
|
+
LG: "1.125rem", // 18px
|
|
12
|
+
XL: "1.250rem" //20px
|
|
13
|
+
};
|
|
14
|
+
export const FONT_WEIGHT_REGULAR = "400";
|
|
15
|
+
export const FONT_WEIGHT_SEMIBOLD = "600";
|
|
16
|
+
export const FONT_WEIGHT_BOLD = "700";
|
|
17
|
+
export const FOOTER_HEIGHT = "100px";
|
|
18
|
+
export const HEADER_HEIGHT = "104px";
|
|
19
|
+
export const COMPACT_JUMBO_HEIGHT = "65px";
|
|
20
|
+
export const JUMBO_HEIGHT = "300px";
|
|
21
|
+
export const SPACER_HEIGHT = "65px";
|
|
22
|
+
export const LINK_TEXT_DECORATION = "underline solid 1px";
|
|
23
|
+
export const SPACING = {
|
|
24
|
+
XS: "1.0rem", // Figma: Spacing/XS
|
|
25
|
+
MD: "1.5rem" // Figma: Spacing/Normal
|
|
23
26
|
};
|
|
Binary file
|