@huntflow/ui 0.0.11 → 0.0.13

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 CHANGED
@@ -1,6 +1,10 @@
1
- # HuntKit
1
+ # @huntflow/ui
2
2
 
3
- **HuntKit** это библиотека компонентов, предназначенная для создания удобных, масштабируемых и согласованных пользовательских интерфейсов. Проект ориентирован на упрощение разработки и поддержания единого стиля интерфейса во всех продуктах компании.
3
+ <a href="https://www.npmjs.com/package/@huntflow/ui" target="\_parent">
4
+ <img alt="" src="https://img.shields.io/npm/dm/@huntflow/ui.svg" />
5
+ </a>
6
+
7
+ **@huntflow/ui** — это библиотека компонентов, предназначенная для создания удобных, масштабируемых и согласованных пользовательских интерфейсов. Проект ориентирован на упрощение разработки и поддержания единого стиля интерфейса во всех продуктах компании.
4
8
 
5
9
  ## 🚀 Основные возможности
6
10
 
@@ -14,20 +18,19 @@
14
18
  Для добавления UiKit в ваш проект выполните:
15
19
 
16
20
  ```javascript
17
- npm install @huntkit
21
+ npm install @huntflow/ui
18
22
  ```
19
23
 
20
24
  ## Пример использования
21
25
  ```javascript
22
26
 
23
- import '@huntkit/ui/styles.css'
27
+ import '@huntflow/ui/global.css'
24
28
 
25
- import { Button } from '@huntkit/ui'
29
+ import { Button } from '@huntflow/ui'
26
30
 
27
- import { UserIcon } from '@huntkit/icons/12'
28
- import { ArrowLeft } from '@huntkit/icons/16'
31
+ import { UserIcon } from '@huntflow/ui/icons'
29
32
 
30
- import { formatDate } from '@huntkit/utils'
33
+ import { formatDate } from '@huntflow/ui/utils'
31
34
  ```
32
35
 
33
36
 
package/dist/ui.es.js CHANGED
@@ -1,25 +1,20 @@
1
- (function(){"use strict";var e;try{if(typeof document<"u"){var o=document.createElement("style");o.nonce=(e=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:e.content,o.appendChild(document.createTextNode(":root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.read-the-docs[data-v-81115b88]{color:#888}.logo[data-v-5c79fac5]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-5c79fac5]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-5c79fac5]:hover{filter:drop-shadow(0 0 2em #42b883aa)}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { defineComponent as n, openBlock as r, createElementBlock as p, toDisplayString as l, Fragment as a, createElementVNode as m, createVNode as u, createApp as d } from "vue";
3
- const i = /* @__PURE__ */ n({
4
- __name: "HelloWorld",
5
- props: {
6
- msg: {}
7
- },
8
- setup(t) {
9
- return (o, e) => (r(), p("h1", null, l(o.msg), 1));
10
- }
11
- }), c = (t, o) => {
12
- const e = t.__vccOpts || t;
13
- for (const [s, _] of o)
14
- e[s] = _;
15
- return e;
16
- }, f = /* @__PURE__ */ c(i, [["__scopeId", "data-v-81115b88"]]), g = /* @__PURE__ */ n({
17
- __name: "App",
18
- setup(t) {
19
- return (o, e) => (r(), p(a, null, [
20
- e[0] || (e[0] = m("div", null, null, -1)),
21
- u(f, { msg: "Vite + Vue" })
22
- ], 64));
23
- }
24
- }), v = /* @__PURE__ */ c(g, [["__scopeId", "data-v-5c79fac5"]]);
25
- d(v).mount("#app");
1
+ import { openBlock as r, createElementBlock as s } from "vue";
2
+ const _ = (t, n) => {
3
+ const o = t.__vccOpts || t;
4
+ for (const [c, e] of n)
5
+ o[c] = e;
6
+ return o;
7
+ }, a = {};
8
+ function f(t, n) {
9
+ return r(), s("button");
10
+ }
11
+ const l = /* @__PURE__ */ _(a, [["render", f]]), u = (t) => {
12
+ t.component("Button", l);
13
+ }, p = {
14
+ install: u
15
+ };
16
+ export {
17
+ l as Button,
18
+ p as default,
19
+ u as install
20
+ };
package/dist/ui.umd.js CHANGED
@@ -1,2 +1 @@
1
- (function(){"use strict";var e;try{if(typeof document<"u"){var o=document.createElement("style");o.nonce=(e=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:e.content,o.appendChild(document.createTextNode(":root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.read-the-docs[data-v-81115b88]{color:#888}.logo[data-v-5c79fac5]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-5c79fac5]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-5c79fac5]:hover{filter:drop-shadow(0 0 2em #42b883aa)}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- (function(e,t){typeof exports=="object"&&typeof module<"u"?t(require("vue")):typeof define=="function"&&define.amd?define(["vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.Vue))})(this,function(e){"use strict";const t=e.defineComponent({__name:"HelloWorld",props:{msg:{}},setup(o){return(p,n)=>(e.openBlock(),e.createElementBlock("h1",null,e.toDisplayString(p.msg),1))}}),c=(o,p)=>{const n=o.__vccOpts||o;for(const[l,_]of p)n[l]=_;return n},s=c(t,[["__scopeId","data-v-81115b88"]]),r=c(e.defineComponent({__name:"App",setup(o){return(p,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n[0]||(n[0]=e.createElementVNode("div",null,null,-1)),e.createVNode(s,{msg:"Vite + Vue"})],64))}}),[["__scopeId","data-v-5c79fac5"]]);e.createApp(r).mount("#app")});
1
+ (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.ui={},e.Vue))})(this,function(e,t){"use strict";const s=(n,c)=>{const i=n.__vccOpts||n;for(const[l,_]of c)i[l]=_;return i},f={};function r(n,c){return t.openBlock(),t.createElementBlock("button")}const o=s(f,[["render",r]]),u=n=>{n.component("Button",o)},d={install:u};e.Button=o,e.default=d,e.install=u,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@huntflow/ui",
3
3
  "description": "HuntFlow UiKit, icons, utils library",
4
4
  "private": false,
5
- "version": "0.0.11",
5
+ "version": "0.0.13",
6
6
  "author": {
7
7
  "name": "HuntFlow Developer",
8
8
  "nickname": "developer",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "homepage": "https://huntflow.ru/",
53
53
  "dependencies": {
54
- "vue": "^3.5.12"
54
+ "vue": "^3.2.47"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/node": "^22.10.1",