@sortsys/ui 0.1.16 → 0.1.17

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/dev.js CHANGED
@@ -2357,13 +2357,12 @@ function SSTile(props) {
2357
2357
  function createSSTile(build) {
2358
2358
  return function(props) {
2359
2359
  const built = build(props.data);
2360
+ if (props.noLink) built.href = void 0;
2361
+ if (props.noIcon) built.icon = void 0;
2360
2362
  return createComponent(SSTile, mergeProps(built, {
2361
2363
  get onLinkClick() {
2362
2364
  return props.onLinkClick ?? built.onLinkClick;
2363
2365
  },
2364
- get href() {
2365
- return memo(() => !!props.noLink)() ? void 0 : built.href;
2366
- },
2367
2366
  get icon() {
2368
2367
  return memo(() => !!props.noIcon)() ? void 0 : built.icon;
2369
2368
  },
package/dist/index.js CHANGED
@@ -2357,13 +2357,12 @@ function SSTile(props) {
2357
2357
  function createSSTile(build) {
2358
2358
  return function(props) {
2359
2359
  const built = build(props.data);
2360
+ if (props.noLink) built.href = void 0;
2361
+ if (props.noIcon) built.icon = void 0;
2360
2362
  return createComponent(SSTile, mergeProps(built, {
2361
2363
  get onLinkClick() {
2362
2364
  return props.onLinkClick ?? built.onLinkClick;
2363
2365
  },
2364
- get href() {
2365
- return memo(() => !!props.noLink)() ? void 0 : built.href;
2366
- },
2367
2366
  get icon() {
2368
2367
  return memo(() => !!props.noIcon)() ? void 0 : built.icon;
2369
2368
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortsys/ui",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Simple and beautiful UI library for sortsys",
5
5
  "license": "MIT",
6
6
  "author": "Ludwig Lehnert",