@lukso/web-components 1.148.0 → 1.149.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.
- package/dist/components/index.cjs +4 -4
- package/dist/components/index.js +4 -4
- package/dist/components/lukso-button/index.cjs +3 -3
- package/dist/components/lukso-button/index.js +3 -3
- package/dist/components/lukso-card/index.cjs +6 -6
- package/dist/components/lukso-card/index.js +6 -6
- package/dist/components/lukso-checkbox/index.cjs +3 -3
- package/dist/components/lukso-checkbox/index.js +3 -3
- package/dist/components/lukso-color-picker/index.cjs +4 -4
- package/dist/components/lukso-color-picker/index.js +4 -4
- package/dist/components/lukso-dropdown/index.cjs +4 -4
- package/dist/components/lukso-dropdown/index.js +4 -4
- package/dist/components/lukso-dropdown-option/index.cjs +2 -2
- package/dist/components/lukso-dropdown-option/index.js +2 -2
- package/dist/components/lukso-footer/index.cjs +2 -2
- package/dist/components/lukso-footer/index.js +2 -2
- package/dist/components/lukso-icon/index.cjs +3 -3
- package/dist/components/lukso-icon/index.js +3 -3
- package/dist/components/lukso-image/index.cjs +4 -4
- package/dist/components/lukso-image/index.js +4 -4
- package/dist/components/lukso-input/index.cjs +3 -3
- package/dist/components/lukso-input/index.js +3 -3
- package/dist/components/lukso-modal/index.cjs +2 -2
- package/dist/components/lukso-modal/index.js +2 -2
- package/dist/components/lukso-navbar/index.cjs +3 -3
- package/dist/components/lukso-navbar/index.js +3 -3
- package/dist/components/lukso-pagination/index.cjs +3 -3
- package/dist/components/lukso-pagination/index.js +3 -3
- package/dist/components/lukso-profile/index.cjs +3 -3
- package/dist/components/lukso-profile/index.js +3 -3
- package/dist/components/lukso-progress/index.cjs +3 -3
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-radio/index.cjs +3 -3
- package/dist/components/lukso-radio/index.js +3 -3
- package/dist/components/lukso-radio-group/index.cjs +3 -3
- package/dist/components/lukso-radio-group/index.js +3 -3
- package/dist/components/lukso-sanitize/index.cjs +2 -2
- package/dist/components/lukso-sanitize/index.js +2 -2
- package/dist/components/lukso-search/index.cjs +7 -6
- package/dist/components/lukso-search/index.d.ts +2 -1
- package/dist/components/lukso-search/index.d.ts.map +1 -1
- package/dist/components/lukso-search/index.js +7 -6
- package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
- package/dist/components/lukso-select/index.cjs +5 -5
- package/dist/components/lukso-select/index.js +5 -5
- package/dist/components/lukso-share/index.cjs +2 -2
- package/dist/components/lukso-share/index.js +2 -2
- package/dist/components/lukso-switch/index.cjs +3 -3
- package/dist/components/lukso-switch/index.js +3 -3
- package/dist/components/lukso-tag/index.cjs +3 -3
- package/dist/components/lukso-tag/index.js +3 -3
- package/dist/components/lukso-terms/index.cjs +3 -3
- package/dist/components/lukso-terms/index.js +3 -3
- package/dist/components/lukso-textarea/index.cjs +3 -3
- package/dist/components/lukso-textarea/index.js +3 -3
- package/dist/components/lukso-tooltip/index.cjs +3 -3
- package/dist/components/lukso-tooltip/index.js +3 -3
- package/dist/components/lukso-username/index.cjs +4 -4
- package/dist/components/lukso-username/index.js +4 -4
- package/dist/components/lukso-wizard/index.cjs +2 -2
- package/dist/components/lukso-wizard/index.js +2 -2
- package/dist/{index-DG1XcY7l.js → index-BMuX92jU.js} +119 -8
- package/dist/{index-CzuGUp5e.cjs → index-BowjCXFs.cjs} +1 -1
- package/dist/{index-b_MduME7.cjs → index-C8BtW2E5.cjs} +119 -8
- package/dist/index-ClAf3gfo.cjs +50 -0
- package/dist/{index-Db0Uh-OD.cjs → index-D04k1aOk.cjs} +3 -3
- package/dist/index-DFCjzim8.js +41 -0
- package/dist/{index-CiDuqHsl.js → index-DhBkXd96.js} +1 -1
- package/dist/{index-CIVHkTr0.js → index-Dv2LId9u.js} +2 -2
- package/dist/{index-BfBfOrWa.cjs → index-c1uDSwY7.cjs} +2 -2
- package/dist/{index-DpmOTXMc.js → index-nQ4LOAB_.js} +3 -3
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/{property-BF9Ipvfh.cjs → property-4wWsjv_3.cjs} +1 -1
- package/dist/{property-jBJt0uQ6.js → property-D2sYKbRI.js} +1 -1
- package/dist/shared/enums.d.ts +2 -1
- package/dist/shared/enums.d.ts.map +1 -1
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{state-Dnqg2VVB.js → state-BO7uqVYX.js} +1 -1
- package/dist/{state-CTmsENPK.cjs → state-CbQ1YSsw.cjs} +1 -1
- package/dist/{style-map-CV0IkMGG.cjs → style-map-BPcLqFw4.cjs} +1 -1
- package/dist/{style-map-hOUSiHf5.js → style-map-V1HGVVW5.js} +1 -1
- package/package.json +1 -1
- package/dist/index-C1D2PVva.cjs +0 -50
- package/dist/index-Ga3DorGn.js +0 -41
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import '../../index-
|
|
2
|
-
import '../../index-
|
|
3
|
-
import '../../property-
|
|
4
|
-
import '../../state-
|
|
1
|
+
import '../../index-Dv2LId9u.js';
|
|
2
|
+
import '../../index-DFCjzim8.js';
|
|
3
|
+
import '../../property-D2sYKbRI.js';
|
|
4
|
+
import '../../state-BO7uqVYX.js';
|
|
5
5
|
import '../../index-B9iart53.js';
|
|
6
6
|
import '../lukso-dropdown/index.js';
|
|
7
7
|
import '../lukso-dropdown-option/index.js';
|
|
8
8
|
import '../lukso-icon/index.js';
|
|
9
9
|
import '../lukso-input/index.js';
|
|
10
10
|
import '../lukso-tag/index.js';
|
|
11
|
-
import '../../index-
|
|
11
|
+
import '../../index-nQ4LOAB_.js';
|
|
12
|
+
import '../lukso-tooltip/index.js';
|
|
12
13
|
import '../../tailwind-config.js';
|
|
13
14
|
import '../../cn-Cu9aP49j.js';
|
|
14
|
-
export { L as LuksoSearch } from '../../index-
|
|
15
|
+
export { L as LuksoSearch } from '../../index-BMuX92jU.js';
|
|
15
16
|
import '../../uniq-id-CGUN-pJV.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lukso-search.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-search/lukso-search.stories.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAA;AAE1D,OAAO,SAAS,CAAA;AAEhB,mHAAmH;AACnH,QAAA,MAAM,IAAI,EAAE,IAoYX,CAAA;AAED,eAAe,IAAI,CAAA;AAsGnB,qDAAqD;AACrD,eAAO,MAAM,YAAY,KAAoB,CAAA;AAM7C,sDAAsD;AACtD,eAAO,MAAM,aAAa,KAAoB,CAAA;AAyC9C,6DAA6D;AAC7D,eAAO,MAAM,mBAAmB,KAAoB,CAAA;AAqBpD,oDAAoD;AACpD,eAAO,MAAM,WAAW,KAAoB,CAAA;AAwC5C,kDAAkD;AAClD,eAAO,MAAM,SAAS,KAAoB,CAAA;AAqB1C,kDAAkD;AAClD,eAAO,MAAM,WAAW,KAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"lukso-search.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-search/lukso-search.stories.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAA;AAE1D,OAAO,SAAS,CAAA;AAEhB,mHAAmH;AACnH,QAAA,MAAM,IAAI,EAAE,IAoYX,CAAA;AAED,eAAe,IAAI,CAAA;AAsGnB,qDAAqD;AACrD,eAAO,MAAM,YAAY,KAAoB,CAAA;AAM7C,sDAAsD;AACtD,eAAO,MAAM,aAAa,KAAoB,CAAA;AAyC9C,6DAA6D;AAC7D,eAAO,MAAM,mBAAmB,KAAoB,CAAA;AAqBpD,oDAAoD;AACpD,eAAO,MAAM,WAAW,KAAoB,CAAA;AAwC5C,kDAAkD;AAClD,eAAO,MAAM,SAAS,KAAoB,CAAA;AAqB1C,kDAAkD;AAClD,eAAO,MAAM,WAAW,KAAoB,CAAA;AAoG5C,0FAA0F;AAC1F,eAAO,MAAM,cAAc,KAAoB,CAAA;AAQ/C,mJAAmJ;AACnJ,eAAO,MAAM,SAAS,KAAoB,CAAA;AAQ1C,mCAAmC;AACnC,eAAO,MAAM,eAAe,KAAoB,CAAA;AAMhD,mCAAmC;AACnC,eAAO,MAAM,cAAc,KAAoB,CAAA;AAM/C,gCAAgC;AAChC,eAAO,MAAM,KAAK,KAAoB,CAAA"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
|
+
const state = require('../../state-CbQ1YSsw.cjs');
|
|
8
8
|
const index = require('../../index-CaJky2qL.cjs');
|
|
9
|
-
const components_luksoProfile_index = require('../../index-
|
|
9
|
+
const components_luksoProfile_index = require('../../index-c1uDSwY7.cjs');
|
|
10
10
|
require('../lukso-icon/index.cjs');
|
|
11
|
-
require('../../index-
|
|
11
|
+
require('../../index-D04k1aOk.cjs');
|
|
12
12
|
require('../lukso-dropdown/index.cjs');
|
|
13
13
|
require('../lukso-dropdown-option/index.cjs');
|
|
14
14
|
require('../lukso-sanitize/index.cjs');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, E, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, E, x } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t } from '../../property-D2sYKbRI.js';
|
|
3
|
+
import { r } from '../../state-BO7uqVYX.js';
|
|
4
4
|
import { c as ce } from '../../index-B9iart53.js';
|
|
5
|
-
import { m as makeBlockie } from '../../index-
|
|
5
|
+
import { m as makeBlockie } from '../../index-Dv2LId9u.js';
|
|
6
6
|
import '../lukso-icon/index.js';
|
|
7
|
-
import '../../index-
|
|
7
|
+
import '../../index-nQ4LOAB_.js';
|
|
8
8
|
import '../lukso-dropdown/index.js';
|
|
9
9
|
import '../lukso-dropdown-option/index.js';
|
|
10
10
|
import '../lukso-sanitize/index.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
7
|
|
|
8
8
|
const style = ":host {\n display: inline-flex\n}";
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t } from '../../property-D2sYKbRI.js';
|
|
3
3
|
|
|
4
4
|
const style = ":host {\n display: inline-flex\n}";
|
|
5
5
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
|
+
const styleMap = require('../../style-map-BPcLqFw4.cjs');
|
|
8
8
|
const index = require('../../index-CaJky2qL.cjs');
|
|
9
9
|
const uniqId = require('../../uniq-id-Cszs24DQ.cjs');
|
|
10
10
|
require('../lukso-sanitize/index.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as TailwindElement, x, E } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { o } from '../../style-map-
|
|
1
|
+
import { a as TailwindElement, x, E } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t } from '../../property-D2sYKbRI.js';
|
|
3
|
+
import { o } from '../../style-map-V1HGVVW5.js';
|
|
4
4
|
import { c as ce } from '../../index-B9iart53.js';
|
|
5
5
|
import { u as uniqId } from '../../uniq-id-CGUN-pJV.js';
|
|
6
6
|
import '../lukso-sanitize/index.js';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
7
|
const index = require('../../index-CaJky2qL.cjs');
|
|
8
|
-
const index$1 = require('../../index-
|
|
8
|
+
const index$1 = require('../../index-BowjCXFs.cjs');
|
|
9
9
|
|
|
10
10
|
const style = ":host {\n display: inline-flex\n}";
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t } from '../../property-D2sYKbRI.js';
|
|
3
3
|
import { c as ce } from '../../index-B9iart53.js';
|
|
4
|
-
import { c as customStyleMap } from '../../index-
|
|
4
|
+
import { c as customStyleMap } from '../../index-DhBkXd96.js';
|
|
5
5
|
|
|
6
6
|
const style = ":host {\n display: inline-flex\n}";
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
|
+
const state = require('../../state-CbQ1YSsw.cjs');
|
|
8
8
|
const index = require('../../index-D0nCA-7X.cjs');
|
|
9
9
|
require('../lukso-icon/index.cjs');
|
|
10
10
|
require('../lukso-sanitize/index.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t } from '../../property-D2sYKbRI.js';
|
|
3
|
+
import { r } from '../../state-BO7uqVYX.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-F8ll4iy2.js';
|
|
5
5
|
import '../lukso-icon/index.js';
|
|
6
6
|
import '../lukso-sanitize/index.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
|
+
const state = require('../../state-CbQ1YSsw.cjs');
|
|
8
8
|
const index = require('../../index-CaJky2qL.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
10
|
const cn = require('../../cn-CNdKneQ1.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, E, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, E, x } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t } from '../../property-D2sYKbRI.js';
|
|
3
|
+
import { r } from '../../state-BO7uqVYX.js';
|
|
4
4
|
import { c as ce } from '../../index-B9iart53.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
6
|
import { c as cn } from '../../cn-Cu9aP49j.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
|
+
const state = require('../../state-CbQ1YSsw.cjs');
|
|
8
8
|
const index = require('../../index-CaJky2qL.cjs');
|
|
9
9
|
require('../lukso-sanitize/index.cjs');
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t } from '../../property-D2sYKbRI.js';
|
|
3
|
+
import { r } from '../../state-BO7uqVYX.js';
|
|
4
4
|
import { c as ce } from '../../index-B9iart53.js';
|
|
5
5
|
import '../lukso-sanitize/index.js';
|
|
6
6
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
require('../../index-
|
|
6
|
-
require('../../property-
|
|
5
|
+
require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
require('../../property-4wWsjv_3.cjs');
|
|
7
7
|
require('../../index-CaJky2qL.cjs');
|
|
8
|
-
const components_luksoUsername_index = require('../../index-
|
|
9
|
-
require('../../index-
|
|
8
|
+
const components_luksoUsername_index = require('../../index-D04k1aOk.cjs');
|
|
9
|
+
require('../../index-BowjCXFs.cjs');
|
|
10
10
|
require('../../tailwind-config.cjs');
|
|
11
11
|
require('../../cn-CNdKneQ1.cjs');
|
|
12
12
|
require('../../isAddress-CmQX7QJh.cjs');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '../../index-
|
|
2
|
-
import '../../property-
|
|
1
|
+
import '../../index-DFCjzim8.js';
|
|
2
|
+
import '../../property-D2sYKbRI.js';
|
|
3
3
|
import '../../index-B9iart53.js';
|
|
4
|
-
export { L as LuksoUsername } from '../../index-
|
|
5
|
-
import '../../index-
|
|
4
|
+
export { L as LuksoUsername } from '../../index-nQ4LOAB_.js';
|
|
5
|
+
import '../../index-DhBkXd96.js';
|
|
6
6
|
import '../../tailwind-config.js';
|
|
7
7
|
import '../../cn-Cu9aP49j.js';
|
|
8
8
|
import '../../isAddress-Dwch1XE4.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ClAf3gfo.cjs');
|
|
6
|
+
const property = require('../../property-4wWsjv_3.cjs');
|
|
7
7
|
const directive = require('../../directive-DT5Y-Nw0.cjs');
|
|
8
8
|
const index = require('../../index-CaJky2qL.cjs');
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z, b as T, T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n, t as t$2 } from '../../property-
|
|
1
|
+
import { Z, b as T, T as TailwindStyledElement, x } from '../../index-DFCjzim8.js';
|
|
2
|
+
import { n, t as t$2 } from '../../property-D2sYKbRI.js';
|
|
3
3
|
import { e, i, t as t$1 } from '../../directive-BKuZRRPO.js';
|
|
4
4
|
import { c as ce } from '../../index-B9iart53.js';
|
|
5
5
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { m as makeBlockie } from './index-
|
|
2
|
-
import { T as TailwindStyledElement, x, E } from './index-
|
|
3
|
-
import { n, t } from './property-
|
|
4
|
-
import { r } from './state-
|
|
1
|
+
import { m as makeBlockie } from './index-Dv2LId9u.js';
|
|
2
|
+
import { T as TailwindStyledElement, x, E } from './index-DFCjzim8.js';
|
|
3
|
+
import { n, t } from './property-D2sYKbRI.js';
|
|
4
|
+
import { r } from './state-BO7uqVYX.js';
|
|
5
5
|
import { c as ce } from './index-B9iart53.js';
|
|
6
6
|
import './components/lukso-dropdown/index.js';
|
|
7
7
|
import './components/lukso-dropdown-option/index.js';
|
|
8
8
|
import './components/lukso-icon/index.js';
|
|
9
9
|
import './components/lukso-input/index.js';
|
|
10
10
|
import './components/lukso-tag/index.js';
|
|
11
|
-
import { s as sliceAddress } from './index-
|
|
11
|
+
import { s as sliceAddress } from './index-nQ4LOAB_.js';
|
|
12
|
+
import './components/lukso-tooltip/index.js';
|
|
12
13
|
import './tailwind-config.js';
|
|
13
14
|
import './cn-Cu9aP49j.js';
|
|
14
15
|
import { u as uniqId } from './uniq-id-CGUN-pJV.js';
|
|
@@ -29,6 +30,7 @@ var SEARCH_RESULT_TYPES = /* @__PURE__ */ ((SEARCH_RESULT_TYPES2) => {
|
|
|
29
30
|
SEARCH_RESULT_TYPES2["ASSET"] = "asset";
|
|
30
31
|
SEARCH_RESULT_TYPES2["APP"] = "app";
|
|
31
32
|
SEARCH_RESULT_TYPES2["UNIVERSAL_NAME"] = "universal-name";
|
|
33
|
+
SEARCH_RESULT_TYPES2["RECENT_SEARCH"] = "recent-search";
|
|
32
34
|
return SEARCH_RESULT_TYPES2;
|
|
33
35
|
})(SEARCH_RESULT_TYPES || {});
|
|
34
36
|
|
|
@@ -54,7 +56,8 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
|
|
|
54
56
|
[SEARCH_RESULT_TYPES.PROFILE]: "Profiles",
|
|
55
57
|
[SEARCH_RESULT_TYPES.ASSET]: "Assets",
|
|
56
58
|
[SEARCH_RESULT_TYPES.APP]: "Apps",
|
|
57
|
-
[SEARCH_RESULT_TYPES.STRING]: "Other"
|
|
59
|
+
[SEARCH_RESULT_TYPES.STRING]: "Other",
|
|
60
|
+
[SEARCH_RESULT_TYPES.RECENT_SEARCH]: "Recent searches"
|
|
58
61
|
});
|
|
59
62
|
this.availableText = "Available";
|
|
60
63
|
this.unavailableText = "Registered";
|
|
@@ -183,13 +186,16 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
|
|
|
183
186
|
case SEARCH_RESULT_TYPES.APP:
|
|
184
187
|
headerText = groupLabelsParsed[SEARCH_RESULT_TYPES.APP];
|
|
185
188
|
break;
|
|
189
|
+
case SEARCH_RESULT_TYPES.RECENT_SEARCH:
|
|
190
|
+
headerText = groupLabelsParsed[SEARCH_RESULT_TYPES.RECENT_SEARCH];
|
|
191
|
+
break;
|
|
186
192
|
default:
|
|
187
193
|
headerText = groupLabelsParsed[SEARCH_RESULT_TYPES.STRING];
|
|
188
194
|
break;
|
|
189
195
|
}
|
|
190
196
|
resultTemplates.push(
|
|
191
197
|
x`<div
|
|
192
|
-
class="
|
|
198
|
+
class="${index === 0 ? "mb-1 pb-1" : "my-1 py-1"} text-neutral-35 paragraph-inter-12-medium tracking-wider border-b border-b-neutral-95 text-left"
|
|
193
199
|
>
|
|
194
200
|
${headerText}
|
|
195
201
|
</div>`
|
|
@@ -215,6 +221,10 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
|
|
|
215
221
|
case SEARCH_RESULT_TYPES.APP:
|
|
216
222
|
resultTemplates.push(this.resultAppTemplate(result[1], index));
|
|
217
223
|
break;
|
|
224
|
+
// Recent searches result
|
|
225
|
+
case SEARCH_RESULT_TYPES.RECENT_SEARCH:
|
|
226
|
+
resultTemplates.push(this.resultRecentSearchTemplate(result[1]));
|
|
227
|
+
break;
|
|
218
228
|
// Default string result
|
|
219
229
|
default:
|
|
220
230
|
resultTemplates.push(this.resultStringTemplate(result[1], index));
|
|
@@ -337,7 +347,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
|
|
|
337
347
|
size=${this.usernameSize[this.size]}
|
|
338
348
|
?hide-prefix="${!result.name}"
|
|
339
349
|
class="ml-1"
|
|
340
|
-
></lukso-username
|
|
350
|
+
></lukso-username>`;
|
|
341
351
|
const eoaUsername = x`<lukso-username
|
|
342
352
|
name="${sliceAddress(result.address, 8)}"
|
|
343
353
|
address="__EOA"
|
|
@@ -413,6 +423,107 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
|
|
|
413
423
|
</span>
|
|
414
424
|
</lukso-dropdown-option>`;
|
|
415
425
|
}
|
|
426
|
+
resultRecentSearchTemplate(result) {
|
|
427
|
+
const recentSearchTemplates = [];
|
|
428
|
+
for (const recentSearch of result.value) {
|
|
429
|
+
switch (recentSearch.type) {
|
|
430
|
+
case SEARCH_RESULT_TYPES.PROFILE: {
|
|
431
|
+
const eoaProfilePicture = x`<lukso-tooltip
|
|
432
|
+
show-delay="2000"
|
|
433
|
+
class="flex"
|
|
434
|
+
>
|
|
435
|
+
<div slot="text">
|
|
436
|
+
<lukso-username
|
|
437
|
+
name="${sliceAddress(recentSearch.address, 8)}"
|
|
438
|
+
address="__EOA"
|
|
439
|
+
name-color="neutral-20"
|
|
440
|
+
max-width="300"
|
|
441
|
+
size="x-small"
|
|
442
|
+
hide-prefix
|
|
443
|
+
class="ml-1"
|
|
444
|
+
></lukso-username>
|
|
445
|
+
</div>
|
|
446
|
+
<lukso-profile
|
|
447
|
+
profile-address="${recentSearch.address}"
|
|
448
|
+
profile-url="${recentSearch.address ? makeBlockie(recentSearch.address) : ""}"
|
|
449
|
+
size=${this.profileSize[this.size]}
|
|
450
|
+
class="cursor-pointer transition hover:scale-[1.02]"
|
|
451
|
+
@click=${() => this.handleSelect(recentSearch)}
|
|
452
|
+
></lukso-profile
|
|
453
|
+
></lukso-tooltip>`;
|
|
454
|
+
const lsp3ProfilePicture = x`<lukso-tooltip
|
|
455
|
+
show-delay="2000"
|
|
456
|
+
class="flex"
|
|
457
|
+
>
|
|
458
|
+
<div slot="text">
|
|
459
|
+
<lukso-username
|
|
460
|
+
name="${recentSearch.name?.toLowerCase() || "anonymous-profile"}"
|
|
461
|
+
address="${recentSearch.address}"
|
|
462
|
+
name-color="neutral-20"
|
|
463
|
+
max-width="300"
|
|
464
|
+
size="x-small"
|
|
465
|
+
?hide-prefix="${!recentSearch.name}"
|
|
466
|
+
class="ml-1"
|
|
467
|
+
></lukso-username>
|
|
468
|
+
</div>
|
|
469
|
+
<lukso-profile
|
|
470
|
+
profile-address="${recentSearch.address}"
|
|
471
|
+
profile-url="${recentSearch.image}"
|
|
472
|
+
size=${this.profileSize[this.size]}
|
|
473
|
+
has-identicon
|
|
474
|
+
class="cursor-pointer transition hover:scale-[1.02]"
|
|
475
|
+
@click=${() => this.handleSelect(recentSearch)}
|
|
476
|
+
></lukso-profile
|
|
477
|
+
></lukso-tooltip>`;
|
|
478
|
+
const standard = recentSearch.standard || STANDARDS.LSP3;
|
|
479
|
+
const profilePicture = standard !== STANDARDS.LSP3 ? eoaProfilePicture : lsp3ProfilePicture;
|
|
480
|
+
recentSearchTemplates.push(profilePicture);
|
|
481
|
+
break;
|
|
482
|
+
}
|
|
483
|
+
case SEARCH_RESULT_TYPES.ASSET: {
|
|
484
|
+
const asset = x`<lukso-tooltip show-delay="2000" class="flex">
|
|
485
|
+
<div slot="text">
|
|
486
|
+
<span class="font-600"
|
|
487
|
+
>${recentSearch.name}
|
|
488
|
+
<span class="text-neutral-60"
|
|
489
|
+
>${recentSearch.symbol}</span
|
|
490
|
+
></span
|
|
491
|
+
>
|
|
492
|
+
</div>
|
|
493
|
+
<lukso-profile
|
|
494
|
+
profile-address="${recentSearch.address}"
|
|
495
|
+
profile-url="${recentSearch.image}"
|
|
496
|
+
placeholder="/assets/images/token-default.svg"
|
|
497
|
+
size=${this.profileSize[this.size]}
|
|
498
|
+
class="cursor-pointer transition hover:scale-[1.02]"
|
|
499
|
+
@click=${() => this.handleSelect(recentSearch)}
|
|
500
|
+
></lukso-profile
|
|
501
|
+
></lukso-tooltip>`;
|
|
502
|
+
recentSearchTemplates.push(asset);
|
|
503
|
+
break;
|
|
504
|
+
}
|
|
505
|
+
case SEARCH_RESULT_TYPES.APP: {
|
|
506
|
+
const app = x`<lukso-tooltip show-delay="2000" class="flex">
|
|
507
|
+
<div slot="text">
|
|
508
|
+
<span class="font-600">${recentSearch.name}</span>
|
|
509
|
+
</div>
|
|
510
|
+
<lukso-profile
|
|
511
|
+
profile-address="${recentSearch.address}"
|
|
512
|
+
profile-url="${recentSearch.image}"
|
|
513
|
+
size=${this.profileSize[this.size]}
|
|
514
|
+
class="cursor-pointer transition hover:scale-[1.02]"
|
|
515
|
+
@click=${() => this.handleSelect(recentSearch)}
|
|
516
|
+
></lukso-profile
|
|
517
|
+
></lukso-tooltip>`;
|
|
518
|
+
recentSearchTemplates.push(app);
|
|
519
|
+
break;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
return x`<div class="flex gap-4 mx-3 my-2">
|
|
524
|
+
${recentSearchTemplates}
|
|
525
|
+
</div>`;
|
|
526
|
+
}
|
|
416
527
|
async handleOutsideDropdownClick(event) {
|
|
417
528
|
const element = event.target;
|
|
418
529
|
let currentElement = element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const shared_tailwindElement_index = require('./index-
|
|
3
|
+
const shared_tailwindElement_index = require('./index-ClAf3gfo.cjs');
|
|
4
4
|
const directive = require('./directive-DT5Y-Nw0.cjs');
|
|
5
5
|
|
|
6
6
|
class CustomStyleMapDirective extends directive.i {
|