@irbags/ui-kit 1.0.1-alpha.27 → 1.0.1-alpha.29
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 +1 -1
- package/dist/module.mjs +19 -2
- package/dist/runtime/assets/css/main.css +1 -1
- package/dist/runtime/assets/fonts/HelveticaNeueMedium.woff +0 -0
- package/dist/runtime/assets/fonts/HelveticaNeueRoman.woff +0 -0
- package/dist/runtime/components/ResizebleInput/ResizebleInput.d.vue.ts +8 -0
- package/dist/runtime/components/ResizebleInput/ResizebleInput.vue +23 -0
- package/dist/runtime/components/ResizebleInput/ResizebleInput.vue.d.ts +8 -0
- package/dist/runtime/components/ResizebleInput/interfaces/emits.d.ts +3 -0
- package/dist/runtime/components/ResizebleInput/interfaces/emits.js +0 -0
- package/dist/runtime/components/ResizebleInput/interfaces/index.d.ts +2 -0
- package/dist/runtime/components/ResizebleInput/interfaces/index.js +0 -0
- package/dist/runtime/components/ResizebleInput/interfaces/props.d.ts +4 -0
- package/dist/runtime/components/ResizebleInput/interfaces/props.js +0 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -10,6 +10,22 @@ const ibgAppConfig = {
|
|
|
10
10
|
error: "error",
|
|
11
11
|
secondary: "secondary"
|
|
12
12
|
},
|
|
13
|
+
textarea: {
|
|
14
|
+
variants: {
|
|
15
|
+
variant: {
|
|
16
|
+
outline: `
|
|
17
|
+
!ring-0
|
|
18
|
+
!focus:ring-0
|
|
19
|
+
!focus-visible:ring-0
|
|
20
|
+
`
|
|
21
|
+
},
|
|
22
|
+
size: {
|
|
23
|
+
md: {
|
|
24
|
+
base: "p-0 tracking-tight max-lg:tracking-tighter max-lg:text-xs text-base font-medium"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
13
29
|
button: {
|
|
14
30
|
compoundVariants: [
|
|
15
31
|
{
|
|
@@ -149,7 +165,7 @@ const module$1 = defineNuxtModule({
|
|
|
149
165
|
const modulesToInstall = /* @__PURE__ */ new Map([["@nuxt/ui", {}]]);
|
|
150
166
|
const installed = /* @__PURE__ */ new Set([]);
|
|
151
167
|
await installModules(modulesToInstall, installed, _nuxt);
|
|
152
|
-
const { ui: { colors, button, card, fileUpload, input, radioGroup } } = ibgAppConfig;
|
|
168
|
+
const { ui: { colors, button, card, fileUpload, input, radioGroup, textarea } } = ibgAppConfig;
|
|
153
169
|
_nuxt.options.appConfig = {
|
|
154
170
|
..._nuxt.options.appConfig,
|
|
155
171
|
ui: {
|
|
@@ -159,7 +175,8 @@ const module$1 = defineNuxtModule({
|
|
|
159
175
|
card,
|
|
160
176
|
fileUpload,
|
|
161
177
|
input,
|
|
162
|
-
radioGroup
|
|
178
|
+
radioGroup,
|
|
179
|
+
textarea
|
|
163
180
|
}
|
|
164
181
|
};
|
|
165
182
|
if (!existsSync(componentsDir))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "@nuxt/ui";@source "../../../app.config.ts";@source "../../../module.mjs";@source "../../components/FileInput/FileInput.vue";@font-face{font-family:Helvetica Neue;font-style:normal;font-weight:
|
|
1
|
+
@import "@nuxt/ui";@source "../../../app.config.ts";@source "../../../module.mjs";@source "../../components/FileInput/FileInput.vue";@font-face{font-family:Helvetica Neue;font-style:normal;font-weight:400;src:url(../fonts/HelveticaNeueRoman.woff) format("woff")}@font-face{font-family:Helvetica Neue;font-style:normal;font-weight:500;src:url(../fonts/HelveticaNeueMedium.woff) format("woff")}@theme{--breakpoint-lg:calc(90rem + 1px)}:root{@apply text-[calc((16/(375/100))*1vw)];@apply md:text-[calc((16/(1440/100))*1vw)];@apply lg:text-[calc((16/(1920/100))*1vw)]}@theme static{--color-secondary-500:#dadada;--color-black-500:#000;--color-white-500:#fff;--color-error-500:#ff2a2a;--color-gray-500:#d7d7d7;--ui-text-muted:#fff;--font-sans:"Helvetica Neue";--text-6xl:3.4375rem;--text-4xl:2.1875rem;--text-4xl--line-height:1;--text-3xl:1.875rem;--text-3xl--line-height:1;--text-2xl:1.5rem;--text-2xl--line-height:1;--text-base:1.25rem;--text-base--line-height:1;--text-sm:1rem;--text-sm--line-height:1;--text-xs:0.9375rem;--text-xs--line-height:1;--tracking-tight:-0.02em;--tracking-tighter:-0.04em}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ResizebleInputProps } from "./interfaces/index.js";
|
|
2
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<ResizebleInputProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: string) => any;
|
|
4
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<ResizebleInputProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
modelValue: { type: String, required: true },
|
|
5
|
+
placeholder: { type: String, required: true }
|
|
6
|
+
});
|
|
7
|
+
const emit = defineEmits(["update:modelValue"]);
|
|
8
|
+
const value = computed({
|
|
9
|
+
get: () => props.modelValue,
|
|
10
|
+
set: (value2) => {
|
|
11
|
+
emit("update:modelValue", value2);
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<label class="relative">
|
|
18
|
+
<span class="text-base opacity-0 max-lg:text-xs tracking-tight max-lg:tracking-tighter font-medium">
|
|
19
|
+
{{ value || placeholder }}
|
|
20
|
+
</span>
|
|
21
|
+
<IBGInput v-model="value" :placeholder="placeholder" class="absolute inset-0" />
|
|
22
|
+
</label>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ResizebleInputProps } from "./interfaces/index.js";
|
|
2
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<ResizebleInputProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: string) => any;
|
|
4
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<ResizebleInputProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irbags/ui-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.1-alpha.
|
|
4
|
+
"version": "1.0.1-alpha.29",
|
|
5
5
|
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748",
|
|
6
6
|
"description": "IRBAGS UI Kit",
|
|
7
7
|
"license": "MIT",
|