Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fabric-ds/css

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fabric-ds/css - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

src/utils/component-classes/index.d.ts

79

package.json
{
"name": "@fabric-ds/css",
"version": "1.1.1",
"description": "Fabric CSS core components and utilities",
"version": "1.1.2",
"files": [
"dist"
"dist",
"src/utils/tailwind",
"src/utils/component-classes"
],
"style": "dist/fabric.min.css",
"exports": {
".": "./dist/fabric.min.css",
"./tailwind-config": "./src/utils/tailwind/tailwind.config.js",
"./component-classes": "./src/utils/component-classes/index.js"
},
"typesVersions": {
"*": {
"./component-classes": [
"src/utils/component-classes/index.d.ts"
]
}
},
"scripts": {
"preversion": "eik login",
"prepublish": "yarn build",
"postpublish": "eik publish && eik package-alias @fabric-ds/css",
"build": "NODE_ENV=production postcss src/fabric.css --o dist/fabric.min.css",
"postbuild": "./scripts/replaceTailwindVariables.mjs"
"eik:login": "npx @eik/cli login",
"eik:publish": "npx @eik/cli publish",
"eik:alias": "eik package-alias @fabric-ds/css",
"build": "NODE_ENV=production postcss src/fabric.css --o dist/fabric.min.css && tsc",
"postbuild": "./src/scripts/replaceTailwindVariables.mjs && ./src/scripts/reportSizes.mjs",
"dev": "vite",
"docs": "vite build && cp CNAME site",
"docs:deploy": "npm run docs && gh-pages -d site",
"format": "prettier --write . --ignore-path .gitignore",
"lint": "prettier --check . --ignore-path .gitignore",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/fabric-ds/css.git"
},
"publishConfig": {

@@ -22,10 +46,45 @@ "registry": "https://registry.npmjs.org/",

"devDependencies": {
"@eik/cli": "^2.0.0-next.6",
"@fabric-ds/icons": "^0.3.8",
"@fabric-ds/tailwind-config": "^0.5.32"
"@fabric-ds/tailwind-config": "^0.5.32",
"@finn-no/browserslist-config": "^3.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@tailwindcss/aspect-ratio": "^0.4.0",
"autoprefixer": "^10.1.0",
"brotli-size": "^4.0.0",
"cssnano": "^5.0.8",
"cz-conventional-changelog": "^3.3.0",
"filesize": "^8.0.3",
"gh-pages": "^3.1.0",
"glob": "^7.1.6",
"html-format": "^1.0.1",
"lit-element": "^3.0.0",
"postcss": "^8.2.6",
"postcss-cli": "^9.0.1",
"postcss-import": "^14.0.0",
"postcss-import-svg": "^1.0.4",
"postcss-preset-env": "^7.4.3",
"prettier": "^2.2.1",
"pretty-bytes": "^5.5.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2",
"semantic-release-slack-bot": "^3.5.2",
"tailwindcss": "^2.0.3",
"typescript": "^4.6.3",
"vite": "^2.6.2",
"vite-plugin-html": "^2.0.0-rc.3"
},
"eik": {
"server": "https://assets.finn.no",
"files": "dist"
"files": {
"fabric.min.css": "./dist/fabric.min.css"
}
},
"gitHead": "17fdc3eb53a22b1d0928cae44f87360577bf60fa"
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"gitHead": "7b7391f45aa2c2256f0ca89ff2d5133ec34bda9c"
}

@@ -13,3 +13,3 @@ # Fabric CSS

```html
<link href="https://assets.finn.no/pkg/@fabric-ds/css/v0/fabric.min.css" rel="stylesheet" />
<link href="https://assets.finn.no/pkg/@fabric-ds/css/v1/fabric.min.css" rel="stylesheet" />
```

@@ -22,1 +22,40 @@

```
## Development
Install dependencies:
```sh
npm install
```
Start a dev server:
```sh
npm run dev
```
Changes to to either the CSS, Tailwind configuration or the HTML files should hot reload.
## Releases
This project uses [Semantic Release](https://github.com/semantic-release/semantic-release) to automate package
publishing when making changes to the `main` or `next` branch.
It is recommended to branch off the `next` branch and follow
[conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) when making changes. When your
changes are ready for pull request, this should be opened against the `next` branch.
[Read more in-depth about Fabric Releases here](https://github.com/fabric-ds/issues/blob/779d59723993c13d62374516259602d967da56ca/rfcs/0004-releases.md).
Please note that the version published will depend on your commit message structure. We use
[commitizen](https://github.com/commitizen/cz-cli) to help follow this structure:
```
npm install -g commitizen
```
When installed, you should be able to type `cz` or `git cz` in your terminal to commit your changes (replacing
`git commit`).
[![Add and commit with Commitizen](https://github.com/commitizen/cz-cli/raw/master/meta/screenshots/add-commit.png)](https://github.com/commitizen/cz-cli/raw/master/meta/screenshots/add-commit.png)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc