@umbra.ui/core 0.1.3 → 0.1.5

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/components/inputs/Tags/types.js +1 -1
  2. package/dist/readme.d.ts.map +1 -1
  3. package/package.json +1 -1
  4. package/src/components/controls/Button/Button.vue +1 -1
  5. package/src/components/controls/Checkbox/Checkbox.vue +1 -1
  6. package/src/components/controls/Dropdown/Dropdown.vue +2 -2
  7. package/src/components/controls/IconButton/IconButton.vue +1 -1
  8. package/src/components/controls/Stepper/Stepper.vue +1 -1
  9. package/src/components/dialogs/Toast/Toast.vue +2 -2
  10. package/src/components/inputs/InputCard/InputCard.vue +1 -1
  11. package/src/components/inputs/InputEmail/InputEmail.vue +1 -1
  12. package/src/components/inputs/InputNumber/InputNumber.vue +1 -1
  13. package/src/components/inputs/InputPhone/InputPhone.vue +1 -1
  14. package/src/components/inputs/InputSecure/InputSecure.vue +1 -1
  15. package/src/components/inputs/InputText/InputText.vue +1 -1
  16. package/src/components/inputs/StringCapture/StringCapture.vue +1 -1
  17. package/src/components/inputs/Tags/TagBar.vue +1 -1
  18. package/src/components/inputs/Tags/TagCreation.vue +1 -1
  19. package/src/components/inputs/Tags/TagPicker.vue +1 -1
  20. package/src/components/inputs/Tags/types.ts +1 -1
  21. package/src/components/inputs/search/SearchBar.vue +1 -1
  22. package/src/components/inputs/search/SearchResults.vue +1 -1
  23. package/src/components/menus/ActionMenu/ActionMenu.vue +1 -1
  24. package/src/components/navigation/adaptive/AdaptiveLayoutMenuButton.vue +2 -2
  25. package/src/components/navigation/slideover/SlideoverController.vue +1 -1
  26. package/src/components/navigation/tabcontroller/TabController.vue +1 -1
  27. package/src/components/pickers/CollectionPicker/CollectionPicker.vue +2 -2
  28. package/src/components/pickers/DatePicker/DatePicker.vue +1 -1
  29. package/src/components/pickers/FilePicker/FilePicker.vue +1 -1
  30. package/src/components/pickers/IconPicker/IconPicker.vue +1 -1
  31. package/src/components/views/MarkdownViewer/MarkdownViewer.vue +1 -1
  32. package/src/readme.ts +4 -2
@@ -1,5 +1,5 @@
1
1
  import tinycolor from "tinycolor2";
2
- import * as colors from "@umbra-ui/colors";
2
+ import * as colors from "@umbra.ui/colors";
3
3
  import { getThemeConfig } from "../../../theme";
4
4
  // Color mode detection function that uses theme or falls back to system
5
5
  export const getColorMode = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"readme.d.ts","sourceRoot":"","sources":["../src/readme.ts"],"names":[],"mappings":"AAGA,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAmC1C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,eAAe,MAAM,KAAG,MAAM,GAAG,SAOnE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAO,MAAM,EAE/C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,QAAO,WAEjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,IAMjE,CAAC"}
