@bosonprotocol/react-kit 0.31.1 → 0.32.0-alpha.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.
Files changed (136) hide show
  1. package/dist/cjs/components/buttons/BaseButton.d.ts +27 -0
  2. package/dist/cjs/components/buttons/BaseButton.d.ts.map +1 -0
  3. package/dist/cjs/components/buttons/BaseButton.js +154 -0
  4. package/dist/cjs/components/buttons/BaseButton.js.map +1 -0
  5. package/dist/cjs/components/form/BaseInput.d.ts +17 -0
  6. package/dist/cjs/components/form/BaseInput.d.ts.map +1 -0
  7. package/dist/cjs/components/form/BaseInput.js +88 -0
  8. package/dist/cjs/components/form/BaseInput.js.map +1 -0
  9. package/dist/cjs/components/form/BaseTagsInput.d.ts +8 -0
  10. package/dist/cjs/components/form/BaseTagsInput.d.ts.map +1 -0
  11. package/dist/cjs/components/form/{TagsInput.js → BaseTagsInput.js} +24 -16
  12. package/dist/cjs/components/form/BaseTagsInput.js.map +1 -0
  13. package/dist/cjs/components/form/ClearButton.d.ts +14 -0
  14. package/dist/cjs/components/form/ClearButton.d.ts.map +1 -0
  15. package/dist/cjs/components/form/ClearButton.js +28 -0
  16. package/dist/cjs/components/form/ClearButton.js.map +1 -0
  17. package/dist/cjs/components/form/Field.styles.d.ts +45 -7
  18. package/dist/cjs/components/form/Field.styles.d.ts.map +1 -1
  19. package/dist/cjs/components/form/Field.styles.js +44 -36
  20. package/dist/cjs/components/form/Field.styles.js.map +1 -1
  21. package/dist/cjs/components/form/Input.d.ts +3 -2
  22. package/dist/cjs/components/form/Input.d.ts.map +1 -1
  23. package/dist/cjs/components/form/Input.js +37 -24
  24. package/dist/cjs/components/form/Input.js.map +1 -1
  25. package/dist/cjs/components/form/Phone.js +1 -1
  26. package/dist/cjs/components/form/Phone.js.map +1 -1
  27. package/dist/cjs/components/form/index.d.ts +3 -2
  28. package/dist/cjs/components/form/index.d.ts.map +1 -1
  29. package/dist/cjs/components/form/index.js +17 -3
  30. package/dist/cjs/components/form/index.js.map +1 -1
  31. package/dist/cjs/components/form/styles/{TagsInput.styles.d.ts → BaseTagsInput.styles.d.ts} +6 -2
  32. package/dist/cjs/components/form/styles/BaseTagsInput.styles.d.ts.map +1 -0
  33. package/dist/cjs/components/form/styles/BaseTagsInput.styles.js +76 -0
  34. package/dist/cjs/components/form/styles/BaseTagsInput.styles.js.map +1 -0
  35. package/dist/cjs/components/styles/GlobalStyle.d.ts +1 -14
  36. package/dist/cjs/components/styles/GlobalStyle.d.ts.map +1 -1
  37. package/dist/cjs/components/styles/GlobalStyle.js +14 -41
  38. package/dist/cjs/components/styles/GlobalStyle.js.map +1 -1
  39. package/dist/cjs/components/ui/ThemedButton.d.ts.map +1 -1
  40. package/dist/cjs/components/ui/ThemedButton.js +3 -97
  41. package/dist/cjs/components/ui/ThemedButton.js.map +1 -1
  42. package/dist/cjs/components/ui/styles.d.ts.map +1 -1
  43. package/dist/cjs/components/ui/styles.js +5 -2
  44. package/dist/cjs/components/ui/styles.js.map +1 -1
  45. package/dist/cjs/hooks/useCurrentSellers.js.map +1 -1
  46. package/dist/cjs/index.d.ts +2 -0
  47. package/dist/cjs/index.d.ts.map +1 -1
  48. package/dist/cjs/index.js +2 -0
  49. package/dist/cjs/index.js.map +1 -1
  50. package/dist/esm/components/buttons/BaseButton.d.ts +27 -0
  51. package/dist/esm/components/buttons/BaseButton.d.ts.map +1 -0
  52. package/dist/esm/components/buttons/BaseButton.js +107 -0
  53. package/dist/esm/components/buttons/BaseButton.js.map +1 -0
  54. package/dist/esm/components/form/BaseInput.d.ts +17 -0
  55. package/dist/esm/components/form/BaseInput.d.ts.map +1 -0
  56. package/dist/esm/components/form/BaseInput.js +47 -0
  57. package/dist/esm/components/form/BaseInput.js.map +1 -0
  58. package/dist/esm/components/form/BaseTagsInput.d.ts +8 -0
  59. package/dist/esm/components/form/BaseTagsInput.d.ts.map +1 -0
  60. package/dist/esm/components/form/{TagsInput.js → BaseTagsInput.js} +22 -17
  61. package/dist/esm/components/form/BaseTagsInput.js.map +1 -0
  62. package/dist/esm/components/form/ClearButton.d.ts +14 -0
  63. package/dist/esm/components/form/ClearButton.d.ts.map +1 -0
  64. package/dist/esm/components/form/ClearButton.js +22 -0
  65. package/dist/esm/components/form/ClearButton.js.map +1 -0
  66. package/dist/esm/components/form/Field.styles.d.ts +45 -7
  67. package/dist/esm/components/form/Field.styles.d.ts.map +1 -1
  68. package/dist/esm/components/form/Field.styles.js +44 -36
  69. package/dist/esm/components/form/Field.styles.js.map +1 -1
  70. package/dist/esm/components/form/Input.d.ts +3 -2
  71. package/dist/esm/components/form/Input.d.ts.map +1 -1
  72. package/dist/esm/components/form/Input.js +37 -12
  73. package/dist/esm/components/form/Input.js.map +1 -1
  74. package/dist/esm/components/form/Phone.js +1 -1
  75. package/dist/esm/components/form/Phone.js.map +1 -1
  76. package/dist/esm/components/form/index.d.ts +3 -2
  77. package/dist/esm/components/form/index.d.ts.map +1 -1
  78. package/dist/esm/components/form/index.js +2 -1
  79. package/dist/esm/components/form/index.js.map +1 -1
  80. package/dist/esm/components/form/styles/{TagsInput.styles.d.ts → BaseTagsInput.styles.d.ts} +6 -2
  81. package/dist/esm/components/form/styles/BaseTagsInput.styles.d.ts.map +1 -0
  82. package/dist/esm/components/form/styles/{TagsInput.styles.js → BaseTagsInput.styles.js} +14 -4
  83. package/dist/esm/components/form/styles/BaseTagsInput.styles.js.map +1 -0
  84. package/dist/esm/components/styles/GlobalStyle.d.ts +1 -14
  85. package/dist/esm/components/styles/GlobalStyle.d.ts.map +1 -1
  86. package/dist/esm/components/styles/GlobalStyle.js +14 -41
  87. package/dist/esm/components/styles/GlobalStyle.js.map +1 -1
  88. package/dist/esm/components/ui/ThemedButton.d.ts.map +1 -1
  89. package/dist/esm/components/ui/ThemedButton.js +4 -98
  90. package/dist/esm/components/ui/ThemedButton.js.map +1 -1
  91. package/dist/esm/components/ui/styles.d.ts.map +1 -1
  92. package/dist/esm/components/ui/styles.js +5 -2
  93. package/dist/esm/components/ui/styles.js.map +1 -1
  94. package/dist/esm/hooks/useCurrentSellers.js.map +1 -1
  95. package/dist/esm/index.d.ts +2 -0
  96. package/dist/esm/index.d.ts.map +1 -1
  97. package/dist/esm/index.js +2 -0
  98. package/dist/esm/index.js.map +1 -1
  99. package/package.json +2 -2
  100. package/src/components/buttons/BaseButton.tsx +181 -0
  101. package/src/components/form/BaseInput.tsx +88 -0
  102. package/src/components/form/{TagsInput.tsx → BaseTagsInput.tsx} +46 -24
  103. package/src/components/form/ClearButton.tsx +39 -0
  104. package/src/components/form/Field.styles.ts +83 -40
  105. package/src/components/form/Input.tsx +42 -21
  106. package/src/components/form/Phone.tsx +1 -1
  107. package/src/components/form/index.ts +3 -2
  108. package/src/components/form/styles/{TagsInput.styles.ts → BaseTagsInput.styles.ts} +18 -4
  109. package/src/components/styles/GlobalStyle.tsx +15 -71
  110. package/src/components/ui/ThemedButton.tsx +8 -145
  111. package/src/components/ui/styles.ts +5 -2
  112. package/src/hooks/useCurrentSellers.ts +8 -8
  113. package/src/index.tsx +2 -0
  114. package/src/stories/buttons/button.stories.tsx +84 -62
  115. package/src/stories/form/Input.stories.tsx +67 -0
  116. package/src/stories/ui/ThemedButton.stories.tsx +79 -52
  117. package/dist/cjs/components/form/TagsInput.d.ts +0 -4
  118. package/dist/cjs/components/form/TagsInput.d.ts.map +0 -1
  119. package/dist/cjs/components/form/TagsInput.js.map +0 -1
  120. package/dist/cjs/components/form/styles/TagsInput.styles.d.ts.map +0 -1
  121. package/dist/cjs/components/form/styles/TagsInput.styles.js +0 -46
  122. package/dist/cjs/components/form/styles/TagsInput.styles.js.map +0 -1
  123. package/dist/cjs/global.d.ts +0 -5
  124. package/dist/cjs/global.d.ts.map +0 -1
  125. package/dist/cjs/global.js +0 -44
  126. package/dist/cjs/global.js.map +0 -1
  127. package/dist/esm/components/form/TagsInput.d.ts +0 -4
  128. package/dist/esm/components/form/TagsInput.d.ts.map +0 -1
  129. package/dist/esm/components/form/TagsInput.js.map +0 -1
  130. package/dist/esm/components/form/styles/TagsInput.styles.d.ts.map +0 -1
  131. package/dist/esm/components/form/styles/TagsInput.styles.js.map +0 -1
  132. package/dist/esm/global.d.ts +0 -5
  133. package/dist/esm/global.d.ts.map +0 -1
  134. package/dist/esm/global.js +0 -41
  135. package/dist/esm/global.js.map +0 -1
  136. package/src/global.ts +0 -42
