hasting-swatchcart-module 0.0.8 → 0.0.9

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 (352) hide show
  1. package/dist/assets/SwatchesModule.css +1 -0
  2. package/dist/components/SwatchesModule.js +23440 -24
  3. package/dist/components/Test.js +5 -0
  4. package/dist/lib/components/Test.d.ts +1 -0
  5. package/dist/main.js +0 -1
  6. package/dist/{src/shared/constants/props.js → rootReducer-BqfJd5QI.js} +1913 -3
  7. package/dist/store/LibraryProvider.js +3 -4
  8. package/dist/store/rootReducer.js +2 -10
  9. package/dist/store/store.js +5 -15
  10. package/dist/store-BZ_1BK_I.js +382 -0
  11. package/package.json +1 -1
  12. package/dist/_virtual/_commonjsHelpers.js +0 -6
  13. package/dist/_virtual/index.js +0 -7
  14. package/dist/_virtual/index2.js +0 -7
  15. package/dist/_virtual/index3.js +0 -4
  16. package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -4
  17. package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -4
  18. package/dist/_virtual/utilities.js +0 -4
  19. package/dist/_virtual/with-selector.js +0 -5
  20. package/dist/_virtual/with-selector2.js +0 -4
  21. package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +0 -1
  22. package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +0 -1
  23. package/dist/assets/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
  24. package/dist/assets/styles/index.css +0 -1
  25. package/dist/main.d.ts +0 -1
  26. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
  27. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
  28. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
  29. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
  30. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  31. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
  32. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  33. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
  34. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
  35. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
  36. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -256
  37. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
  38. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
  39. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
  40. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
  41. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -231
  42. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
  43. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
  44. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
  45. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
  46. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  47. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  48. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
  49. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  50. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  51. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
  52. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
  53. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +0 -877
  54. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -35
  55. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -497
  56. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  57. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +0 -62
  58. package/dist/node_modules/@ungap/structured-clone/esm/index.js +0 -11
  59. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +0 -106
  60. package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -13
  61. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  62. package/dist/node_modules/bail/index.js +0 -7
  63. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  64. package/dist/node_modules/comma-separated-tokens/index.js +0 -20
  65. package/dist/node_modules/decode-named-character-reference/index.dom.js +0 -14
  66. package/dist/node_modules/devlop/lib/default.js +0 -8
  67. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +0 -7
  68. package/dist/node_modules/extend/index.js +0 -43
  69. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
  70. package/dist/node_modules/hast-util-from-parse5/lib/index.js +0 -145
  71. package/dist/node_modules/hast-util-parse-selector/lib/index.js +0 -20
  72. package/dist/node_modules/hast-util-raw/lib/index.js +0 -217
  73. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +0 -302
  74. package/dist/node_modules/hast-util-to-parse5/lib/index.js +0 -118
  75. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +0 -12
  76. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +0 -61
  77. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +0 -33
  78. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +0 -368
  79. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +0 -6
  80. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +0 -566
  81. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  82. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  83. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +0 -22
  84. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +0 -27
  85. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +0 -23
  86. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +0 -11
  87. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +0 -17
  88. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +0 -14
  89. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +0 -19
  90. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +0 -11
  91. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +0 -11
  92. package/dist/node_modules/hast-util-whitespace/lib/index.js +0 -10
  93. package/dist/node_modules/hastscript/lib/create-h.js +0 -112
  94. package/dist/node_modules/hastscript/lib/index.js +0 -8
  95. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -44
  96. package/dist/node_modules/html-url-attributes/lib/index.js +0 -26
  97. package/dist/node_modules/html-void-elements/index.js +0 -25
  98. package/dist/node_modules/immer/dist/immer.js +0 -467
  99. package/dist/node_modules/inline-style-parser/index.js +0 -93
  100. package/dist/node_modules/is-plain-obj/index.js +0 -9
  101. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -40
  102. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -27
  103. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -20
  104. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -12
  105. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -12
  106. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -15
  107. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -19
  108. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +0 -581
  109. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -90
  110. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -12
  111. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -8
  112. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -15
  113. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -12
  114. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -12
  115. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -28
  116. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -12
  117. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -9
  118. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -14
  119. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -10
  120. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -58
  121. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -14
  122. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -19
  123. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -15
  124. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -42
  125. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -21
  126. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -12
  127. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -7
  128. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -12
  129. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -13
  130. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -21
  131. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -32
  132. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -8
  133. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -12
  134. package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -10
  135. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -13
  136. package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -104
  137. package/dist/node_modules/mdast-util-to-string/lib/index.js +0 -29
  138. package/dist/node_modules/micromark/lib/constructs.js +0 -85
  139. package/dist/node_modules/micromark/lib/create-tokenizer.js +0 -223
  140. package/dist/node_modules/micromark/lib/initialize/content.js +0 -37
  141. package/dist/node_modules/micromark/lib/initialize/document.js +0 -126
  142. package/dist/node_modules/micromark/lib/initialize/flow.js +0 -33
  143. package/dist/node_modules/micromark/lib/initialize/text.js +0 -95
  144. package/dist/node_modules/micromark/lib/parse.js +0 -32
  145. package/dist/node_modules/micromark/lib/postprocess.js +0 -9
  146. package/dist/node_modules/micromark/lib/preprocess.js +0 -39
  147. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +0 -83
  148. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +0 -43
  149. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
  150. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -42
  151. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -17
  152. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -30
  153. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -94
  154. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -43
  155. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +0 -45
  156. package/dist/node_modules/micromark-core-commonmark/lib/content.js +0 -50
  157. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +0 -80
  158. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -17
  159. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -46
  160. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -144
  161. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +0 -102
  162. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +0 -152
  163. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -22
  164. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -19
  165. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
  166. package/dist/node_modules/micromark-core-commonmark/lib/list.js +0 -90
  167. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -57
  168. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -25
  169. package/dist/node_modules/micromark-factory-destination/index.js +0 -31
  170. package/dist/node_modules/micromark-factory-label/index.js +0 -28
  171. package/dist/node_modules/micromark-factory-space/index.js +0 -15
  172. package/dist/node_modules/micromark-factory-title/index.js +0 -26
  173. package/dist/node_modules/micromark-factory-whitespace/index.js +0 -12
  174. package/dist/node_modules/micromark-util-character/index.js +0 -39
  175. package/dist/node_modules/micromark-util-chunked/index.js +0 -16
  176. package/dist/node_modules/micromark-util-classify-character/index.js +0 -10
  177. package/dist/node_modules/micromark-util-combine-extensions/index.js +0 -36
  178. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -16
  179. package/dist/node_modules/micromark-util-decode-string/index.js +0 -18
  180. package/dist/node_modules/micromark-util-html-tag-name/index.js +0 -68
  181. package/dist/node_modules/micromark-util-normalize-identifier/index.js +0 -6
  182. package/dist/node_modules/micromark-util-resolve-all/index.js +0 -12
  183. package/dist/node_modules/micromark-util-sanitize-uri/index.js +0 -23
  184. package/dist/node_modules/micromark-util-subtokenize/index.js +0 -55
  185. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -175
  186. package/dist/node_modules/parse5/dist/common/doctype.js +0 -98
  187. package/dist/node_modules/parse5/dist/common/error-codes.js +0 -7
  188. package/dist/node_modules/parse5/dist/common/foreign-content.js +0 -210
  189. package/dist/node_modules/parse5/dist/common/html.js +0 -250
  190. package/dist/node_modules/parse5/dist/common/token.js +0 -14
  191. package/dist/node_modules/parse5/dist/common/unicode.js +0 -73
  192. package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +0 -84
  193. package/dist/node_modules/parse5/dist/parser/index.js +0 -2271
  194. package/dist/node_modules/parse5/dist/parser/open-element-stack.js +0 -240
  195. package/dist/node_modules/parse5/dist/serializer/index.js +0 -2
  196. package/dist/node_modules/parse5/dist/tokenizer/index.js +0 -1940
  197. package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -88
  198. package/dist/node_modules/parse5/dist/tree-adapters/default.js +0 -162
  199. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -38
  200. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -245
  201. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
  202. package/dist/node_modules/property-information/index.js +0 -12
  203. package/dist/node_modules/property-information/lib/aria.js +0 -61
  204. package/dist/node_modules/property-information/lib/find.js +0 -33
  205. package/dist/node_modules/property-information/lib/hast-to-react.js +0 -22
  206. package/dist/node_modules/property-information/lib/html.js +0 -368
  207. package/dist/node_modules/property-information/lib/normalize.js +0 -6
  208. package/dist/node_modules/property-information/lib/svg.js +0 -566
  209. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  210. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  211. package/dist/node_modules/property-information/lib/util/create.js +0 -19
  212. package/dist/node_modules/property-information/lib/util/defined-info.js +0 -36
  213. package/dist/node_modules/property-information/lib/util/info.js +0 -28
  214. package/dist/node_modules/property-information/lib/util/merge.js +0 -10
  215. package/dist/node_modules/property-information/lib/util/schema.js +0 -21
  216. package/dist/node_modules/property-information/lib/util/types.js +0 -14
  217. package/dist/node_modules/property-information/lib/xlink.js +0 -19
  218. package/dist/node_modules/property-information/lib/xml.js +0 -11
  219. package/dist/node_modules/property-information/lib/xmlns.js +0 -11
  220. package/dist/node_modules/react-markdown/lib/index.js +0 -102
  221. package/dist/node_modules/react-redux/dist/react-redux.js +0 -246
  222. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  223. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
  224. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
  225. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  226. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
  227. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  228. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  229. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
  230. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  231. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
  232. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  233. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  234. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
  235. package/dist/node_modules/redux/dist/redux.js +0 -258
  236. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +0 -8
  237. package/dist/node_modules/rehype-raw/lib/index.js +0 -12
  238. package/dist/node_modules/remark-parse/lib/index.js +0 -19
  239. package/dist/node_modules/remark-rehype/lib/index.js +0 -18
  240. package/dist/node_modules/reselect/dist/reselect.js +0 -244
  241. package/dist/node_modules/space-separated-tokens/index.js +0 -11
  242. package/dist/node_modules/style-to-js/cjs/index.js +0 -20
  243. package/dist/node_modules/style-to-js/cjs/utilities.js +0 -19
  244. package/dist/node_modules/style-to-object/cjs/index.js +0 -28
  245. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2731
  246. package/dist/node_modules/trim-lines/index.js +0 -28
  247. package/dist/node_modules/trough/lib/index.js +0 -60
  248. package/dist/node_modules/tslib/tslib.es6.js +0 -27
  249. package/dist/node_modules/unified/lib/callable-instance.js +0 -25
  250. package/dist/node_modules/unified/lib/index.js +0 -529
  251. package/dist/node_modules/unist-util-is/lib/index.js +0 -84
  252. package/dist/node_modules/unist-util-position/lib/index.js +0 -23
  253. package/dist/node_modules/unist-util-stringify-position/lib/index.js +0 -15
  254. package/dist/node_modules/unist-util-visit/lib/index.js +0 -16
  255. package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -6
  256. package/dist/node_modules/unist-util-visit-parents/lib/index.js +0 -56
  257. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  258. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  259. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
  260. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  261. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
  262. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -66
  263. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -65
  264. package/dist/node_modules/use-sync-external-store/with-selector.js +0 -10
  265. package/dist/node_modules/vfile/lib/index.js +0 -406
  266. package/dist/node_modules/vfile/lib/minpath.browser.js +0 -112
  267. package/dist/node_modules/vfile/lib/minproc.browser.js +0 -7
  268. package/dist/node_modules/vfile/lib/minurl.browser.js +0 -41
  269. package/dist/node_modules/vfile/lib/minurl.shared.js +0 -7
  270. package/dist/node_modules/vfile-location/lib/index.js +0 -42
  271. package/dist/node_modules/vfile-message/lib/index.js +0 -91
  272. package/dist/node_modules/web-namespaces/index.js +0 -11
  273. package/dist/node_modules/zwitch/index.js +0 -18
  274. package/dist/src/app/assets/images/product_thumb.png.js +0 -4
  275. package/dist/src/app/assets/svg/ArrowIconSVG.js +0 -25
  276. package/dist/src/app/assets/svg/CheckMarkIconSVG.js +0 -25
  277. package/dist/src/app/assets/svg/CloseIconSVG.js +0 -25
  278. package/dist/src/app/assets/svg/MinusIconSVG.js +0 -24
  279. package/dist/src/app/assets/svg/PlusIconSVG.js +0 -24
  280. package/dist/src/app/assets/svg/SearchIconSVG.js +0 -37
  281. package/dist/src/app/assets/svg/TrashIconSVG.js +0 -24
  282. package/dist/src/app/store/rootReducer.js +0 -12
  283. package/dist/src/app/store/store.js +0 -14
  284. package/dist/src/features/Cart/lib/CartCervices.js +0 -8
  285. package/dist/src/features/Cart/model/cartSlice.js +0 -58
  286. package/dist/src/features/Cart/model/selectors.js +0 -18
  287. package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +0 -53
  288. package/dist/src/features/Cart/ui/CartList/CartList.js +0 -29
  289. package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +0 -41
  290. package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +0 -23
  291. package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +0 -38
  292. package/dist/src/features/Cart/ui/Counter/Counter.js +0 -46
  293. package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +0 -102
  294. package/dist/src/features/DataAdapter/utils/types.js +0 -8
  295. package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +0 -34
  296. package/dist/src/features/MultiProduct/model/API/api.js +0 -18
  297. package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +0 -83
  298. package/dist/src/features/MultiProduct/model/selectors.js +0 -7
  299. package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +0 -21
  300. package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +0 -28
  301. package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +0 -27
  302. package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +0 -60
  303. package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +0 -71
  304. package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +0 -19
  305. package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +0 -138
  306. package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +0 -51
  307. package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +0 -55
  308. package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +0 -46
  309. package/dist/src/features/MultiProduct/utils/constants.js +0 -16
  310. package/dist/src/features/MultiProduct/utils/randomList.js +0 -41
  311. package/dist/src/features/swatches/lib/AttributeHelper.js +0 -21
  312. package/dist/src/features/swatches/lib/SwatchesServices.js +0 -54
  313. package/dist/src/features/swatches/model/selectors.js +0 -12
  314. package/dist/src/features/swatches/model/swatchesSlice.js +0 -108
  315. package/dist/src/features/swatches/model/thunks.js +0 -22
  316. package/dist/src/features/swatches/model/types.js +0 -6
  317. package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +0 -45
  318. package/dist/src/features/swatches/ui/Filters/LooksFilter.js +0 -45
  319. package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +0 -47
  320. package/dist/src/features/swatches/ui/Filters/index.js +0 -12
  321. package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +0 -50
  322. package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +0 -45
  323. package/dist/src/features/swatches/ui/MaterialList/index.js +0 -39
  324. package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +0 -51
  325. package/dist/src/features/swatches/ui/ProductElement/index.js +0 -65
  326. package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +0 -62
  327. package/dist/src/features/swatches/ui/Swatches.js +0 -51
  328. package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +0 -67
  329. package/dist/src/features/swatches/utils/constants.js +0 -8
  330. package/dist/src/shared/constants/selectedMaterials.js +0 -4
  331. package/dist/src/shared/types/activeTab.js +0 -7
  332. package/dist/src/shared/ui/Checkbox/Checkbox.js +0 -31
  333. package/dist/src/shared/ui/CustomButton/CustomButton.js +0 -16
  334. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +0 -59
  335. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +0 -13
  336. package/dist/src/shared/ui/Dialog/Dialog.js +0 -81
  337. package/dist/src/shared/ui/Label/Label.js +0 -27
  338. package/dist/src/shared/ui/Markdown/MDWithAccordion.js +0 -36
  339. package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +0 -9
  340. package/dist/src/shared/ui/MaterialItem/MaterialItem.js +0 -36
  341. package/dist/src/shared/ui/MultiSelect/MultiSelect.js +0 -150
  342. package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +0 -35
  343. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +0 -37
  344. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +0 -4
  345. package/dist/src/shared/ui/Slider/Slider.js +0 -117
  346. package/dist/src/shared/utils/cn.js +0 -8
  347. package/dist/src/shared/utils/uniqueList.js +0 -4
  348. /package/dist/{components → lib/components}/SwatchesModule.d.ts +0 -0
  349. /package/dist/{store → lib/store}/LibraryProvider.d.ts +0 -0
  350. /package/dist/{store → lib/store}/rootReducer.d.ts +0 -0
  351. /package/dist/{store → lib/store}/store.d.ts +0 -0
  352. /package/dist/{store → lib/store}/withStore.d.ts +0 -0