1
+ {"version":3,"file":"readme.d.ts","sourceRoot":"","sources":["../src/readme.ts"],"names":[],"mappings":"AAGA,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAmC1C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,eAAe,MAAM,KACpB,MAAM,GAAG,SAOX,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAO,MAAM,EAE/C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,QAAO,WAEjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,IAMjE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbra.ui/core",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Core components for Umbra UI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { computed } from "vue";
3
- import { RippleAnimOutlineIcon } from "@umbra-ui/icons";
3
+ import { RippleAnimOutlineIcon } from "@umbra.ui/icons";
4
4
  import type { TooltipConfig } from "../../indicators/Tooltip/types";
5
5
  import "./theme.css";
6
6
 
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { ref } from "vue";
3
- import { CheckIcon, XmarkIcon } from "@umbra-ui/icons";
3
+ import { CheckIcon, XmarkIcon } from "@umbra.ui/icons";
4
4
  import "./theme.css";
5
5
 
6
6
  export interface Props {
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import { ChevronRightIcon } from "@umbra-ui/icons";
3
- import { Button } from "@umbra-ui/core";
2
+ import { ChevronRightIcon } from "@umbra.ui/icons";
3
+ import { Button } from "@umbra.ui/core";
4
4
  import { ref, onUnmounted, onMounted, computed, nextTick, watch } from "vue";
5
5
  import { DropdownItem } from "./types";
6
6
  import "./theme.css";
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { computed } from "vue";
3
- import { CircleAnimOutlineIcon, icons, type IconKey } from "@umbra-ui/icons";
3
+ import { CircleAnimOutlineIcon, icons, type IconKey } from "@umbra.ui/icons";
4
4
  import type { TooltipConfig } from "../../indicators/Tooltip/types";
5
5
  import "./theme.css";
6
6
 
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { MinusIcon, PlusIcon } from "@umbra-ui/icons";
2
+ import { MinusIcon, PlusIcon } from "@umbra.ui/icons";
3
3
  import { ref, watch } from "vue";
4
4
  import "./theme.css";
5
5
 
@@ -2,9 +2,9 @@
2
2
  <script setup lang="ts">
3
3
  import tinycolor from "tinycolor2";
4
4
  import { computed, ref } from "vue";
5
- import { icons, type IconKey, XmarkIcon } from "@umbra-ui/icons";
5
+ import { icons, type IconKey, XmarkIcon } from "@umbra.ui/icons";
6
6
  import type { ToastInstance } from "./types";
7
- import { IconButton } from "@umbra-ui/core";
7
+ import { IconButton } from "@umbra.ui/core";
8
8
  import "./theme.css";
9
9
 
10
10
  interface Props {
@@ -5,7 +5,7 @@ import {
5
5
  CreditCardIcon,
6
6
  TriangleWarningIcon,
7
7
  CircleCheckIcon,
8
- } from "@umbra-ui/icons";
8
+ } from "@umbra.ui/icons";
9
9
 
10
10
  export interface Props {
11
11
  value?: string;
@@ -5,7 +5,7 @@ import {
5
5
  EnvelopeIcon,
6
6
  TriangleWarningIcon,
7
7
  CircleCheckIcon,
8
- } from "@umbra-ui/icons";
8
+ } from "@umbra.ui/icons";
9
9
 
10
10
  export interface Props {
11
11
  value?: string;
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { ref, watch, computed } from "vue";
3
3
  import "../theme.css";
4
- import { RippleAnimOutlineIcon, LockIcon } from "@umbra-ui/icons";
4
+ import { RippleAnimOutlineIcon, LockIcon } from "@umbra.ui/icons";
5
5
 
6
6
  export interface Props {
7
7
  value?: number;
@@ -5,7 +5,7 @@ import {
5
5
  PhoneIcon,
6
6
  TriangleWarningIcon,
7
7
  CircleCheckIcon,
8
- } from "@umbra-ui/icons";
8
+ } from "@umbra.ui/icons";
9
9
 
10
10
  export interface Props {
11
11
  value?: string;
@@ -5,7 +5,7 @@ import {
5
5
  EyeIcon,
6
6
  EyeSlashIcon,
7
7
  InputPasswordEditIcon,
8
- } from "@umbra-ui/icons";
8
+ } from "@umbra.ui/icons";
9
9
  import "../theme.css";
10
10
 
11
11
  export interface Props {
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { ref, watch } from "vue";
3
- import { RippleAnimOutlineIcon, LockIcon } from "@umbra-ui/icons";
3
+ import { RippleAnimOutlineIcon, LockIcon } from "@umbra.ui/icons";
4
4
  import "../theme.css";
5
5
 
6
6
  export interface Props {
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { ref, onMounted, nextTick, onUnmounted, watch } from "vue";
3
- import { IconButton } from "@umbra-ui/core";
3
+ import { IconButton } from "@umbra.ui/core";
4
4
  import {
5
5
  offset,
6
6
  flip,
@@ -10,7 +10,7 @@ import {
10
10
  } from "vue";
11
11
  import { useTheme } from "../../../theme";
12
12
  import { TagItem, generateTagStyle } from "./types";
13
- import { IconButton } from "@umbra-ui/core";
13
+ import { IconButton } from "@umbra.ui/core";
14
14
  import { gsap } from "gsap";
15
15
  import TagPicker from "./TagPicker.vue";
16
16
  import {
@@ -7,7 +7,7 @@ import { ref, computed } from "vue";
7
7
  import { gsap } from "gsap";
8
8
  import ColorPicker from "../../pickers/ColorPicker/ColorPicker.vue";
9
9
  import { Color } from "../../pickers/ColorPicker/colors";
10
- import { CheckIcon } from "@umbra-ui/icons";
10
+ import { CheckIcon } from "@umbra.ui/icons";
11
11
  const props = defineProps({
12
12
  containerID: {
13
13
  type: String,
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { computed, ref, watch, nextTick } from "vue";
3
3
  import { TagItem, generateTagStyle } from "./types";
4
- import { ArrowTurnLeftIcon } from "@umbra-ui/icons";
4
+ import { ArrowTurnLeftIcon } from "@umbra.ui/icons";
5
5
  import "./theme.css";
6
6
 
7
7
  // - Props (Pure Data)
@@ -1,5 +1,5 @@
1
1
  import tinycolor from "tinycolor2";
2
- import * as colors from "@umbra-ui/colors";
2
+ import * as colors from "@umbra.ui/colors";
3
3
  import { ThemeObject } from "../../../index";
4
4
  import { getThemeConfig } from "../../../theme";
5
5
 
@@ -1,6 +1,6 @@
1
1
  <!-- SearchBar.vue -->
2
2
  <script setup lang="ts">
3
- import { MagnifierIcon } from "@umbra-ui/icons";
3
+ import { MagnifierIcon } from "@umbra.ui/icons";
4
4
  import { onMounted, ref, nextTick, onUnmounted, computed } from "vue";
5
5
  import { gsap } from "gsap";
6
6
  import {
@@ -1,7 +1,7 @@
1
1
  <!-- SearchResults.vue -->
2
2
  <script setup lang="ts">
3
3
  import { SearchResult } from "./types";
4
- import { CircleAnim32GlyphIcon, ChevronDownIcon } from "@umbra-ui/icons";
4
+ import { CircleAnim32GlyphIcon, ChevronDownIcon } from "@umbra.ui/icons";
5
5
  import { computed, ref, watch } from "vue";
6
6
  import "./theme.css";
7
7
 
@@ -8,7 +8,7 @@ import {
8
8
  computePosition,
9
9
  autoUpdate,
10
10
  } from "@floating-ui/vue";
11
- import { icons, type IconKey } from "@umbra-ui/icons";
11
+ import { icons, type IconKey } from "@umbra.ui/icons";
12
12
  import "./theme.css";
13
13
 
14
14
  export interface ActionMenuItem {
@@ -2,8 +2,8 @@
2
2
  <script setup lang="ts">
3
3
  import { computed, useCssModule } from "vue";
4
4
  import { useAdaptiveLayoutState } from "./useAdaptiveLayout";
5
- import { IconButton } from "@umbra-ui/core";
6
- import { MenuIcon } from "@umbra-ui/icons";
5
+ import { IconButton } from "@umbra.ui/core";
6
+ import { MenuIcon } from "@umbra.ui/icons";
7
7
 
8
8
  // Props
9
9
  const props = withDefaults(
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { gsap } from "gsap";
3
3
  import { ref, computed, onMounted } from "vue";
4
- import { ChevronLeftIcon } from "@umbra-ui/icons";
4
+ import { ChevronLeftIcon } from "@umbra.ui/icons";
5
5
  import { useSlideoverController } from "./useSlideoverController";
6
6
  import "../theme.css";
7
7
 
@@ -2,7 +2,7 @@
2
2
  <script setup lang="ts">
3
3
  import { ref, watch, provide, computed, useCssModule, type Ref } from "vue";
4
4
  import { TabControllerKey } from "./useTabController";
5
- import { icons, type IconKey } from "@umbra-ui/icons";
5
+ import { icons, type IconKey } from "@umbra.ui/icons";
6
6
  import type { Tab, TabPosition } from "./types";
7
7
  import "../theme.css";
8
8
 
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { ref, onMounted, nextTick, onUnmounted } from "vue";
3
- import { icons } from "@umbra-ui/icons";
4
- import { IconButton } from "@umbra-ui/core";
3
+ import { icons } from "@umbra.ui/icons";
4
+ import { IconButton } from "@umbra.ui/core";
5
5
  import {
6
6
  offset,
7
7
  flip,
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { ChevronRightIcon, CalendarDaysIcon } from "@umbra-ui/icons";
2
+ import { ChevronRightIcon, CalendarDaysIcon } from "@umbra.ui/icons";
3
3
  // - Imports
4
4
  import { ref, watch, onMounted, nextTick, computed, onUnmounted } from "vue";
5
5
  import {
@@ -2,7 +2,7 @@
2
2
  import { ref, computed, watch } from "vue";
3
3
  import gsap from "gsap";
4
4
  import { type FileError, type DropState } from "./types";
5
- import { icons } from "@umbra-ui/icons";
5
+ import { icons } from "@umbra.ui/icons";
6
6
  import "./theme.css";
7
7
 
8
8
  export interface FileDropProps {
@@ -8,7 +8,7 @@ import {
8
8
  computePosition,
9
9
  autoUpdate,
10
10
  } from "@floating-ui/vue";
11
- import { icons, type IconKey, ChevronDownIcon } from "@umbra-ui/icons";
11
+ import { icons, type IconKey, ChevronDownIcon } from "@umbra.ui/icons";
12
12
  import "./theme.css";
13
13
 
14
14
  // - Props
@@ -10,7 +10,7 @@ import {
10
10
  } from "vue";
11
11
  import { marked } from "marked";
12
12
  import Prism from "prismjs";
13
- import { CloneIcon, CheckIcon } from "@umbra-ui/icons";
13
+ import { CloneIcon, CheckIcon } from "@umbra.ui/icons";
14
14
  import "./theme.css";
15
15
 
16
16
  interface Props {
package/src/readme.ts CHANGED
@@ -41,12 +41,14 @@ for (const [path, content] of Object.entries(__readmeModules)) {
41
41
  * @param componentName - The component name (kebab-case or PascalCase)
42
42
  * @returns The README content as a string, or undefined if not found
43
43
  */
44
- export const getComponentReadme = (componentName: string): string | undefined => {
44
+ export const getComponentReadme = (
45
+ componentName: string
46
+ ): string | undefined => {
45
47
  const kebab = componentName
46
48
  .replace(/([a-z0-9])([A-Z])/g, "$1-$2")
47
49
  .replace(/[\s_]+/g, "-")
48
50
  .toLowerCase();
49
-
51
+
50
52
  return README_INDEX[kebab] || README_INDEX[componentName.toLowerCase()];
51
53
  };
52
54