@knowark/componarkjs 1.12.1 → 1.13.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.
@@ -292,6 +292,13 @@ ${[...mutableProperties, ...effects].map(
292
292
  }
293
293
  `.trim())).flat().join('\n')}
294
294
 
295
+ ${[...mutableProperties, ...effects].map(
296
+ effect => actions.map(action => css`
297
+ [style*='--${effect}-child${tie(action)}:']:has(> *${action.replace('-', ':')}) {
298
+ ${effect}: var(--${effect}-child${tie(action)});
299
+ }
300
+ `.trim())).flat().join('\n')}
301
+
295
302
  ${[...mutableProperties, ...effects].map(
296
303
  effect => actions.map(action => css`
297
304
  *${action.replace('-', ':')} + [style*='--${effect}-sibling${tie(action)}:'] {
@@ -133,7 +133,7 @@ export class Paginator extends Component {
133
133
  }
134
134
 
135
135
  _buildButton (element, handler, content, attributes = []) {
136
- const button = element ?? document.createElement('button')
136
+ const button = (element ?? document.createElement('button')).cloneNode(true)
137
137
  button.innerHTML = button.innerHTML || content
138
138
  if (handler) {
139
139
  button.setAttribute('paginator-listen', '')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowark/componarkjs",
3
- "version": "1.12.1",
3
+ "version": "1.13.1",
4
4
  "author": "Knowark",
5
5
  "description": "Knowark's Web Components Library",
6
6
  "license": "ISC",