hasting-swatchcart-module 0.0.2 → 0.0.3
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.
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/_virtual/with-selector.js +5 -0
- package/dist/_virtual/with-selector2.js +4 -0
- package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +1 -0
- package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +1 -0
- package/dist/assets/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
- package/dist/components/SwatchesModule.js +22 -38896
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +251 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +68 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +256 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +231 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +8 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +877 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +35 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +497 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +62 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +106 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/bail/index.js +7 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/comma-separated-tokens/index.js +20 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +14 -0
- package/dist/node_modules/devlop/lib/default.js +8 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/node_modules/extend/index.js +43 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +145 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +20 -0
- package/dist/node_modules/hast-util-raw/lib/index.js +217 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +118 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +22 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +27 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +23 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +11 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +17 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/hastscript/lib/create-h.js +112 -0
- package/dist/node_modules/hastscript/lib/index.js +8 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +44 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
- package/dist/node_modules/html-void-elements/index.js +25 -0
- package/dist/node_modules/immer/dist/immer.js +467 -0
- package/dist/node_modules/inline-style-parser/index.js +93 -0
- package/dist/node_modules/is-plain-obj/index.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +40 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +12 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +19 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +581 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
- package/dist/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +223 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +126 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +95 -0
- package/dist/node_modules/micromark/lib/parse.js +32 -0
- package/dist/node_modules/micromark/lib/postprocess.js +9 -0
- package/dist/node_modules/micromark/lib/preprocess.js +39 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +83 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +94 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +46 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +144 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +152 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +22 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +19 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +57 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/node_modules/micromark-factory-destination/index.js +31 -0
- package/dist/node_modules/micromark-factory-label/index.js +28 -0
- package/dist/node_modules/micromark-factory-space/index.js +15 -0
- package/dist/node_modules/micromark-factory-title/index.js +26 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +39 -0
- package/dist/node_modules/micromark-util-chunked/index.js +16 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
- package/dist/node_modules/parse5/dist/common/doctype.js +98 -0
- package/dist/node_modules/parse5/dist/common/error-codes.js +7 -0
- package/dist/node_modules/parse5/dist/common/foreign-content.js +210 -0
- package/dist/node_modules/parse5/dist/common/html.js +250 -0
- package/dist/node_modules/parse5/dist/common/token.js +14 -0
- package/dist/node_modules/parse5/dist/common/unicode.js +73 -0
- package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +84 -0
- package/dist/node_modules/parse5/dist/parser/index.js +2271 -0
- package/dist/node_modules/parse5/dist/parser/open-element-stack.js +240 -0
- package/dist/node_modules/parse5/dist/serializer/index.js +2 -0
- package/dist/node_modules/parse5/dist/tokenizer/index.js +1940 -0
- package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +88 -0
- package/dist/node_modules/parse5/dist/tree-adapters/default.js +162 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +38 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +245 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-markdown/lib/index.js +102 -0
- package/dist/node_modules/react-redux/dist/react-redux.js +135 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
- package/dist/node_modules/redux/dist/redux.js +258 -0
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js +8 -0
- package/dist/node_modules/rehype-raw/lib/index.js +12 -0
- package/dist/node_modules/remark-parse/lib/index.js +19 -0
- package/dist/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/node_modules/reselect/dist/reselect.js +244 -0
- package/dist/node_modules/space-separated-tokens/index.js +11 -0
- package/dist/node_modules/style-to-js/cjs/index.js +20 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
- package/dist/node_modules/style-to-object/cjs/index.js +28 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2731 -0
- package/dist/node_modules/trim-lines/index.js +28 -0
- package/dist/node_modules/trough/lib/index.js +60 -0
- package/dist/node_modules/tslib/tslib.es6.js +27 -0
- package/dist/node_modules/unified/lib/callable-instance.js +25 -0
- package/dist/node_modules/unified/lib/index.js +529 -0
- package/dist/node_modules/unist-util-is/lib/index.js +84 -0
- package/dist/node_modules/unist-util-position/lib/index.js +23 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +66 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +65 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
- package/dist/node_modules/vfile/lib/index.js +406 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
- package/dist/node_modules/vfile-location/lib/index.js +42 -0
- package/dist/node_modules/vfile-message/lib/index.js +91 -0
- package/dist/node_modules/web-namespaces/index.js +11 -0
- package/dist/node_modules/zwitch/index.js +18 -0
- package/dist/src/app/assets/images/product_thumb.png.js +4 -0
- package/dist/src/app/assets/svg/ArrowIconSVG.js +25 -0
- package/dist/src/app/assets/svg/CheckMarkIconSVG.js +25 -0
- package/dist/src/app/assets/svg/CloseIconSVG.js +25 -0
- package/dist/src/app/assets/svg/MinusIconSVG.js +24 -0
- package/dist/src/app/assets/svg/PlusIconSVG.js +24 -0
- package/dist/src/app/assets/svg/SearchIconSVG.js +37 -0
- package/dist/src/app/assets/svg/TrashIconSVG.js +24 -0
- package/dist/src/app/store/rootReducer.js +12 -0
- package/dist/src/app/store/store.js +14 -0
- package/dist/src/features/Cart/lib/CartCervices.js +8 -0
- package/dist/src/features/Cart/model/cartSlice.js +58 -0
- package/dist/src/features/Cart/model/selectors.js +18 -0
- package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +53 -0
- package/dist/src/features/Cart/ui/CartList/CartList.js +29 -0
- package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +41 -0
- package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +23 -0
- package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +38 -0
- package/dist/src/features/Cart/ui/Counter/Counter.js +46 -0
- package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +102 -0
- package/dist/src/features/DataAdapter/utils/types.js +8 -0
- package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +34 -0
- package/dist/src/features/MultiProduct/model/API/api.js +18 -0
- package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +83 -0
- package/dist/src/features/MultiProduct/model/selectors.js +7 -0
- package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +21 -0
- package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +28 -0
- package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +27 -0
- package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +60 -0
- package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +71 -0
- package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +19 -0
- package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +138 -0
- package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +51 -0
- package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +55 -0
- package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +46 -0
- package/dist/src/features/MultiProduct/utils/constants.js +16 -0
- package/dist/src/features/MultiProduct/utils/randomList.js +41 -0
- package/dist/src/features/swatches/lib/AttributeHelper.js +21 -0
- package/dist/src/features/swatches/lib/SwatchesServices.js +54 -0
- package/dist/src/features/swatches/model/selectors.js +12 -0
- package/dist/src/features/swatches/model/swatchesSlice.js +108 -0
- package/dist/src/features/swatches/model/thunks.js +22 -0
- package/dist/src/features/swatches/model/types.js +6 -0
- package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +45 -0
- package/dist/src/features/swatches/ui/Filters/LooksFilter.js +45 -0
- package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +47 -0
- package/dist/src/features/swatches/ui/Filters/index.js +12 -0
- package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +50 -0
- package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +45 -0
- package/dist/src/features/swatches/ui/MaterialList/index.js +39 -0
- package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +51 -0
- package/dist/src/features/swatches/ui/ProductElement/index.js +65 -0
- package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +62 -0
- package/dist/src/features/swatches/ui/Swatches.js +51 -0
- package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +67 -0
- package/dist/src/features/swatches/utils/constants.js +8 -0
- package/dist/src/shared/constants/props.js +13337 -0
- package/dist/src/shared/constants/selectedMaterials.js +4 -0
- package/dist/src/shared/types/activeTab.js +7 -0
- package/dist/src/shared/ui/Checkbox/Checkbox.js +31 -0
- package/dist/src/shared/ui/CustomButton/CustomButton.js +16 -0
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +59 -0
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +13 -0
- package/dist/src/shared/ui/Dialog/Dialog.js +81 -0
- package/dist/src/shared/ui/Label/Label.js +27 -0
- package/dist/src/shared/ui/Markdown/MDWithAccordion.js +36 -0
- package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +9 -0
- package/dist/src/shared/ui/MaterialItem/MaterialItem.js +36 -0
- package/dist/src/shared/ui/MultiSelect/MultiSelect.js +150 -0
- package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +35 -0
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +37 -0
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +4 -0
- package/dist/src/shared/ui/Slider/Slider.js +117 -0
- package/dist/src/shared/utils/cn.js +8 -0
- package/dist/src/shared/utils/uniqueList.js +4 -0
- package/package.json +12 -2
- package/dist/assets/SwatchesModule.css +0 -1
- /package/dist/{lib/components → components}/SwatchesModule.d.ts +0 -0
- /package/dist/{lib/main.d.ts → main.d.ts} +0 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import { number as n, boolean as l, booleanish as o, spaceSeparated as e, overloadedBoolean as a, commaSeparated as u } from "./util/types.js";
|
|
2
|
+
import { create as t } from "./util/create.js";
|
|
3
|
+
import { caseInsensitiveTransform as r } from "./util/case-insensitive-transform.js";
|
|
4
|
+
const d = t({
|
|
5
|
+
space: "html",
|
|
6
|
+
attributes: {
|
|
7
|
+
acceptcharset: "accept-charset",
|
|
8
|
+
classname: "class",
|
|
9
|
+
htmlfor: "for",
|
|
10
|
+
httpequiv: "http-equiv"
|
|
11
|
+
},
|
|
12
|
+
transform: r,
|
|
13
|
+
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
|
14
|
+
properties: {
|
|
15
|
+
// Standard Properties.
|
|
16
|
+
abbr: null,
|
|
17
|
+
accept: u,
|
|
18
|
+
acceptCharset: e,
|
|
19
|
+
accessKey: e,
|
|
20
|
+
action: null,
|
|
21
|
+
allow: null,
|
|
22
|
+
allowFullScreen: l,
|
|
23
|
+
allowPaymentRequest: l,
|
|
24
|
+
allowUserMedia: l,
|
|
25
|
+
alt: null,
|
|
26
|
+
as: null,
|
|
27
|
+
async: l,
|
|
28
|
+
autoCapitalize: null,
|
|
29
|
+
autoComplete: e,
|
|
30
|
+
autoFocus: l,
|
|
31
|
+
autoPlay: l,
|
|
32
|
+
blocking: e,
|
|
33
|
+
capture: null,
|
|
34
|
+
charSet: null,
|
|
35
|
+
checked: l,
|
|
36
|
+
cite: null,
|
|
37
|
+
className: e,
|
|
38
|
+
cols: n,
|
|
39
|
+
colSpan: null,
|
|
40
|
+
content: null,
|
|
41
|
+
contentEditable: o,
|
|
42
|
+
controls: l,
|
|
43
|
+
controlsList: e,
|
|
44
|
+
coords: n | u,
|
|
45
|
+
crossOrigin: null,
|
|
46
|
+
data: null,
|
|
47
|
+
dateTime: null,
|
|
48
|
+
decoding: null,
|
|
49
|
+
default: l,
|
|
50
|
+
defer: l,
|
|
51
|
+
dir: null,
|
|
52
|
+
dirName: null,
|
|
53
|
+
disabled: l,
|
|
54
|
+
download: a,
|
|
55
|
+
draggable: o,
|
|
56
|
+
encType: null,
|
|
57
|
+
enterKeyHint: null,
|
|
58
|
+
fetchPriority: null,
|
|
59
|
+
form: null,
|
|
60
|
+
formAction: null,
|
|
61
|
+
formEncType: null,
|
|
62
|
+
formMethod: null,
|
|
63
|
+
formNoValidate: l,
|
|
64
|
+
formTarget: null,
|
|
65
|
+
headers: e,
|
|
66
|
+
height: n,
|
|
67
|
+
hidden: l,
|
|
68
|
+
high: n,
|
|
69
|
+
href: null,
|
|
70
|
+
hrefLang: null,
|
|
71
|
+
htmlFor: e,
|
|
72
|
+
httpEquiv: e,
|
|
73
|
+
id: null,
|
|
74
|
+
imageSizes: null,
|
|
75
|
+
imageSrcSet: null,
|
|
76
|
+
inert: l,
|
|
77
|
+
inputMode: null,
|
|
78
|
+
integrity: null,
|
|
79
|
+
is: null,
|
|
80
|
+
isMap: l,
|
|
81
|
+
itemId: null,
|
|
82
|
+
itemProp: e,
|
|
83
|
+
itemRef: e,
|
|
84
|
+
itemScope: l,
|
|
85
|
+
itemType: e,
|
|
86
|
+
kind: null,
|
|
87
|
+
label: null,
|
|
88
|
+
lang: null,
|
|
89
|
+
language: null,
|
|
90
|
+
list: null,
|
|
91
|
+
loading: null,
|
|
92
|
+
loop: l,
|
|
93
|
+
low: n,
|
|
94
|
+
manifest: null,
|
|
95
|
+
max: null,
|
|
96
|
+
maxLength: n,
|
|
97
|
+
media: null,
|
|
98
|
+
method: null,
|
|
99
|
+
min: null,
|
|
100
|
+
minLength: n,
|
|
101
|
+
multiple: l,
|
|
102
|
+
muted: l,
|
|
103
|
+
name: null,
|
|
104
|
+
nonce: null,
|
|
105
|
+
noModule: l,
|
|
106
|
+
noValidate: l,
|
|
107
|
+
onAbort: null,
|
|
108
|
+
onAfterPrint: null,
|
|
109
|
+
onAuxClick: null,
|
|
110
|
+
onBeforeMatch: null,
|
|
111
|
+
onBeforePrint: null,
|
|
112
|
+
onBeforeToggle: null,
|
|
113
|
+
onBeforeUnload: null,
|
|
114
|
+
onBlur: null,
|
|
115
|
+
onCancel: null,
|
|
116
|
+
onCanPlay: null,
|
|
117
|
+
onCanPlayThrough: null,
|
|
118
|
+
onChange: null,
|
|
119
|
+
onClick: null,
|
|
120
|
+
onClose: null,
|
|
121
|
+
onContextLost: null,
|
|
122
|
+
onContextMenu: null,
|
|
123
|
+
onContextRestored: null,
|
|
124
|
+
onCopy: null,
|
|
125
|
+
onCueChange: null,
|
|
126
|
+
onCut: null,
|
|
127
|
+
onDblClick: null,
|
|
128
|
+
onDrag: null,
|
|
129
|
+
onDragEnd: null,
|
|
130
|
+
onDragEnter: null,
|
|
131
|
+
onDragExit: null,
|
|
132
|
+
onDragLeave: null,
|
|
133
|
+
onDragOver: null,
|
|
134
|
+
onDragStart: null,
|
|
135
|
+
onDrop: null,
|
|
136
|
+
onDurationChange: null,
|
|
137
|
+
onEmptied: null,
|
|
138
|
+
onEnded: null,
|
|
139
|
+
onError: null,
|
|
140
|
+
onFocus: null,
|
|
141
|
+
onFormData: null,
|
|
142
|
+
onHashChange: null,
|
|
143
|
+
onInput: null,
|
|
144
|
+
onInvalid: null,
|
|
145
|
+
onKeyDown: null,
|
|
146
|
+
onKeyPress: null,
|
|
147
|
+
onKeyUp: null,
|
|
148
|
+
onLanguageChange: null,
|
|
149
|
+
onLoad: null,
|
|
150
|
+
onLoadedData: null,
|
|
151
|
+
onLoadedMetadata: null,
|
|
152
|
+
onLoadEnd: null,
|
|
153
|
+
onLoadStart: null,
|
|
154
|
+
onMessage: null,
|
|
155
|
+
onMessageError: null,
|
|
156
|
+
onMouseDown: null,
|
|
157
|
+
onMouseEnter: null,
|
|
158
|
+
onMouseLeave: null,
|
|
159
|
+
onMouseMove: null,
|
|
160
|
+
onMouseOut: null,
|
|
161
|
+
onMouseOver: null,
|
|
162
|
+
onMouseUp: null,
|
|
163
|
+
onOffline: null,
|
|
164
|
+
onOnline: null,
|
|
165
|
+
onPageHide: null,
|
|
166
|
+
onPageShow: null,
|
|
167
|
+
onPaste: null,
|
|
168
|
+
onPause: null,
|
|
169
|
+
onPlay: null,
|
|
170
|
+
onPlaying: null,
|
|
171
|
+
onPopState: null,
|
|
172
|
+
onProgress: null,
|
|
173
|
+
onRateChange: null,
|
|
174
|
+
onRejectionHandled: null,
|
|
175
|
+
onReset: null,
|
|
176
|
+
onResize: null,
|
|
177
|
+
onScroll: null,
|
|
178
|
+
onScrollEnd: null,
|
|
179
|
+
onSecurityPolicyViolation: null,
|
|
180
|
+
onSeeked: null,
|
|
181
|
+
onSeeking: null,
|
|
182
|
+
onSelect: null,
|
|
183
|
+
onSlotChange: null,
|
|
184
|
+
onStalled: null,
|
|
185
|
+
onStorage: null,
|
|
186
|
+
onSubmit: null,
|
|
187
|
+
onSuspend: null,
|
|
188
|
+
onTimeUpdate: null,
|
|
189
|
+
onToggle: null,
|
|
190
|
+
onUnhandledRejection: null,
|
|
191
|
+
onUnload: null,
|
|
192
|
+
onVolumeChange: null,
|
|
193
|
+
onWaiting: null,
|
|
194
|
+
onWheel: null,
|
|
195
|
+
open: l,
|
|
196
|
+
optimum: n,
|
|
197
|
+
pattern: null,
|
|
198
|
+
ping: e,
|
|
199
|
+
placeholder: null,
|
|
200
|
+
playsInline: l,
|
|
201
|
+
popover: null,
|
|
202
|
+
popoverTarget: null,
|
|
203
|
+
popoverTargetAction: null,
|
|
204
|
+
poster: null,
|
|
205
|
+
preload: null,
|
|
206
|
+
readOnly: l,
|
|
207
|
+
referrerPolicy: null,
|
|
208
|
+
rel: e,
|
|
209
|
+
required: l,
|
|
210
|
+
reversed: l,
|
|
211
|
+
rows: n,
|
|
212
|
+
rowSpan: n,
|
|
213
|
+
sandbox: e,
|
|
214
|
+
scope: null,
|
|
215
|
+
scoped: l,
|
|
216
|
+
seamless: l,
|
|
217
|
+
selected: l,
|
|
218
|
+
shadowRootClonable: l,
|
|
219
|
+
shadowRootDelegatesFocus: l,
|
|
220
|
+
shadowRootMode: null,
|
|
221
|
+
shape: null,
|
|
222
|
+
size: n,
|
|
223
|
+
sizes: null,
|
|
224
|
+
slot: null,
|
|
225
|
+
span: n,
|
|
226
|
+
spellCheck: o,
|
|
227
|
+
src: null,
|
|
228
|
+
srcDoc: null,
|
|
229
|
+
srcLang: null,
|
|
230
|
+
srcSet: null,
|
|
231
|
+
start: n,
|
|
232
|
+
step: null,
|
|
233
|
+
style: null,
|
|
234
|
+
tabIndex: n,
|
|
235
|
+
target: null,
|
|
236
|
+
title: null,
|
|
237
|
+
translate: null,
|
|
238
|
+
type: null,
|
|
239
|
+
typeMustMatch: l,
|
|
240
|
+
useMap: null,
|
|
241
|
+
value: o,
|
|
242
|
+
width: n,
|
|
243
|
+
wrap: null,
|
|
244
|
+
writingSuggestions: null,
|
|
245
|
+
// Legacy.
|
|
246
|
+
// See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
|
|
247
|
+
align: null,
|
|
248
|
+
// Several. Use CSS `text-align` instead,
|
|
249
|
+
aLink: null,
|
|
250
|
+
// `<body>`. Use CSS `a:active {color}` instead
|
|
251
|
+
archive: e,
|
|
252
|
+
// `<object>`. List of URIs to archives
|
|
253
|
+
axis: null,
|
|
254
|
+
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
255
|
+
background: null,
|
|
256
|
+
// `<body>`. Use CSS `background-image` instead
|
|
257
|
+
bgColor: null,
|
|
258
|
+
// `<body>` and table elements. Use CSS `background-color` instead
|
|
259
|
+
border: n,
|
|
260
|
+
// `<table>`. Use CSS `border-width` instead,
|
|
261
|
+
borderColor: null,
|
|
262
|
+
// `<table>`. Use CSS `border-color` instead,
|
|
263
|
+
bottomMargin: n,
|
|
264
|
+
// `<body>`
|
|
265
|
+
cellPadding: null,
|
|
266
|
+
// `<table>`
|
|
267
|
+
cellSpacing: null,
|
|
268
|
+
// `<table>`
|
|
269
|
+
char: null,
|
|
270
|
+
// Several table elements. When `align=char`, sets the character to align on
|
|
271
|
+
charOff: null,
|
|
272
|
+
// Several table elements. When `char`, offsets the alignment
|
|
273
|
+
classId: null,
|
|
274
|
+
// `<object>`
|
|
275
|
+
clear: null,
|
|
276
|
+
// `<br>`. Use CSS `clear` instead
|
|
277
|
+
code: null,
|
|
278
|
+
// `<object>`
|
|
279
|
+
codeBase: null,
|
|
280
|
+
// `<object>`
|
|
281
|
+
codeType: null,
|
|
282
|
+
// `<object>`
|
|
283
|
+
color: null,
|
|
284
|
+
// `<font>` and `<hr>`. Use CSS instead
|
|
285
|
+
compact: l,
|
|
286
|
+
// Lists. Use CSS to reduce space between items instead
|
|
287
|
+
declare: l,
|
|
288
|
+
// `<object>`
|
|
289
|
+
event: null,
|
|
290
|
+
// `<script>`
|
|
291
|
+
face: null,
|
|
292
|
+
// `<font>`. Use CSS instead
|
|
293
|
+
frame: null,
|
|
294
|
+
// `<table>`
|
|
295
|
+
frameBorder: null,
|
|
296
|
+
// `<iframe>`. Use CSS `border` instead
|
|
297
|
+
hSpace: n,
|
|
298
|
+
// `<img>` and `<object>`
|
|
299
|
+
leftMargin: n,
|
|
300
|
+
// `<body>`
|
|
301
|
+
link: null,
|
|
302
|
+
// `<body>`. Use CSS `a:link {color: *}` instead
|
|
303
|
+
longDesc: null,
|
|
304
|
+
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
|
305
|
+
lowSrc: null,
|
|
306
|
+
// `<img>`. Use a `<picture>`
|
|
307
|
+
marginHeight: n,
|
|
308
|
+
// `<body>`
|
|
309
|
+
marginWidth: n,
|
|
310
|
+
// `<body>`
|
|
311
|
+
noResize: l,
|
|
312
|
+
// `<frame>`
|
|
313
|
+
noHref: l,
|
|
314
|
+
// `<area>`. Use no href instead of an explicit `nohref`
|
|
315
|
+
noShade: l,
|
|
316
|
+
// `<hr>`. Use background-color and height instead of borders
|
|
317
|
+
noWrap: l,
|
|
318
|
+
// `<td>` and `<th>`
|
|
319
|
+
object: null,
|
|
320
|
+
// `<applet>`
|
|
321
|
+
profile: null,
|
|
322
|
+
// `<head>`
|
|
323
|
+
prompt: null,
|
|
324
|
+
// `<isindex>`
|
|
325
|
+
rev: null,
|
|
326
|
+
// `<link>`
|
|
327
|
+
rightMargin: n,
|
|
328
|
+
// `<body>`
|
|
329
|
+
rules: null,
|
|
330
|
+
// `<table>`
|
|
331
|
+
scheme: null,
|
|
332
|
+
// `<meta>`
|
|
333
|
+
scrolling: o,
|
|
334
|
+
// `<frame>`. Use overflow in the child context
|
|
335
|
+
standby: null,
|
|
336
|
+
// `<object>`
|
|
337
|
+
summary: null,
|
|
338
|
+
// `<table>`
|
|
339
|
+
text: null,
|
|
340
|
+
// `<body>`. Use CSS `color` instead
|
|
341
|
+
topMargin: n,
|
|
342
|
+
// `<body>`
|
|
343
|
+
valueType: null,
|
|
344
|
+
// `<param>`
|
|
345
|
+
version: null,
|
|
346
|
+
// `<html>`. Use a doctype.
|
|
347
|
+
vAlign: null,
|
|
348
|
+
// Several. Use CSS `vertical-align` instead
|
|
349
|
+
vLink: null,
|
|
350
|
+
// `<body>`. Use CSS `a:visited {color}` instead
|
|
351
|
+
vSpace: n,
|
|
352
|
+
// `<img>` and `<object>`
|
|
353
|
+
// Non-standard Properties.
|
|
354
|
+
allowTransparency: null,
|
|
355
|
+
autoCorrect: null,
|
|
356
|
+
autoSave: null,
|
|
357
|
+
disablePictureInPicture: l,
|
|
358
|
+
disableRemotePlayback: l,
|
|
359
|
+
prefix: null,
|
|
360
|
+
property: null,
|
|
361
|
+
results: n,
|
|
362
|
+
security: null,
|
|
363
|
+
unselectable: null
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
export {
|
|
367
|
+
d as html
|
|
368
|
+
};
|