@@ -35,14 +35,24 @@ exports.CopyButton = styled_components_1.default.button `
35
35
  background: none;
36
36
  border: none;
37
37
  `;
38
+ const sizeToHeight = {
39
+ small: "40px",
40
+ regular: "49px",
41
+ large: "56px"
42
+ };
38
43
  exports.FieldInput = styled_components_1.default.input `
44
+ box-sizing: border-box;
45
+ ${({ $heightSize }) => $heightSize &&
46
+ (0, styled_components_1.css) `
47
+ height: ${sizeToHeight[$heightSize]};
48
+ `};
39
49
  width: 100%;
40
50
  padding: 1rem;
41
51
  gap: 0.5rem;
42
52
 
43
- background: ${colors.lightGrey};
44
- border: 1px solid ${colors.border};
45
- border-radius: 0;
53
+ background: ${(props) => { var _a; return ((_a = props.theme) === null || _a === void 0 ? void 0 : _a.background) || "transparent"; }};
54
+ border: 1px solid ${(props) => { var _a; return ((_a = props.theme) === null || _a === void 0 ? void 0 : _a.borderColor) || colors.border; }};
55
+ border-radius: ${(props) => { var _a; return ((_a = props.theme) === null || _a === void 0 ? void 0 : _a.borderRadius) || 0; }}px;
46
56
  outline: none;
47
57
  font-family: "Plus Jakarta Sans";
48
58
 
@@ -51,7 +61,9 @@ exports.FieldInput = styled_components_1.default.input `
51
61
  &:not(:disabled) {
52
62
  &:focus,
53
63
  &:hover {
54
- border: 1px solid var(--secondary);
64
+ border: 1px solid
65
+ ${(props) => { var _a, _b; return ((_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.hover) === null || _b === void 0 ? void 0 : _b.borderColor) || colors.lightGrey; }};
66
+ caret-color: ${(props) => { var _a, _b; return ((_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.caretColor) || "initial"; }};
55
67
  }
56
68
  }
57
69
 
@@ -60,38 +72,34 @@ exports.FieldInput = styled_components_1.default.input `
60
72
  opacity: 0.5;
61
73
  }
62
74
 
63
- ${({ error }) => !(0, checkIfValueIsEmpty_1.checkIfValueIsEmpty)(error)
64
- ? (0, styled_components_1.css) `
65
- border: 1px solid ${colors.orange};
66
- &:not(:disabled) {
67
- &:hover {
68
- border: 1px solid ${colors.orange};
69
- }
70
- }
71
- &:not(:disabled) {
72
- &:focus {
73
- border: 1px solid var(--secondary);
74
- }
75
- }
76
- &::placeholder {
77
- color: ${colors.orange};
78
- opacity: 1;
79
- }
80
- &:-ms-input-placeholder {
81
- color: ${colors.orange};
82
- }
83
- &::-ms-input-placeholder {
84
- color: ${colors.orange};
85
- }
86
- `
87
- : (0, styled_components_1.css) `
88
- &:not(:disabled) {
89
- &:focus,
90
- &:hover {
91
- border: 1px solid var(--secondary);
92
- }
93
- }
94
- `}
75
+ ${({ $error }) => !(0, checkIfValueIsEmpty_1.checkIfValueIsEmpty)($error) &&
76
+ (0, styled_components_1.css) `
77
+ border: 1px solid
78
+ ${(props) => { var _a, _b; return ((_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.borderColor) || colors.orange; }};
79
+ &:not(:disabled) {
80
+ &:hover {
81
+ border: 1px solid
82
+ ${(props) => { var _a, _b, _c; return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.hover) === null || _c === void 0 ? void 0 : _c.borderColor) || colors.orange; }};
83
+ }
84
+ }
85
+ &:not(:disabled) {
86
+ &:focus {
87
+ border: 1px solid
88
+ ${(props) => { var _a, _b, _c; return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.focus) === null || _c === void 0 ? void 0 : _c.borderColor) || colors.lightGrey; }};
89
+ caret-color: ${(props) => { var _a, _b, _c; return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.focus) === null || _c === void 0 ? void 0 : _c.caretColor) || colors.orange; }};
90
+ }
91
+ }
92
+ &::placeholder {
93
+ color: ${(props) => { var _a, _b, _c; return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.placeholder) === null || _c === void 0 ? void 0 : _c.color) || colors.orange; }};
94
+ opacity: 1;
95
+ }
96
+ &:-ms-input-placeholder {
97
+ color: ${(props) => { var _a, _b, _c; return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.placeholder) === null || _c === void 0 ? void 0 : _c.color) || colors.orange; }};
98
+ }
99
+ &::-ms-input-placeholder {
100
+ color: ${(props) => { var _a, _b, _c; return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.placeholder) === null || _c === void 0 ? void 0 : _c.color) || colors.orange; }};
101
+ }
102
+ `};
95
103
  `;
