@searchcraft/javascript-sdk 0.9.3 → 0.9.5

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.
Files changed (44) hide show
  1. package/dist/components/bundled.types.d.ts +2239 -0
  2. package/dist/components/index.js +5 -7
  3. package/dist/components/index.js.map +1 -1
  4. package/dist/components/{p-6d8b0ead.js → p-39be2b10.js} +435 -367
  5. package/dist/components/p-39be2b10.js.map +1 -0
  6. package/dist/components/{p-b0bc5cee.js → p-52edbc31.js} +36 -4
  7. package/dist/components/p-52edbc31.js.map +1 -0
  8. package/dist/components/{p-05872320.js → p-70f5d28f.js} +9 -18
  9. package/dist/components/p-70f5d28f.js.map +1 -0
  10. package/dist/components/{p-3568414f.js → p-8a4f8203.js} +2 -2
  11. package/dist/components/{p-3568414f.js.map → p-8a4f8203.js.map} +1 -1
  12. package/dist/components/{p-7777d986.js → p-c3cc2fc3.js} +2 -2
  13. package/dist/components/{p-7777d986.js.map → p-c3cc2fc3.js.map} +1 -1
  14. package/dist/components/{p-5bd5c3cb.js → p-d3351811.js} +7 -10
  15. package/dist/components/p-d3351811.js.map +1 -0
  16. package/dist/components/{p-cd9ba361.js → p-fee8c484.js} +2 -2
  17. package/dist/components/{p-cd9ba361.js.map → p-fee8c484.js.map} +1 -1
  18. package/dist/components/{p-11b05b94.js → p-ffb05b5b.js} +2 -2
  19. package/dist/components/{p-11b05b94.js.map → p-ffb05b5b.js.map} +1 -1
  20. package/dist/components/searchcraft-ad.js +1 -1
  21. package/dist/components/searchcraft-base-search-result.js +1 -1
  22. package/dist/components/searchcraft-base-search-results.js +37 -4
  23. package/dist/components/searchcraft-base-search-results.js.map +1 -1
  24. package/dist/components/searchcraft-facet-list.js +1 -1
  25. package/dist/components/searchcraft-filter-panel.js +3 -3
  26. package/dist/components/searchcraft-input-form.js +1 -1
  27. package/dist/components/searchcraft-pagination.js +1 -1
  28. package/dist/components/searchcraft-popover-button.js +1 -1
  29. package/dist/components/searchcraft-popover-form.js +5 -5
  30. package/dist/components/searchcraft-popover-list-item.js +1 -1
  31. package/dist/components/searchcraft-popover-list-view.js +1 -1
  32. package/dist/components/searchcraft-results-info.js +1 -1
  33. package/dist/components/searchcraft-search-results-per-page.js +1 -1
  34. package/dist/components/searchcraft-toggle-button.js +1 -1
  35. package/dist/types/components/searchcraft-base-search-results/searchcraft-base-search-results.d.ts +1 -0
  36. package/dist/types/components/searchcraft-input-form/searchcraft-input-form.d.ts +1 -4
  37. package/dist/types/components/searchcraft-popover-list-view/searchcraft-popover-list-view.d.ts +1 -0
  38. package/dist/types/components.d.ts +0 -8
  39. package/dist/types/index.d.ts +1 -2
  40. package/package.json +4 -5
  41. package/dist/components/p-05872320.js.map +0 -1
  42. package/dist/components/p-5bd5c3cb.js.map +0 -1
  43. package/dist/components/p-6d8b0ead.js.map +0 -1
  44. package/dist/components/p-b0bc5cee.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-5365011f.js';
2
- import { g as ge } from './p-6d8b0ead.js';
3
- export { s as searchcraftStore } from './p-6d8b0ead.js';
2
+ import { g as ge } from './p-39be2b10.js';
3
+ export { s as searchcraftStore } from './p-39be2b10.js';
4
4
  export { SearchcraftAd, defineCustomElement as defineCustomElementSearchcraftAd } from './searchcraft-ad.js';
5
5
  export { SearchcraftBaseSearchResult, defineCustomElement as defineCustomElementSearchcraftBaseSearchResult } from './searchcraft-base-search-result.js';
6
6
  export { SearchcraftBaseSearchResults, defineCustomElement as defineCustomElementSearchcraftBaseSearchResults } from './searchcraft-base-search-results.js';
