@esportsplus/ui 0.39.1 → 0.39.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.
@@ -88,10 +88,10 @@ const content = (attributes, { check, close, error }) => {
88
88
  <div class='--flex-fill --flex-column --gap-100 --padding-right --padding-800'>
89
89
  ${() => {
90
90
  let message = attributes.message;
91
- return state.type && [...state.messages].map((content, i) => {
91
+ return state.type && [...state.messages].map((content) => {
92
92
  if (typeof content === 'string') {
93
93
  return html `
94
- <p class='${i === 0 && '--text-crop-top'}' ${message}>
94
+ <p ${message}>
95
95
  ${content}
96
96
  </p>
97
97
  `;
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "private": false,
43
43
  "sideEffects": false,
44
44
  "type": "module",
45
- "version": "0.39.1",
45
+ "version": "0.39.2",
46
46
  "scripts": {
47
47
  "build": "run-s build:vite build:ts",
48
48
  "build:ts": "tsc && tsc-alias",
@@ -128,10 +128,10 @@ const content = (
128
128
  ${() => {
129
129
  let message = attributes.message;
130
130
 
131
- return state.type && [...state.messages].map((content, i) => {
131
+ return state.type && [...state.messages].map((content) => {
132
132
  if (typeof content === 'string') {
133
133
  return html`
134
- <p class='${i === 0 && '--text-crop-top'}' ${message}>
134
+ <p ${message}>
135
135
  ${content}
136
136
  </p>
137
137
  `;