@indielayer/ui 1.7.5 → 1.8.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/README.md +0 -1
- package/docs/components/common/CodePreview.vue +1 -1
- package/docs/components/common/CopyButton.vue +1 -1
- package/docs/components/toolbar/ToolbarColorToggle.vue +4 -4
- package/docs/components/toolbar/ToolbarSearch.vue +1 -1
- package/docs/layouts/default.vue +2 -2
- package/docs/pages/colors.vue +1 -1
- package/docs/pages/component/alert/usage.vue +1 -1
- package/docs/pages/component/breadcrumbs/usage.vue +1 -1
- package/docs/pages/component/button/button-group.vue +1 -1
- package/docs/pages/component/button/variants.vue +1 -1
- package/docs/pages/component/drawer/usage.vue +1 -1
- package/docs/pages/component/form/usage.vue +1 -1
- package/docs/pages/component/formGroup/usage.vue +1 -1
- package/docs/pages/component/modal/composed.vue +2 -2
- package/docs/pages/component/modal/usage.vue +5 -12
- package/docs/pages/component/notifications/usage.vue +9 -9
- package/docs/pages/component/pagination/usage.vue +2 -1
- package/docs/pages/component/progress/variants.vue +8 -8
- package/docs/pages/component/radio/states.vue +6 -6
- package/docs/pages/component/radio/variants.vue +6 -6
- package/docs/pages/component/select/index.vue +5 -5
- package/docs/pages/component/select/{variants.vue → size.vue} +11 -15
- package/docs/pages/component/select/states.vue +11 -15
- package/docs/pages/component/select/usage.vue +19 -22
- package/docs/pages/component/spinner/variants.vue +1 -1
- package/docs/pages/component/table/usage.vue +1 -1
- package/docs/pages/component/tag/usage.vue +10 -18
- package/docs/pages/component/toggle/states.vue +6 -6
- package/docs/pages/component/toggle/variants.vue +6 -6
- package/docs/pages/icons.vue +36 -39
- package/docs/router/index.ts +1 -5
- package/lib/components/datepicker/Datepicker.vue.js +3 -3
- package/lib/components/drawer/Drawer.vue.js +1 -1
- package/lib/components/input/Input.vue.d.ts +3 -0
- package/lib/components/input/Input.vue.js +26 -24
- package/lib/components/menu/MenuItem.vue2.js +1 -1
- package/lib/components/modal/Modal.vue.js +1 -1
- package/lib/components/popover/Popover.vue.js +1 -1
- package/lib/components/scroll/Scroll.vue2.js +1 -1
- package/lib/components/select/Select.vue.d.ts +20 -1
- package/lib/components/select/Select.vue.js +301 -264
- package/lib/components/select/theme/Select.base.theme.js +3 -1
- package/lib/components/select/theme/Select.carbon.theme.js +3 -1
- package/lib/components/tab/Tab.vue.js +1 -1
- package/lib/components/tab/TabGroup.vue.js +2 -2
- package/lib/components/textarea/Textarea.vue.js +1 -1
- package/lib/components/tooltip/Tooltip.vue.js +1 -1
- package/lib/index.umd.js +4 -4
- package/lib/node_modules/.pnpm/{@vueuse_core@10.2.0_vue@3.3.9 → @vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_}/node_modules/@vueuse/core/index.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/components/input/Input.vue +3 -1
- package/src/components/select/Select.vue +64 -25
- package/src/components/select/theme/Select.base.theme.ts +5 -1
- package/src/components/select/theme/Select.carbon.theme.ts +5 -1
- package/src/version.ts +1 -1
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9 → @vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -0
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9 → @vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -0
- /package/lib/node_modules/.pnpm/{@vueuse_shared@10.2.0_vue@3.3.9 → @vueuse_shared@10.2.0_vue@3.3.9_typescript@5.2.2_}/node_modules/@vueuse/shared/index.js +0 -0
- /package/lib/node_modules/.pnpm/{floating-vue@5.2.2_vue@3.3.9 → floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.3.9_typescript@5.2.2_}/node_modules/floating-vue/dist/floating-vue.js +0 -0
|
@@ -5,7 +5,9 @@ const t = {
|
|
|
5
5
|
const r = ["w-full border border-secondary-300 dark:border-secondary-700 pr-8 outline-transparent outline outline-2 outline-offset-[-1px] transition-all duration-150 ease-in-out rounded-md shadow-sm"];
|
|
6
6
|
return !s.errorInternal && !e.disabled && r.push("hover:border-secondary-400 dark:hover:border-secondary-500"), e.size === "xs" ? r.push("px-2 py-1 text-xs") : e.size === "sm" ? r.push("px-2 py-1.5 text-sm") : e.size === "lg" ? r.push("px-4 py-3 text-lg") : e.size === "xl" ? r.push("px-5 py-4 text-xl") : r.push("px-3 py-2"), e.disabled ? r.push("bg-secondary-100 dark:bg-secondary-700 text-secondary-400 dark:text-secondary-600 cursor-not-allowed") : r.push("bg-white dark:bg-secondary-800 text-secondary-700 dark:text-secondary-200"), s.errorInternal ? r.push("border-error-500 dark:border-error-400 group-focus:outline-error-500") : e.disabled || r.push("group-focus:outline-[color:var(--x-select-border)]"), r;
|
|
7
7
|
},
|
|
8
|
-
content: "p-1
|
|
8
|
+
content: "p-1",
|
|
9
|
+
search: "p-1 mb-0.5",
|
|
10
|
+
contentBody: "overflow-y-auto max-h-64",
|
|
9
11
|
iconWrapper: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2",
|
|
10
12
|
icon: ({ props: e }) => {
|
|
11
13
|
const s = [""];
|
|
@@ -5,7 +5,9 @@ const o = {
|
|
|
5
5
|
const r = ["w-full border-b text-sm px-4 border-secondary-300 dark:border-secondary-700 pr-8 outline-transparent outline outline-2 outline-offset-[-1px] transition-all duration-150 ease-in-out"];
|
|
6
6
|
return !s.errorInternal && !e.disabled && r.push("hover:border-secondary-400 dark:hover:border-secondary-500"), e.size === "xs" || e.size === "sm" ? r.push("py-1.5") : e.size === "lg" || e.size === "xl" ? r.push("py-3.5") : r.push("py-2.5"), e.disabled ? r.push("bg-secondary-100 dark:bg-secondary-900 text-secondary-300 cursor-not-allowed") : e.readonly ? r.push("bg-white dark:bg-secondary-900 text-secondary-700") : r.push("bg-secondary-50 dark:bg-secondary-800 text-secondary-700 dark:text-secondary-200"), s.errorInternal ? r.push("border-error-500 dark:border-error-400 group-focus:outline-error-500") : e.disabled || r.push("group-focus:outline-[color:var(--x-select-border)]"), r;
|
|
7
7
|
},
|
|
8
|
-
content: "
|
|
8
|
+
content: "p-1",
|
|
9
|
+
search: "p-1 mb-0.5",
|
|
10
|
+
contentBody: "overflow-y-auto max-h-64",
|
|
9
11
|
iconWrapper: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2",
|
|
10
12
|
icon: ({ props: e }) => {
|
|
11
13
|
const s = ["h-5 w-5"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as R, computed as s, ref as d, inject as j, reactive as D, onMounted as E, openBlock as c, createBlock as m, resolveDynamicComponent as L, normalizeStyle as V, unref as o, normalizeClass as v, withCtx as M, renderSlot as g, createElementVNode as z, createCommentVNode as p, toDisplayString as O, Teleport as P, createElementBlock as X } from "vue";
|
|
2
|
-
import { useMutationObserver as F } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.
|
|
2
|
+
import { useMutationObserver as F } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { injectTabGroupKey as G } from "../../composables/keys.js";
|
|
4
4
|
import { useCommon as T } from "../../composables/useCommon.js";
|
|
5
5
|
import { useTheme as I } from "../../composables/useTheme.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as B, ref as r, watchEffect as z, reactive as E, computed as o, provide as V, watch as G, onMounted as N, openBlock as $, createElementBlock as q, createElementVNode as f, normalizeClass as v, unref as n, normalizeStyle as F, createVNode as L, withCtx as M, renderSlot as O, withDirectives as W, vShow as X, nextTick as j } from "vue";
|
|
2
|
-
import { useMutationObserver as D, useResizeObserver as K } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.
|
|
2
|
+
import { useMutationObserver as D, useResizeObserver as K } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { injectTabGroupKey as P } from "../../composables/keys.js";
|
|
4
4
|
import { useCommon as b } from "../../composables/useCommon.js";
|
|
5
5
|
import { useColors as A } from "../../composables/useColors.js";
|
|
6
6
|
import { useTheme as H } from "../../composables/useTheme.js";
|
|
7
7
|
import I from "../scroll/Scroll.vue.js";
|
|
8
|
-
import { useThrottleFn as J } from "../../node_modules/.pnpm/@vueuse_shared@10.2.0_vue@3.3.
|
|
8
|
+
import { useThrottleFn as J } from "../../node_modules/.pnpm/@vueuse_shared@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/shared/index.js";
|
|
9
9
|
const Q = {
|
|
10
10
|
...b.validators(),
|
|
11
11
|
variant: ["line", "block"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as q, useAttrs as K, computed as R, ref as A, watch as F, openBlock as u, createBlock as p, normalizeStyle as H, unref as r, normalizeClass as L, withCtx as O, createElementVNode as $, mergeProps as D, toHandlers as W, withKeys as X, createCommentVNode as G } from "vue";
|
|
2
|
-
import { useResizeObserver as J, useEventListener as M } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.
|
|
2
|
+
import { useResizeObserver as J, useEventListener as M } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useCSS as Q } from "../../composables/useCSS.js";
|
|
4
4
|
import { useTheme as U } from "../../composables/useTheme.js";
|
|
5
5
|
import { useCommon as f } from "../../composables/useCommon.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as r, openBlock as a, createBlock as s, withCtx as e, c
|
|
|
2
2
|
import c from "../popover/Popover.vue.js";
|
|
3
3
|
import "../popover/Popover.vue3.js";
|
|
4
4
|
import p from "../popover/PopoverContainer.vue.js";
|
|
5
|
-
import "../../node_modules/.pnpm/floating-vue@5.2.
|
|
5
|
+
import "../../node_modules/.pnpm/floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.3.9_typescript@5.2.2_/node_modules/floating-vue/dist/floating-vue.js";
|
|
6
6
|
const i = { class: "dark" }, m = {
|
|
7
7
|
placement: {
|
|
8
8
|
type: String,
|