@@ -24,11 +24,10 @@ export { SearchcraftToggleButton, defineCustomElement as defineCustomElementSear
24
24
  export { p as parseCustomStyles, s as serializeStyles } from './p-d9551738.js';
25
25
 
26
26
  const name = "@searchcraft/javascript-sdk";
27
- const version = "0.9.3";
27
+ const version = "0.9.5";
28
28
  const description = "Searchcraft Javascript SDK";
29
29
  const author = "Searchcraft";
30
30
  const license = "Apache-2.0";
31
- const main = "dist/index.cjs.js";
32
31
  const module = "dist/components/index.js";
33
32
  const types = "dist/components/index.d.ts";
34
33
  const collection = "dist/collection/collection-manifest.json";
@@ -51,7 +50,7 @@ const files = [
51
50
  "dist/"
52
51
  ];
53
52
  const scripts = {
54
- build: "stencil build && yarn docs",
53
+ build: "stencil build",
55
54
  docs: "typedoc --options typedoc.json",
56
55
  dev: "stencil build --dev --watch",
57
56
  test: "stencil test --spec --e2e",
@@ -65,7 +64,7 @@ const dependencies = {
65
64
  nanoid: "^5.0.9"
66
65
  };
67
66
  const devDependencies = {
68
- "@searchcraft/core": "^0.9.3",
67
+ "@searchcraft/core": "^0.9.5",
69
68
  "@stencil/core": "^4.7.0",
70
69
  "@stencil/react-output-target": "^0.8.2",
71
70
  "@stencil/sass": "^3.0.12",
@@ -79,7 +78,6 @@ const packageJson = {
79
78
  description: description,
80
79
  author: author,
81
80
  license: license,
82
- main: main,
83
81
  module: module,
84
82
  types: types,
85
83
  collection: collection,
@@ -1 +1 @@
1
- {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA;;;MAGa,WAAY,SAAQA,EAAe;IAC9C,YAAY,MAAyB;QACnC,KAAK,CAAC,MAAM,EAAE;YACZ,OAAO,EAAE,WAAW,CAAC,IAAI;YACzB,UAAU,EAAE,WAAW,CAAC,OAAO;SAChC,CAAC,CAAC;KACJ;;;;;","names":["SearchcraftCore"],"sources":["src/index.ts"],"sourcesContent":["import { type SearchcraftConfig, SearchcraftCore } from '@searchcraft/core';\nimport { searchcraftStore } from '@store';\nimport packageJson from '../package.json';\n\n/**\n * @fileoverview entry point for your component library\n *\n * This is the entry point for your component library. Use this file to export utilities,\n * constants or data structure that accompany your components.\n *\n * DO NOT use this file to export your components. Instead, use the recommended approaches\n * to consume components of this package as outlined in the `README.md`.\n */\nexport type * from './components';\nexport type { SearchcraftConfig };\nexport { searchcraftStore };\n\nexport {\n parseCustomStyles,\n serializeStyles,\n} from './utils';\n\nexport type { Components } from './components';\n\n/**\n * The consumer-facing `Searchcraft` class.\n */\nexport class Searchcraft extends SearchcraftCore {\n constructor(config: SearchcraftConfig) {\n super(config, {\n sdkName: packageJson.name,\n sdkVersion: packageJson.version,\n });\n }\n}\n\n/**\n * Exports the shared types that all SDKs need\n */\nexport type * from '@searchcraft/core/dist/types/sdk-types';\n"],"version":3}
1
+ {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA;;;MAGa,WAAY,SAAQA,EAAe;IAC9C,YAAY,MAAyB;QACnC,KAAK,CAAC,MAAM,EAAE;YACZ,OAAO,EAAE,WAAW,CAAC,IAAI;YACzB,UAAU,EAAE,WAAW,CAAC,OAAO;SAChC,CAAC,CAAC;KACJ;;;;;","names":["SearchcraftCore"],"sources":["src/index.ts"],"sourcesContent":["import { type SearchcraftConfig, SearchcraftCore } from '@searchcraft/core';\nimport { searchcraftStore } from '@store';\nimport packageJson from '../package.json';\n\n/**\n * @fileoverview entry point for your component library\n *\n * This is the entry point for your component library. Use this file to export utilities,\n * constants or data structure that accompany your components.\n *\n * DO NOT use this file to export your components. Instead, use the recommended approaches\n * to consume components of this package as outlined in the `README.md`.\n */\nexport type { SearchcraftConfig };\nexport { searchcraftStore };\n\nexport {\n parseCustomStyles,\n serializeStyles,\n} from './utils';\n\nexport type { Components, JSX } from './components';\n\n/**\n * The consumer-facing `Searchcraft` class.\n */\nexport class Searchcraft extends SearchcraftCore {\n constructor(config: SearchcraftConfig) {\n super(config, {\n sdkName: packageJson.name,\n sdkVersion: packageJson.version,\n });\n }\n}\n\n/**\n * Exports the shared types that all SDKs need\n */\nexport type * from '@searchcraft/core/dist/types/sdk-types';\n"],"version":3}