@fast-simon/dashboard-utilities 1.0.4 → 1.0.5

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 (219) hide show
  1. package/{dist → lib}/components/DragAndDrop/Droppable.js +1 -1
  2. package/lib/components/DragAndDrop/Droppable.js.map +1 -0
  3. package/{dist → lib}/components/FastSimonApi/reducer.d.ts +2 -2
  4. package/lib/main.d.ts +15 -0
  5. package/lib/main.js +2 -0
  6. package/lib/main.js.map +1 -0
  7. package/package.json +11 -8
  8. package/dist/components/BackOfficeFiltersMenu/styles.module.css +0 -10
  9. package/dist/components/CheckboxFilter/Checkbox/styles.module.css +0 -143
  10. package/dist/components/CheckboxFilter/styles.module.css +0 -5
  11. package/dist/components/DragAndDrop/Droppable.js.map +0 -1
  12. package/dist/components/DragAndDrop/styles.module.css +0 -21
  13. package/dist/components/FacetItem/styles.module.css +0 -55
  14. package/dist/components/FromToFilter/From/styles.module.css +0 -9
  15. package/dist/components/FromToFilter/To/styles.module.css +0 -9
  16. package/dist/components/FromToFilter/styles.module.css +0 -34
  17. package/dist/components/InStoreFiltersMenu/styles.module.css +0 -10
  18. package/dist/components/Input/styles.module.css +0 -3
  19. package/dist/components/LastReceivedDateFilter/styles.module.css +0 -41
  20. package/dist/components/RadioFilter/Radio/styles.module.css +0 -145
  21. package/dist/components/RadioFilter/styles.module.css +0 -23
  22. package/dist/components/ReactDatePicker/styles.module.css +0 -3
  23. package/dist/components/SingleFilter/styles.module.css +0 -23
  24. package/dist/components/SliderFilter/styles.module.css +0 -16
  25. package/dist/components/Tooltip/styles.module.css +0 -34
  26. package/dist/components/productGrid/styles.module.css +0 -23
  27. package/dist/icons/styles.module.css +0 -61
  28. package/dist/main.d.ts +0 -1
  29. package/dist/main.js +0 -6
  30. package/dist/main.js.map +0 -1
  31. /package/{dist → lib}/@types/banner.d.ts +0 -0
  32. /package/{dist → lib}/@types/banner.js +0 -0
  33. /package/{dist → lib}/@types/banner.js.map +0 -0
  34. /package/{dist → lib}/@types/categories.d.ts +0 -0
  35. /package/{dist → lib}/@types/categories.js +0 -0
  36. /package/{dist → lib}/@types/categories.js.map +0 -0
  37. /package/{dist → lib}/@types/currency.d.ts +0 -0
  38. /package/{dist → lib}/@types/currency.js +0 -0
  39. /package/{dist → lib}/@types/currency.js.map +0 -0
  40. /package/{dist → lib}/@types/editorProduct.d.ts +0 -0
  41. /package/{dist → lib}/@types/editorProduct.js +0 -0
  42. /package/{dist → lib}/@types/editorProduct.js.map +0 -0
  43. /package/{dist → lib}/@types/iconProps.d.ts +0 -0
  44. /package/{dist → lib}/@types/iconProps.js +0 -0
  45. /package/{dist → lib}/@types/iconProps.js.map +0 -0
  46. /package/{dist → lib}/@types/product.d.ts +0 -0
  47. /package/{dist → lib}/@types/product.js +0 -0
  48. /package/{dist → lib}/@types/product.js.map +0 -0
  49. /package/{dist → lib}/@types/productLabel.d.ts +0 -0
  50. /package/{dist → lib}/@types/productLabel.js +0 -0
  51. /package/{dist → lib}/@types/productLabel.js.map +0 -0
  52. /package/{dist → lib}/@types/promoTile.d.ts +0 -0
  53. /package/{dist → lib}/@types/promoTile.js +0 -0
  54. /package/{dist → lib}/@types/promoTile.js.map +0 -0
  55. /package/{dist → lib}/@types/results.d.ts +0 -0
  56. /package/{dist → lib}/@types/results.js +0 -0
  57. /package/{dist → lib}/@types/results.js.map +0 -0
  58. /package/{dist → lib}/@types/sideMenu.d.ts +0 -0
  59. /package/{dist → lib}/@types/sideMenu.js +0 -0
  60. /package/{dist → lib}/@types/sideMenu.js.map +0 -0
  61. /package/{dist → lib}/@types/sortBy.d.ts +0 -0
  62. /package/{dist → lib}/@types/sortBy.js +0 -0
  63. /package/{dist → lib}/@types/sortBy.js.map +0 -0
  64. /package/{dist → lib}/App.d.ts +0 -0
  65. /package/{dist → lib}/App.js +0 -0
  66. /package/{dist → lib}/App.js.map +0 -0
  67. /package/{dist → lib}/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.d.ts +0 -0
  68. /package/{dist → lib}/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js +0 -0
  69. /package/{dist → lib}/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js.map +0 -0
  70. /package/{dist → lib}/components/BackOfficeFiltersMenu/index.d.ts +0 -0
  71. /package/{dist → lib}/components/BackOfficeFiltersMenu/index.js +0 -0
  72. /package/{dist → lib}/components/BackOfficeFiltersMenu/index.js.map +0 -0
  73. /package/{dist → lib}/components/BackOfficeFiltersMenu/utils.d.ts +0 -0
  74. /package/{dist → lib}/components/BackOfficeFiltersMenu/utils.js +0 -0
  75. /package/{dist → lib}/components/BackOfficeFiltersMenu/utils.js.map +0 -0
  76. /package/{dist → lib}/components/CheckboxFilter/Checkbox/Checkbox.d.ts +0 -0
  77. /package/{dist → lib}/components/CheckboxFilter/Checkbox/Checkbox.js +0 -0
  78. /package/{dist → lib}/components/CheckboxFilter/Checkbox/Checkbox.js.map +0 -0
  79. /package/{dist → lib}/components/CheckboxFilter/CheckboxFilter.d.ts +0 -0
  80. /package/{dist → lib}/components/CheckboxFilter/CheckboxFilter.js +0 -0
  81. /package/{dist → lib}/components/CheckboxFilter/CheckboxFilter.js.map +0 -0
  82. /package/{dist → lib}/components/DragAndDrop/DndContextWrapper.d.ts +0 -0
  83. /package/{dist → lib}/components/DragAndDrop/DndContextWrapper.js +0 -0
  84. /package/{dist → lib}/components/DragAndDrop/DndContextWrapper.js.map +0 -0
  85. /package/{dist → lib}/components/DragAndDrop/Droppable.d.ts +0 -0
  86. /package/{dist → lib}/components/DragAndDrop/SortableItem.d.ts +0 -0
  87. /package/{dist → lib}/components/DragAndDrop/SortableItem.js +0 -0
  88. /package/{dist → lib}/components/DragAndDrop/SortableItem.js.map +0 -0
  89. /package/{dist → lib}/components/FacetItem/FacetItem.d.ts +0 -0
  90. /package/{dist → lib}/components/FacetItem/FacetItem.js +0 -0
  91. /package/{dist → lib}/components/FacetItem/FacetItem.js.map +0 -0
  92. /package/{dist → lib}/components/FastSimonApi/FastSimonApi.d.ts +0 -0
  93. /package/{dist → lib}/components/FastSimonApi/FastSimonApi.js +0 -0
  94. /package/{dist → lib}/components/FastSimonApi/FastSimonApi.js.map +0 -0
  95. /package/{dist → lib}/components/FastSimonApi/context.d.ts +0 -0
  96. /package/{dist → lib}/components/FastSimonApi/context.js +0 -0
  97. /package/{dist → lib}/components/FastSimonApi/context.js.map +0 -0
  98. /package/{dist → lib}/components/FastSimonApi/index.d.ts +0 -0
  99. /package/{dist → lib}/components/FastSimonApi/index.js +0 -0
  100. /package/{dist → lib}/components/FastSimonApi/index.js.map +0 -0
  101. /package/{dist → lib}/components/FastSimonApi/reducer.js +0 -0
  102. /package/{dist → lib}/components/FastSimonApi/reducer.js.map +0 -0
  103. /package/{dist → lib}/components/FromToFilter/From/From.d.ts +0 -0
  104. /package/{dist → lib}/components/FromToFilter/From/From.js +0 -0
  105. /package/{dist → lib}/components/FromToFilter/From/From.js.map +0 -0
  106. /package/{dist → lib}/components/FromToFilter/FromToFilter.d.ts +0 -0
  107. /package/{dist → lib}/components/FromToFilter/FromToFilter.js +0 -0
  108. /package/{dist → lib}/components/FromToFilter/FromToFilter.js.map +0 -0
  109. /package/{dist → lib}/components/FromToFilter/To/To.d.ts +0 -0
  110. /package/{dist → lib}/components/FromToFilter/To/To.js +0 -0
  111. /package/{dist → lib}/components/FromToFilter/To/To.js.map +0 -0
  112. /package/{dist → lib}/components/FromToFilter/utils.d.ts +0 -0
  113. /package/{dist → lib}/components/FromToFilter/utils.js +0 -0
  114. /package/{dist → lib}/components/FromToFilter/utils.js.map +0 -0
  115. /package/{dist → lib}/components/InStoreFiltersMenu/InStoreFiltersMenu.d.ts +0 -0
  116. /package/{dist → lib}/components/InStoreFiltersMenu/InStoreFiltersMenu.js +0 -0
  117. /package/{dist → lib}/components/InStoreFiltersMenu/InStoreFiltersMenu.js.map +0 -0
  118. /package/{dist → lib}/components/InStoreFiltersMenu/index.d.ts +0 -0
  119. /package/{dist → lib}/components/InStoreFiltersMenu/index.js +0 -0
  120. /package/{dist → lib}/components/InStoreFiltersMenu/index.js.map +0 -0
  121. /package/{dist → lib}/components/Input/Input.d.ts +0 -0
  122. /package/{dist → lib}/components/Input/Input.js +0 -0
  123. /package/{dist → lib}/components/Input/Input.js.map +0 -0
  124. /package/{dist → lib}/components/Input/index.d.ts +0 -0
  125. /package/{dist → lib}/components/Input/index.js +0 -0
  126. /package/{dist → lib}/components/Input/index.js.map +0 -0
  127. /package/{dist → lib}/components/LastReceivedDateFilter/LastReceivedDate.d.ts +0 -0
  128. /package/{dist → lib}/components/LastReceivedDateFilter/LastReceivedDate.js +0 -0
  129. /package/{dist → lib}/components/LastReceivedDateFilter/LastReceivedDate.js.map +0 -0
  130. /package/{dist → lib}/components/LastReceivedDateFilter/utils.d.ts +0 -0
  131. /package/{dist → lib}/components/LastReceivedDateFilter/utils.js +0 -0
  132. /package/{dist → lib}/components/LastReceivedDateFilter/utils.js.map +0 -0
  133. /package/{dist → lib}/components/RadioFilter/Radio/Radio.d.ts +0 -0
  134. /package/{dist → lib}/components/RadioFilter/Radio/Radio.js +0 -0
  135. /package/{dist → lib}/components/RadioFilter/Radio/Radio.js.map +0 -0
  136. /package/{dist → lib}/components/RadioFilter/RadioFilter.d.ts +0 -0
  137. /package/{dist → lib}/components/RadioFilter/RadioFilter.js +0 -0
  138. /package/{dist → lib}/components/RadioFilter/RadioFilter.js.map +0 -0
  139. /package/{dist → lib}/components/RadioFilter/utils.d.ts +0 -0
  140. /package/{dist → lib}/components/RadioFilter/utils.js +0 -0
  141. /package/{dist → lib}/components/RadioFilter/utils.js.map +0 -0
  142. /package/{dist → lib}/components/ReactDatePicker/ReactDatePicker.d.ts +0 -0
  143. /package/{dist → lib}/components/ReactDatePicker/ReactDatePicker.js +0 -0
  144. /package/{dist → lib}/components/ReactDatePicker/ReactDatePicker.js.map +0 -0
  145. /package/{dist → lib}/components/ReactDatePicker/index.d.ts +0 -0
  146. /package/{dist → lib}/components/ReactDatePicker/index.js +0 -0
  147. /package/{dist → lib}/components/ReactDatePicker/index.js.map +0 -0
  148. /package/{dist → lib}/components/RenderIfVisible/RenderIfVisible.d.ts +0 -0
  149. /package/{dist → lib}/components/RenderIfVisible/RenderIfVisible.js +0 -0
  150. /package/{dist → lib}/components/RenderIfVisible/RenderIfVisible.js.map +0 -0
  151. /package/{dist → lib}/components/RenderIfVisible/index.d.ts +0 -0
  152. /package/{dist → lib}/components/RenderIfVisible/index.js +0 -0
  153. /package/{dist → lib}/components/RenderIfVisible/index.js.map +0 -0
  154. /package/{dist → lib}/components/SingleFilter/SingleFilter.d.ts +0 -0
  155. /package/{dist → lib}/components/SingleFilter/SingleFilter.js +0 -0
  156. /package/{dist → lib}/components/SingleFilter/SingleFilter.js.map +0 -0
  157. /package/{dist → lib}/components/SingleFilter/utils.d.ts +0 -0
  158. /package/{dist → lib}/components/SingleFilter/utils.js +0 -0
  159. /package/{dist → lib}/components/SingleFilter/utils.js.map +0 -0
  160. /package/{dist → lib}/components/SliderFilter/SliderFilter.d.ts +0 -0
  161. /package/{dist → lib}/components/SliderFilter/SliderFilter.js +0 -0
  162. /package/{dist → lib}/components/SliderFilter/SliderFilter.js.map +0 -0
  163. /package/{dist → lib}/components/SliderFilter/index.d.ts +0 -0
  164. /package/{dist → lib}/components/SliderFilter/index.js +0 -0
  165. /package/{dist → lib}/components/SliderFilter/index.js.map +0 -0
  166. /package/{dist → lib}/components/Tooltip/Tooltip.d.ts +0 -0
  167. /package/{dist → lib}/components/Tooltip/Tooltip.js +0 -0
  168. /package/{dist → lib}/components/Tooltip/Tooltip.js.map +0 -0
  169. /package/{dist → lib}/components/common.d.ts +0 -0
  170. /package/{dist → lib}/components/common.js +0 -0
  171. /package/{dist → lib}/components/common.js.map +0 -0
  172. /package/{dist → lib}/components/productGrid/ProductGrid.d.ts +0 -0
  173. /package/{dist → lib}/components/productGrid/ProductGrid.js +0 -0
  174. /package/{dist → lib}/components/productGrid/ProductGrid.js.map +0 -0
  175. /package/{dist → lib}/components/productGrid/index.d.ts +0 -0
  176. /package/{dist → lib}/components/productGrid/index.js +0 -0
  177. /package/{dist → lib}/components/productGrid/index.js.map +0 -0
  178. /package/{dist → lib}/icons/BackOfficeFiltersIcon.d.ts +0 -0
  179. /package/{dist → lib}/icons/BackOfficeFiltersIcon.js +0 -0
  180. /package/{dist → lib}/icons/BackOfficeFiltersIcon.js.map +0 -0
  181. /package/{dist → lib}/icons/BannersIcon.d.ts +0 -0
  182. /package/{dist → lib}/icons/BannersIcon.js +0 -0
  183. /package/{dist → lib}/icons/BannersIcon.js.map +0 -0
  184. /package/{dist → lib}/icons/HelpIcon.d.ts +0 -0
  185. /package/{dist → lib}/icons/HelpIcon.js +0 -0
  186. /package/{dist → lib}/icons/HelpIcon.js.map +0 -0
  187. /package/{dist → lib}/icons/InStoreFiltersIcon.d.ts +0 -0
  188. /package/{dist → lib}/icons/InStoreFiltersIcon.js +0 -0
  189. /package/{dist → lib}/icons/InStoreFiltersIcon.js.map +0 -0
  190. /package/{dist → lib}/icons/PromoteIcon.d.ts +0 -0
  191. /package/{dist → lib}/icons/PromoteIcon.js +0 -0
  192. /package/{dist → lib}/icons/PromoteIcon.js.map +0 -0
  193. /package/{dist → lib}/icons/RemoveIcon.d.ts +0 -0
  194. /package/{dist → lib}/icons/RemoveIcon.js +0 -0
  195. /package/{dist → lib}/icons/RemoveIcon.js.map +0 -0
  196. /package/{dist → lib}/icons/RestoreIcon.d.ts +0 -0
  197. /package/{dist → lib}/icons/RestoreIcon.js +0 -0
  198. /package/{dist → lib}/icons/RestoreIcon.js.map +0 -0
  199. /package/{dist → lib}/icons/index.d.ts +0 -0
  200. /package/{dist → lib}/icons/index.js +0 -0
  201. /package/{dist → lib}/icons/index.js.map +0 -0
  202. /package/{dist → lib}/services/API.d.ts +0 -0
  203. /package/{dist → lib}/services/API.js +0 -0
  204. /package/{dist → lib}/services/API.js.map +0 -0
  205. /package/{dist → lib}/services/landingPage.d.ts +0 -0
  206. /package/{dist → lib}/services/landingPage.js +0 -0
  207. /package/{dist → lib}/services/landingPage.js.map +0 -0
  208. /package/{dist → lib}/utils/customTagsFilters.d.ts +0 -0
  209. /package/{dist → lib}/utils/customTagsFilters.js +0 -0
  210. /package/{dist → lib}/utils/customTagsFilters.js.map +0 -0
  211. /package/{dist → lib}/utils/products.d.ts +0 -0
  212. /package/{dist → lib}/utils/products.js +0 -0
  213. /package/{dist → lib}/utils/products.js.map +0 -0
  214. /package/{dist → lib}/utils/shopifyMarkets.d.ts +0 -0
  215. /package/{dist → lib}/utils/shopifyMarkets.js +0 -0
  216. /package/{dist → lib}/utils/shopifyMarkets.js.map +0 -0
  217. /package/{dist → lib}/utils/useDragToSelect.d.ts +0 -0
  218. /package/{dist → lib}/utils/useDragToSelect.js +0 -0
  219. /package/{dist → lib}/utils/useDragToSelect.js.map +0 -0
