@shtabapp/ui-kit 1.33.0 → 1.35.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.
Files changed (144) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{SAvatar-C2gekygl.cjs → SAvatar-D5SreJLe.cjs} +1 -1
  3. package/dist/{SAvatar-DAfDAqrP.js → SAvatar-q1HSZPqy.js} +1 -1
  4. package/dist/{SAvatarGroup-HvIlI5y0.js → SAvatarGroup-By-5Ub6i.js} +1 -1
  5. package/dist/{SAvatarGroup-76j-sHCe.cjs → SAvatarGroup-CdVjv8sb.cjs} +1 -1
  6. package/dist/SColorPalette-CqfVzhda.cjs +1 -0
  7. package/dist/SColorPalette-D2WCADDX.js +146 -0
  8. package/dist/SColorPicker-BcRHiLjI.cjs +1 -0
  9. package/dist/SColorPicker-BnfGvKy4.js +642 -0
  10. package/dist/{SDropdown-Cv729__Y.js → SDropdown-CTQ5Qlez.js} +50 -49
  11. package/dist/SDropdown-_QUOP-rw.cjs +1 -0
  12. package/dist/SInput-C07kFnj_.cjs +1 -0
  13. package/dist/{SInput-iNlzBX5m.js → SInput-CkanJfLx.js} +45 -44
  14. package/dist/{SList-C_S9ej45.js → SList-B40rJ-PZ.js} +1 -1
  15. package/dist/{SList-CU2Sy9Md.cjs → SList-Txr46zQ5.cjs} +1 -1
  16. package/dist/SListItem-BKP5Wk1F.cjs +1 -0
  17. package/dist/{SListItem-BD7wvCNe.js → SListItem-DKrpL2SS.js} +56 -56
  18. package/dist/SSelect-BPYtkzaw.cjs +1 -0
  19. package/dist/{SSelect-CZe3djdm.js → SSelect-XSZjYLBA.js} +225 -223
  20. package/dist/STab-BbzowB-Y.cjs +1 -0
  21. package/dist/STab-DY1TGadw.js +218 -0
  22. package/dist/{STabs-Ce7tHq8T.js → STabs-CTM8Nji_.js} +1 -1
  23. package/dist/{STabs-C6QQnCZd.cjs → STabs-DeHqnjNJ.cjs} +1 -1
  24. package/dist/STag-CluIVRKi.js +126 -0
  25. package/dist/STag-D1mmp1kd.cjs +1 -0
  26. package/dist/{STagGroup-BMGq6jB5.cjs → STagGroup-BMIwBk-O.cjs} +1 -1
  27. package/dist/{STagGroup-DWsu0ket.js → STagGroup-wSpc3guU.js} +1 -1
  28. package/dist/colorValue-CSh0chxp.js +5 -0
  29. package/dist/colorValue-Dda7fKd3.cjs +1 -0
  30. package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.d.ts +1 -1
  31. package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.d.ts.map +1 -1
  32. package/dist/components/SColorPalette/SColorPalette.types.d.ts +19 -0
  33. package/dist/components/SColorPalette/SColorPalette.types.d.ts.map +1 -0
  34. package/dist/components/SColorPalette/SColorPalette.vue.d.ts +26 -0
  35. package/dist/components/SColorPalette/SColorPalette.vue.d.ts.map +1 -0
  36. package/dist/components/SColorPalette/index.d.ts +4 -0
  37. package/dist/components/SColorPalette/index.d.ts.map +1 -0
  38. package/dist/components/SColorPicker/SColorPicker.types.d.ts +12 -0
  39. package/dist/components/SColorPicker/SColorPicker.types.d.ts.map +1 -0
  40. package/dist/components/SColorPicker/SColorPicker.vue.d.ts +25 -0
  41. package/dist/components/SColorPicker/SColorPicker.vue.d.ts.map +1 -0
  42. package/dist/components/SColorPicker/constants/SColorPicker.constants.d.ts +2 -0
  43. package/dist/components/SColorPicker/constants/SColorPicker.constants.d.ts.map +1 -0
  44. package/dist/components/SColorPicker/index.d.ts +8 -0
  45. package/dist/components/SColorPicker/index.d.ts.map +1 -0
  46. package/dist/components/SColorPicker/parts/SColorArea.types.d.ts +9 -0
  47. package/dist/components/SColorPicker/parts/SColorArea.types.d.ts.map +1 -0
  48. package/dist/components/SColorPicker/parts/SColorArea.vue.d.ts +15 -0
  49. package/dist/components/SColorPicker/parts/SColorArea.vue.d.ts.map +1 -0
  50. package/dist/components/SColorPicker/parts/SColorValues.types.d.ts +12 -0
  51. package/dist/components/SColorPicker/parts/SColorValues.types.d.ts.map +1 -0
  52. package/dist/components/SColorPicker/parts/SColorValues.vue.d.ts +22 -0
  53. package/dist/components/SColorPicker/parts/SColorValues.vue.d.ts.map +1 -0
  54. package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.d.ts +3 -0
  55. package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.d.ts.map +1 -0
  56. package/dist/components/SColorPicker/utils/useColorArea.d.ts +29 -0
  57. package/dist/components/SColorPicker/utils/useColorArea.d.ts.map +1 -0
  58. package/dist/components/SDropdown/SDropdown.vue.d.ts.map +1 -1
  59. package/dist/components/SInput/SInput.vue.d.ts.map +1 -1
  60. package/dist/components/SListItem/SListItem.vue.d.ts.map +1 -1
  61. package/dist/components/SSelect/SSelect.types.d.ts +13 -1
  62. package/dist/components/SSelect/SSelect.types.d.ts.map +1 -1
  63. package/dist/components/SSelect/SSelect.vue.d.ts.map +1 -1
  64. package/dist/components/SSelect/index.d.ts +1 -1
  65. package/dist/components/SSelect/index.d.ts.map +1 -1
  66. package/dist/components/STab/STab.vue.d.ts.map +1 -1
  67. package/dist/components/STag/STag.vue.d.ts.map +1 -1
  68. package/dist/components/STag/utils/resolveTagColor.d.ts.map +1 -1
  69. package/dist/composables/connectedPosition/parseAnchor.d.ts.map +1 -1
  70. package/dist/composables/connectedPosition/types.d.ts +5 -1
  71. package/dist/composables/connectedPosition/types.d.ts.map +1 -1
  72. package/dist/contrastSurfaceTextColor-BDlLSSXC.js +33 -0
  73. package/dist/contrastSurfaceTextColor-BRjRzXyZ.cjs +1 -0
  74. package/dist/entries/avatar-group.cjs +1 -1
  75. package/dist/entries/avatar-group.js +1 -1
  76. package/dist/entries/avatar.cjs +1 -1
  77. package/dist/entries/avatar.js +1 -1
  78. package/dist/entries/color-palette.cjs +1 -0
  79. package/dist/entries/color-palette.d.ts +5 -0
  80. package/dist/entries/color-palette.d.ts.map +1 -0
  81. package/dist/entries/color-palette.js +3 -0
  82. package/dist/entries/color-picker.cjs +1 -0
  83. package/dist/entries/color-picker.d.ts +5 -0
  84. package/dist/entries/color-picker.d.ts.map +1 -0
  85. package/dist/entries/color-picker.js +4 -0
  86. package/dist/entries/composables.cjs +1 -1
  87. package/dist/entries/composables.js +1 -1
  88. package/dist/entries/dropdown.cjs +1 -1
  89. package/dist/entries/dropdown.js +2 -2
  90. package/dist/entries/input.cjs +1 -1
  91. package/dist/entries/input.js +1 -1
  92. package/dist/entries/list-item.cjs +1 -1
  93. package/dist/entries/list-item.js +1 -1
  94. package/dist/entries/list.cjs +1 -1
  95. package/dist/entries/list.js +1 -1
  96. package/dist/entries/select.cjs +1 -1
  97. package/dist/entries/select.d.ts +1 -1
  98. package/dist/entries/select.d.ts.map +1 -1
  99. package/dist/entries/select.js +1 -1
  100. package/dist/entries/tab.cjs +1 -1
  101. package/dist/entries/tab.js +1 -1
  102. package/dist/entries/tabs.cjs +1 -1
  103. package/dist/entries/tabs.js +2 -2
  104. package/dist/entries/tag-group.cjs +1 -1
  105. package/dist/entries/tag-group.js +2 -2
  106. package/dist/entries/tag.cjs +1 -1
  107. package/dist/entries/tag.js +1 -1
  108. package/dist/index.cjs +1 -1
  109. package/dist/index.d.ts +9 -1
  110. package/dist/index.d.ts.map +1 -1
  111. package/dist/index.js +38 -34
  112. package/dist/uikit-components.css +1 -1
  113. package/dist/useFloatingOverlay-B1UCUYQQ.cjs +1 -0
  114. package/dist/{useFloatingOverlay-D-GlpoPP.js → useFloatingOverlay-QcumEYEq.js} +23 -3
  115. package/dist/utils/color/colorFormatChannels.d.ts +11 -0
  116. package/dist/utils/color/colorFormatChannels.d.ts.map +1 -0
  117. package/dist/utils/color/colorValue.d.ts +9 -0
  118. package/dist/utils/color/colorValue.d.ts.map +1 -0
  119. package/dist/utils/color/contrastSurfaceTextColor.d.ts +1 -1
  120. package/dist/utils/color/contrastSurfaceTextColor.d.ts.map +1 -1
  121. package/dist/utils/color/defaultPaletteColors.d.ts +3 -0
  122. package/dist/utils/color/defaultPaletteColors.d.ts.map +1 -0
  123. package/dist/utils/color/formatColorForDisplay.d.ts +9 -0
  124. package/dist/utils/color/formatColorForDisplay.d.ts.map +1 -0
  125. package/dist/utils/color/index.d.ts +9 -1
  126. package/dist/utils/color/index.d.ts.map +1 -1
  127. package/dist/utils/color/parseColorFromInput.d.ts +4 -0
  128. package/dist/utils/color/parseColorFromInput.d.ts.map +1 -0
  129. package/dist/utils/color/recommendedColorPalette.d.ts +3 -0
  130. package/dist/utils/color/recommendedColorPalette.d.ts.map +1 -0
  131. package/dist/utils/color/types.d.ts +35 -0
  132. package/dist/utils/color/types.d.ts.map +1 -0
  133. package/package.json +15 -2
  134. package/dist/SDropdown-B6b7IDjp.cjs +0 -1
  135. package/dist/SInput-DYS84eMS.cjs +0 -1
  136. package/dist/SListItem-BDkldLVt.cjs +0 -1
  137. package/dist/SSelect-DAPSmCWf.cjs +0 -1
  138. package/dist/STab-C8RXx0lW.cjs +0 -1
  139. package/dist/STab-DXGKWtFI.js +0 -218
  140. package/dist/STag-BwzuI3cF.cjs +0 -1
  141. package/dist/STag-L6B4DxOx.js +0 -122
  142. package/dist/contrastSurfaceTextColor-Dl641cZ_.js +0 -33
  143. package/dist/contrastSurfaceTextColor-Ybh-FZof.cjs +0 -1
  144. package/dist/useFloatingOverlay-Cwg2MWyD.cjs +0 -1
