@thecb/components 7.5.0-beta.0 → 7.5.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.
Files changed (36) hide show
  1. package/dist/index.cjs.js +338 -563
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +3 -5
  4. package/dist/index.esm.js +338 -561
  5. package/dist/index.esm.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/.DS_Store +0 -0
  8. package/src/components/atoms/.DS_Store +0 -0
  9. package/src/components/atoms/icons/{ExternalLinkIcon.js → ExternalLinkicon.js} +0 -0
  10. package/src/components/atoms/icons/WalletIconSmall.js +3 -3
  11. package/src/components/atoms/icons/index.d.ts +0 -1
  12. package/src/components/atoms/icons/index.js +1 -3
  13. package/src/components/atoms/index.js +1 -2
  14. package/src/components/atoms/link/ExternalLink.d.ts +1 -1
  15. package/src/components/atoms/link/ExternalLink.js +42 -48
  16. package/src/components/atoms/link/ExternalLink.styled.js +2 -4
  17. package/src/components/atoms/link/InternalLink.d.ts +1 -1
  18. package/src/components/atoms/link/InternalLink.js +42 -48
  19. package/src/components/atoms/link/InternalLink.styled.js +3 -6
  20. package/src/components/{molecules/radio-section → atoms}/radio-button/RadioButton.js +2 -2
  21. package/src/components/atoms/radio-button/RadioButton.stories.js +34 -0
  22. package/src/components/{molecules/radio-section → atoms}/radio-button/RadioButton.theme.js +1 -1
  23. package/src/components/atoms/radio-button/index.js +3 -0
  24. package/src/components/molecules/index.js +1 -1
  25. package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +266 -0
  26. package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +26 -0
  27. package/src/components/molecules/internal-user-info-form/index.js +11 -0
  28. package/src/components/molecules/radio-section/RadioSection.js +1 -1
  29. package/src/components/molecules/radio-section/RadioSection.stories.js +1 -1
  30. package/src/components/atoms/icons/RevenueManagementImage.d.ts +0 -1
  31. package/src/components/atoms/icons/RevenueManagementImage.js +0 -449
  32. package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.js +0 -92
  33. package/src/components/atoms/radio-button-with-label/index.js +0 -3
  34. package/src/components/molecules/radio-group/RadioGroup.js +0 -62
  35. package/src/components/molecules/radio-group/RadioGroup.stories.js +0 -44
  36. package/src/components/molecules/radio-group/index.js +0 -3
@@ -1,44 +0,0 @@
1
- import React from "react";
2
- import RadioGroup from "./RadioGroup";
3
- import page from "../../../../.storybook/page";
4
- import { noop } from "../../../util/general";
5
-
6
- const config = [
7
- {
8
- id: "foo",
9
- value: "foo",
10
- labelText: "Foo"
11
- },
12
- {
13
- id: "bar",
14
- value: "bar",
15
- labelText: "Bar"
16
- },
17
- {
18
- id: "baz",
19
- value: "baz",
20
- labelText: "Baz"
21
- }
22
- ];
23
-
24
- export const radioGroup = () => (
25
- <RadioGroup
26
- headingText="Radio Group Title"
27
- config={config}
28
- groupName="radio-button-group"
29
- field={{
30
- rawValue: "Hello World",
31
- dirty: false
32
- }}
33
- fieldActions={{
34
- set: () => noop()
35
- }}
36
- />
37
- );
38
-
39
- const story = page({
40
- title: "Components|Molecules/RadioGroup",
41
- Component: RadioGroup
42
- });
43
-
44
- export default story;
@@ -1,3 +0,0 @@
1
- import RadioGroup from "./RadioGroup";
2
-
3
- export default RadioGroup;