@shtabapp/ui-kit 1.32.0 → 1.34.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 (115) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/SAvatar-C2gekygl.cjs +1 -0
  3. package/dist/SAvatar-DAfDAqrP.js +265 -0
  4. package/dist/{SAvatarGroup-CMa9KhUZ.cjs → SAvatarGroup-76j-sHCe.cjs} +1 -1
  5. package/dist/{SAvatarGroup-wkXHy_tK.js → SAvatarGroup-HvIlI5y0.js} +1 -1
  6. package/dist/SColorPalette-B9WrqgRz.js +146 -0
  7. package/dist/SColorPalette-CYGnmIWP.cjs +1 -0
  8. package/dist/SColorPicker-Cs0QmYWm.js +635 -0
  9. package/dist/SColorPicker-D7QwVS2t.cjs +1 -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/{SSelect-iBb45tet.js → SSelect-AcH04gtk.js} +23 -18
  13. package/dist/{SSelect-CgL7ECfS.cjs → SSelect-CT3AMH-u.cjs} +1 -1
  14. package/dist/STag-COwzellL.js +123 -0
  15. package/dist/STag-HgFvU1Iy.cjs +1 -0
  16. package/dist/{STagGroup-BMyuxfVX.cjs → STagGroup-CKxDA9Y0.cjs} +1 -1
  17. package/dist/{STagGroup-B2-_OG3R.js → STagGroup-Cbe0AENj.js} +1 -1
  18. package/dist/colorValue-DClAEDHr.cjs +1 -0
  19. package/dist/colorValue-DXJiNKGE.js +5 -0
  20. package/dist/components/SAvatar/SAvatar.vue.d.ts.map +1 -1
  21. package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.d.ts +4 -0
  22. package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.d.ts.map +1 -0
  23. package/dist/components/SAvatar/utils/resolveAvatarColor.d.ts +1 -3
  24. package/dist/components/SAvatar/utils/resolveAvatarColor.d.ts.map +1 -1
  25. package/dist/components/SColorPalette/SColorPalette.types.d.ts +19 -0
  26. package/dist/components/SColorPalette/SColorPalette.types.d.ts.map +1 -0
  27. package/dist/components/SColorPalette/SColorPalette.vue.d.ts +26 -0
  28. package/dist/components/SColorPalette/SColorPalette.vue.d.ts.map +1 -0
  29. package/dist/components/SColorPalette/index.d.ts +4 -0
  30. package/dist/components/SColorPalette/index.d.ts.map +1 -0
  31. package/dist/components/SColorPicker/SColorPicker.types.d.ts +12 -0
  32. package/dist/components/SColorPicker/SColorPicker.types.d.ts.map +1 -0
  33. package/dist/components/SColorPicker/SColorPicker.vue.d.ts +25 -0
  34. package/dist/components/SColorPicker/SColorPicker.vue.d.ts.map +1 -0
  35. package/dist/components/SColorPicker/constants/SColorPicker.constants.d.ts +2 -0
  36. package/dist/components/SColorPicker/constants/SColorPicker.constants.d.ts.map +1 -0
  37. package/dist/components/SColorPicker/index.d.ts +8 -0
  38. package/dist/components/SColorPicker/index.d.ts.map +1 -0
  39. package/dist/components/SColorPicker/parts/SColorArea.types.d.ts +9 -0
  40. package/dist/components/SColorPicker/parts/SColorArea.types.d.ts.map +1 -0
  41. package/dist/components/SColorPicker/parts/SColorArea.vue.d.ts +15 -0
  42. package/dist/components/SColorPicker/parts/SColorArea.vue.d.ts.map +1 -0
  43. package/dist/components/SColorPicker/parts/SColorValues.types.d.ts +12 -0
  44. package/dist/components/SColorPicker/parts/SColorValues.types.d.ts.map +1 -0
  45. package/dist/components/SColorPicker/parts/SColorValues.vue.d.ts +22 -0
  46. package/dist/components/SColorPicker/parts/SColorValues.vue.d.ts.map +1 -0
  47. package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.d.ts +3 -0
  48. package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.d.ts.map +1 -0
  49. package/dist/components/SColorPicker/utils/useColorArea.d.ts +29 -0
  50. package/dist/components/SColorPicker/utils/useColorArea.d.ts.map +1 -0
  51. package/dist/components/SDropdown/SDropdown.vue.d.ts.map +1 -1
  52. package/dist/components/SSelect/SSelect.types.d.ts +5 -0
  53. package/dist/components/SSelect/SSelect.types.d.ts.map +1 -1
  54. package/dist/components/SSelect/SSelect.vue.d.ts.map +1 -1
  55. package/dist/components/STag/utils/resolveTagColor.d.ts +1 -3
  56. package/dist/components/STag/utils/resolveTagColor.d.ts.map +1 -1
  57. package/dist/composables/connectedPosition/parseAnchor.d.ts.map +1 -1
  58. package/dist/composables/connectedPosition/types.d.ts +5 -1
  59. package/dist/composables/connectedPosition/types.d.ts.map +1 -1
  60. package/dist/contrastSurfaceTextColor-Dl641cZ_.js +33 -0
  61. package/dist/contrastSurfaceTextColor-Ybh-FZof.cjs +1 -0
  62. package/dist/entries/avatar-group.cjs +1 -1
  63. package/dist/entries/avatar-group.js +1 -1
  64. package/dist/entries/avatar.cjs +1 -1
  65. package/dist/entries/avatar.js +1 -1
  66. package/dist/entries/color-palette.cjs +1 -0
  67. package/dist/entries/color-palette.d.ts +5 -0
  68. package/dist/entries/color-palette.d.ts.map +1 -0
  69. package/dist/entries/color-palette.js +3 -0
  70. package/dist/entries/color-picker.cjs +1 -0
  71. package/dist/entries/color-picker.d.ts +5 -0
  72. package/dist/entries/color-picker.d.ts.map +1 -0
  73. package/dist/entries/color-picker.js +4 -0
  74. package/dist/entries/composables.cjs +1 -1
  75. package/dist/entries/composables.js +1 -1
  76. package/dist/entries/dropdown.cjs +1 -1
  77. package/dist/entries/dropdown.js +2 -2
  78. package/dist/entries/select.cjs +1 -1
  79. package/dist/entries/select.js +1 -1
  80. package/dist/entries/tag-group.cjs +1 -1
  81. package/dist/entries/tag-group.js +2 -2
  82. package/dist/entries/tag.cjs +1 -1
  83. package/dist/entries/tag.js +1 -1
  84. package/dist/index.cjs +1 -1
  85. package/dist/index.d.ts +6 -0
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +37 -34
  88. package/dist/uikit-components.css +1 -1
  89. package/dist/useFloatingOverlay-B1UCUYQQ.cjs +1 -0
  90. package/dist/{useFloatingOverlay-D-GlpoPP.js → useFloatingOverlay-QcumEYEq.js} +23 -3
  91. package/dist/utils/color/colorFormatChannels.d.ts +11 -0
  92. package/dist/utils/color/colorFormatChannels.d.ts.map +1 -0
  93. package/dist/utils/color/colorValue.d.ts +9 -0
  94. package/dist/utils/color/colorValue.d.ts.map +1 -0
  95. package/dist/utils/color/contrastSurfaceTextColor.d.ts +4 -0
  96. package/dist/utils/color/contrastSurfaceTextColor.d.ts.map +1 -0
  97. package/dist/utils/color/defaultPaletteColors.d.ts +3 -0
  98. package/dist/utils/color/defaultPaletteColors.d.ts.map +1 -0
  99. package/dist/utils/color/formatColorForDisplay.d.ts +9 -0
  100. package/dist/utils/color/formatColorForDisplay.d.ts.map +1 -0
  101. package/dist/utils/color/index.d.ts +10 -0
  102. package/dist/utils/color/index.d.ts.map +1 -0
  103. package/dist/utils/color/parseColorFromInput.d.ts +4 -0
  104. package/dist/utils/color/parseColorFromInput.d.ts.map +1 -0
  105. package/dist/utils/color/recommendedColorPalette.d.ts +3 -0
  106. package/dist/utils/color/recommendedColorPalette.d.ts.map +1 -0
  107. package/dist/utils/color/types.d.ts +35 -0
  108. package/dist/utils/color/types.d.ts.map +1 -0
  109. package/package.json +12 -2
  110. package/dist/SAvatar-BS9Lu2eL.js +0 -249
  111. package/dist/SAvatar-BXABKIV0.cjs +0 -1
  112. package/dist/SDropdown-B6b7IDjp.cjs +0 -1
  113. package/dist/STag-CYoj7L-p.js +0 -118
  114. package/dist/STag-DVrSWByQ.cjs +0 -1
  115. package/dist/useFloatingOverlay-Cwg2MWyD.cjs +0 -1
