@soubiran/ui 0.4.0 → 0.5.0

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/resolver.mjs CHANGED
@@ -17,8 +17,8 @@ function resolver_default() {
17
17
  type: "component",
18
18
  resolve: (name) => {
19
19
  if (components.includes(name)) return {
20
- name,
21
- from: "@soubiran/ui"
20
+ name: "default",
21
+ from: `@soubiran/ui/components/${name}.vue`
22
22
  };
23
23
  }
24
24
  };
@@ -0,0 +1,4 @@
1
+ //#region src/wrapper-classes.d.ts
2
+ declare const _default: string[];
3
+ //#endregion
4
+ export { _default as default };
@@ -0,0 +1,19 @@
1
+ //#region src/wrapper-classes.ts
2
+ var wrapper_classes_default = [
3
+ "slide-enter-content",
4
+ "max-w-none",
5
+ "prose prose-neutral dark:prose-invert",
6
+ "prose-headings:text-default prose-h2:text-[1.125em] prose-h2:mb-[0.5em] prose-h3:text-[1em]",
7
+ "prose-p:my-[1em] dark:prose-p:text-muted",
8
+ "dark:prose-ul:text-muted dark:prose-ol:text-muted",
9
+ "dark:prose-strong:text-default",
10
+ "dark:prose-a:text-muted prose-a:font-semibold prose-a:no-underline prose-a:border-b prose-a:border-muted prose-a:transition-colors prose-a:duration-300 prose-a:ease-out prose-a:hover:border-[var(--ui-text-dimmed)]",
11
+ "prose-hr:max-w-1/2 prose-hr:mx-auto prose-hr:my-[2em]",
12
+ "prose-figure:bg-neutral-100 dark:prose-figure:bg-neutral-800 prose-figure:rounded-lg",
13
+ "prose-img:rounded-lg prose-img:border prose-img:border-accented prose-img:shadow-sm",
14
+ "prose-video:rounded-lg prose-video:border prose-video:border-accented prose-video:shadow-sm",
15
+ "prose-figcaption:text-center prose-figcaption:py-1 prose-figcaption:m-0",
16
+ "[&_:first-child]:mt-0 [&_:last-child]:mb-0"
17
+ ];
18
+ //#endregion
19
+ export { wrapper_classes_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soubiran/ui",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.5.0",
5
5
  "author": "Estéban Soubiran <esteban@soubiran.dev>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/Barbapapazes",
@@ -17,6 +17,11 @@
17
17
  "import": "./dist/index.js",
18
18
  "style": "./dist/style.css"
19
19
  },
20
+ "./components/*": "./dist/components/*",
21
+ "./composables/*": {
22
+ "types": "./dist/composables/*.d.ts",
23
+ "import": "./dist/composables/*.js"
24
+ },
20
25
  "./imports": {
21
26
  "types": "./dist/imports.d.mts",
22
27
  "import": "./dist/imports.mjs"
@@ -31,6 +36,10 @@
31
36
  },
32
37
  "./umami": {
33
38
  "types": "./umami.d.ts"
39
+ },
40
+ "./wrapper-classes": {
41
+ "types": "./dist/wrapper-classes.d.ts",
42
+ "import": "./dist/wrapper-classes.js"
34
43
  }
35
44
  },
36
45
  "main": "./dist/index.js",
@@ -51,6 +60,8 @@
51
60
  "pinia": "^3.0.4",
52
61
  "reka-ui": "^2.9.2",
53
62
  "tailwind-variants": "^3.2.2",
63
+ "unplugin-vue-components": "^31.0.0",
64
+ "vite": "^8.0.1",
54
65
  "vue": "^3.5.30",
55
66
  "vue-router": "^4.6.3"
56
67
  },
@@ -66,8 +77,6 @@
66
77
  "typescript": "~5.9.3",
67
78
  "unplugin-icons": "^23.0.1",
68
79
  "unplugin-vue": "^7.1.1",
69
- "unplugin-vue-components": "^31.0.0",
70
- "vite": "^8.0.1",
71
80
  "vue-tsc": "^3.2.6"
72
81
  },
73
82
  "scripts": {