bge-ui 1.0.14 → 1.0.15

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
@@ -6803,6 +6803,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6803
6803
  modelValue: {
6804
6804
  type: String,
6805
6805
  default: ""
6806
+ },
6807
+ size: {
6808
+ default: "default",
6809
+ value: ["default", "large"]
6806
6810
  }
6807
6811
  },
6808
6812
  emits: "update:modelValue",
@@ -6852,7 +6856,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6852
6856
  });
6853
6857
  return (_ctx, _cache) => {
6854
6858
  return openBlock(), createElementBlock("div", {
6855
- class: normalizeClass(`bge-tabs bge-tabs__${__props.type}`)
6859
+ class: normalizeClass(`bge-tabs bge-tabs__${__props.type} bge-tabs__${__props.size}`)
6856
6860
  }, [
6857
6861
  createElementVNode("div", _hoisted_1$2, [
6858
6862
  renderSlot(_ctx.$slots, "default")
package/dist/style.css CHANGED
@@ -3429,6 +3429,16 @@ to {
3429
3429
  align-items: flex-start;
3430
3430
  position: relative;
3431
3431
  }
3432
+ .bge-tabs.bge-tabs__default .bge-tabs__panes {
3433
+ font-size: 14px;
3434
+ font-weight: 500;
3435
+ line-height: 24px;
3436
+ }
3437
+ .bge-tabs.bge-tabs__large .bge-tabs__panes {
3438
+ font-size: 16px;
3439
+ font-weight: 500;
3440
+ line-height: 28px;
3441
+ }
3432
3442
  .bge-tabs.bge-tabs__bordered::after {
3433
3443
  content: "";
3434
3444
  position: absolute;
@@ -3491,10 +3501,6 @@ to {
3491
3501
  border-radius: var(--radius-small, 0px);
3492
3502
  color: var(--tc-tertiary, #53677A);
3493
3503
  cursor: pointer;
3494
- font-size: 16px;
3495
- font-style: normal;
3496
- font-weight: 500;
3497
- line-height: 28px;
3498
3504
  margin-right: 16px;
3499
3505
  }
3500
3506
  .bge-tabs__bordered .bge-tab__pane:last-child {
@@ -7,6 +7,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
+ size: {
11
+ default: string;
12
+ value: string[];
13
+ };
10
14
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
15
  [x: string]: (...args: any[]) => void;
12
16
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -18,7 +22,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
22
  type: StringConstructor;
19
23
  default: string;
20
24
  };
25
+ size: {
26
+ default: string;
27
+ value: string[];
28
+ };
21
29
  }>>, {
30
+ size: string;
22
31
  type: string;
23
32
  modelValue: string;
24
33
  }, {}>, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bge-ui",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :class="`bge-tabs bge-tabs__${type}`">
2
+ <div :class="`bge-tabs bge-tabs__${type} bge-tabs__${size}`">
3
3
  <div class="bge-tabs__panes">
4
4
  <slot></slot>
5
5
  </div>
@@ -21,6 +21,10 @@ const props = defineProps({
21
21
  type: String,
22
22
  default: '',
23
23
  },
24
+ size: {
25
+ default: 'default',
26
+ value: ['default', 'large']
27
+ }
24
28
  })
25
29
 
26
30
  const emits = defineEmits('update:modelValue')
@@ -92,6 +96,24 @@ onMounted(() => {
92
96
  }
93
97
  }
94
98
 
99
+
100
+
101
+ &.bge-tabs__default {
102
+ .bge-tabs__panes {
103
+ font-size: 14px;
104
+ font-weight: 500;
105
+ line-height: 24px;
106
+ }
107
+ }
108
+
109
+ &.bge-tabs__large {
110
+ .bge-tabs__panes {
111
+ font-size: 16px;
112
+ font-weight: 500;
113
+ line-height: 28px;
114
+ }
115
+ }
116
+
95
117
  &.bge-tabs__bordered {
96
118
  &::after {
97
119
  content: "";
@@ -79,10 +79,6 @@ onMounted(() => {
79
79
  border-radius: var(--radius-small, 0px);
80
80
  color: var(--tc-tertiary, #53677A);
81
81
  cursor: pointer;
82
- font-size: 16px;
83
- font-style: normal;
84
- font-weight: 500;
85
- line-height: 28px;
86
82
  margin-right: 16px;
87
83
 
88
84
  &:last-child {