fuse-importer 0.0.7-testing → 0.0.8-testing

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 (160) hide show
  1. package/lib/esm/Importer/common/Spreadsheet/components/inputs/index.d.ts +0 -1
  2. package/lib/esm/common/columnsValidations.d.ts +1 -1
  3. package/lib/esm/hooks/index.d.ts +0 -1
  4. package/lib/esm/types.d.ts +2 -2
  5. package/lib/main.js +18 -18
  6. package/package.json +2 -3
  7. package/lib/esm/Importer/ImporterWithContext.js +0 -63
  8. package/lib/esm/Importer/Matcher/EnumFieldsMatchers/EnumFieldMatcher/index.js +0 -68
  9. package/lib/esm/Importer/Matcher/EnumFieldsMatchers/EnumFieldMatcher/tableColumns.js +0 -58
  10. package/lib/esm/Importer/Matcher/EnumFieldsMatchers/EnumFieldMatcherContext.js +0 -21
  11. package/lib/esm/Importer/Matcher/EnumFieldsMatchers/index.js +0 -23
  12. package/lib/esm/Importer/Matcher/HeaderMatcher/index.js +0 -61
  13. package/lib/esm/Importer/Matcher/HeaderMatcher/tableColumns.js +0 -55
  14. package/lib/esm/Importer/Matcher/common/icons/index.js +0 -14
  15. package/lib/esm/Importer/Matcher/common/index.js +0 -39
  16. package/lib/esm/Importer/Matcher/common/types.js +0 -9
  17. package/lib/esm/Importer/Matcher/index.js +0 -22
  18. package/lib/esm/Importer/PreviewFirstTime.js +0 -81
  19. package/lib/esm/Importer/PreviewModeBanner.js +0 -19
  20. package/lib/esm/Importer/Review/AppResponseModal.js +0 -35
  21. package/lib/esm/Importer/Review/ReviewContextProvider.js +0 -315
  22. package/lib/esm/Importer/Review/ReviewWithContext.js +0 -33
  23. package/lib/esm/Importer/Review/index.js +0 -4
  24. package/lib/esm/Importer/Stepper/ConfirmCloseModal.js +0 -24
  25. package/lib/esm/Importer/Stepper/Step.js +0 -19
  26. package/lib/esm/Importer/Stepper/StepIndex.js +0 -27
  27. package/lib/esm/Importer/Stepper/StepperSubmitModal.js +0 -24
  28. package/lib/esm/Importer/Stepper/UnmatchedHeadersModal.js +0 -31
  29. package/lib/esm/Importer/Stepper/common/getEnumFieldValueMatchingsInitialValue.js +0 -33
  30. package/lib/esm/Importer/Stepper/common/icons.js +0 -18
  31. package/lib/esm/Importer/Stepper/index.js +0 -118
  32. package/lib/esm/Importer/TrialModeBanner.js +0 -22
  33. package/lib/esm/Importer/Uploader/DragAndDropImporter/DragAndDropImporter.styles.js +0 -11
  34. package/lib/esm/Importer/Uploader/DragAndDropImporter/ImporterDropzone.js +0 -123
  35. package/lib/esm/Importer/Uploader/DragAndDropImporter/ImporterSectionHeader/ImporterSectionHeader.styles.js +0 -11
  36. package/lib/esm/Importer/Uploader/DragAndDropImporter/ImporterSectionHeader/index.js +0 -44
  37. package/lib/esm/Importer/Uploader/DragAndDropImporter/backgrounds.js +0 -14
  38. package/lib/esm/Importer/Uploader/DragAndDropImporter/index.js +0 -45
  39. package/lib/esm/Importer/Uploader/HeaderButtons.js +0 -28
  40. package/lib/esm/Importer/Uploader/HeadersPreview.js +0 -44
  41. package/lib/esm/Importer/Uploader/UploaderContextProvider.js +0 -27
  42. package/lib/esm/Importer/Uploader/index.js +0 -13
  43. package/lib/esm/Importer/common/AppLoading.js +0 -24
  44. package/lib/esm/Importer/common/Footer.js +0 -17
  45. package/lib/esm/Importer/common/FuseApi.js +0 -48
  46. package/lib/esm/Importer/common/GlobalStyle.js +0 -7
  47. package/lib/esm/Importer/common/ImporterFonts.js +0 -5
  48. package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/filterMethods.js +0 -56
  49. package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/index.js +0 -176
  50. package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/useSpreadsheetFilter.js +0 -45
  51. package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/utils.js +0 -14
  52. package/lib/esm/Importer/common/Spreadsheet/common/index.js +0 -63
  53. package/lib/esm/Importer/common/Spreadsheet/common/types.js +0 -5
  54. package/lib/esm/Importer/common/Spreadsheet/components/FieldHeader.js +0 -66
  55. package/lib/esm/Importer/common/Spreadsheet/components/GlobalStyle.js +0 -9
  56. package/lib/esm/Importer/common/Spreadsheet/components/SpreadsheetData.js +0 -110
  57. package/lib/esm/Importer/common/Spreadsheet/components/SpreadsheetRowCheckboxes.js +0 -186
  58. package/lib/esm/Importer/common/Spreadsheet/components/SpreadsheetRowNumbers.js +0 -55
  59. package/lib/esm/Importer/common/Spreadsheet/components/ValidationProgress.js +0 -19
  60. package/lib/esm/Importer/common/Spreadsheet/components/fields/SpeadsheetAutocomplete.js +0 -43
  61. package/lib/esm/Importer/common/Spreadsheet/components/fields/SpreadsheetInput.js +0 -70
  62. package/lib/esm/Importer/common/Spreadsheet/components/fields/index.js +0 -108
  63. package/lib/esm/Importer/common/Spreadsheet/components/inputs/Boolean.js +0 -18
  64. package/lib/esm/Importer/common/Spreadsheet/components/inputs/EmailInput.js +0 -14
  65. package/lib/esm/Importer/common/Spreadsheet/components/inputs/EnumInput.js +0 -30
  66. package/lib/esm/Importer/common/Spreadsheet/components/inputs/FloatInput.js +0 -16
  67. package/lib/esm/Importer/common/Spreadsheet/components/inputs/IntegerInput.js +0 -16
  68. package/lib/esm/Importer/common/Spreadsheet/components/inputs/StringInput.js +0 -14
  69. package/lib/esm/Importer/common/Spreadsheet/components/inputs/index.js +0 -20
  70. package/lib/esm/Importer/common/Spreadsheet/hooks.js +0 -245
  71. package/lib/esm/Importer/common/Spreadsheet/index.js +0 -119
  72. package/lib/esm/Importer/common/Spreadsheet/styles.js +0 -16
  73. package/lib/esm/Importer/common/Spreadsheet/transformation/index.js +0 -47
  74. package/lib/esm/Importer/common/Spreadsheet/transformation/transformators.js +0 -204
  75. package/lib/esm/Importer/common/Spreadsheet/validation/index.js +0 -202
  76. package/lib/esm/Importer/common/Spreadsheet/validation/validators.js +0 -181
  77. package/lib/esm/Importer/common/icons/index.js +0 -18
  78. package/lib/esm/Importer/common/index.js +0 -13
  79. package/lib/esm/Importer/common/theme.js +0 -19
  80. package/lib/esm/Importer/common/utils.js +0 -100
  81. package/lib/esm/Importer/contexts/ImporterContextProvider.js +0 -247
  82. package/lib/esm/Importer/data/index.js +0 -152
  83. package/lib/esm/Importer/index.js +0 -28
  84. package/lib/esm/api/index.js +0 -93
  85. package/lib/esm/api/responseHandlers.js +0 -49
  86. package/lib/esm/common/AppLoadingContextProvider/AppLoadingUI.js +0 -26
  87. package/lib/esm/common/AppLoadingContextProvider/index.js +0 -25
  88. package/lib/esm/common/ConfirmationModal.js +0 -19
  89. package/lib/esm/common/Modal.js +0 -31
  90. package/lib/esm/common/Spinner.js +0 -41
  91. package/lib/esm/common/Table/Pagination/icons.js +0 -42
  92. package/lib/esm/common/Table/Pagination/index.js +0 -32
  93. package/lib/esm/common/Table/TableActions/DeleteSelectedRows.js +0 -50
  94. package/lib/esm/common/Table/TableActions/ExportData.js +0 -23
  95. package/lib/esm/common/Table/TableActions/FilterByErrors/FilterByErrors.js +0 -47
  96. package/lib/esm/common/Table/TableActions/FilterByErrors/FilterByErrors.styles.js +0 -24
  97. package/lib/esm/common/Table/TableActions/FilterByErrors/functions.js +0 -35
  98. package/lib/esm/common/Table/TableActions/FilterByErrors/index.js +0 -1
  99. package/lib/esm/common/Table/TableActions/RowFilters.js +0 -42
  100. package/lib/esm/common/Table/TableActions/SearchRows.js +0 -72
  101. package/lib/esm/common/Table/TableActions/TableActions.js +0 -35
  102. package/lib/esm/common/Table/TableActions/TableActions.styles.js +0 -18
  103. package/lib/esm/common/Table/TableActions/TransformedRecordsCount.js +0 -71
  104. package/lib/esm/common/Table/TableActions/common.js +0 -1
  105. package/lib/esm/common/Table/TableActions/hooks.js +0 -41
  106. package/lib/esm/common/Table/TableActions/icons.js +0 -17
  107. package/lib/esm/common/Table/TableActions/index.js +0 -1
  108. package/lib/esm/common/Table/TableDataProvider.js +0 -127
  109. package/lib/esm/common/Table/TableView/CustomScrollbar.d.ts +0 -2
  110. package/lib/esm/common/Table/TableView/CustomScrollbar.js +0 -34
  111. package/lib/esm/common/Table/TableView/TableHeaders.js +0 -69
  112. package/lib/esm/common/Table/TableView/TableRows/TableRow.js +0 -57
  113. package/lib/esm/common/Table/TableView/TableRows/index.js +0 -48
  114. package/lib/esm/common/Table/TableView/common/index.js +0 -37
  115. package/lib/esm/common/Table/TableView/index.js +0 -132
  116. package/lib/esm/common/Table/TableView/types.js +0 -1
  117. package/lib/esm/common/Table/icons.js +0 -15
  118. package/lib/esm/common/Table/index.js +0 -140
  119. package/lib/esm/common/Table/useReorderRows.js +0 -83
  120. package/lib/esm/common/Toast.js +0 -69
  121. package/lib/esm/common/TooltipProvider.js +0 -57
  122. package/lib/esm/common/buttons.js +0 -97
  123. package/lib/esm/common/columnsTransformations.js +0 -94
  124. package/lib/esm/common/columnsValidations.js +0 -687
  125. package/lib/esm/common/icons/index.js +0 -30
  126. package/lib/esm/common/index.js +0 -45
  127. package/lib/esm/common/inputs/Autocomplete.js +0 -110
  128. package/lib/esm/common/inputs/Checkbox.js +0 -53
  129. package/lib/esm/common/inputs/SelectMenu.js +0 -67
  130. package/lib/esm/common/inputs/TextInput.js +0 -89
  131. package/lib/esm/common/inputs/index.js +0 -5
  132. package/lib/esm/common/inputs/tooltip.js +0 -38
  133. package/lib/esm/common/logo.js +0 -13
  134. package/lib/esm/hooks/index.js +0 -16
  135. package/lib/esm/index.js +0 -218
  136. package/lib/esm/locales/de.js +0 -126
  137. package/lib/esm/locales/en.js +0 -126
  138. package/lib/esm/locales/es.js +0 -126
  139. package/lib/esm/locales/fr.js +0 -126
  140. package/lib/esm/locales/index.js +0 -4
  141. package/lib/esm/styled/fontsURL.js +0 -27
  142. package/lib/esm/styled/index.js +0 -3
  143. package/lib/esm/styled/theme/animations.js +0 -9
  144. package/lib/esm/styled/theme/colorPalette.js +0 -109
  145. package/lib/esm/styled/theme/debugCss.js +0 -16
  146. package/lib/esm/styled/theme/dimensionsCss.js +0 -20
  147. package/lib/esm/styled/theme/fontCss.js +0 -17
  148. package/lib/esm/styled/theme/globalCss.js +0 -26
  149. package/lib/esm/styled/theme/index.js +0 -33
  150. package/lib/esm/styled/theme/layoutCss.js +0 -26
  151. package/lib/esm/styled/theme/mediaQueries.js +0 -4
  152. package/lib/esm/styled/theme/positionCss.js +0 -27
  153. package/lib/esm/styled/theme/textCss.js +0 -18
  154. package/lib/esm/styled/theme/textStyles.js +0 -27
  155. package/lib/esm/styled/themeType.js +0 -6
  156. package/lib/esm/styled/utils.js +0 -17
  157. package/lib/esm/types.js +0 -65
  158. package/lib/esm/utils/hooks/useWindowSize.js +0 -23
  159. package/lib/esm/utils/hooks.js +0 -1
  160. package/lib/esm/utils/index.js +0 -37
