carbon-components-svelte/package.json
Eric Liu 5fad0cb3c7
Alignment with Carbon version 10.31 (#571)
* chore(deps-dev): upgrade carbon-components to v10.31.0

* fix(slider): use CSS to hide input if hideTextInput is true

* docs(slider): add hidden text input, invalid, disabled examples

* feat(tabs): support "container" type for TabsSkeleton

* chore(list-box): remove hotfix inline style to center dropdown chevron

* fix(number-input): use add, subtract icons and update markup

* feat(select): add warning state

* docs(select): add invalid state example

* docs(select): add helper text example

* fix(structured-list): add "rowgroup" role to StructuredListBody

* docs: release code snippet max-width

* docs(select): add skeleton hidden label example

* feat(popover): add Popover component

* feat(pagination): dispatch button click events to be consistent with PaginationNav

* fix(multi-select): type clear as a custom event

* docs(radio-button): add disabled buttons example

* chore(tabs): use absolute icon import

* fix(link): remove line breaks within anchor link

* docs(radio-button): adjust section copy verbiage

* chore(deps-dev): upgrade carbon-icons-svelte to v10.27

v10.27 uses the SvelteComponentTyped interface

* docs(accordion): adjust section title verbiage

* test(types): fix warnings from svelte-check

* fix(search): only set autofocus attribute if equals true

* feat(popover): add closeOnOutsideClick prop

* docs: style [data-outline] as relative positioned

* feat(context-menu): add initial ContextMenu

* feat(context-menu): annotate props, generate types

* feat(context-menu): add initial focus logic

* fix(context-menu): correctly tab in/out of nested menus

* chore(context-menu): update types

* fix(context-menu): obtain radio id from node directly

* docs(context-menu): add examples and test

* fix(context-menu): prevent default keydown behavior
2021-03-20 10:39:14 -07:00

86 lines
2.1 KiB
JSON

{
"name": "carbon-components-svelte",
"version": "0.30.0",
"license": "Apache-2.0",
"author": "IBM",
"description": "Svelte implementation of the Carbon Design System",
"svelte": "./src/index.js",
"main": "./lib/index.js",
"module": "./lib/index.mjs",
"types": "./types/index.d.ts",
"sideEffects": [
"css/*.css"
],
"scripts": {
"test": "run-p test:*",
"test:types": "svelte-check --workspace tests",
"test:preprocess": "node tests/preprocess",
"build:css": "node scripts/build-css",
"build:api": "node scripts/build-api",
"build:lib": "rollup -c",
"prepack": "run-p build:*",
"format": "prettier --write './**/*.{svelte,js,md}'",
"publish-examples": "node scripts/publish-examples"
},
"dependencies": {
"carbon-icons-svelte": "^10.27.0",
"flatpickr": "4.6.9"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"@tsconfig/svelte": "^1.0.10",
"autoprefixer": "^10.2.4",
"carbon-components": "10.31.0",
"gh-pages": "^3.1.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.4",
"prettier": "^2.2.1",
"prettier-plugin-svelte": "^2.1.5",
"rollup": "^2.38.4",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.32.6",
"sveld": "^0.7.0",
"svelte": "^3.32.1",
"svelte-check": "^1.1.32",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{svelte,md,js,json}": [
"prettier --write"
]
},
"prettier": {
"svelteStrictMode": true,
"svelteBracketNewLine": true
},
"repository": {
"type": "git",
"url": "https://github.com/IBM/carbon-components-svelte.git"
},
"homepage": "https://github.com/IBM/carbon-components-svelte",
"bugs": "https://github.com/IBM/carbon-components-svelte/issues",
"keywords": [
"carbon",
"carbon components",
"svelte",
"component library",
"carbon design system"
],
"files": [
"lib",
"src",
"types",
"css",
"preprocess",
"actions"
]
}