package/dist/index.js CHANGED
@@ -1,37 +1,41 @@
1
1
  import { n as e, r as t, t as n } from "./SBadge-BDxQJh6c.js";
2
- import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-DAfDAqrP.js";
3
- import { n as l, t as u } from "./SAvatarGroup-HvIlI5y0.js";
4
- import { n as d, r as f, t as p } from "./SButton.types-CpdHQtyx.js";
5
- import { t as m } from "./SButton-DnU_XZ1C.js";
6
- import { a as h, n as g, o as _, r as v, t as y } from "./useSelectionGroup-cKj38lEN.js";
7
- import { n as b } from "./useSelectLink-DClG5hGA.js";
8
- import { n as x, t as S } from "./SButtonGroup-CmSlYnSv.js";
9
- import { n as C, r as w, t as T } from "./SCheckbox-BMKYFfrB.js";
10
- import { n as E, t as D } from "./SCard-CrU67ok0.js";
11
- import { t as O } from "./SSegmentControl-CmJEjfSR.js";
12
- import { n as k, r as A, t as j } from "./STab-DXGKWtFI.js";
13
- import { t as M } from "./STabs-Ce7tHq8T.js";
14
- import { i as N, n as P, r as F, t as I } from "./useFloatingOverlay-D-GlpoPP.js";
15
- import { n as L, r as R, t as z } from "./STag-L6B4DxOx.js";
16
- import { t as B } from "./STagGroup-DWsu0ket.js";
17
- import { n as V, r as ee, t as H } from "./SChip-TxpPE0VS.js";
18
- import { n as U, t as W } from "./SRadio-Db_YLcne.js";
19
- import { n as G, t as K } from "./SToggle-T7FKzMSo.js";
20
- import { n as q, t as J } from "./SInlineMessage-Dirk5RwO.js";
21
- import { n as Y, r as X, t as Z } from "./SLabel-yzcX4qp5.js";
22
- import { n as Q, t as $ } from "./SInput-iNlzBX5m.js";
23
- import { n as te, t as ne } from "./SInlineInput-DHq5BNPn.js";
24
- import { t as re } from "./SDropdown-Cv729__Y.js";
25
- import { n as ie, r as ae, t as oe } from "./SSelect-CZe3djdm.js";
26
- import { a as se, o as ce, s as le, t as ue } from "./SList-C_S9ej45.js";
27
- import { n as de, t as fe } from "./SListItem-BD7wvCNe.js";
28
- import { t as pe } from "./STextarea-ASdLqfpC.js";
29
- import { t as me } from "./SChartLine-G5CeC01A.js";
30
- import { t as he } from "./SChartStackedArea-RKK7aT7x.js";
31
- import { t as ge } from "./SChartStackedBar-CJunMhyb.js";
32
- import { t as _e } from "./SChartHorizontalBar-DIn1sVoi.js";
33
- import { t as ve } from "./SChartPie-_6ij1EVn.js";
34
- import { t as ye } from "./SChartProgress-CofVafO6.js";
2
+ import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-q1HSZPqy.js";
3
+ import { i as l, n as u, r as d, t as f } from "./SColorPicker-BnfGvKy4.js";
4
+ import { a as p, i as m, n as h, o as g, r as _, t as v } from "./SColorPalette-D2WCADDX.js";
5
+ import { a as y, i as b, r as x } from "./colorValue-CSh0chxp.js";
6
+ import { n as S, t as C } from "./SAvatarGroup-By-5Ub6i.js";
7
+ import { n as w, r as T, t as E } from "./SButton.types-CpdHQtyx.js";
8
+ import { t as D } from "./SButton-DnU_XZ1C.js";
9
+ import { a as O, n as k, o as A, r as j, t as M } from "./useSelectionGroup-cKj38lEN.js";
10
+ import { n as N } from "./useSelectLink-DClG5hGA.js";
11
+ import { n as P, t as F } from "./SButtonGroup-CmSlYnSv.js";
12
+ import { n as I, r as L, t as R } from "./SCheckbox-BMKYFfrB.js";
13
+ import { n as z, t as B } from "./SCard-CrU67ok0.js";
14
+ import { t as V } from "./SSegmentControl-CmJEjfSR.js";
15
+ import { n as H, r as U, t as W } from "./STab-DY1TGadw.js";
16
+ import { t as G } from "./STabs-CTM8Nji_.js";
17
+ import { i as K, n as q, r as J, t as Y } from "./useFloatingOverlay-QcumEYEq.js";
18
+ import { n as ee, r as X, t as Z } from "./STag-CluIVRKi.js";
19
+ import { t as Q } from "./STagGroup-wSpc3guU.js";
20
+ import { n as $, r as te, t as ne } from "./SChip-TxpPE0VS.js";
21
+ import { t as re } from "./SDropdown-CTQ5Qlez.js";
22
+ import { n as ie, r as ae, t as oe } from "./SSelect-XSZjYLBA.js";
23
+ import { n as se, t as ce } from "./SInput-CkanJfLx.js";
24
+ import { n as le, t as ue } from "./SInlineMessage-Dirk5RwO.js";
25
+ import { n as de, r as fe, t as pe } from "./SLabel-yzcX4qp5.js";
26
+ import { a as me, o as he, s as ge, t as _e } from "./SList-B40rJ-PZ.js";
27
+ import { n as ve, t as ye } from "./SListItem-DKrpL2SS.js";
28
+ import { n as be, t as xe } from "./SRadio-Db_YLcne.js";
29
+ import { n as Se, t as Ce } from "./SToggle-T7FKzMSo.js";
30
+ import { n as we, t as Te } from "./SInlineInput-DHq5BNPn.js";
31
+ import { t as Ee } from "./STextarea-ASdLqfpC.js";
32
+ import { t as De } from "./SChartLine-G5CeC01A.js";
33
+ import { t as Oe } from "./SChartStackedArea-RKK7aT7x.js";
34
+ import { t as ke } from "./SChartStackedBar-CJunMhyb.js";
35
+ import { t as Ae } from "./SChartHorizontalBar-DIn1sVoi.js";
36
+ import { t as je } from "./SChartPie-_6ij1EVn.js";
37
+ import { t as Me } from "./SChartProgress-CofVafO6.js";
38
+ import { createUiKit as Ne, setUiKitLocale as Pe, uiKitLocaleEn as Fe, uiKitLocaleRu as Ie, useUiKitI18n as Le } from "@shtabapp/ui-kit-primitives";
35
39
  export * from "@shtabapp/ui-kit-primitives";
