@felleslosninger/minid-elements 0.0.120 → 0.0.121
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/README.md +1 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -32,8 +32,7 @@ Alternatively, you can use MinId Elements directly from our CDN. Here's an examp
|
|
|
32
32
|
<meta charset="UTF-8">
|
|
33
33
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
34
34
|
<title>MinID CDN Example</title>
|
|
35
|
-
<link rel="stylesheet" href="https://cdn.minid.no/minid-elements/latest/index.css" />
|
|
36
|
-
<link rel="stylesheet" href="https://cdn.minid.no/minid-elements/latest/theme/digdir/tokens.css" />
|
|
35
|
+
<link rel="stylesheet" href="https://cdn.minid.no/minid-elements/latest/index.css" data-mid-tailwind />
|
|
37
36
|
<script type="module" src="https://cdn.minid.no/minid-elements/latest/index.js"></script>
|
|
38
37
|
</head>
|
|
39
38
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@felleslosninger/minid-elements",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.121",
|
|
4
4
|
"description": "MinID Web Components",
|
|
5
5
|
"author": "Digitaliseringsdirektoratet",
|
|
6
6
|
"license": "MIT",
|
|
@@ -144,7 +144,8 @@
|
|
|
144
144
|
"make-icons": "node ./scripts/make-icons.js",
|
|
145
145
|
"make-tailwind": "node ./scripts/make-tailwind-theme.js",
|
|
146
146
|
"build": "rimraf dist && tsc && npm run analyze && vite build",
|
|
147
|
-
"build:cdn": "rimraf dist-cdn && tsc && vite build --config vite.cdn.config.js",
|
|
147
|
+
"build:cdn": "rimraf dist-cdn && tsc && vite build --config vite.cdn.config.js && npx @tailwindcss/cli -i ./src/styles/component-tailwind.css -o ./dist-cdn/index.css ",
|
|
148
|
+
"dev:cdn": "node cdn-dev-server.js",
|
|
148
149
|
"storybook": "storybook dev -p 6006",
|
|
149
150
|
"storybook:dev": "concurrently --kill-others \"npm run analyze -- --watch\" \"npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./.storybook/public/tailwind.css --watch\" \"npm run storybook\"",
|
|
150
151
|
"storybook:build": "npm run build && rimraf storybook-static && npm run analyze && npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./.storybook/public/tailwind.css && storybook build",
|