@@ -1,84 +0,0 @@
1
- const i = (
2
- // Note: overloads in JSDoc can’t yet use different `@template`s.
3
- /**
4
- * @type {(
5
- * (<Condition extends string>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &
6
- * (<Condition extends Props>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &
7
- * (<Condition extends TestFunction>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &
8
- * ((test?: null | undefined) => (node?: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node) &
9
- * ((test?: Test) => Check)
10
- * )}
11
- */
12
- /**
13
- * @param {Test} [test]
14
- * @returns {Check}
15
- */
16
- (function(n) {
17
- if (n == null)
18
- return p;
19
- if (typeof n == "function")
20
- return c(n);
21
- if (typeof n == "object")
22
- return Array.isArray(n) ? f(n) : y(n);
23
- if (typeof n == "string")
24
- return l(n);
25
- throw new Error("Expected function, string, or object as test");
26
- })
27
- );
28
- function f(n) {
29
- const e = [];
30
- let r = -1;
31
- for (; ++r < n.length; )
32
- e[r] = i(n[r]);
33
- return c(t);
34
- function t(...u) {
35
- let o = -1;
36
- for (; ++o < e.length; )
37
- if (e[o].apply(this, u)) return !0;
38
- return !1;
39
- }
40
- }
41
- function y(n) {
42
- const e = (
43
- /** @type {Record<string, unknown>} */
44
- n
45
- );
46
- return c(r);
47
- function r(t) {
48
- const u = (
49
- /** @type {Record<string, unknown>} */
50
- /** @type {unknown} */
51
- t
52
- );
53
- let o;
54
- for (o in n)
55
- if (u[o] !== e[o]) return !1;
56
- return !0;
57
- }
58
- }
59
- function l(n) {
60
- return c(e);
61
- function e(r) {
62
- return r && r.type === n;
63
- }
64
- }
65
- function c(n) {
66
- return e;
67
- function e(r, t, u) {
68
- return !!(a(r) && n.call(
69
- this,
70
- r,
71
- typeof t == "number" ? t : void 0,
72
- u || void 0
73
- ));
74
- }
75
- }
76
- function p() {
77
- return !0;
78
- }
79
- function a(n) {
80
- return n !== null && typeof n == "object" && "type" in n;
81
- }
82
- export {
83
- i as convert
84
- };
@@ -1,23 +0,0 @@
1
- const f = e("end"), s = e("start");
2
- function e(o) {
3
- return i;
4
- function i(t) {
5
- const n = t && t.position && t.position[o] || {};
6
- if (typeof n.line == "number" && n.line > 0 && typeof n.column == "number" && n.column > 0)
7
- return {
8
- line: n.line,
9
- column: n.column,
10
- offset: typeof n.offset == "number" && n.offset > -1 ? n.offset : void 0
11
- };
12
- }
13
- }
14
- function u(o) {
15
- const i = s(o), t = f(o);
16
- if (i && t)
17
- return { start: i, end: t };
18
- }
19
- export {
20
- f as pointEnd,
21
- s as pointStart,
22
- u as position
23
- };
@@ -1,15 +0,0 @@
1
- function o(n) {
2
- return !n || typeof n != "object" ? "" : "position" in n || "type" in n ? t(n.position) : "start" in n || "end" in n ? t(n) : "line" in n || "column" in n ? i(n) : "";
3
- }
4
- function i(n) {
5
- return r(n && n.line) + ":" + r(n && n.column);
6
- }
7
- function t(n) {
8
- return i(n && n.start) + "-" + i(n && n.end);
9
- }
10
- function r(n) {
11
- return n && typeof n == "number" ? n : 1;
12
- }
13
- export {
14
- o as stringifyPosition
15
- };
@@ -1,16 +0,0 @@
1
- import { visitParents as m } from "../../unist-util-visit-parents/lib/index.js";
2
- import { CONTINUE as y, EXIT as E, SKIP as N } from "../../unist-util-visit-parents/lib/index.js";
3
- function I(l, n, e, u) {
4
- let t, f, o;
5
- typeof n == "function" && typeof e != "function" ? (f = void 0, o = n, t = e) : (f = n, o = e, t = u), m(l, f, p, t);
6
- function p(c, d) {
7
- const i = d[d.length - 1], x = i ? i.children.indexOf(c) : void 0;
8
- return o(c, x, i);
9
- }
10
- }
11
- export {
12
- y as CONTINUE,
13
- E as EXIT,
14
- N as SKIP,
15
- I as visit
16
- };
@@ -1,6 +0,0 @@
1
- function r(o) {
2
- return o;
3
- }
4
- export {
5
- r as color
6
- };
@@ -1,56 +0,0 @@
1
- import { color as A } from "./color.js";
2
- import { convert as I } from "../../unist-util-is/lib/index.js";
3
- const g = [], j = !0, a = !1, k = "skip";
4
- function w(t, o, u, s) {
5
- let p;
6
- typeof o == "function" && typeof u != "function" ? (s = u, u = o) : p = o;
7
- const b = I(p), y = s ? -1 : 1;
8
- m(t, void 0, [])();
9
- function m(n, N, l) {
10
- const i = (
11
- /** @type {Record<string, unknown>} */
12
- n && typeof n == "object" ? n : {}
13
- );
14
- if (typeof i.type == "string") {
15
- const e = (
16
- // `hast`
17
- typeof i.tagName == "string" ? i.tagName : (
18
- // `xast`
19
- typeof i.name == "string" ? i.name : void 0
20
- )
21
- );
22
- Object.defineProperty(h, "name", {
23
- value: "node (" + A(n.type + (e ? "<" + e + ">" : "")) + ")"
24
- });
25
- }
26
- return h;
27
- function h() {
28
- let e = g, f, r, d;
29
- if ((!o || b(n, N, l[l.length - 1] || void 0)) && (e = E(u(n, l)), e[0] === a))
30
- return e;
31
- if ("children" in n && n.children) {
32
- const c = (
33
- /** @type {UnistParent} */
34
- n
35
- );
36
- if (c.children && e[0] !== k)
37
- for (r = (s ? c.children.length : -1) + y, d = l.concat(c); r > -1 && r < c.children.length; ) {
38
- const P = c.children[r];
39
- if (f = m(P, r, d)(), f[0] === a)
40
- return f;
41
- r = typeof f[1] == "number" ? f[1] : r + y;
42
- }
43
- }
44
- return e;
45
- }
46
- }
47
- }
48
- function E(t) {
49
- return Array.isArray(t) ? t : typeof t == "number" ? [j, t] : t == null ? g : [t];
50
- }
51
- export {
52
- j as CONTINUE,
53
- a as EXIT,
54
- k as SKIP,
55
- w as visitParents
56
- };
@@ -1,6 +0,0 @@
1
- function i(n, t) {
2
- return typeof n == "function" ? n(t) : n && (n.current = t), n;
3
- }
4
- export {
5
- i as assignRef
6
- };
@@ -1,26 +0,0 @@
1
- import * as f from "react";
2
- import { assignRef as o } from "./assignRef.js";
3
- import { useCallbackRef as l } from "./useRef.js";
4
- var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
- function v(e, m) {
6
- var t = l(null, function(n) {
7
- return e.forEach(function(u) {
8
- return o(u, n);
9
- });
10
- });
11
- return s(function() {
12
- var n = c.get(t);
13
- if (n) {
14
- var u = new Set(n), r = new Set(e), i = t.current;
15
- u.forEach(function(a) {
16
- r.has(a) || o(a, null);
17
- }), r.forEach(function(a) {
18
- u.has(a) || o(a, i);
19
- });
20
- }
21
- c.set(t, e);
22
- }, [e]), t;
23
- }
24
- export {
25
- v as useMergeRefs
26
- };
@@ -1,25 +0,0 @@
1
- import { useState as u } from "react";
2
- function n(c, r) {
3
- var e = u(function() {
4
- return {
5
- // value
6
- value: c,
7
- // last callback
8
- callback: r,
9
- // "memoized" public interface
10
- facade: {
11
- get current() {
12
- return e.value;
13
- },
14
- set current(a) {
15
- var t = e.value;
16
- t !== a && (e.value = a, e.callback(a, t));
17
- }
18
- }
19
- };
20
- })[0];
21
- return e.callback = r, e.facade;
22
- }
23
- export {
24
- n as useCallbackRef
25
- };
@@ -1,18 +0,0 @@
1
- import { __rest as o, __assign as d } from "../../../tslib/tslib.es6.js";
2
- import * as n from "react";
3
- var i = function(r) {
4
- var e = r.sideCar, a = o(r, ["sideCar"]);
5
- if (!e)
6
- throw new Error("Sidecar: please provide `sideCar` property to import the right car");
7
- var t = e.read();
8
- if (!t)
9
- throw new Error("Sidecar medium not found");
10
- return n.createElement(t, d({}, a));
11
- };
12
- i.isSideCarExport = !0;
13
- function p(r, e) {
14
- return r.useMedium(e), i;
15
- }
16
- export {
17
- p as exportSidecar
18
- };
@@ -1,67 +0,0 @@
1
- import { __assign as d } from "../../../tslib/tslib.es6.js";
2
- function l(r) {
3
- return r;
4
- }
5
- function h(r, t) {
6
- t === void 0 && (t = l);
7
- var e = [], o = !1, c = {
8
- read: function() {
9
- if (o)
10
- throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
- return e.length ? e[e.length - 1] : r;
12
- },
13
- useMedium: function(u) {
14
- var n = t(u, o);
15
- return e.push(n), function() {
16
- e = e.filter(function(i) {
17
- return i !== n;
18
- });
19
- };
20
- },
21
- assignSyncMedium: function(u) {
22
- for (o = !0; e.length; ) {
23
- var n = e;
24
- e = [], n.forEach(u);
25
- }
26
- e = {
27
- push: function(i) {
28
- return u(i);
29
- },
30
- filter: function() {
31
- return e;
32
- }
33
- };
34
- },
35
- assignMedium: function(u) {
36
- o = !0;
37
- var n = [];
38
- if (e.length) {
39
- var i = e;
40
- e = [], i.forEach(u), n = e;
41
- }
42
- var s = function() {
43
- var f = n;
44
- n = [], f.forEach(u);
45
- }, a = function() {
46
- return Promise.resolve().then(s);
47
- };
48
- a(), e = {
49
- push: function(f) {
50
- n.push(f), a();
51
- },
52
- filter: function(f) {
53
- return n = n.filter(f), e;
54
- }
55
- };
56
- }
57
- };
58
- return c;
59
- }
60
- function v(r) {
61
- r === void 0 && (r = {});
62
- var t = h(null);
63
- return t.options = d({ async: !0, ssr: !1 }, r), t;
64
- }
65
- export {
66
- v as createSidecarMedium
67
- };
@@ -1,66 +0,0 @@
1
- import { __exports as d } from "../../../_virtual/use-sync-external-store-with-selector.development.js";
2
- import p from "react";
3
- /**
4
- * @license React
5
- * use-sync-external-store-with-selector.development.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var s;
13
- function b() {
14
- return s ? d : (s = 1, process.env.NODE_ENV !== "production" && (function() {
15
- function S(r, u) {
16
- return r === u && (r !== 0 || 1 / r === 1 / u) || r !== r && u !== u;
17
- }
18
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
19
- var o = p, A = typeof Object.is == "function" ? Object.is : S, R = o.useSyncExternalStore, T = o.useRef, V = o.useEffect, y = o.useMemo, D = o.useDebugValue;
20
- d.useSyncExternalStoreWithSelector = function(r, u, a, c, f) {
21
- var t = T(null);
22
- if (t.current === null) {
23
- var _ = { hasValue: !1, value: null };
24
- t.current = _;
25
- } else _ = t.current;
26
- t = y(
27
- function() {
28
- function E(e) {
29
- if (!v) {
30
- if (v = !0, i = e, e = c(e), f !== void 0 && _.hasValue) {
31
- var n = _.value;
32
- if (f(n, e))
33
- return O = n;
34
- }
35
- return O = e;
36
- }
37
- if (n = O, A(i, e))
38
- return n;
39
- var m = c(e);
40
- return f !== void 0 && f(n, m) ? (i = e, n) : (i = e, O = m);
41
- }
42
- var v = !1, i, O, L = a === void 0 ? null : a;
43
- return [
44
- function() {
45
- return E(u());
46
- },
47
- L === null ? void 0 : function() {
48
- return E(L());
49
- }
50
- ];
51
- },
52
- [u, a, c, f]
53
- );
54
- var l = R(r, t[0], t[1]);
55
- return V(
56
- function() {
57
- _.hasValue = !0, _.value = l;
58
- },
59
- [l]
60
- ), D(l), l;
61
- }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
62
- })(), d);
63
- }
64
- export {
65
- b as __require
66
- };
@@ -1,65 +0,0 @@
1
- import { __exports as d } from "../../../_virtual/use-sync-external-store-with-selector.production.js";
2
- import D from "react";
3
- /**
4
- * @license React
5
- * use-sync-external-store-with-selector.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var y;
13
- function G() {
14
- if (y) return d;
15
- y = 1;
16
- var i = D;
17
- function V(r, u) {
18
- return r === u && (r !== 0 || 1 / r === 1 / u) || r !== r && u !== u;
19
- }
20
- var E = typeof Object.is == "function" ? Object.is : V, S = i.useSyncExternalStore, W = i.useRef, j = i.useEffect, z = i.useMemo, M = i.useDebugValue;
21
- return d.useSyncExternalStoreWithSelector = function(r, u, v, m, l) {
22
- var t = W(null);
23
- if (t.current === null) {
24
- var o = { hasValue: !1, value: null };
25
- t.current = o;
26
- } else o = t.current;
27
- t = z(
28
- function() {
29
- function s(e) {
30
- if (!_) {
31
- if (_ = !0, a = e, e = m(e), l !== void 0 && o.hasValue) {
32
- var f = o.value;
33
- if (l(f, e))
34
- return c = f;
35
- }
36
- return c = e;
37
- }
38
- if (f = c, E(a, e)) return f;
39
- var R = m(e);
40
- return l !== void 0 && l(f, R) ? (a = e, f) : (a = e, c = R);
41
- }
42
- var _ = !1, a, c, b = v === void 0 ? null : v;
43
- return [
44
- function() {
45
- return s(u());
46
- },
47
- b === null ? void 0 : function() {
48
- return s(b());
49
- }
50
- ];
51
- },
52
- [u, v, m, l]
53
- );
54
- var n = S(r, t[0], t[1]);
55
- return j(
56
- function() {
57
- o.hasValue = !0, o.value = n;
58
- },
59
- [n]
60
- ), M(n), n;
61
- }, d;
62
- }
63
- export {
64
- G as __require
65
- };
@@ -1,10 +0,0 @@
1
- import { __module as e } from "../../_virtual/with-selector2.js";
2
- import { __require as t } from "./cjs/use-sync-external-store-with-selector.production.js";
3
- import { __require as o } from "./cjs/use-sync-external-store-with-selector.development.js";
4
- var r;
5
- function n() {
6
- return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = t() : e.exports = o(), e.exports);
7
- }
8
- export {
9
- n as __require
10
- };