96
104
  exports.FileUploadWrapper = styled_components_1.default.div `
97
105
  position: relative;
@@ -1 +1 @@
1
- {"version":3,"file":"Field.styles.js","sourceRoot":"","sources":["../../../../src/components/form/Field.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAsD;AACtD,uEAAgD;AAEhD,uDAAwD;AACxD,8EAA2E;AAC3E,uCAAoC;AACpC,qCAAkC;AAElC,MAAM,MAAM,GAAG,aAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAErB,QAAA,UAAU,GAAG,2BAAM,CAAC,MAAM,CAAA;;;CAGtC,CAAC;AAEW,QAAA,UAAU,GAAG,2BAAM,CAAC,KAAK,CAAiB;;;;;gBAKvC,MAAM,CAAC,SAAS;sBACV,MAAM,CAAC,MAAM;;;;;IAK/B,mBAAU;;;;;;;;;;;;;;IAcV,CAAC,EAAE,K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AAK;;;;;;;;;;;;kBAYZ,MAAM,CAAC,KAAK;;;;;;;;aAQjB,MAAM,CAAC,KAAK;;;;;;;;;;aAUZ,MAAM,CAAC,QAAQ;;CAE3B,CAAC;AAEW,QAAA,eAAe,GAAG,2BAAM,CAAC,KAAK,CAAgB;;;;;;;;;;;;;;;;;8BAiB7B,MAAM,CAAC,SAAS;;;;;;;;;;;MAWxC,mBAAU;;;;;;;;;kBASE,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;IAkB9B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACd,CAAC,IAAA,yCAAmB,EAAC,KAAK,CAAC;IACzB,CAAC,CAAC,IAAA,uBAAG,EAAA;;gCAEqB,MAAM,CAAC,MAAM;;SAEpC;IACH,CAAC,CAAC,IAAA,uBAAG,EAAA;;gCAEqB,MAAM,CAAC,MAAM;;SAEpC;CACR,CAAC;AAEW,QAAA,YAAY,GAAG,2BAAM,CAAC,KAAK,CAAA;gBACxB,MAAM,CAAC,SAAS;;;;CAI/B,CAAC;AACW,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,CAAA;gBACtB,MAAM,CAAC,SAAS;CAC/B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { InputProps } from "./types";
3
- export default function Input({ name, ...props }: InputProps): JSX.Element;
2
+ import { BaseInputProps } from "./BaseInput";
3
+ export type InputProps = Omit<BaseInputProps, "theme" | "clearButtonTheme">;
4
+ export default function Input(props: InputProps): JSX.Element;
4
5
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Input.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,eAiB3D"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Input.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAkCxD,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,kBAAkB,CAAC,CAAC;AAC5E,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,UAAU,eAQ9C"}
@@ -1,33 +1,46 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
14
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
4
  };
16
5
  Object.defineProperty(exports, "__esModule", { value: true });
17
6
  const react_1 = __importDefault(require("react"));
18
- const formik_1 = require("formik");
19
- const Error_1 = __importDefault(require("./Error"));
20
- const Field_styles_1 = require("./Field.styles");
21
- function Input(_a) {
22
- var { name } = _a, props = __rest(_a, ["name"]);
23
- const { status } = (0, formik_1.useFormikContext)();
24
- const [field, meta] = (0, formik_1.useField)(name);
25
- const errorText = meta.error || (status === null || status === void 0 ? void 0 : status[name]);
26
- const errorMessage = errorText && meta.touched ? errorText : "";
27
- const displayError = typeof errorMessage === typeof "string" && errorMessage !== "";
28
- return (react_1.default.createElement(react_1.default.Fragment, null,
29
- react_1.default.createElement(Field_styles_1.FieldInput, Object.assign({ error: errorMessage }, field, props)),
30
- react_1.default.createElement(Error_1.default, { display: !props.hideError && displayError, message: errorMessage })));
7
+ const theme_1 = require("../../theme");
8
+ const BaseInput_1 = require("./BaseInput");
9
+ const colors = theme_1.theme.colors.light;
10
+ const bosonTheme = {
11
+ background: colors.lightGrey,
12
+ borderColor: colors.border,
13
+ borderRadius: 0,
14
+ focus: {
15
+ caretColor: "initial"
16
+ },
17
+ hover: {
18
+ borderColor: colors.lightGrey
19
+ },
20
+ error: {
21
+ borderColor: colors.orange,
22
+ hover: {
23
+ borderColor: colors.orange
24
+ },
25
+ focus: {
26
+ borderColor: colors.orange,
27
+ caretColor: colors.orange
28
+ },
29
+ placeholder: {
30
+ color: colors.orange
31
+ }
32
+ }
33
+ };
34
+ const clearButtonTheme = {
35
+ fill: "#cccccc",
36
+ stroke: "#cccccc",
37
+ hover: {
38
+ fill: "#999999",
39
+ stroke: "#999999"
40
+ }
41
+ };
42
+ function Input(props) {
43
+ return (react_1.default.createElement(BaseInput_1.BaseInput, Object.assign({}, props, { theme: bosonTheme, clearButtonTheme: clearButtonTheme })));
31
44
  }
32
45
  exports.default = Input;
33
46
  //# sourceMappingURL=Input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../../src/components/form/Input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,mCAAoD;AAEpD,oDAA4B;AAC5B,iDAA4C;AAG5C,SAAwB,KAAK,CAAC,EAA8B;QAA9B,EAAE,IAAI,OAAwB,EAAnB,KAAK,cAAhB,QAAkB,CAAF;IAC5C,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAE,CAAC;IACtC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,IAAA,iBAAQ,EAAC,IAAI,CAAC,CAAC;IACrC,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,KAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAG,IAAI,CAAC,CAAA,CAAC;IAC/C,MAAM,YAAY,GAAG,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,MAAM,YAAY,GAChB,OAAO,YAAY,KAAK,OAAO,QAAQ,IAAI,YAAY,KAAK,EAAE,CAAC;IAEjE,OAAO,CACL;QACE,8BAAC,yBAAU,kBAAC,KAAK,EAAE,YAAY,IAAM,KAAK,EAAM,KAAK,EAAI;QACzD,8BAAC,eAAK,IACJ,OAAO,EAAE,CAAC,KAAK,CAAC,SAAS,IAAI,YAAY,EACzC,OAAO,EAAE,YAAY,GACrB,CACD,CACJ,CAAC;AACJ,CAAC;AAjBD,wBAiBC"}
1
+ {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../../src/components/form/Input.tsx"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,uCAAoC;AACpC,2CAAwD;AACxD,MAAM,MAAM,GAAG,aAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAClC,MAAM,UAAU,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC,SAAS;IAC5B,WAAW,EAAE,MAAM,CAAC,MAAM;IAC1B,YAAY,EAAE,CAAC;IACf,KAAK,EAAE;QACL,UAAU,EAAE,SAAS;KACtB;IACD,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC,SAAS;KAC9B;IACD,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC,MAAM;QAC1B,KAAK,EAAE;YACL,WAAW,EAAE,MAAM,CAAC,MAAM;SAC3B;QACD,KAAK,EAAE;YACL,WAAW,EAAE,MAAM,CAAC,MAAM;YAC1B,UAAU,EAAE,MAAM,CAAC,MAAM;SAC1B;QACD,WAAW,EAAE;YACX,KAAK,EAAE,MAAM,CAAC,MAAM;SACrB;KACF;CACgC,CAAC;AACpC,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE;QACL,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;KAClB;CAC2C,CAAC;AAE/C,SAAwB,KAAK,CAAC,KAAiB;IAC7C,OAAO,CACL,8BAAC,qBAAS,oBACJ,KAAK,IACT,KAAK,EAAE,UAAU,EACjB,gBAAgB,EAAE,gBAAgB,IAClC,CACH,CAAC;AACJ,CAAC;AARD,wBAQC"}
@@ -198,7 +198,7 @@ function Phone(_a) {
198
198
  }
199
199
  } })))));
200
200
  } })),
201
- react_1.default.createElement(Field_styles_1.FieldInput, Object.assign({ type: "hidden", error: errorMessage, disabled: true }, field, props)),
201
+ react_1.default.createElement(Field_styles_1.FieldInput, Object.assign({ type: "hidden", "$error": errorMessage, disabled: true }, field, props)),
202
202
  react_1.default.createElement(Error_1.default, { display: !props.hideError && displayError, message: errorMessage })));
203
203
  }
204
204
  exports.default = Phone;
@@ -1 +1 @@
1
- {"version":3,"file":"Phone.js","sourceRoot":"","sources":["../../../../src/components/form/Phone.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAsD;AACtD,sDAAsD;AACtD,mCAAoD;AACpD,mDAAqD;AACrD,+CAAgE;AAEhE,qFAMkC;AAClC,6DAAkD;AAClD,0EAAuC;AACvC,uCAAoC;AACpC,yCAAsC;AAEtC,oDAA4B;AAC5B,iDAA4C;AAG5C,MAAM,MAAM,GAAG,aAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAClC,MAAM,YAAY,GAAG;IACnB,OAAO,EAAE,CAAC,QAAa,EAAE,KAAU,EAAE,EAAE;QACrC,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC,KAAK;YACpC,CAAC,CAAC;gBACE,SAAS,EAAE;oBACT,OAAO,EAAE,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,GAAG;oBACvC,UAAU,EAAE,KAAK;oBACjB,WAAW,EAAE,MAAM;iBACpB;aACF;YACH,CAAC,CAAC,IAAI,CAAC;QACT,qDACK,QAAQ,KACX,YAAY,EAAE,CAAC,EACf,OAAO,EAAE,gBAAgB,EACzB,SAAS,EAAE,MAAM,E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K,KAAI,IAAI,CAAC;wCAC/C,OAAO,CACL,8BAAC,yBAAU,CAAC,OAAO,oBAAK,KAAK;4CAC3B,8BAAC,mBAAW;gDACT,OAAO,CAAC,CAAC,CAAC,CACT,8BAAC,IAAI,IAAC,OAAO,EAAE,OAAsB,EAAE,KAAK,EAAC,EAAE,GAAG,CACnD,CAAC,CAAC,CAAC,CACF,8BAAC,oCAAmB,OAAG,CACxB;gDAEA,KAAK,CAAC,QAAe,CACV,CACK,CACtB,CAAC;oCACJ,CAAC;oCACD,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE;;wCAChB,MAAM,OAAO,GAAG,CAAA,MAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAY,0CAAE,KAAK,KAAI,IAAI,CAAC;wCACpD,OAAO,CACL,8BAAC,yBAAU,CAAC,MAAM,oBAAK,KAAK;4CAC1B,8BAAC,kBAAU;gDACR,OAAO,CAAC,CAAC,CAAC,CACT,8BAAC,IAAI,IACH,OAAO,EAAE,OAAsB,EAC/B,KAAK,EAAE,KAAK,CAAC,KAAK,GAClB,CACH,CAAC,CAAC,CAAC,CACF,8BAAC,oCAAmB,OAAG,CACxB;gDACA,KAAK,CAAC,KAAK,CACD,CACK,CACrB,CAAC;oCACJ,CAAC;iCACF,IACD,CACE,CACL,CACJ,CAAA;iBAAA,GACD,CACW;QACf,8BAAC,yBAAU,kBACT,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,YAAY,EACnB,QAAQ,UACJ,KAAK,EACL,KAAK,EACT;QACF,8BAAC,eAAK,IACJ,OAAO,EAAE,CAAC,KAAK,CAAC,SAAS,IAAI,YAAY,EACzC,OAAO,EAAE,YAAY,GACrB,CACD,CACJ,CAAC;AACJ,CAAC;AApID,wBAoIC"}
1
+ {"version":3,"file":"Phone.js","sourceRoot":"","sources":["../../../../src/components/form/Phone.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAsD;AAC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,IAAI,IACH,OAAO,EAAE,OAAsB,EAC/B,KAAK,EAAE,KAAK,CAAC,KAAK,GAClB,CACH,CAAC,CAAC,CAAC,CACF,8BAAC,oCAAmB,OAAG,CACxB;gDACA,KAAK,CAAC,KAAK,CACD,CACK,CACrB,CAAC;oCACJ,CAAC;iCACF,IACD,CACE,CACL,CACJ,CAAA;iBAAA,GACD,CACW;QACf,8BAAC,yBAAU,kBACT,IAAI,EAAC,QAAQ,YACL,YAAY,EACpB,QAAQ,UACJ,KAAK,EACL,KAAK,EACT;QACF,8BAAC,eAAK,IACJ,OAAO,EAAE,CAAC,KAAK,CAAC,SAAS,IAAI,YAAY,EACzC,OAAO,EAAE,YAAY,GACrB,CACD,CACJ,CAAC;AACJ,CAAC;AApID,wBAoIC"}
@@ -2,10 +2,11 @@ export { default as Checkbox } from "./Checkbox";
2
2
  export { default as Datepicker } from "./Datepicker";
3
3
  export { default as Error } from "./Error";
4
4
  export { default as FormField } from "./FormField";
5
- export { default as Input } from "./Input";
5
+ export * from "./BaseInput";
6
+ export { default as Input, InputProps } from "./Input";
6
7
  export { default as Phone } from "./Phone";
7
8
  export { default as Select } from "./Select";
8
- export { default as TagsInput } from "./TagsInput";
9
+ export * from "./BaseTagsInput";
9
10
  export { default as Textarea } from "./Textarea";
10
11
  export { default as Upload } from "./Upload/Upload";
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,9 +1,23 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
18
  };
5
19
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Upload = exports.Textarea = exports.TagsInput = exports.Select = exports.Phone = exports.Input = exports.FormField = exports.Error = exports.Datepicker = exports.Checkbox = void 0;
20
+ exports.Upload = exports.Textarea = exports.Select = exports.Phone = exports.Input = exports.FormField = exports.Error = exports.Datepicker = exports.Checkbox = void 0;
7
21
  var Checkbox_1 = require("./Checkbox");
8
22
  Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return __importDefault(Checkbox_1).default; } });
9
23
  var Datepicker_1 = require("./Datepicker");
@@ -12,14 +26,14 @@ var Error_1 = require("./Error");
12
26
  Object.defineProperty(exports, "Error", { enumerable: true, get: function () { return __importDefault(Error_1).default; } });
13
27
  var FormField_1 = require("./FormField");
14
28
  Object.defineProperty(exports, "FormField", { enumerable: true, get: function () { return __importDefault(FormField_1).default; } });
29
+ __exportStar(require("./BaseInput"), exports);
15
30
  var Input_1 = require("./Input");
16
31
  Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return __importDefault(Input_1).default; } });
17
32
  var Phone_1 = require("./Phone");
18
33
  Object.defineProperty(exports, "Phone", { enumerable: true, get: function () { return __importDefault(Phone_1).default; } });
19
34
  var Select_1 = require("./Select");
20
35
  Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return __importDefault(Select_1).default; } });
21
- var TagsInput_1 = require("./TagsInput");
22
- Object.defineProperty(exports, "TagsInput", { enumerable: true, get: function () { return __importDefault(TagsInput_1).default; } });
36
+ __exportStar(require("./BaseTagsInput"), exports);
23
37
  var Textarea_1 = require("./Textarea");
24
38
  Object.defineProperty(exports, "Textarea", { enumerable: true, get: function () { return __importDefault(Textarea_1).default; } });
25
39
  var Upload_1 = require("./Upload/Upload");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":";;;;;;AAAA,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,2CAAqD;AAA5C,yHAAA,OAAO,OAAc;AAC9B,iCAA2C;AAAlC,+GAAA,OAAO,OAAS;AACzB,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAC7B,iCAA2C;AAAlC,+GAAA,OAAO,OAAS;AACzB,iCAA2C;AAAlC,+GAAA,OAAO,OAAS;AACzB,mCAA6C;AAApC,iHAAA,OAAO,OAAU;AAC1B,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAC7B,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,0CAAoD;AAA3C,iHAAA,OAAO,OAAU"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,2CAAqD;AAA5C,yHAAA,OAAO,OAAc;AAC9B,iCAA2C;AAAlC,+GAAA,OAAO,OAAS;AACzB,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAC7B,8CAA4B;AAC5B,iCAAuD;AAA9C,+GAAA,OAAO,OAAS;AACzB,iCAA2C;AAAlC,+GAAA,OAAO,OAAS;AACzB,mCAA6C;AAApC,iHAAA,OAAO,OAAU;AAC1B,kDAAgC;AAChC,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,0CAAoD;AAA3C,iHAAA,OAAO,OAAU"}
@@ -1,6 +1,10 @@
1
1
  /// <reference types="react" />
2
- export declare const TagContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
2
+ import { CSSProperties } from "styled-components";
3
+ export declare const TagContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $gap: CSSProperties["gap"];
5
+ $paddingLeft?: CSSProperties["paddingLeft"];
6
+ }>>;
3
7
  export declare const Helper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
8
  export declare const TagWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
5
9
  export declare const Close: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
6
- //# sourceMappingURL=TagsInput.styles.d.ts.map
10
+ //# sourceMappingURL=BaseTagsInput.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseTagsInput.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/styles/BaseTagsInput.styles.ts"],"names":[],"mappings":";AAAA,OAAe,EAAE,aAAa,EAAO,MAAM,mBAAmB,CAAC;AAK/D,eAAO,MAAM,YAAY;UACjB,aAAa,CAAC,KAAK,CAAC;mBACX,aAAa,CAAC,aAAa,CAAC;GAe5C,CAAC;AAEF,eAAO,MAAM,MAAM,gNAWlB,CAAC;AACF,eAAO,MAAM,UAAU,gNAStB,CAAC;AAEF,eAAO,MAAM,KAAK,kNASjB,CAAC"}
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.Close = exports.TagWrapper = exports.Helper = exports.TagContainer = void 0;
27
+ const styled_components_1 = __importStar(require("styled-components"));
28
+ const theme_1 = require("../../../theme");
29
+ const colors = theme_1.theme.colors.light;
30
+ exports.TagContainer = styled_components_1.default.div `
31
+ position: relative;
32
+ width: 100%;
33
+ border-radius: 3px;
34
+ display: flex;
35
+ align-items: center;
36
+ flex-wrap: wrap;
37
+ gap: ${({ $gap }) => $gap};
38
+ box-sizing: border-box;
39
+ ${({ $paddingLeft }) => $paddingLeft &&
40
+ (0, styled_components_1.css) `
41
+ padding-left: ${$paddingLeft};
42
+ `};
43
+ `;
44
+ exports.Helper = styled_components_1.default.div `
45
+ position: absolute;
46
+ right: 0.5rem;
47
+ font-size: 0.7rem;
48
+ font-weight: 600;
49
+ opacity: 0.5;
50
+ pointer-events: none;
51
+ user-select: none;
52
+ svg {
53
+ margin-bottom: -0.15rem;
54
+ }
55
+ `;
56
+ exports.TagWrapper = styled_components_1.default.div `
57
+ background-color: ${colors.lightGrey};
58
+ display: inline-block;
59
+ padding: 0.5em 0.75em;
60
+ margin-top: 1rem;
61
+ border-radius: ${(props) => props.theme.borderRadius || 0}px;
62
+ .text {
63
+ word-break: break-word;
64
+ }
65
+ `;
66
+ exports.Close = styled_components_1.default.span `
67
+ color: ${colors.darkGrey};
68
+ border-radius: 50%;
69
+ display: inline-flex;
70
+ justify-content: center;
71
+ align-items: center;
72
+ margin-left: 0.5em;
73
+ font-size: 1.125rem;
74
+ cursor: pointer;
75
+ `;
76
+ //# sourceMappingURL=BaseTagsInput.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseTagsInput.styles.js","sourceRoot":"","sources":["../../../../../src/components/form/styles/BaseTagsInput.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAA+D;AAC/D,0CAAuC;AAEvC,MAAM,MAAM,GAAG,aAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAErB,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,CAGpC;;;;;;;SAOO,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI;;IAEvB,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CACrB,YAAY;IACZ,IAAA,uBAAG,EAAA;sBACe,YAAY;KAC7B;CACJ,CAAC;AAEW,QAAA,MAAM,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;;;;;CAW/B,CAAC;AACW,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,CAAA;sBACd,MAAM,CAAC,SAAS;;;;mBAInB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,IAAI,CAAC;;;;CAI1D,CAAC;AAEW,QAAA,KAAK,GAAG,2BAAM,CAAC,IAAI,CAAA;WACrB,MAAM,CAAC,QAAQ;;;;;;;;CAQzB,CAAC"}
@@ -1,17 +1,4 @@
1
1
  /// <reference types="react" />
2
- declare const GlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & Partial<{
3
- $withBosonStyles: boolean;
4
- $headerBgColor: string;
5
- $headerTextColor: string;
6
- $primaryBgColor: string;
7
- $secondaryBgColor: string;
8
- $accentColor: string;
9
- $textColor: string;
10
- $footerBgColor: string;
11
- $footerTextColor: string;
12
- $fontFamily: string;
13
- $buttonBgColor: string;
14
- $buttonTextColor: string;
15
- }>>;
2
+ declare const GlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
16
3
  export default GlobalStyle;
17
4
  //# sourceMappingURL=GlobalStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/styles/GlobalStyle.tsx"],"names":[],"mappings":";AAMA,QAAA,MAAM,WAAW;sBAEK,OAAO;oBACT,MAAM;sBACJ,MAAM;qBACP,MAAM;uBACJ,MAAM;kBACX,MAAM;gBACR,MAAM;oBACF,MAAM;sBACJ,MAAM;iBACX,MAAM;oBACH,MAAM;sBACJ,MAAM;GA0K3B,CAAC;AACF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"GlobalStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/styles/GlobalStyle.tsx"],"names":[],"mappings":";AAMA,QAAA,MAAM,WAAW,2FA+HhB,CAAC;AACF,eAAe,WAAW,CAAC"}
@@ -18,46 +18,19 @@ const GlobalStyle = (0, styled_components_1.createGlobalStyle) `
18
18
  }