package/dist/index.js CHANGED
@@ -1,37 +1,40 @@
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-BS9Lu2eL.js";
3
- import { n as l, t as u } from "./SAvatarGroup-wkXHy_tK.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-CYoj7L-p.js";
16
- import { t as B } from "./STagGroup-B2-_OG3R.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-iBb45tet.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-DAfDAqrP.js";
3
+ import { i as l, n as u, r as d, t as f } from "./SColorPicker-Cs0QmYWm.js";
4
+ import { a as p, i as m, n as h, o as g, r as _, t as v } from "./SColorPalette-B9WrqgRz.js";
5
+ import { a as y, i as b, r as x } from "./colorValue-DXJiNKGE.js";
6
+ import { n as S, t as C } from "./SAvatarGroup-HvIlI5y0.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-DXGKWtFI.js";
16
+ import { t as G } from "./STabs-Ce7tHq8T.js";
17
+ import { i as ee, n as K, r as q, t as J } from "./useFloatingOverlay-QcumEYEq.js";
18
+ import { n as Y, r as X, t as Z } from "./STag-COwzellL.js";
19
+ import { t as Q } from "./STagGroup-Cbe0AENj.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-AcH04gtk.js";
23
+ import { n as se, t as ce } from "./SInput-iNlzBX5m.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-C_S9ej45.js";
27
+ import { n as ve, t as ye } from "./SListItem-BD7wvCNe.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";
35
38
  export * from "@shtabapp/ui-kit-primitives";
36
39
  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 };
40
+ 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, q 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, ee 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, Y 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, K as computeConnectedPosition, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, O as resolveOwnPropOrGroupedOrFallback, ge as useFlatTreeList, J as useFloatingOverlay, he as useSListEndReached, A as useSelectionGroup, N as useSelectionGroupItem };