reborn-ui 0.1.78 → 0.1.80

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.
Files changed (32) hide show
  1. package/dist/index.js +2 -2
  2. package/dist/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/registry/components/icon-cloud.json +17 -0
  5. package/registry/components/liquid-glass.json +21 -0
  6. package/registry/components/pattern-background.json +19 -0
  7. package/registry/components/reborn-back-top.json +2 -2
  8. package/registry/components/reborn-badge.json +7 -13
  9. package/registry/components/reborn-button.json +5 -5
  10. package/registry/components/reborn-cascader.json +3 -3
  11. package/registry/components/reborn-dropdown-select.json +3 -3
  12. package/registry/components/reborn-fab.json +28 -0
  13. package/registry/components/reborn-form.json +2 -2
  14. package/registry/components/reborn-image.json +2 -2
  15. package/registry/components/reborn-input-number.json +5 -5
  16. package/registry/components/reborn-input.json +5 -5
  17. package/registry/components/reborn-loading.json +14 -4
  18. package/registry/components/reborn-page.json +2 -2
  19. package/registry/components/reborn-pagination.json +32 -0
  20. package/registry/components/reborn-popup.json +3 -3
  21. package/registry/components/reborn-radio.json +9 -4
  22. package/registry/components/reborn-search-box.json +28 -0
  23. package/registry/components/reborn-select-trigger.json +2 -2
  24. package/registry/components/reborn-select.json +4 -4
  25. package/registry/components/reborn-sku.json +17 -0
  26. package/registry/components/reborn-switch.json +2 -2
  27. package/registry/components/reborn-tabbar.json +3 -3
  28. package/registry/components/reborn-tabs.json +4 -4
  29. package/registry/components/reborn-text.json +2 -2
  30. package/registry/components/reborn-toast.json +2 -2
  31. package/registry/components/reborn-transition.json +4 -4
  32. package/registry/registry.json +210 -53
package/dist/index.js CHANGED
@@ -727,7 +727,7 @@ function findNearestPackageRoot2(from) {
727
727
  var TEMPLATES = {
728
728
  "web": {
729
729
  "lib/tv.ts": 'import { createTV } from "tailwind-variants";\r\nimport { twMergeConfig } from "./utils";\r\n\r\nexport const tv = createTV({\r\n twMergeConfig,\r\n});\r\nexport type { VariantProps } from "tailwind-variants";\r\n',
730
- "lib/utils.ts": 'import type { ClassValue } from "clsx";\r\nimport { clsx } from "clsx";\r\nimport { extendTailwindMerge } from "tailwind-merge";\r\n\r\nexport const twMergeConfig = {\r\n extend: {\r\n classGroups: {\r\n "font-size": [{ text: [(value: string) => !isNaN(Number(value))] }],\r\n },\r\n },\r\n};\r\n\r\nconst customTwMerge = extendTailwindMerge(twMergeConfig);\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n return customTwMerge(clsx(inputs));\r\n}\r\n\r\nexport type ObjectValues<T> = T[keyof T];\r\n',
730
+ "lib/utils.ts": 'import type { ClassValue } from "clsx";\r\nimport { clsx } from "clsx";\r\nimport { extendTailwindMerge } from "tailwind-merge";\r\n\r\nexport const twMergeConfig = {\r\n extend: {\r\n classGroups: {\r\n "font-size": [\r\n {\r\n text: [\r\n (value: string) => !isNaN(Number(value)),\r\n (value: string) => value.startsWith("caption-"),\r\n (value: string) => value.startsWith("body-"),\r\n (value: string) => value.startsWith("title-"),\r\n ],\r\n },\r\n ],\r\n },\r\n },\r\n};\r\n\r\nconst customTwMerge = extendTailwindMerge(twMergeConfig);\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n return customTwMerge(clsx(inputs));\r\n}\r\n\r\nexport type ObjectValues<T> = T[keyof T];\r\n',
731
731
  "composables/useFieldGroup.ts": "\r\nimport { ref } from 'vue'\r\n\r\nexport function useFieldGroup(props: any) {\r\n return {\r\n disabled: ref(undefined),\r\n isError: ref(undefined),\r\n orientation: ref(undefined),\r\n size: ref(undefined)\r\n }\r\n}\r\n",
732
732
  "composables/useMouseState.ts": 'import { readonly, ref } from "vue";\r\n\r\nexport function useMouseState() {\r\n const isMouseEntered = ref(false);\r\n\r\n function setMouseEntered(value: boolean) {\r\n isMouseEntered.value = value;\r\n }\r\n\r\n return {\r\n isMouseEntered: readonly(isMouseEntered),\r\n setMouseEntered,\r\n };\r\n}\r\n',
733
733
  "composables/useNavigation.ts": `import type { ContentNavigationItem } from "@nuxt/content";\r
@@ -1041,7 +1041,7 @@ function initCommand() {
1041
1041
  // package.json
1042
1042
  var package_default = {
1043
1043
  name: "reborn-ui",
1044
- version: "0.1.78",
1044
+ version: "0.1.80",
1045
1045
  description: "A CLI for Reborn UI",
1046
1046
  author: "1997liuyh-boop",
1047
1047
  license: "MIT",