mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 11:11:25 +00:00
* feat(code-snippet): add copy functionality - docs: add custom feedback copy text example * feat(tile): support disabled state for SelectableTile, RadioTile Closes #539 * build(rollup): add clipboard-copy to globals * feat(copy-button): add copy functionality * feat(content-switcher): deprecate the light prop - docs: remove the light variant example * fix(toolbar-search): remove outer div * feat(search): add searchClass prop * fix(composed-modal): set hasScrollingContent class on ModalBody * docs(data-table): add expandable size examples * feat(tooltip): add TooltipFooter component * fix(time-picker): correctly display invalidText * feat(breadcrumb): support overflow menu * feat(multi-select): export inputRef prop * chore(deps-dev): upgrade carbon-components to v10.32.0 * feat(form): add noMargin prop to FormGroup * docs(tooltip): document TooltipFooter * feat(context-menu): support danger kind for ContextMenuOption * feat(data-table): support rendering empty table header in skeleton * refactor(types): use shorter import path in DataTableSkeleton * feat(data-table): allow sorting to be disabled for a specific header * docs(data-table): update example to desort the Protocol header As an example, it makes more sense because all the values ("http") are the same. * fix(context-menu): set initial y offset of context menu based on window height #577 * fix(context-menu): render submenu based on viewport constraints #577
87 lines
2.2 KiB
JSON
87 lines
2.2 KiB
JSON
{
|
|
"name": "carbon-components-svelte",
|
|
"version": "0.31.1",
|
|
"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",
|
|
"clipboard-copy": "3.2.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.32.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"
|
|
]
|
|
}
|