@livo-tv/sdk 1.1.0 → 1.1.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/styles.css CHANGED
@@ -24,9 +24,15 @@
24
24
  border: 0;
25
25
  }
26
26
 
27
+ .livo-sdk[data-livo-player="playing"] {
28
+ height: 100%;
29
+ aspect-ratio: 16 / 9;
30
+ }
31
+
27
32
  .livo-waiting-room {
28
33
  position: relative;
29
- min-height: 240px;
34
+ height: 100%;
35
+ aspect-ratio: 16 / 9;
30
36
  overflow: hidden;
31
37
  background: #09090b;
32
38
  }
@@ -42,10 +48,10 @@
42
48
  }
43
49
 
44
50
  .livo-waiting-room__overlay {
45
- position: relative;
51
+ position: absolute;
52
+ inset: 0;
46
53
  z-index: 1;
47
54
  display: flex;
48
- min-height: 240px;
49
55
  flex-direction: column;
50
56
  justify-content: flex-end;
51
57
  gap: 0.75rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livo-tv/sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Embed the Livo player and studio in a third-party app",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -47,12 +47,13 @@
47
47
  "**/*.css"
48
48
  ],
49
49
  "scripts": {
50
- "build": "tsup && node scripts/copy-css.mjs",
50
+ "build": "tsup && node scripts/copy-css.mjs && node scripts/stamp-client-entries.mjs",
51
51
  "typecheck": "tsc --noEmit",
52
52
  "lint": "eslint . --max-warnings=0",
53
53
  "format": "prettier --write .",
54
54
  "format:check": "prettier --check .",
55
55
  "test": "vitest run --coverage",
56
+ "prepare": "husky",
56
57
  "prepublishOnly": "pnpm build",
57
58
  "release": "semantic-release",
58
59
  "ci:check": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build"
@@ -93,7 +94,7 @@
93
94
  },
94
95
  "dependencies": {
95
96
  "@base-ui/react": "^1.7.0",
96
- "@livo-tv/blocks": "^1.30.1",
97
+ "@livo-tv/blocks": "^1.30.2",
97
98
  "@radix-ui/react-alert-dialog": "^1.1.15",
98
99
  "@radix-ui/react-dialog": "^1.1.15",
99
100
  "@radix-ui/react-label": "^2.1.8",
@@ -104,6 +105,8 @@
104
105
  "tailwind-merge": "^3.4.0"
105
106
  },
106
107
  "devDependencies": {
108
+ "@commitlint/cli": "^19.8.1",
109
+ "@commitlint/config-conventional": "^19.8.1",
107
110
  "@eslint/js": "^9.26.0",
108
111
  "@semantic-release/changelog": "^6.0.3",
109
112
  "@semantic-release/git": "^10.0.1",
@@ -116,7 +119,9 @@
116
119
  "@vitest/coverage-istanbul": "^4.0.0",
117
120
  "eslint": "^9.26.0",
118
121
  "eslint-config-prettier": "^10.1.3",
122
+ "husky": "^9.1.7",
119
123
  "jsdom": "^26.1.0",
124
+ "lint-staged": "^16.2.7",
120
125
  "prettier": "^3.5.3",
121
126
  "react": "^19.1.0",
122
127
  "react-dom": "^19.1.0",
@@ -131,5 +136,10 @@
131
136
  "onlyBuiltDependencies": [
132
137
  "esbuild"
133
138
  ]
139
+ },
140
+ "lint-staged": {
141
+ "**/*.{js,jsx,ts,tsx,md,json,yml,yaml,css}": [
142
+ "prettier --write"
143
+ ]
134
144
  }
135
145
  }