@uzum-tech/ui 1.13.1 → 1.13.2

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/dist/index.js CHANGED
@@ -129470,6 +129470,7 @@
129470
129470
  font-weight: 500;
129471
129471
  `)])])]);
129472
129472
 
129473
+ const iconBarInjectionKey = createInjectionKey("icon-bar");
129473
129474
  const iconBarItemProps = {
129474
129475
  ...useTheme.props,
129475
129476
  label: String,
@@ -129480,11 +129481,35 @@
129480
129481
  type: Object
129481
129482
  }
129482
129483
  };
129484
+ const iconBarProps = {
129485
+ ...useTheme.props,
129486
+ items: {
129487
+ type: Array,
129488
+ default: () => []
129489
+ },
129490
+ cols: {
129491
+ type: Number,
129492
+ default: 6
129493
+ },
129494
+ gridProps: {
129495
+ type: Object
129496
+ },
129497
+ typographyProps: {
129498
+ type: Object
129499
+ },
129500
+ itemSize: [Number, String]
129501
+ };
129502
+
129483
129503
  var IconBarItem = vue.defineComponent({
129484
129504
  name: "IconBarItem",
129485
129505
  props: iconBarItemProps,
129486
129506
  setup(props) {
129487
129507
  const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
129508
+ const iconBarInjection = vue.inject(iconBarInjectionKey, null);
129509
+ const mergedTypographyPropsRef = vue.computed(() => ({
129510
+ ...iconBarInjection?.typographyPropsRef.value,
129511
+ ...props.typographyProps
129512
+ }));
129488
129513
  const themeRef = useTheme(
129489
129514
  "IconBar",
129490
129515
  "-icon-bar-item",
@@ -129526,6 +129551,7 @@
129526
129551
  mergedClsPrefix: mergedClsPrefixRef,
129527
129552
  cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
129528
129553
  themeClass: themeClassHandle?.themeClass,
129554
+ mergedTypographyProps: mergedTypographyPropsRef,
129529
129555
  onRender: themeClassHandle?.onRender
129530
129556
  };
129531
129557
  },
@@ -129544,7 +129570,7 @@
129544
129570
  {
129545
129571
  class: `${mergedClsPrefix}-icon-bar-item-wrapper__label`,
129546
129572
  variant: "heading-s-bold",
129547
- ...this.typographyProps
129573
+ ...this.mergedTypographyProps
129548
129574
  },
129549
129575
  this.$slots.label?.() || this.label
129550
129576
  )
@@ -129552,26 +129578,14 @@
129552
129578
  }
129553
129579
  });
129554
129580
 
129555
- const iconBarProps = {
129556
- ...useTheme.props,
129557
- items: {
129558
- type: Array,
129559
- default: () => []
129560
- },
129561
- cols: {
129562
- type: Number,
129563
- default: 6
129564
- },
129565
- gridProps: {
129566
- type: Object
129567
- },
129568
- itemSize: [Number, String]
129569
- };
129570
129581
  var IconBar = vue.defineComponent({
129571
129582
  name: "IconBar",
129572
129583
  props: iconBarProps,
129573
129584
  setup(props, { slots }) {
129574
129585
  const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
129586
+ vue.provide(iconBarInjectionKey, {
129587
+ typographyPropsRef: vue.toRef(props, "typographyProps")
129588
+ });
129575
129589
  const themeRef = useTheme(
129576
129590
  "IconBar",
129577
129591
  "-icon-bar",
@@ -131079,7 +131093,7 @@
131079
131093
  watermarkProps: watermarkProps
131080
131094
  });
131081
131095
 
131082
- var version = "1.13.1";
131096
+ var version = "1.13.2";
131083
131097
 
131084
131098
  function useExposeProxy(targetRef) {
131085
131099
  return new Proxy({}, {