nuxt-ui-elements 0.1.14 → 0.1.16

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-ui-elements",
3
3
  "configKey": "uiElements",
4
- "version": "0.1.14",
4
+ "version": "0.1.16",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -165,6 +165,7 @@ const module$1 = defineNuxtModule({
165
165
  addTemplates(optionsWithTheme);
166
166
  nuxt.options.css.push(resolver.resolve("./runtime/index.css"));
167
167
  addImportsDir(resolver.resolve("./runtime/composables"));
168
+ nuxt.options.alias["#std"] = resolver.resolve("./runtime/utils/std");
168
169
  }
169
170
  });
170
171
 
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Standard utility library re-exports
3
+ * Import from '#std' for tree-shakeable utilities
4
+ *
5
+ * @example
6
+ * import { plur, dayjs } from '#std'
7
+ *
8
+ * const text = plur('item', count)
9
+ * const date = dayjs().format('YYYY-MM-DD')
10
+ */
11
+ export { default as plur } from "plur";
12
+ export { default as dayjs } from "dayjs/esm";
@@ -0,0 +1,2 @@
1
+ export { default as plur } from "plur";
2
+ export { default as dayjs } from "dayjs/esm";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-ui-elements",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "A collection of beautiful, animated UI components for Nuxt applications",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/genu/nuxt-ui-elements.git",
@@ -26,6 +26,8 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@nuxt/kit": "^4.2.2",
29
+ "dayjs": "^1.11.19",
30
+ "plur": "^6.0.0",
29
31
  "scule": "^1.3.0",
30
32
  "tailwind-variants": "^3.2.2"
31
33
  },