@thecb/components 10.6.1-beta.0 → 10.6.2-beta.0
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 +1055 -304
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +42 -18
- package/dist/index.esm.js +1051 -304
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
- 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 +11 -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 +150 -108
- 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/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -292,36 +292,56 @@ declare namespace colors_d {
|
|
|
292
292
|
|
|
293
293
|
type StyleDeclaration = string;
|
|
294
294
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
295
|
+
interface StyleOptions {
|
|
296
|
+
XS?: string;
|
|
297
|
+
SM?: string;
|
|
298
|
+
MD?: string;
|
|
299
|
+
LG?: string;
|
|
300
|
+
XL?: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
declare const BORDER_RADIUS: StyleOptions;
|
|
304
|
+
declare const BORDER_THIN: StyleDeclaration;
|
|
305
|
+
declare const FONT_SIZE: StyleOptions;
|
|
300
306
|
declare const FONT_WEIGHT_REGULAR: StyleDeclaration;
|
|
301
|
-
declare const FONT_WEIGHT_BOLD: StyleDeclaration;
|
|
302
307
|
declare const FONT_WEIGHT_SEMIBOLD: StyleDeclaration;
|
|
308
|
+
declare const FONT_WEIGHT_BOLD: StyleDeclaration;
|
|
309
|
+
declare const FOOTER_HEIGHT: StyleDeclaration;
|
|
310
|
+
declare const HEADER_HEIGHT: StyleDeclaration;
|
|
311
|
+
declare const COMPACT_JUMBO_HEIGHT: StyleDeclaration;
|
|
312
|
+
declare const JUMBO_HEIGHT: StyleDeclaration;
|
|
313
|
+
declare const SPACER_HEIGHT: StyleDeclaration;
|
|
303
314
|
declare const LINK_TEXT_DECORATION: StyleDeclaration;
|
|
315
|
+
declare const SPACING: StyleOptions;
|
|
304
316
|
|
|
305
|
-
declare const
|
|
306
|
-
declare const
|
|
307
|
-
declare const
|
|
308
|
-
declare const style_constants_d_JUMBO_HEIGHT: typeof JUMBO_HEIGHT;
|
|
309
|
-
declare const style_constants_d_COMPACT_JUMBO_HEIGHT: typeof COMPACT_JUMBO_HEIGHT;
|
|
317
|
+
declare const style_constants_d_BORDER_RADIUS: typeof BORDER_RADIUS;
|
|
318
|
+
declare const style_constants_d_BORDER_THIN: typeof BORDER_THIN;
|
|
319
|
+
declare const style_constants_d_FONT_SIZE: typeof FONT_SIZE;
|
|
310
320
|
declare const style_constants_d_FONT_WEIGHT_REGULAR: typeof FONT_WEIGHT_REGULAR;
|
|
311
|
-
declare const style_constants_d_FONT_WEIGHT_BOLD: typeof FONT_WEIGHT_BOLD;
|
|
312
321
|
declare const style_constants_d_FONT_WEIGHT_SEMIBOLD: typeof FONT_WEIGHT_SEMIBOLD;
|
|
322
|
+
declare const style_constants_d_FONT_WEIGHT_BOLD: typeof FONT_WEIGHT_BOLD;
|
|
323
|
+
declare const style_constants_d_FOOTER_HEIGHT: typeof FOOTER_HEIGHT;
|
|
324
|
+
declare const style_constants_d_HEADER_HEIGHT: typeof HEADER_HEIGHT;
|
|
325
|
+
declare const style_constants_d_COMPACT_JUMBO_HEIGHT: typeof COMPACT_JUMBO_HEIGHT;
|
|
326
|
+
declare const style_constants_d_JUMBO_HEIGHT: typeof JUMBO_HEIGHT;
|
|
327
|
+
declare const style_constants_d_SPACER_HEIGHT: typeof SPACER_HEIGHT;
|
|
313
328
|
declare const style_constants_d_LINK_TEXT_DECORATION: typeof LINK_TEXT_DECORATION;
|
|
329
|
+
declare const style_constants_d_SPACING: typeof SPACING;
|
|
314
330
|
declare namespace style_constants_d {
|
|
315
331
|
export {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
style_constants_d_JUMBO_HEIGHT as JUMBO_HEIGHT,
|
|
320
|
-
style_constants_d_COMPACT_JUMBO_HEIGHT as COMPACT_JUMBO_HEIGHT,
|
|
332
|
+
style_constants_d_BORDER_RADIUS as BORDER_RADIUS,
|
|
333
|
+
style_constants_d_BORDER_THIN as BORDER_THIN,
|
|
334
|
+
style_constants_d_FONT_SIZE as FONT_SIZE,
|
|
321
335
|
style_constants_d_FONT_WEIGHT_REGULAR as FONT_WEIGHT_REGULAR,
|
|
322
|
-
style_constants_d_FONT_WEIGHT_BOLD as FONT_WEIGHT_BOLD,
|
|
323
336
|
style_constants_d_FONT_WEIGHT_SEMIBOLD as FONT_WEIGHT_SEMIBOLD,
|
|
337
|
+
style_constants_d_FONT_WEIGHT_BOLD as FONT_WEIGHT_BOLD,
|
|
338
|
+
style_constants_d_FOOTER_HEIGHT as FOOTER_HEIGHT,
|
|
339
|
+
style_constants_d_HEADER_HEIGHT as HEADER_HEIGHT,
|
|
340
|
+
style_constants_d_COMPACT_JUMBO_HEIGHT as COMPACT_JUMBO_HEIGHT,
|
|
341
|
+
style_constants_d_JUMBO_HEIGHT as JUMBO_HEIGHT,
|
|
342
|
+
style_constants_d_SPACER_HEIGHT as SPACER_HEIGHT,
|
|
324
343
|
style_constants_d_LINK_TEXT_DECORATION as LINK_TEXT_DECORATION,
|
|
344
|
+
style_constants_d_SPACING as SPACING,
|
|
325
345
|
};
|
|
326
346
|
}
|
|
327
347
|
|
|
@@ -994,6 +1014,10 @@ declare const SearchableSelect: React.FC<Expand<SearchableSelectProps> &
|
|
|
994
1014
|
interface SpinnerProps {
|
|
995
1015
|
size?: string;
|
|
996
1016
|
centerSpinner?: boolean;
|
|
1017
|
+
cx?: string;
|
|
1018
|
+
cy?: string;
|
|
1019
|
+
radius?: string;
|
|
1020
|
+
strokeWidth?: string;
|
|
997
1021
|
}
|
|
998
1022
|
|
|
999
1023
|
declare const Spinner: React.FC<Expand<SpinnerProps> &
|