UNPKG

wix-style-react

Version:
337 lines • 13 kB
{ "name": "wix-style-react", "description": "wix-style-react", "version": "10.173.4", "main": "./dist/src/index.js", "module": "./dist/es/src/index.js", "types": "dist/types/index.d.ts", "browser": { "./index.st.css": "./index.es.st.css" }, "sideEffects": [ "./.storybook/**/*.*", "./stories/**/*.*" ], "files": [ "dist", "themes", "AtlasAddressInput", "scripts", "setup", "index.st.css", "index.es.st.css" ], "wix": { "artifact": { "groupId": "com.wixpress.restaurants", "artifactId": "wix-style-react" }, "validations": {}, "loki": { "enable": false } }, "scripts": { "---postinstall": "", "postinstall": "node ./scripts/postinstall.js", "------shared prebuilds (try to make them in watch mode)": "", "storybook:build": "STORYBOOK_BUILD=true NODE_OPTIONS=--max_old_space_size=4096 build-storybook -c ./.storybook/docs --quiet --output-dir storybook-internal/storybook", "storybook:build:publish": "npm run storybook:build && cp ./docs/internal_landing/index.html ./storybook-internal", "------new components generators": "", "generate": "wuf generate --output src --codemods .wuf/generator/codemods --templates .wuf/generator/templates && npm run update-components && git add . -A", "------start/watch modes (can also be used for testing against start)": "", "start": "./scripts/npm-start.sh", "storybook": "start-storybook -p 6006 -c ./.storybook/docs", "storybook:visual": "start-storybook -c ./.storybook/visual -p 6007", "storybook:visual:dashboard": "start-storybook -c ./.storybook/visual-theme-dashboard -p 6008", "storybook:visual:new-branding": "start-storybook -c ./.storybook/visual-new-branding -p 6009", "storybook:visual:theme-brand": "start-storybook -c ./.storybook/visual-theme-brand -p 6012", "storybook:visual:tokens:default": "start-storybook -c ./.storybook/visual-tokens-default -p 6013", "storybook:visual:tokens:studio": "start-storybook -c ./.storybook/visual-tokens-studio -p 6014", "storybook:e2e": "start-storybook -c ./.storybook/e2e -p 6010", "storybook:public": "start-storybook -c ./.storybook/public -p 6011", "------sled": "", "storybook:visual:build": "NODE_OPTIONS=--max_old_space_size=4096 build-storybook -c ./.storybook/visual --output-dir storybook-visual-static", "storybook:visual:dashboard:build": "build-storybook -c ./.storybook/visual-theme-dashboard --output-dir storybook-visual-dashboard-static", "storybook:visual:newbranding:build": "build-storybook -c ./.storybook/visual-new-branding --output-dir storybook-visual-new-branding-static", "storybook:visual:theme-brand:build": "build-storybook -c ./.storybook/visual-theme-brand --output-dir storybook-visual-theme-brand-static", "storybook:visual:tokens:default:build": "build-storybook -c ./.storybook/visual-tokens-default --output-dir storybook-visual-tokens-default-static", "storybook:visual:tokens:studio:build": "build-storybook -c ./.storybook/visual-tokens-studio --output-dir storybook-visual-tokens-studio-static", "storybook:e2e:build": "build-storybook -c ./.storybook/e2e --output-dir storybook-e2e-static", "cleanup-statics": "./scripts/cleanup-visual-test-statics.sh", "------test": "", "test": "echo 1", "test:unit": "NODE_ICU_DATA=node_modules/full-icu TZ=UTC jest -c config/jest-components.config.js", "test:compliance": "NODE_OPTIONS=--max-old-space-size=4096 jest -c config/jest-compliance.config.js", "test:watch": "npm run test:unit -- --watch --maxWorkers=25%", "test:visual": "npx sled-test-runner remote", "test:visual:dashboard": "npm run storybook:visual:dashboard:build && npx sled-test-runner remote --config sled-dashboard.json", "test:visual:new-branding": "npx sled-test-runner remote --config sled-newbranding.json", "test:visual:theme-brand": "npm run storybook:visual:theme-brand:build && npx sled-test-runner remote --config sled-themebrand.json", "test:visual:tokens:default": "npx sled-test-runner remote --config sled-tokens-default.json", "test:visual:tokens:studio": "npx sled-test-runner remote --config sled-tokens-studio.json", "test:e2e": "npx sled-test-runner remote --config sled-e2e.json", "test:visual:all": "npm run test:visual && npm run test:visual:dashboard && npm run test:visual:new-branding", "test:dependencies": "node ../../scripts/validateDependencies.mjs", "test:testkits-exports": "node ./scripts/test-testkits/test-testkits.mjs", "test:types": "tsc -p tsconfig.declarations.json", "------build steps": "", "build": "npm run update-components && node ./scripts/transpile/index.js", "update-components": ".wuf/update-components.sh", "lint": "yoshi-library lint", "lint:fix": "yoshi-library lint --fix", "lint:style": "stylelint \"src/**/*.css\"", "lint:style:fix": "npm run lint:style -- --fix", "storybook:public:build": "STORYBOOK_BUILD=true build-storybook -c ./.storybook/public --output-dir storybook-static-public" }, "license": "MIT", "bugs": { "url": "https://github.com/wix-private/wix-design-systems-legacy/issues" }, "homepage": "https://github.com/wix-private/wix-design-systems-legacy#readme", "peerDependencies": { "@wix/ambassador": "^4.0.485", "@wix/ambassador-wix-atlas-service-web": "^1.0.150", "puppeteer": "^5.5.0 || ^14.0.0", "puppeteer-core": "^10.1.0 || ^14.0.0", "react": "^16.14.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@wix/ambassador": { "optional": true }, "@wix/ambassador-wix-atlas-service-web": { "optional": true } }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "dependencies": { "@babel/runtime": "^7.28.4", "@react-aria/focus": "^3.21.2", "@wix/design-system-tokens": "1.57.0", "@wix/wix-ui-icons-common": "^3.102.0", "@wix/wix-ui-test-utils": "^1.3.4", "chart.js": "^2.9.4", "classnames": "^2.5.1", "color": "^2.0.1", "css-element-queries": "^1.2.3", "d3-array": "^2.12.1", "d3-axis": "^2.1.0", "d3-ease": "^2.0.0", "d3-format": "^2.0.0", "d3-scale": "^3.3.0", "d3-selection": "^2.0.0", "d3-shape": "^2.1.0", "d3-transition": "^2.0.0", "date-fns": "^2.30.0", "difference": "^1.0.2", "draft-convert": "^2.1.13", "draft-js": "^0.11.7", "draft-js-export-html": "^1.4.1", "framer-motion": "6.2.4", "gradient-parser": "^1.1.1", "hoist-non-react-methods": "^1.1.0", "howler": "^2.2.4", "lodash": "^4.17.21", "omit": "^1.0.1", "popper.js": "^1.16.1", "prop-types": "^15.8.1", "rc-slider": "9.7.2", "react-chartjs-2": "^2.11.2", "react-day-picker": "^7.4.10", "react-dnd": "^11.1.3", "react-dnd-test-backend": "^11.1.3", "react-dnd-touch-backend": "^11.1.3", "react-modal": "^3.16.3", "react-popper": "^1.3.11", "react-scroll-sync": "0.11.0", "react-slick": "^0.31.0", "react-transition-group": "^4.4.5", "react-window": "^1.8.11", "shallowequal": "^1.1.0", "tslib": "^2.8.1", "wix-design-systems-locale-utils": "^1.177.0" }, "devDependencies": { "@babel/cli": "^7.28.3", "@babel/core": "^7.28.5", "@babel/parser": "^7.28.5", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-export-namespace-from": "^7.18.9", "@babel/plugin-transform-modules-commonjs": "^7.27.1", "@babel/plugin-transform-runtime": "^7.28.5", "@babel/preset-env": "^7.28.5", "@babel/preset-react": "^7.28.5", "@babel/register": "^7.28.3", "@storybook/addon-essentials": "^6.5.16", "@storybook/addon-google-analytics": "^6.2.9", "@storybook/addon-links": "^6.5.16", "@storybook/addons": "^6.5.16", "@storybook/builder-webpack5": "^6.5.16", "@storybook/core": "^6.5.16", "@storybook/manager-webpack5": "^6.5.16", "@stylable/cli": "^5.19.0", "@stylable/core": "^5.19.0", "@stylable/jest": "^5.19.0", "@stylable/module-utils": "^5.19.0", "@stylable/node": "^5.19.0", "@stylable/runtime": "^5.19.0", "@stylable/webpack-plugin": "^5.19.0", "@testing-library/dom": "^9.3.4", "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^3.7.0", "@types/color": "^2.0.5", "@types/howler": "^2.2.12", "@types/jest": "^27.5.2", "@types/lodash": "^4.17.20", "@types/node": "^18.19.130", "@types/react": "^18.3.26", "@types/react-dom": "^18.3.7", "@types/react-transition-group": "^4.4.12", "@wix/ambassador": "^4.0.610", "@wix/ambassador-testkit": "5.0.349", "@wix/ambassador-wix-atlas-service-web": "1.0.191", "@wix/babel-preset-yoshi": "^6.162.0", "@wix/ci-build-info": "^1.0.326", "@wix/janet": "^1.0.243", "@wix/react-autodocs-utils": "^3.12.4", "@wix/sled-test-runner": "^2.0.481", "@wix/unidriver-jsdom-react": "^1.4.7", "@wix/wix-storybook-playground": "^1.0.10", "@wix/wix-storybook-utils": "^4.3.9", "@wix/yoshi-flow-library": "^6.162.0", "axe-core": "^4.11.0", "babel-loader": "^8.4.1", "babel-plugin-dynamic-import-node": "^2.3.3", "boxen": "^7.1.1", "browserify-fs": "^1.0.0", "chalk": "^5.6.2", "codemirror": "^5.65.20", "copy": "^0.3.2", "copyfiles": "^2.4.1", "core-js": "^2.6.12", "detect-port": "^1.6.1", "esbuild": "^0.25.12", "eslint": "^7.32.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-stylable": "^5.19.0", "eslint-plugin-wix-components-library": "^1.0.4", "execa": "^5.1.1", "full-icu": "^1.5.0", "fuse.js": "^6.6.2", "globby": "^11.1.0", "identity-obj-proxy": "^3.0.0", "jest": "^27.5.1", "jest-canvas-mock": "^2.5.2", "jest-environment-jsdom": "^27.5.1", "jest-environment-node": "^27.5.1", "node-fetch": "^2.7.0", "path-browserify": "^1.0.1", "postcss": "^8.5.6", "prettier": "^2.8.8", "progress": "^2.0.3", "raw-loader": "^4.0.2", "react": "^18.3.1", "react-codemirror-runmode": "^1.0.5", "react-dom": "^18.3.1", "react-ga4": "^1.4.1", "react-hook-form": "^7.66.0", "react-markdown": "^8.0.7", "react-syntax-highlighter": "^15.6.6", "react-test-renderer": "^16.14.0", "regenerator-runtime": "^0.14.1", "rehype-raw": "^6.1.1", "remark-gfm": "^3.0.1", "rimraf": "^2.7.1", "sinon": "^1.17.7", "storybook-addon-rtl-direction": "^0.0.19", "storybook-snapper": "^1.0.67", "stream-browserify": "^3.0.0", "stylelint": "^16.25.0", "stylelint-no-unsupported-browser-features": "^8.0.5", "ts-jest": "^27.1.5", "ts-node": "^10.9.2", "typescript": "^5.9.3", "use-debounce": "^4.0.0", "webpack": "^5.102.1", "wix-eventually": "^2.3.0", "wix-storybook-config": "^1.0.2", "wix-ui-framework": "^3.7.11", "wixds-storybook-utils": "^1.1.0" }, "eslintConfig": { "extends": [ "@wix/eslint-config-yoshi", "plugin:stylable/recommended" ], "plugins": [ "eslint-plugin-wix-components-library" ], "rules": { "@typescript-eslint/member-delimiter-style": 0, "@typescript-eslint/no-redeclare": 0, "@typescript-eslint/no-unused-vars": 0, "@typescript-eslint/prefer-ts-expect-error": 0, "array-callback-return": 0, "curly": 0, "dot-notation": 0, "import/no-extraneous-dependencies": 0, "import/no-unresolved": 0, "import/no-useless-path-segments": 0, "jest/no-disabled-tests": 0, "jsx-a11y/accessible-emoji": 0, "jsx-a11y/alt-text": 0, "jsx-a11y/anchor-is-valid": 0, "jsx-a11y/aria-props": 0, "jsx-a11y/role-supports-aria-props": 0, "no-cond-assign": 0, "no-eval": 0, "no-extra-boolean-cast": 0, "no-loop-func": 0, "no-restricted-syntax": 0, "no-return-await": 0, "no-shadow": 0, "no-undef-init": 0, "no-unused-vars": 0, "no-useless-concat": 0, "no-useless-escape": 0, "prefer-promise-reject-errors": 0, "radix": 0, "react-hooks/exhaustive-deps": 2, "react/forbid-foreign-prop-types": 0, "react/no-find-dom-node": 0, "react/no-string-refs": 0, "wix-components-library/prop-types-restrict-to-default-import": 2, "prettier/prettier": [ "warn", { "arrowParens": "avoid", "singleQuote": true, "trailingComma": "all" } ] }, "overrides": [ { "files": [ "**/*.uni.driver.js" ], "rules": { "no-restricted-imports": [ "error", { "patterns": [ "*.st.css" ] } ] } } ] }, "falconPackageHash": "2e5293d3dcf3409ae09d127e13555d935edffce055eb9c327269800a" }