@modulz/primitives
Advanced tools
Comparing version
@@ -57,3 +57,5 @@ import React from 'react'; | ||
type: 'option'; | ||
item: Item; | ||
item: Item & { | ||
index: number; | ||
}; | ||
isInGroup?: boolean; | ||
@@ -60,0 +62,0 @@ } | { |
@@ -51,3 +51,3 @@ import React from 'react'; | ||
} & import("@modulz/radix-system").SpaceSetProps & import("@modulz/radix-system").SxProp & { | ||
orientation?: "horizontal" | "vertical" | undefined; | ||
orientation?: TabsProps['orientation']; | ||
tabsStyles?: PartStyles<""> | undefined; | ||
@@ -54,0 +54,0 @@ }, "data-part-id">; |
@@ -1,97 +0,1 @@ | ||
{ | ||
"name": "@modulz/primitives", | ||
"version": "0.0.1-39", | ||
"description": "Accessible and customisable primitives for the web", | ||
"author": "Pedro Duarte <pedro@modulz.app>", | ||
"main": "dist/index.js", | ||
"module": "dist/index.es.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"types": "dist/index.d.ts", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"storybook": "start-storybook -p 9009 --ci", | ||
"build-storybook": "build-storybook", | ||
"build": "rollup -c", | ||
"watch": "rollup -cw", | ||
"test": "CI=true yarn test:unit", | ||
"test:ci": "yarn test:unit && yarn test:integration", | ||
"test:unit": "yarn jest", | ||
"test:integration": "yarn cypress", | ||
"jest": "is-ci jest:run jest:dev", | ||
"jest:dev": "jest --watch", | ||
"jest:run": "jest", | ||
"cypress": "start-server-and-test storybook http://localhost:9009 \"is-ci cypress:run cypress:dev\"", | ||
"cypress:dev": "cypress open", | ||
"cypress:run": "cypress run", | ||
"lint": "eslint './**/*.{js,jsx,ts,tsx}'", | ||
"prettier": "prettier './**/*.{js,jsx,ts,tsx,json,yml,yaml,css,md}' --write", | ||
"prepublishOnly": "yarn build" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"styled-components": "^5.1.0" | ||
}, | ||
"dependencies": { | ||
"@modulz/radix-icons": "2.1.0", | ||
"@modulz/radix-system": "0.0.1-alpha.11", | ||
"aria-hidden": "^1.1.1", | ||
"body-scroll-lock": "^2.6.4", | ||
"focus-options-polyfill": "^1.4.0", | ||
"lodash.merge": "^4.6.2", | ||
"lodash.omit": "^4.5.0", | ||
"lodash.pick": "^4.4.0", | ||
"react-is": "^16.12.0", | ||
"react-transition-group": "^4.3.0", | ||
"resize-observer-polyfill": "^1.5.1", | ||
"tabbable": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@storybook/addon-docs": "5.3.18", | ||
"@storybook/preset-create-react-app": "2.1.1", | ||
"@storybook/react": "5.3.18", | ||
"@testing-library/jest-dom": "^5.5.0", | ||
"@testing-library/react": "^9.4.0", | ||
"@types/body-scroll-lock": "^2.6.1", | ||
"@types/jest": "^25.2.1", | ||
"@types/lodash.merge": "^4.6.6", | ||
"@types/lodash.omit": "^4.5.6", | ||
"@types/lodash.pick": "^4.4.6", | ||
"@types/node": "^13.13.2", | ||
"@types/react": "^16.9.32", | ||
"@types/react-dom": "^16.9.5", | ||
"@types/react-is": "^16.7.1", | ||
"@types/react-transition-group": "^4.2.4", | ||
"@types/styled-components": "^5.0.1", | ||
"@types/tabbable": "^3.1.0", | ||
"csstype": "^2.6.9", | ||
"is-ci-cli": "^2.0.0", | ||
"jest": "^25.2.1", | ||
"lint-staged": "^10.0.7", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0", | ||
"react-scripts": "3.4.1", | ||
"rollup": "^1.31.1", | ||
"rollup-plugin-execute": "^1.1.1", | ||
"rollup-plugin-typescript2": "^0.26.0", | ||
"start-server-and-test": "^1.10.8", | ||
"styled-components": "^5.1.0", | ||
"ts-jest": "^25.2.0", | ||
"typescript": "3.8.3" | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,ts,tsx}": [ | ||
"eslint --fix", | ||
"prettier --write", | ||
"git add" | ||
], | ||
"*.{md,json}": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
} | ||
} | ||
{"name":"@modulz/primitives","version":"0.0.1-40","description":"Accessible and customisable primitives for the web","author":"Pedro Duarte <pedro@modulz.app>","main":"dist/index.js","module":"dist/index.es.js","files":["dist"],"types":"dist/index.d.ts","publishConfig":{"access":"public"},"scripts":{"storybook":"start-storybook -p 9009 --ci","build-storybook":"build-storybook","build":"rollup -c","watch":"rollup -cw","test":"CI=true yarn test:unit","test:ci":"yarn test:unit && yarn test:integration","test:unit":"yarn jest","test:integration":"yarn cypress","jest":"is-ci jest:run jest:dev","jest:dev":"jest --watch","jest:run":"jest","cypress":"start-server-and-test storybook http://localhost:9009 \"is-ci cypress:run cypress:dev\"","cypress:dev":"cypress open","cypress:run":"cypress run","lint":"eslint './**/*.{js,jsx,ts,tsx}'","prettier":"prettier './**/*.{js,jsx,ts,tsx,json,yml,yaml,css,md}' --write","release":"yarn build && node scripts/customRelease.js && prettier './package.json' --write"},"peerDependencies":{"react":"^16.13.1","react-dom":"^16.13.1","styled-components":"^5.1.0"},"dependencies":{"@modulz/radix-icons":"2.4.0","@modulz/radix-system":"0.0.1-alpha.11","aria-hidden":"^1.1.1","body-scroll-lock":"^2.6.4","focus-options-polyfill":"^1.4.0","lodash.merge":"^4.6.2","lodash.omit":"^4.5.0","lodash.pick":"^4.4.0","react-is":"^16.12.0","react-transition-group":"^4.3.0","resize-observer-polyfill":"^1.5.1","tabbable":"^4.0.0"},"devDependencies":{"@storybook/addon-docs":"5.3.18","@storybook/preset-create-react-app":"2.1.1","@storybook/react":"5.3.18","@testing-library/jest-dom":"^5.5.0","@testing-library/react":"^9.4.0","@types/body-scroll-lock":"^2.6.1","@types/jest":"^25.2.1","@types/lodash.merge":"^4.6.6","@types/lodash.omit":"^4.5.6","@types/lodash.pick":"^4.4.6","@types/node":"^13.13.2","@types/react":"^16.9.32","@types/react-dom":"^16.9.5","@types/react-is":"^16.7.1","@types/react-transition-group":"^4.2.4","@types/styled-components":"^5.1.0","@types/tabbable":"^3.1.0","chalk":"^4.0.0","csstype":"^2.6.9","inquirer":"^7.1.0","is-ci-cli":"^2.0.0","jest":"^25.2.1","lint-staged":"^10.0.7","react":"^16.12.0","react-dom":"^16.12.0","react-scripts":"3.4.1","rollup":"^1.31.1","rollup-plugin-execute":"^1.1.1","rollup-plugin-typescript2":"^0.26.0","semver":"^7.3.2","start-server-and-test":"^1.10.8","styled-components":"^5.1.0","ts-jest":"^25.2.0","typescript":"3.9.2"},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix","prettier --write","git add"],"*.{md,json}":["prettier --write","git add"]}} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
852013
1.25%13410
2.09%34
9.68%+ Added
- Removed
Updated