@kuina-ui/vue 0.4.0 → 0.6.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 +143 -143
- package/dist/components/slider/RangeSlider.vue.d.ts +55 -0
- package/dist/components/slider/Slider.vue.d.ts +49 -0
- package/dist/components/slider/SliderHeader.vue.d.ts +30 -0
- package/dist/components/slider/index.d.ts +5 -0
- package/dist/components/slider/slider.theme.d.ts +33 -0
- package/dist/elements/segmented-control/SegmentedControl.vue.d.ts +35 -0
- package/dist/elements/segmented-control/index.d.ts +2 -0
- package/dist/elements/segmented-control/segmented-control.theme.d.ts +62 -0
- package/dist/elements/slider-control/SliderControl.vue.d.ts +35 -0
- package/dist/elements/slider-control/index.d.ts +3 -0
- package/dist/elements/slider-control/slider-control.theme.d.ts +38 -0
- package/dist/elements/slider-control/useSliderMarksLayout.d.ts +6 -0
- package/dist/elements/tooltip/Tooltip.vue.d.ts +48 -0
- package/dist/elements/tooltip/index.d.ts +2 -0
- package/dist/elements/tooltip/tooltip.theme.d.ts +29 -0
- package/dist/elements/tooltip/useTooltipOpenState.d.ts +17 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/nuxt.js +1 -1
- package/dist/shared/composables/useNumberFieldTyping.d.ts +21 -0
- package/dist/shared/composables/usePointerGraceArea.d.ts +11 -0
- package/dist/shared/composables/useSlidingThumb.d.ts +12 -0
- package/dist/shared/types/pointer-grace-area.d.ts +12 -0
- package/dist/shared/types/slider.d.ts +6 -0
- package/dist/shared/utils/createDebouncedCallback.d.ts +5 -0
- package/dist/shared/utils/findFirstRenderedVNode.d.ts +3 -0
- package/dist/shared/utils/pointerGraceArea.d.ts +11 -0
- package/dist/shared/utils/resolvePressScale.d.ts +2 -0
- package/dist/shared/utils/shiftFloatingPosition.d.ts +3 -0
- package/dist/shared/utils/sliderPosition.d.ts +11 -0
- package/dist/shared/utils/sliderThumbs.d.ts +13 -0
- package/dist/shared/utils/steppedValue.d.ts +18 -0
- package/dist/{src-ChY11Hfy.js → src-Rouj5r7z.js} +3583 -1972
- package/package.json +75 -75
- package/src/index.css +1 -0
- package/src/shared/styles/utilities/slider-mark-position.css +8 -0
package/package.json
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kuina-ui/vue",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Free, open-source Vue component library built with Tailwind CSS v4, in light and dark themes",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"kuina-ui",
|
|
7
|
-
"vue",
|
|
8
|
-
"nuxt",
|
|
9
|
-
"ui-kit",
|
|
10
|
-
"components",
|
|
11
|
-
"tailwindcss",
|
|
12
|
-
"tailwindcss-v4",
|
|
13
|
-
"dark-mode"
|
|
14
|
-
],
|
|
15
|
-
"homepage": "https://kuina-ui.github.io/docs/",
|
|
16
|
-
"bugs": {
|
|
17
|
-
"url": "https://github.com/Kuina-UI/vue/issues"
|
|
18
|
-
},
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/Kuina-UI/vue.git"
|
|
22
|
-
},
|
|
23
|
-
"license": "MIT",
|
|
24
|
-
"author": "Kuina",
|
|
25
|
-
"type": "module",
|
|
26
|
-
"files": [
|
|
27
|
-
"dist",
|
|
28
|
-
"src/index.css",
|
|
29
|
-
"src/shared/styles"
|
|
30
|
-
],
|
|
31
|
-
"exports": {
|
|
32
|
-
".": {
|
|
33
|
-
"types": "./dist/index.d.ts",
|
|
34
|
-
"style": "./src/index.css",
|
|
35
|
-
"import": "./dist/index.js"
|
|
36
|
-
},
|
|
37
|
-
"./nuxt": {
|
|
38
|
-
"types": "./dist/nuxt.d.ts",
|
|
39
|
-
"import": "./dist/nuxt.js"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"sideEffects": [
|
|
43
|
-
"*.css"
|
|
44
|
-
],
|
|
45
|
-
"scripts": {
|
|
46
|
-
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
47
|
-
"typecheck": "vue-tsc --noEmit",
|
|
48
|
-
"test": "vitest run",
|
|
49
|
-
"prepack": "npm run build"
|
|
50
|
-
},
|
|
51
|
-
"peerDependencies": {
|
|
52
|
-
"tailwindcss": "^4.0.0",
|
|
53
|
-
"vue": "^3.5.0"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"@nuxt/kit": "^4.6.4",
|
|
57
|
-
"@tailwindcss/vite": "^4.3.5",
|
|
58
|
-
"lucide-vue-next": "^1.0.0",
|
|
59
|
-
"tailwind-variants": "^4.0.2"
|
|
60
|
-
},
|
|
61
|
-
"devDependencies": {
|
|
62
|
-
"@nuxt/schema": "^4.6.4",
|
|
63
|
-
"@vitejs/plugin-vue": "^6.0.11",
|
|
64
|
-
"@vue/tsconfig": "^0.9.1",
|
|
65
|
-
"happy-dom": "^21.0.4",
|
|
66
|
-
"typescript": "^6.0.3",
|
|
67
|
-
"vite": "^8.3.8",
|
|
68
|
-
"vitest": "^5.1.1",
|
|
69
|
-
"vue": "^3.5.46",
|
|
70
|
-
"vue-tsc": "^3.3.14"
|
|
71
|
-
},
|
|
72
|
-
"publishConfig": {
|
|
73
|
-
"access": "public"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@kuina-ui/vue",
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "Free, open-source Vue component library built with Tailwind CSS v4, in light and dark themes",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"kuina-ui",
|
|
7
|
+
"vue",
|
|
8
|
+
"nuxt",
|
|
9
|
+
"ui-kit",
|
|
10
|
+
"components",
|
|
11
|
+
"tailwindcss",
|
|
12
|
+
"tailwindcss-v4",
|
|
13
|
+
"dark-mode"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://kuina-ui.github.io/docs/",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/Kuina-UI/vue/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/Kuina-UI/vue.git"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"author": "Kuina",
|
|
25
|
+
"type": "module",
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"src/index.css",
|
|
29
|
+
"src/shared/styles"
|
|
30
|
+
],
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"style": "./src/index.css",
|
|
35
|
+
"import": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./nuxt": {
|
|
38
|
+
"types": "./dist/nuxt.d.ts",
|
|
39
|
+
"import": "./dist/nuxt.js"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"sideEffects": [
|
|
43
|
+
"*.css"
|
|
44
|
+
],
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
47
|
+
"typecheck": "vue-tsc --noEmit",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"prepack": "npm run build"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"tailwindcss": "^4.0.0",
|
|
53
|
+
"vue": "^3.5.0"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@nuxt/kit": "^4.6.4",
|
|
57
|
+
"@tailwindcss/vite": "^4.3.5",
|
|
58
|
+
"lucide-vue-next": "^1.0.0",
|
|
59
|
+
"tailwind-variants": "^4.0.2"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@nuxt/schema": "^4.6.4",
|
|
63
|
+
"@vitejs/plugin-vue": "^6.0.11",
|
|
64
|
+
"@vue/tsconfig": "^0.9.1",
|
|
65
|
+
"happy-dom": "^21.0.4",
|
|
66
|
+
"typescript": "^6.0.3",
|
|
67
|
+
"vite": "^8.3.8",
|
|
68
|
+
"vitest": "^5.1.1",
|
|
69
|
+
"vue": "^3.5.46",
|
|
70
|
+
"vue-tsc": "^3.3.14"
|
|
71
|
+
},
|
|
72
|
+
"publishConfig": {
|
|
73
|
+
"access": "public"
|
|
74
|
+
}
|
|
75
|
+
}
|
package/src/index.css
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Centers a mark label under the thumb placed at --slider-mark-ratio of the track, without overflowing the track. */
|
|
2
|
+
@utility slider-mark-position {
|
|
3
|
+
translate: clamp(
|
|
4
|
+
0px,
|
|
5
|
+
calc(var(--slider-mark-ratio) * (100cqw - var(--slider-thumb-size)) + var(--slider-thumb-size) / 2 - 50%),
|
|
6
|
+
calc(100cqw - 100%)
|
|
7
|
+
);
|
|
8
|
+
}
|