@eturnity/eturnity_reusable_components 8.22.23-EPDM-15547.0 → 8.22.23-EPDM-15547.1

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/main.es9.js CHANGED
@@ -4,6 +4,10 @@ import _export_sfc from "./main.es11.js";
4
4
  import { resolveComponent, openBlock, createBlock } from "./main.es6.js";
5
5
  const _sfc_main = {
6
6
  name: "ProTag",
7
+ text: {
8
+ type: String,
9
+ default: "PRO"
10
+ },
7
11
  components: {
8
12
  RCButton
9
13
  }
@@ -14,10 +18,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
14
18
  "button-size": "tiny",
15
19
  icon: "star",
16
20
  "icon-color": "yellow",
17
- text: "PRO",
21
+ text: _ctx.text,
18
22
  type: "protag",
19
23
  variant: "main"
20
- });
24
+ }, null, 8, ["text"]);
21
25
  }
22
26
  const ProTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
23
27
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.22.23-EPDM-15547.0",
3
+ "version": "8.22.23-EPDM-15547.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -0,0 +1,25 @@
1
+ <template>
2
+ <RCButton
3
+ button-size="tiny"
4
+ icon="star"
5
+ icon-color="blue"
6
+ :text="text || $gettext('free_trial')"
7
+ type="freeTrialTag"
8
+ variant="main"
9
+ />
10
+ </template>
11
+ <script>
12
+ import RCButton from '../../buttons/mainButton'
13
+ export default {
14
+ name: 'FreeTrialTag',
15
+ components: {
16
+ RCButton,
17
+ },
18
+ props: {
19
+ text: {
20
+ type: String,
21
+ default: '',
22
+ },
23
+ },
24
+ }
25
+ </script>
@@ -3,7 +3,7 @@
3
3
  button-size="tiny"
4
4
  icon="star"
5
5
  icon-color="yellow"
6
- text="PRO"
6
+ :text="text"
7
7
  type="protag"
8
8
  variant="main"
9
9
  />
@@ -12,6 +12,10 @@
12
12
  import RCButton from '../../buttons/mainButton'
13
13
  export default {
14
14
  name: 'ProTag',
15
+ text: {
16
+ type: String,
17
+ default: 'PRO',
18
+ },
15
19
  components: {
16
20
  RCButton,
17
21
  },