@warp-ds/elements 2.0.0-next.2 → 2.0.0-next.4
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.
- package/dist/api.js +3 -6
- package/dist/api.js.map +1 -1
- package/dist/index.js +519 -603
- package/dist/index.js.map +4 -4
- package/dist/packages/affix/index.d.ts +13 -6
- package/dist/packages/affix/index.js +66 -113
- package/dist/packages/affix/index.js.map +4 -4
- package/dist/packages/alert/index.js +48 -114
- package/dist/packages/alert/index.js.map +3 -3
- package/dist/packages/attention/index.js +147 -179
- package/dist/packages/attention/index.js.map +4 -4
- package/dist/packages/badge/index.js +27 -77
- package/dist/packages/badge/index.js.map +4 -4
- package/dist/packages/box/index.d.ts +1 -1
- package/dist/packages/box/index.js +26 -68
- package/dist/packages/box/index.js.map +4 -4
- package/dist/packages/breadcrumbs/index.js +42 -103
- package/dist/packages/breadcrumbs/index.js.map +3 -3
- package/dist/packages/broadcast/index.js +2 -6
- package/dist/packages/broadcast/index.js.map +1 -1
- package/dist/packages/button/index.d.ts +6 -0
- package/dist/packages/button/index.js +101 -156
- package/dist/packages/button/index.js.map +3 -3
- package/dist/packages/card/index.d.ts +5 -5
- package/dist/packages/card/index.js +1462 -96
- package/dist/packages/card/index.js.map +4 -4
- package/dist/packages/card/locales/da/messages.d.mts +1 -0
- package/dist/packages/card/locales/en/messages.d.mts +1 -0
- package/dist/packages/card/locales/fi/messages.d.mts +1 -0
- package/dist/packages/card/locales/nb/messages.d.mts +1 -0
- package/dist/packages/expandable/index.d.ts +1 -6
- package/dist/packages/expandable/index.js +104 -135
- package/dist/packages/expandable/index.js.map +4 -4
- package/dist/packages/modal/index.js +51 -119
- package/dist/packages/modal/index.js.map +3 -3
- package/dist/packages/modal/modal-header.d.ts +1 -1
- package/dist/packages/modal/modal-main.d.ts +3 -3
- package/dist/packages/pill/index.js +53 -119
- package/dist/packages/pill/index.js.map +3 -3
- package/dist/packages/select/index.d.ts +9 -0
- package/dist/packages/select/index.js +90 -155
- package/dist/packages/select/index.js.map +3 -3
- package/dist/packages/textfield/index.d.ts +9 -5
- package/dist/packages/textfield/index.js +54 -89
- package/dist/packages/textfield/index.js.map +4 -4
- package/dist/packages/toast/api.d.ts +1 -1
- package/dist/packages/toast/index.js +118 -195
- package/dist/packages/toast/index.js.map +4 -4
- package/dist/packages/toast/toast-container.d.ts +1 -1
- package/dist/packages/toast/toast.d.ts +1 -2
- package/dist/packages/utils/index.d.ts +1 -1
- package/dist/packages/utils/unstyled-heading.d.ts +1 -1
- package/package.json +29 -30
|
@@ -30,8 +30,6 @@ export class WarpToast {
|
|
|
30
30
|
disconnectedCallback(): void;
|
|
31
31
|
updated(): void;
|
|
32
32
|
_expanded: boolean;
|
|
33
|
-
get _primaryClasses(): import(".pnpm/lit-html@3.1.4/node_modules/lit-html/directive").DirectiveResult<typeof import(".pnpm/lit-html@3.1.4/node_modules/lit-html/directives/class-map").ClassMapDirective>;
|
|
34
|
-
get _iconClasses(): import(".pnpm/lit-html@3.1.4/node_modules/lit-html/directive").DirectiveResult<typeof import(".pnpm/lit-html@3.1.4/node_modules/lit-html/directives/class-map").ClassMapDirective>;
|
|
35
33
|
get _wrapper(): any;
|
|
36
34
|
get _warning(): boolean;
|
|
37
35
|
get _error(): boolean;
|
|
@@ -41,4 +39,5 @@ export class WarpToast {
|
|
|
41
39
|
collapse(): Promise<any>;
|
|
42
40
|
close(): void;
|
|
43
41
|
render(): import("lit").TemplateResult<1>;
|
|
42
|
+
#private;
|
|
44
43
|
}
|
|
@@ -6,5 +6,5 @@ export function kebabCaseAttributes(constructor: any): {
|
|
|
6
6
|
createProperty(name: any, options: any): void;
|
|
7
7
|
};
|
|
8
8
|
export function classes(defn: any): string;
|
|
9
|
-
export function fclasses(definition: any): import(".pnpm/lit-html@3.
|
|
9
|
+
export function fclasses(definition: any): import(".pnpm/lit-html@3.2.0/node_modules/lit-html/directive").DirectiveResult<typeof import("lit/directives/class-map").ClassMapDirective>;
|
|
10
10
|
export function generateRandomId(): string;
|
|
@@ -6,5 +6,5 @@ export class UnstyledHeading {
|
|
|
6
6
|
};
|
|
7
7
|
static styles: any[];
|
|
8
8
|
get _markup(): string;
|
|
9
|
-
render(): import(".pnpm/lit-html@3.
|
|
9
|
+
render(): import(".pnpm/lit-html@3.2.0/node_modules/lit-html/directive").DirectiveResult<typeof import("lit/directives/unsafe-html").UnsafeHTMLDirective>;
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-ds/elements",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-next.
|
|
4
|
+
"version": "2.0.0-next.4",
|
|
5
5
|
"description": "Custom elements for Warp",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./dist/index.js",
|
|
8
|
-
"./toast": "./dist/api.js",
|
|
9
8
|
"./components/affix": "./dist/packages/affix/index.js",
|
|
10
9
|
"./components/alert": "./dist/packages/alert/index.js",
|
|
11
10
|
"./components/attention": "./dist/packages/attention/index.js",
|
|
@@ -18,7 +17,8 @@
|
|
|
18
17
|
"./components/modal": "./dist/packages/modal/index.js",
|
|
19
18
|
"./components/select": "./dist/packages/select/index.js",
|
|
20
19
|
"./components/textfield": "./dist/packages/textfield/index.js",
|
|
21
|
-
"./components/toast": "./dist/packages/toast/index.js"
|
|
20
|
+
"./components/toast": "./dist/packages/toast/index.js",
|
|
21
|
+
"./toast": "./dist/api.js"
|
|
22
22
|
},
|
|
23
23
|
"module": "dist/index.js",
|
|
24
24
|
"files": [
|
|
@@ -50,61 +50,60 @@
|
|
|
50
50
|
},
|
|
51
51
|
"license": "Apache-2.0",
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@warp-ds/css": "2.0.0
|
|
53
|
+
"@warp-ds/css": "2.0.0",
|
|
54
54
|
"@warp-ds/elements-core": "2.x",
|
|
55
55
|
"lit": "3.x"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@chbphone55/classnames": "2.0.0",
|
|
59
|
+
"@eik/cli": "2.0.38",
|
|
60
|
+
"@eik/esbuild-plugin": "1.1.47",
|
|
59
61
|
"@itsy/animate": "0.0.9",
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@lingui/cli": "4.7.1",
|
|
63
|
-
"@lingui/conf": "4.7.1",
|
|
62
|
+
"@lingui/cli": "4.11.2",
|
|
63
|
+
"@lingui/conf": "4.11.2",
|
|
64
64
|
"@semantic-release/changelog": "6.0.3",
|
|
65
65
|
"@semantic-release/git": "10.0.1",
|
|
66
|
-
"@types/node": "20.
|
|
66
|
+
"@types/node": "20.14.10",
|
|
67
|
+
"@warp-ds/eslint-config": "1.0.5",
|
|
67
68
|
"@warp-ds/uno": "2.x",
|
|
68
69
|
"cors": "2.8.5",
|
|
69
70
|
"cz-conventional-changelog": "3.3.0",
|
|
70
71
|
"element-collapse": "1.1.0",
|
|
71
|
-
"esbuild": "0.
|
|
72
|
-
"eslint": "
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"glob": "10.3.10",
|
|
77
|
-
"html-format": "1.1.6",
|
|
72
|
+
"esbuild": "0.23.0",
|
|
73
|
+
"eslint-plugin-lit": "1.14.0",
|
|
74
|
+
"express": "4.19.2",
|
|
75
|
+
"glob": "11.0.0",
|
|
76
|
+
"html-format": "1.1.7",
|
|
78
77
|
"lit": "3.x",
|
|
79
|
-
"playwright": "1.
|
|
80
|
-
"prettier": "3.2
|
|
81
|
-
"rimraf": "
|
|
82
|
-
"semantic-release": "
|
|
83
|
-
"tap": "
|
|
84
|
-
"typescript": "5.
|
|
78
|
+
"playwright": "1.45.1",
|
|
79
|
+
"prettier": "3.3.2",
|
|
80
|
+
"rimraf": "6.0.1",
|
|
81
|
+
"semantic-release": "24.0.0",
|
|
82
|
+
"tap": "21.0.0",
|
|
83
|
+
"typescript": "5.5.3",
|
|
85
84
|
"unocss": "0.x",
|
|
86
|
-
"vite": "5.
|
|
85
|
+
"vite": "5.3.3",
|
|
87
86
|
"vite-plugin-html": "3.2.2",
|
|
88
87
|
"vite-plugin-top-level-await": "1.4.1"
|
|
89
88
|
},
|
|
90
89
|
"dependencies": {
|
|
91
|
-
"@lingui/core": "4.
|
|
92
|
-
"@warp-ds/core": "1.1.
|
|
93
|
-
"@warp-ds/css": "2.0.0
|
|
90
|
+
"@lingui/core": "4.11.2",
|
|
91
|
+
"@warp-ds/core": "1.1.5",
|
|
92
|
+
"@warp-ds/css": "2.0.0",
|
|
94
93
|
"@warp-ds/elements-core": "2.x",
|
|
95
|
-
"@warp-ds/icons": "2.0.
|
|
94
|
+
"@warp-ds/icons": "2.0.2",
|
|
96
95
|
"scroll-doctor": "2.0.2"
|
|
97
96
|
},
|
|
98
97
|
"publishConfig": {
|
|
99
98
|
"access": "public"
|
|
100
99
|
},
|
|
101
100
|
"eik": {
|
|
102
|
-
"server": "https://assets.finn.no",
|
|
103
|
-
"type": "package",
|
|
104
101
|
"files": "eik",
|
|
105
102
|
"import-map": [
|
|
106
103
|
"https://assets.finn.no/map/custom-elements/v3"
|
|
107
|
-
]
|
|
104
|
+
],
|
|
105
|
+
"server": "https://assets.finn.no",
|
|
106
|
+
"type": "package"
|
|
108
107
|
},
|
|
109
108
|
"config": {
|
|
110
109
|
"commitizen": {
|