@esportsplus/ui 0.0.106 → 0.0.108

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.
@@ -1,23 +1,21 @@
1
- declare const subtitle: () => {
1
+ declare const subtitle: {
2
2
  class: string;
3
3
  };
4
- declare const suptitle: () => {
4
+ declare const suptitle: {
5
5
  class: string;
6
- style: string;
7
6
  };
8
- declare const title: (subtitle: unknown, suptitle: unknown) => {
9
- class: string;
7
+ declare const title: {
8
+ class: (subtitle?: boolean, suptitle?: boolean) => string;
10
9
  };
11
10
  declare const _default: {
12
- subtitle: () => {
11
+ subtitle: {
13
12
  class: string;
14
13
  };
15
- suptitle: () => {
14
+ suptitle: {
16
15
  class: string;
17
- style: string;
18
16
  };
19
- title: (subtitle: unknown, suptitle: unknown) => {
20
- class: string;
17
+ title: {
18
+ class: (subtitle?: boolean | undefined, suptitle?: boolean | undefined) => string;
21
19
  };
22
20
  };
23
21
  export default _default;
@@ -1,23 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.title = exports.suptitle = exports.subtitle = void 0;
4
- const subtitle = () => {
5
- return {
6
- class: 'page-subtitle --margin-top --margin-200 --text-crop-bottom'
7
- };
4
+ const subtitle = {
5
+ class: 'page-subtitle --margin-top --margin-200 --text-crop-bottom'
8
6
  };
9
7
  exports.subtitle = subtitle;
10
- const suptitle = () => {
11
- return {
12
- class: 'page-suptitle --text-bold --text-crop --text-uppercase --text-200',
13
- style: '--color-default: var(--color-primary-400);letter-spacing: 0.24px;'
14
- };
8
+ const suptitle = {
9
+ class: 'page-suptitle --text-bold-600 --text-crop --text-uppercase --text-300'
15
10
  };
16
11
  exports.suptitle = suptitle;
17
- const title = (subtitle, suptitle) => {
18
- return {
19
- class: `page-title --line-height-200 --margin-200 ${!subtitle && '--text-crop-bottom'} ${suptitle ? '--margin-top' : '--text-crop-top'}`
20
- };
12
+ const title = {
13
+ class: (subtitle, suptitle) => `page-title --line-height-200 --margin-300 ${!subtitle && '--text-crop-bottom'} ${suptitle ? '--margin-top' : '--text-crop-top'}`
21
14
  };
22
15
  exports.title = title;
23
16
  exports.default = { subtitle, suptitle, title };
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "prepublishOnly": "npm run build"
22
22
  },
23
23
  "types": "build/index.d.ts",
24
- "version": "0.0.106"
24
+ "version": "0.0.108"
25
25
  }
@@ -1,20 +1,13 @@
1
- const subtitle = () => {
2
- return {
3
- class: 'page-subtitle --margin-top --margin-200 --text-crop-bottom'
4
- };
1
+ const subtitle = {
2
+ class: 'page-subtitle --margin-top --margin-200 --text-crop-bottom'
5
3
  };
6
4
 
7
- const suptitle = () => {
8
- return {
9
- class: 'page-suptitle --text-bold --text-crop --text-uppercase --text-200',
10
- style: '--color-default: var(--color-primary-400);letter-spacing: 0.24px;'
11
- }
5
+ const suptitle = {
6
+ class: 'page-suptitle --text-bold-600 --text-crop --text-uppercase --text-300'
12
7
  };
13
8
 
14
- const title = (subtitle: unknown, suptitle: unknown) => {
15
- return {
16
- class: `page-title --line-height-200 --margin-200 ${!subtitle && '--text-crop-bottom'} ${suptitle ? '--margin-top' : '--text-crop-top'}`
17
- };
9
+ const title = {
10
+ class: (subtitle?: boolean, suptitle?: boolean) => `page-title --line-height-200 --margin-300 ${!subtitle && '--text-crop-bottom'} ${suptitle ? '--margin-top' : '--text-crop-top'}`
18
11
  };
19
12
 
20
13