@@ -1,34 +0,0 @@
1
- .miniTooltip {
2
- opacity: 0;
3
- transition: opacity ease-in-out 110ms;
4
- padding: 4px 10px;
5
- font-size: 12px;
6
- font-weight: 400;
7
- z-index: 10;
8
- position: absolute;
9
- text-align: center;
10
- background-color: #545454;
11
- color: white;
12
- display: flex;
13
- align-items: center;
14
- height: fit-content;
15
- border-radius: 8px;
16
- width: max-content;
17
- justify-content: center;
18
- max-width: 86px;
19
- pointer-events: none;
20
- top: 100%;
21
- left: 30%;
22
- }
23
-
24
- .tooltipIcon:hover ~ .miniTooltip {
25
- opacity: 1;
26
- }
27
-
28
- .tooltipIcon {
29
- font-size: 16px !important;
30
- }
31
-
32
- .tooltipIcon:hover {
33
- fill: #909090;
34
- }
@@ -1,23 +0,0 @@
1
- .grid {
2
- grid-template-columns: repeat(var(--products-per-row), calc(100%/var(--products-per-row) - 80px));
3
- display: grid;
4
- container-type: inline-size;
5
- grid-column-gap: 20px;
6
- grid-row-gap: 20px;
7
- justify-content: center;
8
- padding: 10px 10px 12px 0;
9
- grid-auto-rows: auto;
10
- align-items: stretch;
11
- overflow-anchor: none;
12
- overflow: hidden;
13
- width: 100%;
14
- position: relative;
15
- cursor: crosshair;
16
- margin: auto;
17
- }
18
-
19
- @container (max-width: 870px) {
20
- .grid {
21
- grid-template-columns: repeat(var(--products-per-row), calc(100%/var(--products-per-row) - 20px));
22
- }
23
- }
@@ -1,61 +0,0 @@
1
- .svg {
2
- fill: black;
3
- transition: all ease-in-out 110ms;
4
-
5
- }
6
-
7
- .svg:hover {
8
- fill: var(--primary-color);
9
- }
10
-
11
- .svgPath {
12
- stroke: black;
13
- transition: all ease-in-out 200ms;
14
- stroke-width: 2;
15
- }
16
-
17
- .iconWrapper {
18
- transition: all ease-in-out 200ms;
19
- width: 100%;
20
- height: 100%;
21
- display: flex;
22
- position: relative;
23
- align-items: center;
24
- justify-content: center;
25
- }
26
-
27
- .iconWrapperForStrokedSvg:hover .svgPath {
28
- stroke: var(--primary-color);
29
- }
30
-
31
- .iconWrapper:hover .svg {
32
- fill: var(--primary-color);
33
- }
34
-
35
- .iconWrapperForStrokedSvg:hover .svg{
36
- fill: var(--primary-color);
37
- }
38
-
39
- .iconWrapperForStrokedSvg {
40
- transition: all ease-in-out 200ms;
41
- width: 100%;
42
- display: flex;
43
- position: relative;
44
- align-items: center;
45
- justify-content: center;
46
- height: 100%;
47
- }
48
-
49
- .iconWrapper:hover .materialIcon {
50
- color: var(--primary-color);
51
- }
52
-
53
- .materialIcon {
54
- transition: all ease-in-out 200ms;
55
- font-size: 26px;
56
- font-variation-settings:
57
- 'FILL' 0,
58
- 'wght' 500,
59
- 'GRAD' 0,
60
- 'opsz' 48
61
- }
package/dist/main.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/dist/main.js DELETED
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import React from "react";
3
- import ReactDOM from "react-dom";
4
- import App from "./App";
5
- ReactDOM.render(_jsx(React.StrictMode, { children: _jsx(App, {}) }), document.getElementById('root'));
6
- //# sourceMappingURL=main.js.map
package/dist/main.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,WAAW,CAAC;AACjC,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,QAAQ,CAAC,MAAM,CACb,KAAC,KAAK,CAAC,UAAU,cACb,KAAC,GAAG,KAAG,GACQ,EACnB,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAChC,CAAA","sourcesContent":["import React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport App from \"./App\";\r\n\r\nReactDOM.render(\r\n <React.StrictMode>\r\n <App />\r\n </React.StrictMode>,\r\n document.getElementById('root')\r\n)\r\n"]}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes