carbon-components-svelte/package.json
Eric Liu 1b234ca2e3
Alignment with Carbon version 10.30 (#559)
* feat(toolbar): forward "clear" event in ToolbarSearch

* docs(search): add on:clear example

* fix(ui-shell): set aria-hidden in SideNav

Ref c2b4f1f00

* chore(deps-dev): upgrade carbon-components to v10.30.0

* fix(text-input): use bx--text-input class for TextInputSkeleton

* fix(radio-button): only render span if labelText is truthy

* docs(password-input): add custom tooltip example

* feat(button): add isSelected prop for icon-only, ghost buttons

* feat(radio-button): add legendText prop to RadioButtonGroup

* docs(tag): add filterable (disabled) variant

* feat(tag): add interactive prop

* chore(number-input): deprecate the mobile variant

Mobile variant styles will no longer work.

* feat(button): set aria-pressed attribute if icon-only, ghost button is selected

* fix(multi-select): type dispatched select event

* fix(button): remove redundant "button" role

* feat(icon): deprecate Icon, IconSkeleton

* feat(ui-shell): make SideNavMenuItem text slottable

* fix(list-box): update styles for ListBoxSelection

* fix(list-box): temporarily apply override styles to ListBoxMenuIcon for chevron

* fix(tag): set disabled prop on interactive tag

* docs(button): extract selected, icon-only button example

* feat(tooltip): elevate z-index of tooltip when open

* feat: forward restProps to input element

* fix(types): fix TimePicker test to pass svelte-check

* feat: add ImageLoader component

* test: add ImageLoader

* feat: add LocalStorage component

* test(local-storage): fix invalid file

* chore(docs): use green tag type
2021-03-13 14:53:37 -08:00

86 lines
2.1 KiB
JSON

{
"name": "carbon-components-svelte",
"version": "0.29.2",
"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.21.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.30.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"
]
}