intelliwaketssveltekitv25 0.1.164 → 0.1.166

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/Modal.svelte CHANGED
@@ -278,7 +278,7 @@
278
278
  {#if !!okButton}
279
279
  <button type={okType}
280
280
  class='dialogButtonOK shadow-none okButton {classButton}'
281
- data-color-dark={okColor ?? color}
281
+ data-color={okColor ?? color}
282
282
  class:whitespace-nowrap={!okButtonWrap}
283
283
  bind:this={okButtonElement}
284
284
  onclick={okAction}
@@ -30,7 +30,7 @@
30
30
  </script>
31
31
 
32
32
  <span
33
- data-color={(isNegative && !classNameAddOnNegative) ? "danger" : ''}
33
+ data-color-text={(isNegative && !classNameAddOnNegative) ? "danger" : ''}
34
34
  class={
35
35
  (className ?? '') + ' ' + (isNegative ? classNameAddOnNegative ?? 'text-red-600' : '')
36
36
  }>
@@ -108,12 +108,7 @@
108
108
  if (ToArray(invalidate).some(inv => inv === 'All')) gotoSettings.invalidateAll = true
109
109
  else gotoSettings.invalidate = ToArray(invalidate)
110
110
  }
111
- if (display.page === 1) {
112
- if (currentValue) {
113
- pageState.url.searchParams.delete(queryParamName)
114
- goto(pageState.url, gotoSettings)
115
- }
116
- } else if (display.page !== currentValue) {
111
+ if (display.page !== currentValue) {
117
112
  pageState.url.searchParams.set(queryParamName, display.page.toString())
118
113
  goto(pageState.url, gotoSettings)
119
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.1.164",
3
+ "version": "0.1.166",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",