@shtabapp/ui-kit-primitives 1.20.0 → 1.22.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/CHANGELOG.md +12 -0
- package/dist/{SSkeleton-7v5MBbbj.js → SSkeleton-CMrbn0Ym.js} +10 -0
- package/dist/{SSkeleton-ssvZJGZZ.cjs → SSkeleton-DMGFTMPh.cjs} +2 -2
- package/dist/entries/skeleton.cjs +1 -1
- package/dist/entries/skeleton.js +1 -1
- package/dist/i18n/createUiKitI18nInstance.d.ts +14 -0
- package/dist/i18n/createUiKitI18nInstance.d.ts.map +1 -1
- package/dist/i18n/locales/en.d.ts +7 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [@shtabapp/ui-kit-primitives-v1.22.0](https://gitlab.com/mstikharev/shtab-ui-kit/compare/@shtabapp/ui-kit-primitives@1.21.0...@shtabapp/ui-kit-primitives@1.22.0) (2026-07-14)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- load more subtree ([61b17e9](https://gitlab.com/mstikharev/shtab-ui-kit/commit/61b17e9fb1db17f6d5a86e359de937279a44f81f))
|
|
6
|
+
|
|
7
|
+
## [@shtabapp/ui-kit-primitives-v1.21.0](https://gitlab.com/mstikharev/shtab-ui-kit/compare/@shtabapp/ui-kit-primitives@1.20.0...@shtabapp/ui-kit-primitives@1.21.0) (2026-07-10)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- schartsegmentedbar schartwidget ([ea22f7a](https://gitlab.com/mstikharev/shtab-ui-kit/commit/ea22f7af2a8555d16a0ee3b8abaee8eae8eac400))
|
|
12
|
+
|
|
1
13
|
## [@shtabapp/ui-kit-primitives-v1.20.0](https://gitlab.com/mstikharev/shtab-ui-kit/compare/@shtabapp/ui-kit-primitives@1.19.0...@shtabapp/ui-kit-primitives@1.20.0) (2026-07-03)
|
|
2
14
|
|
|
3
15
|
### Features
|
|
@@ -35,7 +35,12 @@ var m = Symbol("ui-kit-i18n"), h = {
|
|
|
35
35
|
expand: "Expand",
|
|
36
36
|
collapse: "Collapse"
|
|
37
37
|
},
|
|
38
|
+
list: { loadMore: "Show more" },
|
|
38
39
|
tab: { placeholder: "Enter name" },
|
|
40
|
+
chartWidget: {
|
|
41
|
+
expand: "Expand",
|
|
42
|
+
collapse: "Collapse"
|
|
43
|
+
},
|
|
39
44
|
skeleton: { loading: "Loading" },
|
|
40
45
|
photoEdit: {
|
|
41
46
|
uploadPhoto: "Upload\nphoto",
|
|
@@ -77,7 +82,12 @@ var m = Symbol("ui-kit-i18n"), h = {
|
|
|
77
82
|
expand: "Развернуть",
|
|
78
83
|
collapse: "Свернуть"
|
|
79
84
|
},
|
|
85
|
+
list: { loadMore: "Показать ещё" },
|
|
80
86
|
tab: { placeholder: "Введите название" },
|
|
87
|
+
chartWidget: {
|
|
88
|
+
expand: "Развернуть",
|
|
89
|
+
collapse: "Свернуть"
|
|
90
|
+
},
|
|
81
91
|
skeleton: { loading: "Загрузка" },
|
|
82
92
|
photoEdit: {
|
|
83
93
|
uploadPhoto: "Загрузить\nфото",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
let e=require("vue-i18n"),t=require("vue");var n=Symbol(`ui-kit-i18n`),r={colorPicker:{recommendedColors:`Recommended colors`,recentColors:`Recently used`,save:`Save`,cancel:`Cancel`,addCustomColor:`Add custom color`},colorArea:{saturationBrightness:`Color saturation and brightness`,hue:`Hue`},colorValues:{format:`Color format`,pickColor:`Pick color`,hexValue:`Hex color value`,redChannel:`Red channel`,greenChannel:`Green channel`,blueChannel:`Blue channel`,hueChannel:`Hue`,saturationChannel:`Saturation`,lightnessChannel:`Lightness`},input:{clear:`Clear`},select:{noOptions:`No options`,removeOption:`Remove`},tag:{close:`Close`},colorPalette:{swatch:`Color {value}`},listItem:{expand:`Expand`,collapse:`Collapse`},tab:{placeholder:`Enter name`},skeleton:{loading:`Loading`},photoEdit:{uploadPhoto:`Upload
|
|
2
|
-
photo`,changePhoto:`Change`,removePhoto:`Remove photo`,pickPhoto:`Pick photo`}},i={colorPicker:{recommendedColors:`Рекомендованные цвета`,recentColors:`Последние использованные`,save:`Сохранить`,cancel:`Отменить`,addCustomColor:`Добавить свой цвет`},colorArea:{saturationBrightness:`Насыщенность и яркость цвета`,hue:`Оттенок`},colorValues:{format:`Формат цвета`,pickColor:`Выбрать цвет`,hexValue:`Hex-значение цвета`,redChannel:`Канал красного`,greenChannel:`Канал зелёного`,blueChannel:`Канал синего`,hueChannel:`Оттенок`,saturationChannel:`Насыщенность`,lightnessChannel:`Светлота`},input:{clear:`Очистить`},select:{noOptions:`Нет вариантов`,removeOption:`Удалить`},tag:{close:`Закрыть`},colorPalette:{swatch:`Цвет {value}`},listItem:{expand:`Развернуть`,collapse:`Свернуть`},tab:{placeholder:`Введите название`},skeleton:{loading:`Загрузка`},photoEdit:{uploadPhoto:`Загрузить
|
|
1
|
+
let e=require("vue-i18n"),t=require("vue");var n=Symbol(`ui-kit-i18n`),r={colorPicker:{recommendedColors:`Recommended colors`,recentColors:`Recently used`,save:`Save`,cancel:`Cancel`,addCustomColor:`Add custom color`},colorArea:{saturationBrightness:`Color saturation and brightness`,hue:`Hue`},colorValues:{format:`Color format`,pickColor:`Pick color`,hexValue:`Hex color value`,redChannel:`Red channel`,greenChannel:`Green channel`,blueChannel:`Blue channel`,hueChannel:`Hue`,saturationChannel:`Saturation`,lightnessChannel:`Lightness`},input:{clear:`Clear`},select:{noOptions:`No options`,removeOption:`Remove`},tag:{close:`Close`},colorPalette:{swatch:`Color {value}`},listItem:{expand:`Expand`,collapse:`Collapse`},list:{loadMore:`Show more`},tab:{placeholder:`Enter name`},chartWidget:{expand:`Expand`,collapse:`Collapse`},skeleton:{loading:`Loading`},photoEdit:{uploadPhoto:`Upload
|
|
2
|
+
photo`,changePhoto:`Change`,removePhoto:`Remove photo`,pickPhoto:`Pick photo`}},i={colorPicker:{recommendedColors:`Рекомендованные цвета`,recentColors:`Последние использованные`,save:`Сохранить`,cancel:`Отменить`,addCustomColor:`Добавить свой цвет`},colorArea:{saturationBrightness:`Насыщенность и яркость цвета`,hue:`Оттенок`},colorValues:{format:`Формат цвета`,pickColor:`Выбрать цвет`,hexValue:`Hex-значение цвета`,redChannel:`Канал красного`,greenChannel:`Канал зелёного`,blueChannel:`Канал синего`,hueChannel:`Оттенок`,saturationChannel:`Насыщенность`,lightnessChannel:`Светлота`},input:{clear:`Очистить`},select:{noOptions:`Нет вариантов`,removeOption:`Удалить`},tag:{close:`Закрыть`},colorPalette:{swatch:`Цвет {value}`},listItem:{expand:`Развернуть`,collapse:`Свернуть`},list:{loadMore:`Показать ещё`},tab:{placeholder:`Введите название`},chartWidget:{expand:`Развернуть`,collapse:`Свернуть`},skeleton:{loading:`Загрузка`},photoEdit:{uploadPhoto:`Загрузить
|
|
3
3
|
фото`,changePhoto:`Изменить`,removePhoto:`Удалить фото`,pickPhoto:`Выбрать фото`}},a=t=>(0,e.createI18n)({legacy:!1,locale:t,fallbackLocale:`en`,messages:{ru:i,en:r}}),o=null,s=()=>(o||=a(`en`),o),c=e=>{o=e},l=e=>{s().global.locale.value=e},u=(e,t)=>{if(Object.hasOwn(e,t))return Reflect.get(e,t)},d=(e,t)=>{let n=t.split(`.`),r=e;for(let e of n)if(typeof r!=`object`||!r||(r=u(r,e),r===void 0))return;if(typeof r==`string`)return r},f=e=>e===`ru`||e===`en`,p=e=>{if(f(e))return e;if(typeof e==`object`&&e&&`value`in e){let t=Reflect.get(e,`value`);if(f(t))return t}return`en`},m=(e,t)=>{if(!t)return e;let n=e;for(let[e,r]of Object.entries(t))n=n.replaceAll(`{${e}}`,r);return n},h=()=>{let e=(0,t.inject)(n,null)??s();return{t:(t,n)=>{let r=p(e.global.locale),i=d(e.global.getLocaleMessage(r),t);if(i)return m(i,n);let a=d(e.global.getLocaleMessage(`en`),t);return a?m(a,n):t},locale:e.global.locale}},g=function(e){return e.ACTIONS=`actions`,e.ARTICLE=`article`,e.AVATAR=`avatar`,e.BUTTON=`button`,e.CARD=`card`,e.CARD_AVATAR=`card-avatar`,e.S_CARD=`s-card`,e.S_CARD_LIST=`s-card-list`,e.S_LIST_ITEM=`s-list-item`,e.CHIP=`chip`,e.DATE_PICKER=`date-picker`,e.DATE_PICKER_DAYS=`date-picker-days`,e.DATE_PICKER_OPTIONS=`date-picker-options`,e.DIVIDER=`divider`,e.HEADING=`heading`,e.IMAGE=`image`,e.LIST_ITEM=`list-item`,e.LIST_ITEM_AVATAR=`list-item-avatar`,e.LIST_ITEM_AVATAR_THREE_LINE=`list-item-avatar-three-line`,e.LIST_ITEM_AVATAR_TWO_LINE=`list-item-avatar-two-line`,e.LIST_ITEM_THREE_LINE=`list-item-three-line`,e.LIST_ITEM_TWO_LINE=`list-item-two-line`,e.OSSEIN=`ossein`,e.PARAGRAPH=`paragraph`,e.SENTENCES=`sentences`,e.SUBTITLE=`subtitle`,e.TABLE=`table`,e.TABLE_HEADING=`table-heading`,e.TABLE_ROW=`table-row`,e.TABLE_ROW_DIVIDER=`table-row-divider`,e.TABLE_TBODY=`table-tbody`,e.TABLE_TFOOT=`table-tfoot`,e.TABLE_THEAD=`table-thead`,e.TEXT=`text`,e.CHART_CARTESIAN=`chart-cartesian`,e.CHART_PIE=`chart-pie`,e}({}),_=[`role`,`aria-live`,`aria-label`,`aria-busy`],v=[`role`,`aria-live`,`aria-label`,`aria-busy`],y={class:`s-ui-skeleton__chart-canvas-host`},b=[`role`,`aria-live`,`aria-label`,`aria-busy`],x={key:0,class:`s-ui-skeleton__wave`,"aria-hidden":`true`},S=`s-card-icon`,C=`s-card-body`,w=`s-card-list-icon`,T=`s-card-list-title`,E=`s-card-list-meta`,D=(0,t.defineComponent)({__name:`SSkeleton`,props:{boilerplate:{type:Boolean,default:!1},height:{},maxHeight:{},maxWidth:{},minHeight:{},minWidth:{},type:{default:()=>g.IMAGE},width:{}},setup(e){let n={[g.ACTIONS]:`${g.BUTTON}@2`,[g.ARTICLE]:`${g.HEADING}, ${g.PARAGRAPH}`,[g.AVATAR]:g.AVATAR,[g.BUTTON]:g.BUTTON,[g.CARD]:`${g.IMAGE}, ${g.HEADING}`,[g.CARD_AVATAR]:`${g.IMAGE}, ${g.LIST_ITEM_AVATAR}`,[g.S_CARD]:`${S}, ${C}`,[g.S_CARD_LIST]:`${w}, ${T}, ${E}`,[S]:S,[C]:C,[w]:w,[T]:T,[E]:E,[g.CHIP]:g.CHIP,[g.DATE_PICKER]:`${g.LIST_ITEM}, ${g.HEADING}, ${g.DIVIDER}, ${g.DATE_PICKER_OPTIONS}, ${g.DATE_PICKER_DAYS}, ${g.ACTIONS}`,[g.DATE_PICKER_DAYS]:g.DATE_PICKER_DAYS,[g.DATE_PICKER_OPTIONS]:g.DATE_PICKER_OPTIONS,[g.DIVIDER]:g.DIVIDER,[g.HEADING]:g.HEADING,[g.IMAGE]:g.IMAGE,[g.LIST_ITEM]:g.LIST_ITEM,[g.LIST_ITEM_AVATAR]:g.LIST_ITEM_AVATAR,[g.LIST_ITEM_AVATAR_THREE_LINE]:g.LIST_ITEM_AVATAR_THREE_LINE,[g.LIST_ITEM_AVATAR_TWO_LINE]:g.LIST_ITEM_AVATAR_TWO_LINE,[g.LIST_ITEM_THREE_LINE]:g.LIST_ITEM_THREE_LINE,[g.LIST_ITEM_TWO_LINE]:g.LIST_ITEM_TWO_LINE,[g.OSSEIN]:g.OSSEIN,[g.PARAGRAPH]:`${g.TEXT}@3`,[g.SENTENCES]:`${g.TEXT}@2`,[g.SUBTITLE]:g.SUBTITLE,[g.TABLE]:`${g.TABLE_HEADING}, ${g.TABLE_THEAD}, ${g.TABLE_TBODY}, ${g.TABLE_TFOOT}`,[g.TABLE_HEADING]:g.TABLE_HEADING,[g.TABLE_ROW]:`${g.TEXT}@6`,[g.TABLE_ROW_DIVIDER]:`${g.TABLE_ROW}, ${g.DIVIDER}`,[g.TABLE_TBODY]:`${g.TABLE_ROW_DIVIDER}@6`,[g.TABLE_TFOOT]:`${g.TEXT}@2, ${g.AVATAR}@2`,[g.TABLE_THEAD]:`${g.HEADING}@6`,[g.TEXT]:g.TEXT},r={[g.AVATAR]:`s-ui-skeleton__bone--avatar`,[g.BUTTON]:`s-ui-skeleton__bone--button`,[g.CHIP]:`s-ui-skeleton__bone--chip`,[g.DATE_PICKER_DAYS]:`s-ui-skeleton__bone--date-picker-days`,[g.DATE_PICKER_OPTIONS]:`s-ui-skeleton__bone--date-picker-options`,[g.DIVIDER]:`s-ui-skeleton__bone--divider`,[g.HEADING]:`s-ui-skeleton__bone--heading`,[g.IMAGE]:`s-ui-skeleton__bone--image`,[g.LIST_ITEM]:`s-ui-skeleton__bone--list-item`,[g.LIST_ITEM_AVATAR]:`s-ui-skeleton__bone--list-item-avatar`,[g.LIST_ITEM_AVATAR_THREE_LINE]:`s-ui-skeleton__bone--list-item-avatar-three-line`,[g.LIST_ITEM_AVATAR_TWO_LINE]:`s-ui-skeleton__bone--list-item-avatar-two-line`,[g.LIST_ITEM_THREE_LINE]:`s-ui-skeleton__bone--list-item-three-line`,[g.LIST_ITEM_TWO_LINE]:`s-ui-skeleton__bone--list-item-two-line`,[g.OSSEIN]:`s-ui-skeleton__bone--ossein`,[S]:`s-ui-skeleton__bone--s-card-icon`,[C]:`s-ui-skeleton__bone--s-card-body`,[w]:`s-ui-skeleton__bone--s-card-list-icon`,[T]:`s-ui-skeleton__bone--s-card-list-title`,[E]:`s-ui-skeleton__bone--s-card-list-meta`,[g.SUBTITLE]:`s-ui-skeleton__bone--subtitle`,[g.TEXT]:`s-ui-skeleton__bone--text`},{t:i}=h(),a=(0,t.computed)(()=>i(`skeleton.loading`)),o=(0,t.computed)(()=>e.type===g.S_LIST_ITEM),s=(0,t.computed)(()=>e.type===g.CHART_CARTESIAN),c=(0,t.computed)(()=>e.type===g.CHART_PIE),l=(0,t.computed)(()=>s.value||c.value),u=(0,t.computed)(()=>({"s-ui-skeleton--boilerplate":e.boilerplate,"s-ui-skeleton--chart-cartesian":s.value,"s-ui-skeleton--chart-pie":c.value})),d=(0,t.computed)(()=>{let t=O(e.type);if(t.includes(S)&&t.includes(C))return`s-card`;if(t.includes(w))return`s-card-list`}),f=(0,t.computed)(()=>{let t=d.value;return{"s-ui-skeleton--boilerplate":e.boilerplate,"s-ui-skeleton--unified-shimmer":!!t,[`s-ui-skeleton--unified-shimmer-${t}`]:!!t}}),p=(0,t.computed)(()=>({blockSize:D(e.height),inlineSize:D(e.width),maxBlockSize:D(e.maxHeight),maxInlineSize:D(e.maxWidth),minBlockSize:D(e.minHeight),minInlineSize:D(e.minWidth)})),m=(0,t.computed)(()=>O(e.type).map((e,t)=>({className:r[e]||r[g.TEXT],key:`${e}-${t}`}))),D=e=>{if(typeof e==`number`)return`${e}px`;if(e)return e},O=e=>(Array.isArray(e)?e:[e]).flatMap(e=>String(e).split(`,`)).flatMap(e=>k(e)),k=e=>{let t=e.trim();if(!t)return[];let[i=``,a]=t.split(`@`),o=i.trim(),s=A(a),c=n[o];return j(c&&c!==o?O(c):[r[o]?o:g.TEXT],s)},A=e=>{if(!e)return 1;let t=Number.parseInt(e,10);return!Number.isFinite(t)||t<1?1:t},j=(e,t)=>{let n=[];for(let r=0;r<t;r+=1)n.push(...e);return n};return(n,r)=>o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:(0,t.normalizeClass)([`s-ui-skeleton s-ui-skeleton--s-list-item`,{"s-ui-skeleton--boilerplate":e.boilerplate}]),role:e.boilerplate?void 0:`alert`,"aria-live":e.boilerplate?void 0:`polite`,"aria-label":e.boilerplate?void 0:a.value,"aria-busy":e.boilerplate?void 0:!0,style:(0,t.normalizeStyle)(p.value)},[...r[0]||=[(0,t.createStaticVNode)(`<div class="s-ui-skeleton__s-list-item-body"><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-icon" aria-hidden="true"></span><div class="s-ui-skeleton__s-list-item-text"><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-title" aria-hidden="true"></span><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-subtitle" aria-hidden="true"></span></div><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-title-action" aria-hidden="true"></span></div><div class="s-ui-skeleton__s-list-item-actions"><div class="s-ui-skeleton__s-list-item-trailing"><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-trailing-line" aria-hidden="true"></span><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-trailing-badge" aria-hidden="true"></span></div><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-action-button" aria-hidden="true"></span><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-action-button" aria-hidden="true"></span><span class="s-ui-skeleton__bone s-ui-skeleton__bone--s-list-item-action-end" aria-hidden="true"></span></div>`,2)]],14,_)):l.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:1,class:(0,t.normalizeClass)([`s-ui-skeleton s-ui-skeleton--chart-host`,u.value]),style:(0,t.normalizeStyle)(p.value),role:e.boilerplate?void 0:`alert`,"aria-live":e.boilerplate?void 0:`polite`,"aria-label":e.boilerplate?void 0:a.value,"aria-busy":e.boilerplate?void 0:!0},[(0,t.createElementVNode)(`div`,y,[(0,t.renderSlot)(n.$slots,`default`),r[1]||=(0,t.createElementVNode)(`span`,{class:`s-ui-skeleton__wave`,"aria-hidden":`true`},null,-1)])],14,v)):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:2,class:(0,t.normalizeClass)([`s-ui-skeleton`,f.value]),style:(0,t.normalizeStyle)(p.value),role:e.boilerplate?void 0:`alert`,"aria-live":e.boilerplate?void 0:`polite`,"aria-label":e.boilerplate?void 0:a.value,"aria-busy":e.boilerplate?void 0:!0},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(m.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:e.key,class:(0,t.normalizeClass)([`s-ui-skeleton__bone`,e.className]),"aria-hidden":`true`},null,2))),128)),d.value?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,x)):(0,t.createCommentVNode)(``,!0)],14,b))}});Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return D}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSkeleton-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSkeleton-DMGFTMPh.cjs");exports.ESSkeletonType=e.n,exports.SSkeleton=e.t;
|
package/dist/entries/skeleton.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SSkeleton-
|
|
1
|
+
import { n as e, t } from "../SSkeleton-CMrbn0Ym.js";
|
|
2
2
|
export { e as ESSkeletonType, t as SSkeleton };
|
|
@@ -40,9 +40,16 @@ export declare const createUiKitI18nInstance: (locale: EUiKitLocale) => import("
|
|
|
40
40
|
expand: string;
|
|
41
41
|
collapse: string;
|
|
42
42
|
};
|
|
43
|
+
list: {
|
|
44
|
+
loadMore: string;
|
|
45
|
+
};
|
|
43
46
|
tab: {
|
|
44
47
|
placeholder: string;
|
|
45
48
|
};
|
|
49
|
+
chartWidget: {
|
|
50
|
+
expand: string;
|
|
51
|
+
collapse: string;
|
|
52
|
+
};
|
|
46
53
|
skeleton: {
|
|
47
54
|
loading: string;
|
|
48
55
|
};
|
|
@@ -93,9 +100,16 @@ export declare const createUiKitI18nInstance: (locale: EUiKitLocale) => import("
|
|
|
93
100
|
expand: string;
|
|
94
101
|
collapse: string;
|
|
95
102
|
};
|
|
103
|
+
list: {
|
|
104
|
+
loadMore: string;
|
|
105
|
+
};
|
|
96
106
|
tab: {
|
|
97
107
|
placeholder: string;
|
|
98
108
|
};
|
|
109
|
+
chartWidget: {
|
|
110
|
+
expand: string;
|
|
111
|
+
collapse: string;
|
|
112
|
+
};
|
|
99
113
|
skeleton: {
|
|
100
114
|
loading: string;
|
|
101
115
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createUiKitI18nInstance.d.ts","sourceRoot":"","sources":["../../src/i18n/createUiKitI18nInstance.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,uBAAuB,GAAI,QAAQ,YAAY
|
|
1
|
+
{"version":3,"file":"createUiKitI18nInstance.d.ts","sourceRoot":"","sources":["../../src/i18n/createUiKitI18nInstance.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,uBAAuB,GAAI,QAAQ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAU3D,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI3E,eAAO,MAAM,oBAAoB,QAAO,kBAMvC,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,cAAc,kBAAkB,SAEpE,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,SAElD,CAAA"}
|
|
@@ -38,9 +38,16 @@ export declare const uiKitLocaleEn: {
|
|
|
38
38
|
expand: string;
|
|
39
39
|
collapse: string;
|
|
40
40
|
};
|
|
41
|
+
list: {
|
|
42
|
+
loadMore: string;
|
|
43
|
+
};
|
|
41
44
|
tab: {
|
|
42
45
|
placeholder: string;
|
|
43
46
|
};
|
|
47
|
+
chartWidget: {
|
|
48
|
+
expand: string;
|
|
49
|
+
collapse: string;
|
|
50
|
+
};
|
|
44
51
|
skeleton: {
|
|
45
52
|
loading: string;
|
|
46
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ru.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAEpD,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ru.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAEpD,eAAO,MAAM,aAAa,EAAE,oBA2D3B,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SSkeleton-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SSkeleton-DMGFTMPh.cjs"),t=require("./SIcon-B-F4imQg.cjs"),n=require("./SSpinner-FznJOcN3.cjs"),r=require("./SProgressBar-B6w0BPi-.cjs"),i=require("./SColorSwatch-WFLEx0uY.cjs");let a=require("vue");var o=t=>({install(n){let r=e.i(t.locale);e.a(r),n.provide(e.l,r)}}),s=function(e){return e.HORIZONTAL=`horizontal`,e.VERTICAL=`vertical`,e}({}),c=[`aria-orientation`],l=(0,a.defineComponent)({__name:`SSeparator`,props:{orientation:{default:()=>s.HORIZONTAL}},setup(e){let t=(0,a.computed)(()=>[`s-ui-separator--orientation-${e.orientation}`]);return(n,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)([`s-ui-separator`,t.value]),role:`separator`,"aria-orientation":e.orientation},null,10,c))}});exports.ESColorSwatchSize=i.n,exports.ESIconName=t.n,exports.ESProgressBarColor=r.n,exports.ESProgressBarSize=r.r,exports.ESSeparatorOrientation=s,exports.ESSkeletonType=e.n,exports.SColorSwatch=i.t,exports.SIcon=t.t,exports.SProgressBar=r.t,exports.SSeparator=l,exports.SSkeleton=e.t,exports.SSpinner=n.t,exports.createUiKit=o,exports.sIconNames=t.r,exports.setUiKitLocale=e.o,exports.uiKitLocaleEn=e.c,exports.uiKitLocaleRu=e.s,exports.useUiKitI18n=e.r;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./SSkeleton-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./SSkeleton-CMrbn0Ym.js";
|
|
2
2
|
import { n as l, r as u, t as d } from "./SIcon-BoSZTmf5.js";
|
|
3
3
|
import { t as f } from "./SSpinner-DawNYSyD.js";
|
|
4
4
|
import { n as p, r as m, t as h } from "./SProgressBar-Cv0qLe4H.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shtabapp/ui-kit-primitives",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0",
|
|
4
4
|
"description": "Low-level visual primitives for Shtab UI Kit (Vue 3): SIcon, SSpinner, SProgressBar, SSkeleton",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shtab",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@vueuse/core": "^14.0.0",
|
|
70
70
|
"vue": "^3.5.0",
|
|
71
71
|
"vue-i18n": "^9.8.0",
|
|
72
|
-
"@shtabapp/ui-kit-tokens": "^1.
|
|
72
|
+
"@shtabapp/ui-kit-tokens": "^1.19.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@storybook/vue3-vite": "^10.4.1",
|