@warp-ds/elements 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ export class UnstyledHeading extends LitElement {
2
+ static properties: {
3
+ level: {
4
+ type: NumberConstructor;
5
+ };
6
+ };
7
+ static styles: import("lit").CSSResult[];
8
+ get _markup(): string;
9
+ render(): import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directive.js").DirectiveResult<typeof import("lit/directives/unsafe-html.js").UnsafeHTMLDirective>;
10
+ }
11
+ import { LitElement } from ".pnpm/lit-element@3.2.2/node_modules/lit-element/lit-element.js";
package/package.json ADDED
@@ -0,0 +1,97 @@
1
+ {
2
+ "name": "@warp-ds/elements",
3
+ "type": "module",
4
+ "version": "1.0.0-alpha.1",
5
+ "description": "Custom elements for Warp",
6
+ "exports": {
7
+ ".": "./dist/index.js",
8
+ "./toast": "./dist/api.js"
9
+ },
10
+ "module": "dist/index.js",
11
+ "files": [
12
+ "dist/"
13
+ ],
14
+ "types": "dist/index.d.ts",
15
+ "scripts": {
16
+ "commit": "cz",
17
+ "build:api": "npx esbuild ./packages/toast/api.js --outdir=dist --target=es2017 --bundle --sourcemap --format=esm --minify",
18
+ "build:npm": "npx esbuild ./index.js --outdir=dist/ --target=es2017 --bundle --sourcemap --format=esm --minify",
19
+ "watch:npm": "npx esbuild ./index.js --outdir=dist/ --target=es2017 --bundle --sourcemap --format=esm --minify --watch",
20
+ "build": "rimraf dist && pnpm run build:elements && tsc && pnpm run build:npm && pnpm run build:api",
21
+ "format": "prettier --write . --ignore-path .gitignore",
22
+ "lint": "npm run lint:format && pnpm run lint:eslint",
23
+ "lint:format": "prettier --check . --ignore-path .gitignore",
24
+ "lint:eslint": "eslint . --ext js,cjs,mjs --ignore-path .gitignore",
25
+ "dev": "vite",
26
+ "build:docs": "vite build && cp CNAME site",
27
+ "eik:login": "eik login",
28
+ "eik:publish": "eik publish",
29
+ "test:mock-backend": "node ./tests/utils/broadcast-backend.js",
30
+ "test:mock-backend:ci": "node ./tests/utils/broadcast-backend.js &",
31
+ "test": "tap ./packages/**/test.js --no-check-coverage",
32
+ "test:snapshot": "TAP_SNAPSHOT=1 tap ./packages/**/test.js --no-check-coverage",
33
+ "semantic-release": "semantic-release",
34
+ "build:elements": "node build-elements.js"
35
+ },
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://github.com/warp-ds/elements.git"
39
+ },
40
+ "license": "Apache-2.0",
41
+ "devDependencies": {
42
+ "@babel/core": "7.20.12",
43
+ "@babel/eslint-parser": "7.19.1",
44
+ "@chbphone55/classnames": "2.0.0",
45
+ "@eik/cli": "^2.0.22",
46
+ "@finn-no/browserslist-config": "3.0.0",
47
+ "@semantic-release/changelog": "6.0.2",
48
+ "@semantic-release/git": "10.0.1",
49
+ "@warp-ds/uno": "^0.0.15",
50
+ "autoprefixer": "10.4.13",
51
+ "cors": "2.8.5",
52
+ "cssnano": "5.1.14",
53
+ "cz-conventional-changelog": "3.3.0",
54
+ "element-collapse": "1.1.0",
55
+ "esbuild": "0.17.6",
56
+ "eslint": "8.33.0",
57
+ "express": "4.18.2",
58
+ "fastify": "4.12.0",
59
+ "lerna": "6.4.1",
60
+ "npm-run-all": "4.1.5",
61
+ "playwright": "1.30.0",
62
+ "postcss": "8.4.21",
63
+ "postcss-import": "15.1.0",
64
+ "postcss-import-svg": "1.0.5",
65
+ "postcss-syntax": "0.36.2",
66
+ "prettier": "2.8.3",
67
+ "rimraf": "3.0.2",
68
+ "semantic-release": "19.0.5",
69
+ "semantic-release-slack-bot": "3.5.3",
70
+ "tap": "16.3.4",
71
+ "typescript": "4.9.5",
72
+ "unocss": "^0.50.4",
73
+ "vite": "3.2.5",
74
+ "vite-plugin-html": "3.2.0"
75
+ },
76
+ "dependencies": {
77
+ "@fabric-ds/icons": "0.6.7",
78
+ "@open-wc/testing": "3.1.7",
79
+ "@warp-ds/component-classes": "1.0.0-alpha.4",
80
+ "@warp-ds/core": "1.0.0-alpha.1",
81
+ "glob": "8.1.0",
82
+ "html-format": "1.0.2",
83
+ "lit": "2.6.1"
84
+ },
85
+ "publishConfig": {
86
+ "access": "public"
87
+ },
88
+ "eik": {
89
+ "server": "https://assets.finn.no",
90
+ "files": "dist"
91
+ },
92
+ "config": {
93
+ "commitizen": {
94
+ "path": "./node_modules/cz-conventional-changelog"
95
+ }
96
+ }
97
+ }