19
19
  :root {
20
20
  --l: 50%;
21
- --headerBgColor: ${(props) => props.$headerBgColor && !props.$withBosonStyles
22
- ? props.$headerBgColor
23
- : colors.white};
24
- --headerTextColor: ${(props) => props.$headerTextColor && !props.$withBosonStyles
25
- ? props.$headerTextColor
26
- : colors.darkGrey};
27
- --primary: ${(props) => props.$primaryBgColor && !props.$withBosonStyles
28
- ? props.$primaryBgColor
29
- : colors.primary};
30
- --secondary: ${(props) => props.$secondaryBgColor && !props.$withBosonStyles
31
- ? props.$secondaryBgColor
32
- : colors.lightGrey};
33
- --accent: ${(props) => props.$accentColor && !props.$withBosonStyles
34
- ? props.$accentColor
35
- : colors.accent};
36
- --accentNoDefault : ${(props) => props.$accentColor && !props.$withBosonStyles ? props.$accentColor : ""};
37
- --accentDark: ${(props) => props.$accentColor && !props.$withBosonStyles
38
- ? props.$accentColor
39
- : colors.arsenic};
40
- --textColor: ${(props) => props.$textColor && !props.$withBosonStyles
41
- ? props.$textColor
42
- : colors.black};
43
- --primaryBgColor: ${(props) => props.$primaryBgColor && !props.$withBosonStyles
44
- ? props.$primaryBgColor
45
- : colors.primaryBgColor};
46
- --secondaryBgColor: ${(props) => props.$secondaryBgColor && !props.$withBosonStyles
47
- ? props.$secondaryBgColor
48
- : colors.secondary};
49
- --footerBgColor: ${(props) => props.$footerBgColor && !props.$withBosonStyles
50
- ? props.$footerBgColor
51
- : colors.black};
52
- --footerTextColor: ${(props) => props.$footerTextColor && !props.$withBosonStyles
53
- ? props.$footerTextColor
54
- : colors.white};
55
- --buttonBgColor: ${(props) => props.$buttonBgColor && !props.$withBosonStyles
56
- ? props.$buttonBgColor
57
- : colors.primary};
58
- --buttonTextColor: ${(props) => props.$buttonTextColor && !props.$withBosonStyles
59
- ? props.$buttonTextColor
60
- : colors.black};
21
+ --headerBgColor: ${colors.white};
22
+ --headerTextColor: ${colors.darkGrey};
23
+ --primary: ${colors.primary};
24
+ --secondary: ${colors.lightGrey};
25
+ --accent: ${colors.accent};
26
+ --accentDark: ${colors.arsenic};
27
+ --textColor: ${colors.black};
28
+ --primaryBgColor: ${colors.primaryBgColor};
29
+ --secondaryBgColor: ${colors.secondary};
30
+ --footerBgColor: ${colors.black};
31
+ --footerTextColor: ${colors.white};
32
+ --buttonBgColor: ${colors.primary};
33
+ --buttonTextColor: ${colors.black};
61
34
 
62
35
  font-size: 0.75rem;
63
36
  ${breakpoint_1.breakpoint.xs} {
@@ -91,7 +64,7 @@ const GlobalStyle = (0, styled_components_1.createGlobalStyle) `
91
64
 
92
65
  color: var(--textColor);
93
66
 
94
- font-family: ${(props) => props.$fontFamily || "Plus Jakarta Sans"};
67
+ font-family: "Plus Jakarta Sans";
95
68
  font-style: normal;
96
69
 
97
70
  max-height: 100vh;
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalStyle.js","sourceRoot":"","sources":["../../../../src/components/styles/GlobalStyle.tsx"],"names":[],"mappings":";;AAAA,yDAAsD;AACtD,wDAAqD;AACrD,uCAAoC;AACpC,yCAAsC;AAEtC,MAAM,MAAM,GAAG,aAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAClC,MAAM,WAAW,GAAG,IAAA,qCAAiB,EAepC;;;;;;;;;qBASoB,eAAM,CAAC,KAAK,GAAG,GAAG;;;;uBAIhB,CAAC,KAAK,EAAE,EAAE,CAC3B,KAAK,CAAC,cAAc,IAAI,CAAC,KAAK,CAAC,gBAAgB;IAC7C,CAAC,CAAC,KAAK,CAAC,cAAc;IACtB,CAAC,CAAC,MAAM,CAAC,KAAK;yBACG,CAAC,KAAK,EAAE,EAAE,CAC7B,KAAK,CAAC,gBAAgB,IAAI,CAAC,KAAK,CAAC,gBAAgB;IAC/C,CAAC,CAAC,KAAK,CAAC,gBAAgB;IACxB,CAAC,CAAC,MAAM,CAAC,QAAQ;iBACR,CAAC,KAAK,EAAE,EAAE,CACrB,KAAK,CAAC,eAAe,IAAI,CAAC,KAAK,CAAC,gBAAgB;IAC9C,CAAC,CAAC,KAAK,CAAC,eAAe;IACvB,CAAC,CAAC,MAAM,CAAC,OAAO;mBACL,CAAC,KAAK,EAAE,EAAE,CACvB,KAAK,CAAC,iBAAiB,IAAI,CAAC,KAAK,CAAC,gBAAgB;IAChD,CAAC,CAAC,KAAK,CAAC,iBAAiB;IACzB,CAAC,CAAC,MAAM,CAAC,SAAS;gBACV,CAAC,KAAK,EAAE,EAAE,CACpB,KAAK,CAAC,YAAY,IAAI,CAAC,KAAK,CAAC,gBAAgB;IAC3C,CAAC,CAAC,KAAK,CAAC,YAAY;IACpB,CAAC,CAA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