36
40
  export * from "@shtabapp/ui-kit-tokens";
37
- export { p as EButtonAppearance, x as EButtonGroupLayout, d as EButtonSize, d as ESSegmentControlSize, f as EButtonVariant, F as EConnectedPositionStrategy, a as ESAvatarBadge, s as ESAvatarColor, l as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, E as ESCardLayout, C as ESCheckboxColor, w as ESCheckboxSize, V as ESChipColor, ee as ESChipSize, N as ESDropdownPlacement, te as ESInlineInputAppearance, q as ESInlineMessageValidationStatus, Q as ESInputCustomize, Y as ESLabelSize, X as ESLabelVariant, se as ESListGap, de as ESListItemVariant, U as ESRadioLabelPlacement, ie as ESSelectSearchable, k as ESTabAppearance, A as ESTabSize, L as ESTagColor, R as ESTagSize, G as ESToggleSize, y as ESelectionFocusMode, g as ESelectionMode, v as ESelectionOrientation, c as SAvatar, u as SAvatarGroup, n as SBadge, m as SButton, S as SButtonGroup, D as SCard, _e as SChartHorizontalBar, me as SChartLine, ve as SChartPie, ye as SChartProgress, he as SChartStackedArea, ge as SChartStackedBar, T as SCheckbox, H as SChip, re as SDropdown, ae as SDropdownMenu, ne as SInlineInput, J as SInlineMessage, $ as SInput, Z as SLabel, ue as SList, fe as SListItem, W as SRadio, O as SSegmentControl, oe as SSelect, j as STab, M as STabs, z as STag, B as STagGroup, pe as STextarea, K as SToggle, P as computeConnectedPosition, h as resolveOwnPropOrGroupedOrFallback, le as useFlatTreeList, I as useFloatingOverlay, ce as useSListEndReached, _ as useSelectionGroup, b as useSelectionGroupItem };
41
+ export { m as DEFAULT_COLOR_PALETTE, p as EAccentColor, E as EButtonAppearance, P as EButtonGroupLayout, w as EButtonSize, w as ESSegmentControlSize, T as EButtonVariant, g as EColorFormat, J as EConnectedPositionStrategy, a as ESAvatarBadge, s as ESAvatarColor, S as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, z as ESCardLayout, I as ESCheckboxColor, L as ESCheckboxSize, $ as ESChipColor, te as ESChipSize, h as ESColorPaletteLayout, K as ESDropdownPlacement, we as ESInlineInputAppearance, le as ESInlineMessageValidationStatus, se as ESInputCustomize, de as ESLabelSize, fe as ESLabelVariant, me as ESListGap, ve as ESListItemVariant, be as ESRadioLabelPlacement, ie as ESSelectSearchable, H as ESTabAppearance, U as ESTabSize, ee as ESTagColor, X as ESTagSize, Se as ESToggleSize, M as ESelectionFocusMode, k as ESelectionMode, j as ESelectionOrientation, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, C as SAvatarGroup, n as SBadge, D as SButton, F as SButtonGroup, B as SCard, Ae as SChartHorizontalBar, De as SChartLine, je as SChartPie, Me as SChartProgress, Oe as SChartStackedArea, ke as SChartStackedBar, R as SCheckbox, ne as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, re as SDropdown, ae as SDropdownMenu, Te as SInlineInput, ue as SInlineMessage, ce as SInput, pe as SLabel, _e as SList, ye as SListItem, xe as SRadio, V as SSegmentControl, oe as SSelect, W as STab, G as STabs, Z as STag, Q as STagGroup, Ee as STextarea, Ce as SToggle, q as computeConnectedPosition, Ne as createUiKit, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, O as resolveOwnPropOrGroupedOrFallback, Pe as setUiKitLocale, Fe as uiKitLocaleEn, Ie as uiKitLocaleRu, ge as useFlatTreeList, Y as useFloatingOverlay, he as useSListEndReached, A as useSelectionGroup, N as useSelectionGroupItem, Le as useUiKitI18n };