@@ -1,126 +0,0 @@
1
- /* eslint-disable import/no-anonymous-default-export */
2
- export default {
3
- preview: {
4
- title: "Vous êtes sur le point de prévisualiser votre importateur.",
5
- description: "Téléchargez notre exemple CSV pour essayer votre importateur. Nous l'avons généré aléatoirement afin que vous puissiez voir comment Fuse transforme les données..",
6
- download: "Télécharger CSV",
7
- note: {
8
- title: "Remarque:",
9
- description: "Cet écran n'existera plus une fois que vous aurez installé l'importateur sur votre site Web.",
10
- },
11
- },
12
- upload: {
13
- headers_preview: {
14
- title: "Sélectionnez une ligne d'en-tête",
15
- description: "Le fichier doit contenir des en-têtes de colonne pour continuer.",
16
- cancel: "Non, re-télécharger le fichier",
17
- continue: "Oui, continuer",
18
- },
19
- error: {
20
- title: "Quelque chose ne va pas",
21
- },
22
- header: {
23
- title: "Assurez-vous que votre document contient des données similaires à celles-ci:",
24
- required_headers: "En-têtes requis",
25
- optional_headers: "En-têtes facultatifs",
26
- },
27
- title: "Téléchargez un fichier pour importer vos données",
28
- description: "\n T\u00E9l\u00E9chargez tout fichier de tableur .csv, .xls, .xlsx avec n'importe quel ensemble de\n colonnes tant qu'il a une seule ligne par ligne.\n ",
29
- loading: {
30
- title: "Téléchargement en cours...",
31
- },
32
- dropzone: {
33
- title: "Glissez et déposez votre fichier ici",
34
- description: "ou",
35
- button: "Parcourir les fichiers",
36
- enter_data_manually: "Entrer les données manuellement",
37
- },
38
- },
39
- match: {
40
- title: "Associez vos colonnes aux nôtres",
41
- description: "Nous avons pu associer {{numberOfMatchedHeaders}} des {{totalNumberOfHeaders}} colonnes correctement!",
42
- enum_description: "\n Notre syst\u00E8me n'accepte que certaines valeurs pour certaines colonnes. Ci-dessous, vous pouvez\n associez les valeurs de votre tableur aux valeurs que nous acceptons.\n ",
43
- columns: {
44
- your_columns: "Vos colonnes",
45
- our_columns: "Nos colonnes",
46
- status: "Statut",
47
- placeholder: "Sélectionnez une option...",
48
- values_for_the_column: "Valeurs pour la colonne {{column}}",
49
- matched: "Assorti",
50
- unmatched: "Non apparié",
51
- },
52
- },
53
- review: {
54
- title: "Revoir et Envoyer",
55
- manual_importer_title: "Saisir Des Données et Envoyer",
56
- export: "Exporter",
57
- description: "Certaines cellules du document peuvent avoir des erreurs de format ou des informations manquantes. Veuillez les examiner pour continuer.",
58
- table_actions: {
59
- filters_by_rows: {
60
- all_rows: "Toutes les lignes",
61
- valid_rows: "Lignes valides",
62
- invalid_rows: "Lignes invalides",
63
- },
64
- search_rows: {
65
- tooltip: "Rechercher quelque chose",
66
- placeholder: "Rechercher quelque chose...",
67
- },
68
- filter_by_errors: {
69
- search_or_select: "Rechercher ou sélectionner",
70
- filter_by_errors: "Filtrer par erreurs",
71
- },
72
- delete_rows: {
73
- confirmation_modal: "Voulez-vous vraiment supprimer {{length}} ligne",
74
- modal_title: "Supprimer la ligne sélectionnée",
75
- yes_delete: "Oui, supprimer",
76
- select_rows: "Sélectionnez les lignes à supprimer",
77
- delete_row: "Supprimer la ligne",
78
- },
79
- export_your_data: {
80
- tooltip: "Exporter vos données",
81
- },
82
- transformed_records: {
83
- auto_corrections_done: "corrections automatiques effectuées",
84
- example: "Exemple",
85
- auto_corrections_amount: "Nous avons corrigé automatiquement {{amount}} problèmes.",
86
- },
87
- },
88
- },
89
- general: {
90
- autocomplete: {
91
- placeholder: "Sélectionnez une option...",
92
- },
93
- steps: {
94
- upload: "Télécharger",
95
- match: "Correspondre",
96
- review: "Revoir",
97
- },
98
- stepper: {
99
- go_back: "Retour",
100
- continue: "Continuer",
101
- submit: "Soumettre",
102
- },
103
- unmatched_headers_modal: {
104
- title: "En-têtes de colonne non appariés",
105
- description_singular: "Il y a {{count}} en-têtes de colonne non appariés. Vous devrez remplir ces informations manuellement si vous continuez.",
106
- description_plural: "Il y a {{count}} en-têtes de colonne non appariés. Vous devrez remplir ces informations manuellement si vous continuez.",
107
- assign_headers: "Attribuer des en-têtes",
108
- skip: "Sauter",
109
- },
110
- submit_modal: {
111
- title: "Prêt à soumettre?",
112
- description: "Nous n'avons rien trouvé de mal avec votre fichier. Vous êtes prêt à partir!",
113
- submit: "Oui, soumettre",
114
- cancel: "Retour",
115
- },
116
- confirm_close_modal: {
117
- title: "Êtes-vous sûr?",
118
- description: "Fermer l'importateur fera perdre toutes les modifications.",
119
- close: "Fermer",
120
- cancel: "Annuler",
121
- },
122
- preview_mode_banner: {
123
- title: "Vous êtes actuellement en mode Aperçu.",
124
- },
125
- },
126
- };
@@ -1,4 +0,0 @@
1
- export { default as es } from "./es";
2
- export { default as en } from "./en";
3
- export { default as de } from "./de";
4
- export { default as fr } from "./fr";
@@ -1,27 +0,0 @@
1
- export var fontsURL = [
2
- {
3
- href: "https://fonts.googleapis.com",
4
- rel: "preconnect",
5
- },
6
- {
7
- href: "https://fonts.gstatic.com",
8
- rel: "preconnect",
9
- crossOrigin: "",
10
- },
11
- {
12
- href: "https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600&display=swap",
13
- rel: "stylesheet",
14
- },
15
- {
16
- href: "https://fonts.googleapis.com/css?family=DM+Serif+Text:300,400,500,600&display=swap",
17
- rel: "stylesheet",
18
- },
19
- {
20
- href: "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Serif+Display&family=DM+Serif+Text&display=swap",
21
- rel: "stylesheet",
22
- },
23
- {
24
- href: "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Serif+Text&display=swap",
25
- rel: "stylesheet",
26
- },
27
- ];
@@ -1,3 +0,0 @@
1
- export * from "./utils";
2
- export * from "./theme";
3
- export * from "./themeType";
@@ -1,9 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { css } from "../themeType";
6
- export var animations = {
7
- fadeIn: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n opacity: 1;\n animation-name: fadeInOpacity;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n animation-duration: 0.4s;\n "], ["\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n opacity: 1;\n animation-name: fadeInOpacity;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n animation-duration: 0.4s;\n "]))),
8
- };
9
- var templateObject_1;
@@ -1,109 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var gray = {
13
- gray5: "#F9FAFB",
14
- gray10: "#FCFCFD",
15
- gray50: "#F8F8F9",
16
- gray100: "#F0F0F1",
17
- gray200: "#E4E4E5",
18
- gray300: "#CAC4BF",
19
- gray390: "#BFBFBF",
20
- gray400: "#B1B1B2",
21
- gray500: "#989898",
22
- gray600: "#7F7F7F",
23
- gray700: "#4D4D4D",
24
- gray800: "#4C4C4C",
25
- gray900: "#333333",
26
- gray1000: "#1C1C1C",
27
- };
28
- var red = {
29
- red50: "#E6DBDB",
30
- red100: "#FCEDEA",
31
- red200: "#F8DCD4",
32
- red300: "#F2B9AA",
33
- red400: "#EB967F",
34
- red500: "#E57354",
35
- error: "#CF4520",
36
- red600: "#CF4520",
37
- red700: "#A9381A",
38
- red800: "#842C14",
39
- red900: "#5E1F0F",
40
- red1000: "#381309",
41
- red2000: "#87464614",
42
- };
43
- var green = {
44
- green50: "#EDFBEF",
45
- green100: "#C3F2CC",
46
- green200: "#9DEAAB",
47
- green300: "#62DD79",
48
- green400: "#2AC046",
49
- green500: "#25AA3E",
50
- green600: "#209135",
51
- green700: "#1A782C",
52
- green800: "#155F23",
53
- green900: "#0F4519",
54
- green1000: "#0A2C10",
55
- };
56
- var blue = {
57
- blue50: "#CDFCEC",
58
- blue100: "#CDFBFB",
59
- blue400: "#71FCE4",
60
- blue500: "#0EBEBE",
61
- blue900: "#025B5B",
62
- };
63
- var pink = {
64
- pink100: "#FED7DE",
65
- pink300: "#FE889C",
66
- pink500: "#FD395A",
67
- pink700: "#CA2E48",
68
- pink900: "#651724",
69
- };
70
- var orange = {
71
- orange50: "#FAF8F6",
72
- orange100: "#FDEAC7",
73
- orange200: "#FBDCA0",
74
- orange300: "#FACD78",
75
- orange400: "#F8BE51",
76
- orange500: "#FF9A34",
77
- orange600: "#CD8808",
78
- orange700: "#AA7106",
79
- orange800: "#885A05",
80
- orange900: "#654304",
81
- orange1000: "#432D03",
82
- orange1100: "#FEEBD9",
83
- orange1200: "#78430D",
84
- };
85
- var white = {
86
- white: "white",
87
- white50: "#F3F2F1",
88
- };
89
- export var colorPalette = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, orange), green), gray), blue), red), white), pink), { red: "red", black: "black", gold: "#d0a617" });
90
- export var colorLabels = {
91
- backgroundInterface: colorPalette.orange50,
92
- interactiveDisabled: "#FEB0BD",
93
- error: colorPalette.red600,
94
- warning01: colorPalette.orange500,
95
- highlight01: colorPalette.blue500,
96
- tableHeader: colorPalette.white50,
97
- outlineInputs: colorPalette.gray300,
98
- text: colorPalette.gray1000,
99
- textPrim: colorPalette.black,
100
- textSec: colorPalette.gray700,
101
- textTert: colorPalette.gray700,
102
- textLink: colorPalette.blue500,
103
- placeholder: colorPalette.gray300,
104
- disabled1: colorPalette.gray50,
105
- disabled2: colorPalette.gray300,
106
- disabled3: colorPalette.gray400,
107
- background: colorPalette.gray10,
108
- };
109
- export var colors = __assign(__assign({}, colorPalette), colorLabels);
@@ -1,16 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { css } from "../themeType";
6
- export var debugCss = {
7
- border: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border: solid 1px black;\n "], ["\n border: solid 1px black;\n "]))),
8
- outline: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n outline: solid 1px black;\n "], ["\n outline: solid 1px black;\n "]))),
9
- borderwhite: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border: solid 1px white;\n "], ["\n border: solid 1px white;\n "]))),
10
- borderred: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border: solid 1px red;\n "], ["\n border: solid 1px red;\n "]))),
11
- bgred: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background: red;\n "], ["\n background: red;\n "]))),
12
- bgblue: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background: blue;\n "], ["\n background: blue;\n "]))),
13
- opacity5: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n opacity: 0.5;\n "], ["\n opacity: 0.5;\n "]))),
14
- divider: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n height: 1px;\n background: ", ";\n "], ["\n height: 1px;\n background: ", ";\n "])), function (props) { return props.theme.colors.gray300; }),
15
- };
16
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
@@ -1,20 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { getCssValue } from ".";
6
- import { css } from "../themeType";
7
- export var dimensionsCss = {
8
- w50: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 50%;\n "], ["\n width: 50%;\n "]))),
9
- w100: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n "], ["\n ", ";\n "])), function (props) { return (props.w100 ? "width: 100%" : null); }),
10
- h100: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 100%;\n "], ["\n height: 100%;\n "]))),
11
- w: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n /* width in px when w is type number */\n width: ", ";\n "], ["\n /* width in px when w is type number */\n width: ", ";\n "])), function (p) { return getCssValue(p.w); }),
12
- h: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n /* height in px when h is type number */\n height: ", ";\n "], ["\n /* height in px when h is type number */\n height: ", ";\n "])), function (p) { return getCssValue(p.h); }),
13
- dim: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n "], ["\n height: ", ";\n width: ", ";\n "])), function (p) { return getCssValue(p.dim); }, function (p) { return getCssValue(p.dim); }),
14
- maxw: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n /* maximum width in px */\n ", "\n "], ["\n /* maximum width in px */\n ", "\n "])), function (p) { return (p.maxw ? "max-width: ".concat(p.maxw, "px;") : null); }),
15
- maxh: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n /* maxinum height in px */\n max-height: ", "px;\n "], ["\n /* maxinum height in px */\n max-height: ", "px;\n "])), function (p) { return p.maxh; }),
16
- minw: css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n /* minimum width in px */\n ", "\n "], ["\n /* minimum width in px */\n ", "\n "])), function (p) { return (p.minw ? "min-width: ".concat(p.minw, "px;") : null); }),
17
- minh: css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n /* minimum height in px */\n min-height: ", "px;\n "], ["\n /* minimum height in px */\n min-height: ", "px;\n "])), function (p) { return p.minh; }),
18
- br: css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n /* border radius in px */\n border-radius: ", ";\n "], ["\n /* border radius in px */\n border-radius: ", ";\n "])), function (p) { return getCssValue(p.br); }),
19
- };
20
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
@@ -1,17 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { css } from "../themeType";
6
- export var fontCss = {
7
- semiBold: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-weight: 500;\n "], ["\n font-weight: 500;\n "]))),
8
- bold: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-weight: 600;\n "], ["\n font-weight: 600;\n "]))),
9
- extraBold: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-weight: 700;\n "], ["\n font-weight: 700;\n "]))),
10
- fontweight_800: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-weight: 800;\n "], ["\n font-weight: 800;\n "]))),
11
- italic: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-style: italic;\n "], ["\n font-style: italic;\n "]))),
12
- DM4: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-family: DM Serif Text;\n font-weight: 400;\n "], ["\n font-family: DM Serif Text;\n font-weight: 400;\n "]))),
13
- fs: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n /* font size in px */\n font-size: ", "px;\n "], ["\n /* font size in px */\n font-size: ", "px;\n "])), function (props) { return props.fs; }),
14
- lh: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n /* line height in px */\n line-height: ", "px;\n "], ["\n /* line height in px */\n line-height: ", "px;\n "])), function (props) { return props.lh; }),
15
- ls: css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n /* letter spacing in px */\n letter-spacing: ", "px;\n "], ["\n /* letter spacing in px */\n letter-spacing: ", "px;\n "])), function (props) { return props.ls; }),
16
- };
17
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
@@ -1,26 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { css } from "../themeType";
6
- import { colors } from "./colorPalette";
7
- import { mediaQueries } from "./mediaQueries";
8
- export var globalCss = {
9
- clickable: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n :hover {\n cursor: pointer;\n opacity: 0.8;\n }\n "], ["\n user-select: none;\n :hover {\n cursor: pointer;\n opacity: 0.8;\n }\n "]))),
10
- disabledWhen: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), function (p) {
11
- return p.disabledWhen && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n pointer-events: none;\n "], ["\n pointer-events: none;\n "])));
12
- }),
13
- selectNone: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n user-select: none;\n "], ["\n user-select: none;\n "]))),
14
- yscroll: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n overflow-y: scroll;\n "], ["\n overflow-y: scroll;\n "]))),
15
- overflowHidden: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n overflow: hidden;\n "], ["\n overflow: hidden;\n "]))),
16
- rotate180: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n transform: rotate(180deg);\n "], ["\n transform: rotate(180deg);\n "]))),
17
- rotate180If: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n transform: rotate(", ");\n "], ["\n transform: rotate(", ");\n "])), function (props) { return (props.rotate180If ? "180deg" : "0 deg"); }),
18
- forMobile: css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n @media all and ", " {\n display: none;\n }\n "], ["\n @media all and ", " {\n display: none;\n }\n "])), mediaQueries.desktop),
19
- forDesktop: css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n @media all and ", " {\n display: none;\n }\n "], ["\n @media all and ", " {\n display: none;\n }\n "])), mediaQueries.mobile),
20
- mcontainer: css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n @media all and ", " {\n padding-left: 6%;\n padding-right: 6%;\n }\n "], ["\n @media all and ", " {\n padding-left: 6%;\n padding-right: 6%;\n }\n "])), mediaQueries.mobile),
21
- c: css(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n /* set color based on colors defined in theme */\n color: ", ";\n "], ["\n /* set color based on colors defined in theme */\n color: ", ";\n "])), function (props) { return props.c; }),
22
- bg: css(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n /* set background color based on colors defined in theme */\n background-color: ", ";\n "], ["\n /* set background color based on colors defined in theme */\n background-color: ", ";\n "])), function (props) { return props.bg; }),
23
- css: css(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", ";\n "], ["\n ", ";\n "])), function (p) { return p.css; }),
24
- scrollbarDark: css(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n scrollbar-width: thin;\n scrollbar-color: ", ";\n /* width */\n ::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n border-radius: 3px;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n border-radius: 3px;\n background-color: ", ";\n }\n "], ["\n scrollbar-width: thin;\n scrollbar-color: ", ";\n /* width */\n ::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n border-radius: 3px;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n border-radius: 3px;\n background-color: ", ";\n }\n "])), colors.gray400, colors.gray400, colors.gray400),
25
- };
26
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15;
@@ -1,33 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import "styled-components";
13
- import { colors } from "./colorPalette";
14
- import { debugCss } from "./debugCss";
15
- import { fontCss } from "./fontCss";
16
- import { dimensionsCss } from "./dimensionsCss";
17
- import { layoutCss } from "./layoutCss";
18
- import { textCss } from "./textCss";
19
- import { textStyles } from "./textStyles";
20
- import { animations } from "./animations";
21
- import { absolutePosition, marginCss, paddingCss } from "./positionCss";
22
- import { globalCss } from "./globalCss";
23
- import { mediaQueries } from "./mediaQueries";
24
- export var getCssValue = function (v) { return v + (typeof v === "number" ? "px" : ""); };
25
- export { colors };
26
- export var appCss = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, animations), dimensionsCss), layoutCss), textCss), textStyles), fontCss), debugCss), globalCss), absolutePosition), marginCss), paddingCss);
27
- export var theme = {
28
- colors: colors,
29
- textStyles: textStyles,
30
- css: appCss,
31
- media: mediaQueries,
32
- };
33
- export default theme;
@@ -1,26 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { css } from "../themeType";
6
- export var layoutCss = {
7
- dflex: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n "], ["\n display: flex;\n "]))),
8
- centered: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n "], ["\n display: flex;\n align-items: center;\n justify-content: center;\n "]))),
9
- flexColumn: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n "], ["\n display: flex;\n flex-direction: column;\n "]))),
10
- flexColumnCentered: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n "], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n "]))),
11
- flexRowReverse: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n flex-direction: row-reverse;\n "], ["\n display: flex;\n flex-direction: row-reverse;\n "]))),
12
- spaceBetween: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n "], ["\n display: flex;\n justify-content: space-between;\n "]))),
13
- spaceBetweenAligned: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n "], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n "]))),
14
- spaceAround: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n justify-content: space-around;\n "], ["\n display: flex;\n justify-content: space-around;\n "]))),
15
- justifyEnd: css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n "], ["\n display: flex;\n justify-content: flex-end;\n "]))),
16
- justifyCenter: css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n "], ["\n display: flex;\n justify-content: center;\n "]))),
17
- alignEnd: css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: flex-end;\n "], ["\n display: flex;\n align-items: flex-end;\n "]))),
18
- alignStart: css(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n "], ["\n display: flex;\n align-items: flex-start;\n "]))),
19
- alignCenter: css(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n "], ["\n display: flex;\n align-items: center;\n "]))),
20
- grow: css(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n flex-grow: 1;\n "], ["\n display: flex;\n flex-grow: 1;\n "]))),
21
- pAbsolute: css(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n position: absolute;\n "], ["\n position: absolute;\n "]))),
22
- pRelative: css(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n position: relative;\n "], ["\n position: relative;\n "]))),
23
- pSticky: css(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n position: sticky;\n position: -webkit-sticky;\n top: 0;\n z-index: 100;\n "], ["\n position: sticky;\n position: -webkit-sticky;\n top: 0;\n z-index: 100;\n "]))),
24
- floatLeft: css(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n float: left;\n "], ["\n float: left;\n "]))),
25
- };
26
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18;
@@ -1,4 +0,0 @@
1
- export var mediaQueries = {
2
- desktop: "(min-width: 1051px)",
3
- mobile: "(max-width: 1050px)",
4
- };
@@ -1,27 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { getCssValue } from ".";
6
- import { css } from "../themeType";
7
- export var absolutePosition = {
8
- top: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n top: ", ";\n "], ["\n top: ", ";\n "])), function (p) { return getCssValue(p.top); }),
9
- bottom: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n bottom: ", ";\n "], ["\n bottom: ", ";\n "])), function (p) { return getCssValue(p.bottom); }),
10
- left: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n left: ", ";\n "], ["\n left: ", ";\n "])), function (p) { return getCssValue(p.left); }),
11
- right: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n right: ", ";\n "], ["\n right: ", ";\n "])), function (p) { return getCssValue(p.right); }),
12
- };
13
- export var marginCss = {
14
- mt: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin-top: ", ";\n "], ["\n margin-top: ", ";\n "])), function (p) { return getCssValue(p.mt); }),
15
- mb: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin-bottom: ", ";\n "], ["\n margin-bottom: ", ";\n "])), function (p) { return getCssValue(p.mb); }),
16
- ml: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n margin-left: ", ";\n "], ["\n margin-left: ", ";\n "])), function (p) { return getCssValue(p.ml); }),
17
- mr: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n margin-right: ", ";\n "], ["\n margin-right: ", ";\n "])), function (p) { return getCssValue(p.mr); }),
18
- m: css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), function (p) { return getCssValue(p.m); }),
19
- };
20
- export var paddingCss = {
21
- pt: css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n padding-top: ", ";\n "], ["\n padding-top: ", ";\n "])), function (p) { return getCssValue(p.pt); }),
22
- pb: css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n padding-bottom: ", ";\n "], ["\n padding-bottom: ", ";\n "])), function (p) { return getCssValue(p.pb); }),
23
- pl: css(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n padding-left: ", ";\n "], ["\n padding-left: ", ";\n "])), function (p) { return getCssValue(p.pl); }),
24
- pr: css(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n padding-right: ", ";\n "], ["\n padding-right: ", ";\n "])), function (p) { return getCssValue(p.pr); }),
25
- p: css(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n padding: ", ";\n "], ["\n padding: ", ";\n "])), function (p) { return getCssValue(p.p); }),
26
- };
27
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
@@ -1,18 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { css } from "../themeType";
6
- export var textCss = {
7
- truncateText: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n word-wrap: break-word;\n overflow-wrap: break-word;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n -webkit-hyphens: auto;\n -moz-hyphens: auto;\n hyphens: auto;\n "], ["\n overflow: hidden;\n word-wrap: break-word;\n overflow-wrap: break-word;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n -webkit-hyphens: auto;\n -moz-hyphens: auto;\n hyphens: auto;\n "]))),
8
- dInline: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "]))),
9
- flexWrap: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n "], ["\n display: flex;\n flex-wrap: wrap;\n "]))),
10
- underline: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n text-decoration: underline;\n "], ["\n text-decoration: underline;\n "]))),
11
- textAlignCenter: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n text-align: center;\n "], ["\n text-align: center;\n "]))),
12
- textAlignRight: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n text-align: right;\n "], ["\n text-align: right;\n "]))),
13
- textAlignLeft: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n text-align: left;\n "], ["\n text-align: left;\n "]))),
14
- uppercase: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n text-transform: uppercase;\n "], ["\n text-transform: uppercase;\n "]))),
15
- capitalize: css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n text-transform: capitalize;\n "], ["\n text-transform: capitalize;\n "]))),
16
- lowercase: css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n text-transform: lowercase;\n "], ["\n text-transform: lowercase;\n "]))),
17
- };
18
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
@@ -1,27 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { css } from "../themeType";
6
- export var textStyles = {
7
- h1: css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: DM Serif Display;\n font-weight: 400;\n font-style: normal;\n font-size: 48px;\n line-height: 72px;\n "], ["\n font-family: DM Serif Display;\n font-weight: 400;\n font-style: normal;\n font-size: 48px;\n line-height: 72px;\n "]))),
8
- h2: css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 28px;\n line-height: 36px;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 28px;\n line-height: 36px;\n "]))),
9
- h3: css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 40px;\n line-height: 48px;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 40px;\n line-height: 48px;\n "]))),
10
- h4: css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 400;\n font-style: normal;\n font-size: 32px;\n line-height: 48px;\n "], ["\n font-family: DM Sans;\n font-weight: 400;\n font-style: normal;\n font-size: 32px;\n line-height: 48px;\n "]))),
11
- h5: css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 24px;\n line-height: 36px;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 24px;\n line-height: 36px;\n "]))),
12
- h6: css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 20px;\n line-height: 32px;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 20px;\n line-height: 32px;\n "]))),
13
- subtitle: css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 500;\n font-style: normal;\n font-size: 18px;\n line-height: 24px;\n "], ["\n font-family: DM Sans;\n font-weight: 500;\n font-style: normal;\n font-size: 18px;\n line-height: 24px;\n "]))),
14
- body1: css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 400;\n font-style: normal;\n font-size: 16px;\n line-height: 28px;\n "], ["\n font-family: DM Sans;\n font-weight: 400;\n font-style: normal;\n font-size: 16px;\n line-height: 28px;\n "]))),
15
- body2: css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 16px;\n line-height: 28px;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 16px;\n line-height: 28px;\n "]))),
16
- body3: css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n "], ["\n font-family: DM Sans;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n "]))),
17
- body4: css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 20px;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 20px;\n "]))),
18
- label1: css(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 16px;\n letter-spacing: 0.5px;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 16px;\n letter-spacing: 0.5px;\n "]))),
19
- label2: css(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 1px;\n text-transform: uppercase;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 1px;\n text-transform: uppercase;\n "]))),
20
- label3: css(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 10px;\n line-height: 16px;\n letter-spacing: 1px;\n text-transform: uppercase;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 10px;\n line-height: 16px;\n letter-spacing: 1px;\n text-transform: uppercase;\n "]))),
21
- helperText: css(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 400;\n font-style: normal;\n font-size: 12px;\n line-height: 18px;\n "], ["\n font-family: DM Sans;\n font-weight: 400;\n font-style: normal;\n font-size: 12px;\n line-height: 18px;\n "]))),
22
- buttonText: css(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.02em;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.02em;\n "]))),
23
- buttonTextSmall: css(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 0.02em;\n "], ["\n font-family: DM Sans;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 0.02em;\n "]))),
24
- link: css(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n font-family: DM Sans;\n font-weight: 500;\n font-style: normal;\n font-size: 14px;\n line-height: 24px;\n user-select: none;\n :hover {\n cursor: pointer;\n text-decoration-line: underline;\n opacity: 0.8;\n }\n "], ["\n font-family: DM Sans;\n font-weight: 500;\n font-style: normal;\n font-size: 14px;\n line-height: 24px;\n user-select: none;\n :hover {\n cursor: pointer;\n text-decoration-line: underline;\n opacity: 0.8;\n }\n "]))),
25
- stepper: css(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n font-family: \"Montserrat\";\n font-style: normal;\n font-weight: 700;\n font-size: 14px;\n line-height: 16px;\n "], ["\n font-family: \"Montserrat\";\n font-style: normal;\n font-weight: 700;\n font-size: 14px;\n line-height: 16px;\n "]))),
26
- };
27
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
@@ -1,6 +0,0 @@
1
- import { css as cssBase } from "styled-components";
2
- // prevents circular definition since:
3
- // - type for `css` is ThemedCssFunction<DefaultTheme>
4
- // - theme will be used to define DefaultTheme
5
- export var css = cssBase;
6
- // `css` shouldn't use ${(props) => props.theme.css.};
@@ -1,17 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import styled, { css } from "styled-components";
6
- export var themeProps = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (props) {
7
- return Object.keys(props)
8
- .map(function (p) { return props.theme.css[p]; })
9
- .filter(function (c) { return c; });
10
- });
11
- export var Div = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), themeProps);
12
- export var HTMLButton = styled.button(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), themeProps);
13
- export var Span = styled.span(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), themeProps);
14
- export var Label = styled.label(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), themeProps);
15
- export var P = styled.p(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), themeProps);
16
- export var BaseButton = styled.button(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", ";\n outline: none;\n margin: none;\n padding: none;\n background: transparent;\n border: none;\n"], ["\n ", ";\n outline: none;\n margin: none;\n padding: none;\n background: transparent;\n border: none;\n"])), themeProps);
17
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;