@nymbalhq/web-components 1.0.0 → 1.2.0

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 (187) hide show
  1. package/astro/NymbalElement.astro +19 -0
  2. package/dist/base-element-CPMgAdyQ.d.ts +91 -0
  3. package/dist/chunk-2TPQNQYO.js +155 -0
  4. package/dist/chunk-2TPQNQYO.js.map +1 -0
  5. package/dist/chunk-2XXBQPDB.js +113 -0
  6. package/dist/chunk-2XXBQPDB.js.map +1 -0
  7. package/dist/chunk-42SSME5H.js +84 -0
  8. package/dist/chunk-42SSME5H.js.map +1 -0
  9. package/dist/chunk-4COVK727.js +204 -0
  10. package/dist/chunk-4COVK727.js.map +1 -0
  11. package/dist/chunk-5VWZ2U5K.js +149 -0
  12. package/dist/chunk-5VWZ2U5K.js.map +1 -0
  13. package/dist/chunk-6XCCAAMF.js +656 -0
  14. package/dist/chunk-6XCCAAMF.js.map +1 -0
  15. package/dist/chunk-7JAAOVCE.js +114 -0
  16. package/dist/chunk-7JAAOVCE.js.map +1 -0
  17. package/dist/chunk-B73QVSA5.js +206 -0
  18. package/dist/chunk-B73QVSA5.js.map +1 -0
  19. package/dist/chunk-DR5QB5VN.js +17 -0
  20. package/dist/chunk-DR5QB5VN.js.map +1 -0
  21. package/dist/chunk-DXWMNB5F.js +70 -0
  22. package/dist/chunk-DXWMNB5F.js.map +1 -0
  23. package/dist/chunk-EBMA7JGV.js +130 -0
  24. package/dist/chunk-EBMA7JGV.js.map +1 -0
  25. package/dist/chunk-EYDMJNNK.js +176 -0
  26. package/dist/chunk-EYDMJNNK.js.map +1 -0
  27. package/dist/chunk-FIF6GQ6U.js +141 -0
  28. package/dist/chunk-FIF6GQ6U.js.map +1 -0
  29. package/dist/chunk-GHXTJ2CF.js +109 -0
  30. package/dist/chunk-GHXTJ2CF.js.map +1 -0
  31. package/dist/chunk-H3ZBYNHV.js +153 -0
  32. package/dist/chunk-H3ZBYNHV.js.map +1 -0
  33. package/dist/chunk-HPBC3OG7.js +174 -0
  34. package/dist/chunk-HPBC3OG7.js.map +1 -0
  35. package/dist/chunk-IYT7VXFS.js +105 -0
  36. package/dist/chunk-IYT7VXFS.js.map +1 -0
  37. package/dist/chunk-LHYXNQWY.js +105 -0
  38. package/dist/chunk-LHYXNQWY.js.map +1 -0
  39. package/dist/chunk-LO2EW5YP.js +25 -0
  40. package/dist/chunk-LO2EW5YP.js.map +1 -0
  41. package/dist/chunk-LSQPUZK6.js +291 -0
  42. package/dist/chunk-LSQPUZK6.js.map +1 -0
  43. package/dist/chunk-N4Y5DI4X.js +82 -0
  44. package/dist/chunk-N4Y5DI4X.js.map +1 -0
  45. package/dist/chunk-NE6UHTOT.js +148 -0
  46. package/dist/chunk-NE6UHTOT.js.map +1 -0
  47. package/dist/chunk-NW47OJVN.js +138 -0
  48. package/dist/chunk-NW47OJVN.js.map +1 -0
  49. package/dist/chunk-O2YKCDR2.js +77 -0
  50. package/dist/chunk-O2YKCDR2.js.map +1 -0
  51. package/dist/chunk-PN6QKYE4.js +71 -0
  52. package/dist/chunk-PN6QKYE4.js.map +1 -0
  53. package/dist/chunk-RAOGZH3Z.js +188 -0
  54. package/dist/chunk-RAOGZH3Z.js.map +1 -0
  55. package/dist/chunk-RVSKX2RX.js +11 -0
  56. package/dist/chunk-RVSKX2RX.js.map +1 -0
  57. package/dist/chunk-RZVFA3N5.js +154 -0
  58. package/dist/chunk-RZVFA3N5.js.map +1 -0
  59. package/dist/chunk-SM7TASEW.js +135 -0
  60. package/dist/chunk-SM7TASEW.js.map +1 -0
  61. package/dist/chunk-U2PU4CWB.js +124 -0
  62. package/dist/chunk-U2PU4CWB.js.map +1 -0
  63. package/dist/chunk-UCEVCLQ7.js +5 -0
  64. package/dist/chunk-UCEVCLQ7.js.map +1 -0
  65. package/dist/chunk-UYSZOEOA.js +32 -0
  66. package/dist/chunk-UYSZOEOA.js.map +1 -0
  67. package/dist/chunk-V55K2CS5.js +126 -0
  68. package/dist/chunk-V55K2CS5.js.map +1 -0
  69. package/dist/chunk-VTQVGNVC.js +346 -0
  70. package/dist/chunk-VTQVGNVC.js.map +1 -0
  71. package/dist/chunk-W23P7SI4.js +239 -0
  72. package/dist/chunk-W23P7SI4.js.map +1 -0
  73. package/dist/chunk-W7D3STJH.js +279 -0
  74. package/dist/chunk-W7D3STJH.js.map +1 -0
  75. package/dist/chunk-WEEHXWM3.js +172 -0
  76. package/dist/chunk-WEEHXWM3.js.map +1 -0
  77. package/dist/chunk-WTEVTCIL.js +128 -0
  78. package/dist/chunk-WTEVTCIL.js.map +1 -0
  79. package/dist/chunk-XE6IWISA.js +137 -0
  80. package/dist/chunk-XE6IWISA.js.map +1 -0
  81. package/dist/elements/nymbal-add-to-cart.d.ts +14 -0
  82. package/dist/elements/nymbal-add-to-cart.js +10 -0
  83. package/dist/elements/nymbal-add-to-cart.js.map +1 -0
  84. package/dist/elements/nymbal-address-book.d.ts +30 -0
  85. package/dist/elements/nymbal-address-book.js +13 -0
  86. package/dist/elements/nymbal-address-book.js.map +1 -0
  87. package/dist/elements/nymbal-address-form.d.ts +29 -0
  88. package/dist/elements/nymbal-address-form.js +12 -0
  89. package/dist/elements/nymbal-address-form.js.map +1 -0
  90. package/dist/elements/nymbal-breadcrumb.d.ts +15 -0
  91. package/dist/elements/nymbal-breadcrumb.js +11 -0
  92. package/dist/elements/nymbal-breadcrumb.js.map +1 -0
  93. package/dist/elements/nymbal-cart-drawer.d.ts +24 -0
  94. package/dist/elements/nymbal-cart-drawer.js +11 -0
  95. package/dist/elements/nymbal-cart-drawer.js.map +1 -0
  96. package/dist/elements/nymbal-cart-page.d.ts +20 -0
  97. package/dist/elements/nymbal-cart-page.js +14 -0
  98. package/dist/elements/nymbal-cart-page.js.map +1 -0
  99. package/dist/elements/nymbal-category-nav.d.ts +15 -0
  100. package/dist/elements/nymbal-category-nav.js +11 -0
  101. package/dist/elements/nymbal-category-nav.js.map +1 -0
  102. package/dist/elements/nymbal-checkout.d.ts +77 -0
  103. package/dist/elements/nymbal-checkout.js +15 -0
  104. package/dist/elements/nymbal-checkout.js.map +1 -0
  105. package/dist/elements/nymbal-image-gallery.d.ts +19 -0
  106. package/dist/elements/nymbal-image-gallery.js +10 -0
  107. package/dist/elements/nymbal-image-gallery.js.map +1 -0
  108. package/dist/elements/nymbal-login-form.d.ts +17 -0
  109. package/dist/elements/nymbal-login-form.js +12 -0
  110. package/dist/elements/nymbal-login-form.js.map +1 -0
  111. package/dist/elements/nymbal-mini-cart.d.ts +17 -0
  112. package/dist/elements/nymbal-mini-cart.js +10 -0
  113. package/dist/elements/nymbal-mini-cart.js.map +1 -0
  114. package/dist/elements/nymbal-order-summary.d.ts +20 -0
  115. package/dist/elements/nymbal-order-summary.js +11 -0
  116. package/dist/elements/nymbal-order-summary.js.map +1 -0
  117. package/dist/elements/nymbal-payment-element.d.ts +4 -0
  118. package/dist/elements/nymbal-payment-element.js +10 -0
  119. package/dist/elements/nymbal-payment-element.js.map +1 -0
  120. package/dist/elements/nymbal-product-card.d.ts +4 -0
  121. package/dist/elements/nymbal-product-card.js +12 -0
  122. package/dist/elements/nymbal-product-card.js.map +1 -0
  123. package/dist/elements/nymbal-product-filter.d.ts +32 -0
  124. package/dist/elements/nymbal-product-filter.js +10 -0
  125. package/dist/elements/nymbal-product-filter.js.map +1 -0
  126. package/dist/elements/nymbal-product-grid.d.ts +24 -0
  127. package/dist/elements/nymbal-product-grid.js +14 -0
  128. package/dist/elements/nymbal-product-grid.js.map +1 -0
  129. package/dist/elements/nymbal-product-price.d.ts +18 -0
  130. package/dist/elements/nymbal-product-price.js +12 -0
  131. package/dist/elements/nymbal-product-price.js.map +1 -0
  132. package/dist/elements/nymbal-profile-form.d.ts +19 -0
  133. package/dist/elements/nymbal-profile-form.js +12 -0
  134. package/dist/elements/nymbal-profile-form.js.map +1 -0
  135. package/dist/elements/nymbal-quantity-selector.d.ts +20 -0
  136. package/dist/elements/nymbal-quantity-selector.js +10 -0
  137. package/dist/elements/nymbal-quantity-selector.js.map +1 -0
  138. package/dist/elements/nymbal-register-form.d.ts +17 -0
  139. package/dist/elements/nymbal-register-form.js +12 -0
  140. package/dist/elements/nymbal-register-form.js.map +1 -0
  141. package/dist/elements/nymbal-review-form.d.ts +17 -0
  142. package/dist/elements/nymbal-review-form.js +12 -0
  143. package/dist/elements/nymbal-review-form.js.map +1 -0
  144. package/dist/elements/nymbal-review-list.d.ts +14 -0
  145. package/dist/elements/nymbal-review-list.js +10 -0
  146. package/dist/elements/nymbal-review-list.js.map +1 -0
  147. package/dist/elements/nymbal-search-bar.d.ts +19 -0
  148. package/dist/elements/nymbal-search-bar.js +10 -0
  149. package/dist/elements/nymbal-search-bar.js.map +1 -0
  150. package/dist/elements/nymbal-search-results.d.ts +29 -0
  151. package/dist/elements/nymbal-search-results.js +14 -0
  152. package/dist/elements/nymbal-search-results.js.map +1 -0
  153. package/dist/elements/nymbal-site-footer.d.ts +15 -0
  154. package/dist/elements/nymbal-site-footer.js +11 -0
  155. package/dist/elements/nymbal-site-footer.js.map +1 -0
  156. package/dist/elements/nymbal-site-header.d.ts +19 -0
  157. package/dist/elements/nymbal-site-header.js +11 -0
  158. package/dist/elements/nymbal-site-header.js.map +1 -0
  159. package/dist/elements/nymbal-sort-dropdown.d.ts +28 -0
  160. package/dist/elements/nymbal-sort-dropdown.js +10 -0
  161. package/dist/elements/nymbal-sort-dropdown.js.map +1 -0
  162. package/dist/elements/nymbal-stock-badge.d.ts +16 -0
  163. package/dist/elements/nymbal-stock-badge.js +11 -0
  164. package/dist/elements/nymbal-stock-badge.js.map +1 -0
  165. package/dist/elements/nymbal-toast.d.ts +18 -0
  166. package/dist/elements/nymbal-toast.js +10 -0
  167. package/dist/elements/nymbal-toast.js.map +1 -0
  168. package/dist/elements/nymbal-variant-selector.d.ts +16 -0
  169. package/dist/elements/nymbal-variant-selector.js +10 -0
  170. package/dist/elements/nymbal-variant-selector.js.map +1 -0
  171. package/dist/form-element-C-qo3gpD.d.ts +25 -0
  172. package/dist/hydrate-support.d.ts +2 -0
  173. package/dist/hydrate-support.js +3 -0
  174. package/dist/hydrate-support.js.map +1 -0
  175. package/dist/index.d.ts +37 -105
  176. package/dist/index.js +130 -1098
  177. package/dist/index.js.map +1 -1
  178. package/dist/nymbal-payment-element-Bt8EF42T.d.ts +51 -0
  179. package/dist/nymbal-product-card-C8HkE_rG.d.ts +47 -0
  180. package/dist/register-components.d.ts +46 -0
  181. package/dist/register-components.js +48 -0
  182. package/dist/register-components.js.map +1 -0
  183. package/dist/selected-variant-Dym0shlJ.d.ts +23 -0
  184. package/dist/ssr/index.d.ts +30 -0
  185. package/dist/ssr/index.js +143 -0
  186. package/dist/ssr/index.js.map +1 -0
  187. package/package.json +33 -6
@@ -0,0 +1,4 @@
1
+ export { N as NymbalPaymentElement } from '../nymbal-payment-element-Bt8EF42T.js';
2
+ import 'lit';
3
+ import '@nymbalhq/sdk';
4
+ import '../base-element-CPMgAdyQ.js';
@@ -0,0 +1,10 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalPaymentElement
4
+ } from "../chunk-W7D3STJH.js";
5
+ import "../chunk-EYDMJNNK.js";
6
+ import "../chunk-UCEVCLQ7.js";
7
+ export {
8
+ NymbalPaymentElement
9
+ };
10
+ //# sourceMappingURL=nymbal-payment-element.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { N as NymbalProductCard } from '../nymbal-product-card-C8HkE_rG.js';
2
+ import 'lit';
3
+ import '../base-element-CPMgAdyQ.js';
4
+ import '@nymbalhq/sdk';
@@ -0,0 +1,12 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalProductCard
4
+ } from "../chunk-RZVFA3N5.js";
5
+ import "../chunk-RVSKX2RX.js";
6
+ import "../chunk-LO2EW5YP.js";
7
+ import "../chunk-EYDMJNNK.js";
8
+ import "../chunk-UCEVCLQ7.js";
9
+ export {
10
+ NymbalProductCard
11
+ };
12
+ //# sourceMappingURL=nymbal-product-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,32 @@
1
+ import * as _nymbalhq_sdk from '@nymbalhq/sdk';
2
+ import * as lit from 'lit';
3
+ import { PropertyValues } from 'lit';
4
+ import { S as Subscribable } from '../base-element-CPMgAdyQ.js';
5
+ import { NymbalElement, ElementSchema } from '../index.js';
6
+
7
+ /**
8
+ * The facet filter. By default it reads the `facets` attribute and filters the product list. With `source="search"`
9
+ * it renders the search's own facets and narrows the search to one category: choosing an option selects it, choosing
10
+ * the selected option again clears it. The host carries `empty` while it renders no facet, so a page can lay out
11
+ * around it (its light DOM is always empty).
12
+ */
13
+ declare class NymbalProductFilter extends NymbalElement {
14
+ static schema: ElementSchema;
15
+ static properties: lit.PropertyDeclarations;
16
+ static styles: lit.CSSResult[];
17
+ facets: unknown;
18
+ /** Both: a wrapper may set `source` after the element has connected. */
19
+ protected stores(): (_nymbalhq_sdk.SearchStore | _nymbalhq_sdk.ProductListStore)[];
20
+ /** With `source="search"` the `facets` a server read stand until the search settles; a listing's always show. */
21
+ protected storeSettled(store: Subscribable): void;
22
+ /** The facets this render shows, and whether each value is checked. */
23
+ private shown;
24
+ private _shown;
25
+ protected willUpdate(_changed: PropertyValues): void;
26
+ protected render(): lit.TemplateResult<1>[];
27
+ private handleChange;
28
+ private emit;
29
+ private facetsAttribute;
30
+ }
31
+
32
+ export { NymbalProductFilter };
@@ -0,0 +1,10 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalProductFilter
4
+ } from "../chunk-WEEHXWM3.js";
5
+ import "../chunk-EYDMJNNK.js";
6
+ import "../chunk-UCEVCLQ7.js";
7
+ export {
8
+ NymbalProductFilter
9
+ };
10
+ //# sourceMappingURL=nymbal-product-filter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,24 @@
1
+ import * as _nymbalhq_sdk from '@nymbalhq/sdk';
2
+ import * as lit from 'lit';
3
+ import { NymbalElement, ElementSchema } from '../index.js';
4
+ import { NymbalProductCard } from './nymbal-product-card.js';
5
+
6
+ /** A grid of `nymbal-product-card`s, a listing's (following the product-list store) or a static one. */
7
+ declare class NymbalProductGrid extends NymbalElement {
8
+ static schema: ElementSchema;
9
+ static uses: (typeof NymbalProductCard)[];
10
+ static properties: lit.PropertyDeclarations;
11
+ static styles: lit.CSSResult[];
12
+ products: unknown;
13
+ source: string | undefined;
14
+ hasMore: boolean | undefined;
15
+ lazy: boolean | undefined;
16
+ private get listing();
17
+ protected stores(): _nymbalhq_sdk.ProductListStore[];
18
+ protected storeSettled(): void;
19
+ /** The server's cards while they stand, else (a listing with a client) the product-list store's. */
20
+ private shown;
21
+ protected render(): lit.TemplateResult<1>;
22
+ }
23
+
24
+ export { NymbalProductGrid };
@@ -0,0 +1,14 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalProductGrid
4
+ } from "../chunk-5VWZ2U5K.js";
5
+ import "../chunk-RZVFA3N5.js";
6
+ import "../chunk-RVSKX2RX.js";
7
+ import "../chunk-GHXTJ2CF.js";
8
+ import "../chunk-LO2EW5YP.js";
9
+ import "../chunk-EYDMJNNK.js";
10
+ import "../chunk-UCEVCLQ7.js";
11
+ export {
12
+ NymbalProductGrid
13
+ };
14
+ //# sourceMappingURL=nymbal-product-grid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,18 @@
1
+ import * as lit from 'lit';
2
+ import { nothing } from 'lit';
3
+ import { ElementSchema } from '../index.js';
4
+ import { N as NymbalVariantElement } from '../selected-variant-Dym0shlJ.js';
5
+ import '@nymbalhq/sdk';
6
+
7
+ /** A product page's price: the selected variant's once the product store holds this product. */
8
+ declare class NymbalProductPrice extends NymbalVariantElement {
9
+ static schema: ElementSchema;
10
+ static properties: lit.PropertyDeclarations;
11
+ static styles: lit.CSSResult[];
12
+ priceMinor: number | undefined;
13
+ currency: string | undefined;
14
+ compareAtMinor: number | undefined;
15
+ protected render(): typeof nothing | lit.TemplateResult<1>;
16
+ }
17
+
18
+ export { NymbalProductPrice };
@@ -0,0 +1,12 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalProductPrice
4
+ } from "../chunk-DXWMNB5F.js";
5
+ import "../chunk-UYSZOEOA.js";
6
+ import "../chunk-RVSKX2RX.js";
7
+ import "../chunk-EYDMJNNK.js";
8
+ import "../chunk-UCEVCLQ7.js";
9
+ export {
10
+ NymbalProductPrice
11
+ };
12
+ //# sourceMappingURL=nymbal-product-price.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as _nymbalhq_sdk from '@nymbalhq/sdk';
2
+ import * as lit from 'lit';
3
+ import { ElementSchema } from '../index.js';
4
+ import { N as NymbalFormElement } from '../form-element-C-qo3gpD.js';
5
+
6
+ /** The signed-in customer's name and phone, filled from the auth store and saved through it. */
7
+ declare class NymbalProfileForm extends NymbalFormElement {
8
+ static schema: ElementSchema;
9
+ static properties: lit.PropertyDeclarations;
10
+ static styles: lit.CSSResult[];
11
+ customer: unknown;
12
+ protected stores(): _nymbalhq_sdk.AuthStore[];
13
+ protected storeSettled(): void;
14
+ protected send(): Promise<void>;
15
+ protected failureText(err: unknown): string;
16
+ protected render(): lit.TemplateResult<1>;
17
+ }
18
+
19
+ export { NymbalProfileForm };
@@ -0,0 +1,12 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalProfileForm
4
+ } from "../chunk-WTEVTCIL.js";
5
+ import "../chunk-PN6QKYE4.js";
6
+ import "../chunk-GHXTJ2CF.js";
7
+ import "../chunk-EYDMJNNK.js";
8
+ import "../chunk-UCEVCLQ7.js";
9
+ export {
10
+ NymbalProfileForm
11
+ };
12
+ //# sourceMappingURL=nymbal-profile-form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,20 @@
1
+ import * as lit from 'lit';
2
+ import { PropertyValues } from 'lit';
3
+ import { NymbalElement, ElementSchema } from '../index.js';
4
+ import '@nymbalhq/sdk';
5
+
6
+ declare class NymbalQuantitySelector extends NymbalElement {
7
+ static schema: ElementSchema;
8
+ static properties: lit.PropertyDeclarations;
9
+ static styles: lit.CSSResult[];
10
+ private _value;
11
+ private bounds;
12
+ protected willUpdate(changed: PropertyValues): void;
13
+ attributeChangedCallback(name: string, old: string | null, value: string | null): void;
14
+ protected render(): lit.TemplateResult<1>;
15
+ private step;
16
+ private handleChange;
17
+ private emitChange;
18
+ }
19
+
20
+ export { NymbalQuantitySelector };
@@ -0,0 +1,10 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalQuantitySelector
4
+ } from "../chunk-HPBC3OG7.js";
5
+ import "../chunk-EYDMJNNK.js";
6
+ import "../chunk-UCEVCLQ7.js";
7
+ export {
8
+ NymbalQuantitySelector
9
+ };
10
+ //# sourceMappingURL=nymbal-quantity-selector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,17 @@
1
+ import * as lit from 'lit';
2
+ import { ElementSchema } from '../index.js';
3
+ import { N as NymbalFormElement } from '../form-element-C-qo3gpD.js';
4
+ import '@nymbalhq/sdk';
5
+
6
+ /** Creates the shopper's account and signs them in; the page decides where they go next. */
7
+ declare class NymbalRegisterForm extends NymbalFormElement {
8
+ static schema: ElementSchema;
9
+ static properties: lit.PropertyDeclarations;
10
+ static styles: lit.CSSResult[];
11
+ protected readonly lockOnSuccess = true;
12
+ protected send(): Promise<void>;
13
+ protected failureText(err: unknown): string;
14
+ protected render(): lit.TemplateResult<1>;
15
+ }
16
+
17
+ export { NymbalRegisterForm };
@@ -0,0 +1,12 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalRegisterForm
4
+ } from "../chunk-NW47OJVN.js";
5
+ import "../chunk-PN6QKYE4.js";
6
+ import "../chunk-GHXTJ2CF.js";
7
+ import "../chunk-EYDMJNNK.js";
8
+ import "../chunk-UCEVCLQ7.js";
9
+ export {
10
+ NymbalRegisterForm
11
+ };
12
+ //# sourceMappingURL=nymbal-register-form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,17 @@
1
+ import * as lit from 'lit';
2
+ import { ElementSchema } from '../index.js';
3
+ import { N as NymbalFormElement } from '../form-element-C-qo3gpD.js';
4
+ import '@nymbalhq/sdk';
5
+
6
+ /** A review of one product: one submission per click, the form cleared once the store has it. */
7
+ declare class NymbalReviewForm extends NymbalFormElement {
8
+ static schema: ElementSchema;
9
+ static properties: lit.PropertyDeclarations;
10
+ static styles: lit.CSSResult[];
11
+ productId: string | undefined;
12
+ protected send(): Promise<void>;
13
+ protected failureText(): string;
14
+ protected render(): lit.TemplateResult<1>;
15
+ }
16
+
17
+ export { NymbalReviewForm };
@@ -0,0 +1,12 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalReviewForm
4
+ } from "../chunk-NE6UHTOT.js";
5
+ import "../chunk-PN6QKYE4.js";
6
+ import "../chunk-GHXTJ2CF.js";
7
+ import "../chunk-EYDMJNNK.js";
8
+ import "../chunk-UCEVCLQ7.js";
9
+ export {
10
+ NymbalReviewForm
11
+ };
12
+ //# sourceMappingURL=nymbal-review-form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,14 @@
1
+ import * as lit from 'lit';
2
+ import { NymbalElement, ElementSchema } from '../index.js';
3
+ import '@nymbalhq/sdk';
4
+
5
+ /** A product's reviews, each with its rating, date, title and text; an invitation when there are none. */
6
+ declare class NymbalReviewList extends NymbalElement {
7
+ static schema: ElementSchema;
8
+ static properties: lit.PropertyDeclarations;
9
+ static styles: lit.CSSResult[];
10
+ reviews: unknown;
11
+ protected render(): lit.TemplateResult<1>;
12
+ }
13
+
14
+ export { NymbalReviewList };
@@ -0,0 +1,10 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalReviewList
4
+ } from "../chunk-7JAAOVCE.js";
5
+ import "../chunk-EYDMJNNK.js";
6
+ import "../chunk-UCEVCLQ7.js";
7
+ export {
8
+ NymbalReviewList
9
+ };
10
+ //# sourceMappingURL=nymbal-review-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as _nymbalhq_sdk from '@nymbalhq/sdk';
2
+ import * as lit from 'lit';
3
+ import { NymbalElement, ElementSchema } from '../index.js';
4
+
5
+ declare class NymbalSearchBar extends NymbalElement {
6
+ static schema: ElementSchema;
7
+ static properties: lit.PropertyDeclarations;
8
+ static styles: lit.CSSResult[];
9
+ private debounceTimer;
10
+ private selectedIndex;
11
+ protected stores(): _nymbalhq_sdk.SearchStore[];
12
+ protected render(): lit.TemplateResult<1>;
13
+ private handleInput;
14
+ private handleKeydown;
15
+ private select;
16
+ disconnectedCallback(): void;
17
+ }
18
+
19
+ export { NymbalSearchBar };
@@ -0,0 +1,10 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalSearchBar
4
+ } from "../chunk-4COVK727.js";
5
+ import "../chunk-EYDMJNNK.js";
6
+ import "../chunk-UCEVCLQ7.js";
7
+ export {
8
+ NymbalSearchBar
9
+ };
10
+ //# sourceMappingURL=nymbal-search-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,29 @@
1
+ import * as _nymbalhq_sdk from '@nymbalhq/sdk';
2
+ import * as lit from 'lit';
3
+ import { NymbalElement, ElementSchema } from '../index.js';
4
+ import { NymbalProductCard } from './nymbal-product-card.js';
5
+
6
+ /**
7
+ * The search store's results: the term, a grid of `nymbal-product-card`s, the no-term and no-results states, and load
8
+ * more. The page owns the term and the category (the URL and the search input) and searches; this renders the answer.
9
+ */
10
+ declare class NymbalSearchResults extends NymbalElement {
11
+ static schema: ElementSchema;
12
+ static uses: (typeof NymbalProductCard)[];
13
+ static properties: lit.PropertyDeclarations;
14
+ static styles: lit.CSSResult[];
15
+ results: unknown;
16
+ query: string | undefined;
17
+ protected stores(): _nymbalhq_sdk.SearchStore[];
18
+ protected storeSettled(): void;
19
+ /**
20
+ * The results a server gave while they stand (`given`), else the search store's; with neither, no search. Given
21
+ * results are shown whether or not the server named their term.
22
+ */
23
+ private shown;
24
+ private empty;
25
+ private body;
26
+ protected render(): lit.TemplateResult<1>;
27
+ }
28
+
29
+ export { NymbalSearchResults };
@@ -0,0 +1,14 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalSearchResults
4
+ } from "../chunk-RAOGZH3Z.js";
5
+ import "../chunk-RZVFA3N5.js";
6
+ import "../chunk-RVSKX2RX.js";
7
+ import "../chunk-GHXTJ2CF.js";
8
+ import "../chunk-LO2EW5YP.js";
9
+ import "../chunk-EYDMJNNK.js";
10
+ import "../chunk-UCEVCLQ7.js";
11
+ export {
12
+ NymbalSearchResults
13
+ };
14
+ //# sourceMappingURL=nymbal-search-results.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,15 @@
1
+ import * as lit from 'lit';
2
+ import { NymbalElement, ElementSchema } from '../index.js';
3
+ import '@nymbalhq/sdk';
4
+
5
+ /** The store's footer: columns of links (or a line of text) under their headings, and the copyright line. */
6
+ declare class NymbalSiteFooter extends NymbalElement {
7
+ static schema: ElementSchema;
8
+ static properties: lit.PropertyDeclarations;
9
+ static styles: lit.CSSResult[];
10
+ columns: unknown;
11
+ year: number | undefined;
12
+ protected render(): lit.TemplateResult<1>;
13
+ }
14
+
15
+ export { NymbalSiteFooter };
@@ -0,0 +1,11 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalSiteFooter
4
+ } from "../chunk-FIF6GQ6U.js";
5
+ import "../chunk-LO2EW5YP.js";
6
+ import "../chunk-EYDMJNNK.js";
7
+ import "../chunk-UCEVCLQ7.js";
8
+ export {
9
+ NymbalSiteFooter
10
+ };
11
+ //# sourceMappingURL=nymbal-site-footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as lit from 'lit';
2
+ import { NymbalElement, ElementSchema } from '../index.js';
3
+ import '@nymbalhq/sdk';
4
+
5
+ /**
6
+ * The store's header: the logo, the navigation (behind a toggle on a narrow screen, with no script needed), the
7
+ * account link, and the page's search bar and mini-cart in its `search` and `cart` slots.
8
+ */
9
+ declare class NymbalSiteHeader extends NymbalElement {
10
+ static schema: ElementSchema;
11
+ static properties: lit.PropertyDeclarations;
12
+ static styles: lit.CSSResult[];
13
+ links: unknown;
14
+ logo: string | undefined;
15
+ accountHref: string | undefined;
16
+ protected render(): lit.TemplateResult<1>;
17
+ }
18
+
19
+ export { NymbalSiteHeader };
@@ -0,0 +1,11 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalSiteHeader
4
+ } from "../chunk-W23P7SI4.js";
5
+ import "../chunk-LO2EW5YP.js";
6
+ import "../chunk-EYDMJNNK.js";
7
+ import "../chunk-UCEVCLQ7.js";
8
+ export {
9
+ NymbalSiteHeader
10
+ };
11
+ //# sourceMappingURL=nymbal-site-header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,28 @@
1
+ import * as lit from 'lit';
2
+ import { NymbalElement, ElementSchema } from '../index.js';
3
+ import '@nymbalhq/sdk';
4
+
5
+ /**
6
+ * <nymbal-sort-dropdown sort-keys='[…]' value default-sort>: one option per sort key the store reports, in its order,
7
+ * labelled from PRODUCT_SORT_LABELS. A `value` the keys lack shows `default-sort`. Choosing an option emits
8
+ * `nymbal:sort:changed` with `{ sort }`. A `<select>` child (a server render's, so the sort works before JS) is slotted
9
+ * and is the one it fills; with none, it renders its own `part="select"`.
10
+ */
11
+ declare class NymbalSortDropdown extends NymbalElement {
12
+ static schema: ElementSchema;
13
+ static properties: lit.PropertyDeclarations;
14
+ static styles: lit.CSSResult[];
15
+ private _wired;
16
+ /** A slotted `<select>`; a server's element has no light DOM to read, so it renders its own. */
17
+ private slottedSelect;
18
+ private select;
19
+ /** The keys to offer, and the one shown: `value` when offered, else `default-sort`, else the first. */
20
+ private choice;
21
+ private label;
22
+ /** Its own select renders its options, so a server render offers them too. */
23
+ protected render(): lit.TemplateResult<1>;
24
+ protected updated(): void;
25
+ private handleChange;
26
+ }
27
+
28
+ export { NymbalSortDropdown };
@@ -0,0 +1,10 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalSortDropdown
4
+ } from "../chunk-EBMA7JGV.js";
5
+ import "../chunk-EYDMJNNK.js";
6
+ import "../chunk-UCEVCLQ7.js";
7
+ export {
8
+ NymbalSortDropdown
9
+ };
10
+ //# sourceMappingURL=nymbal-sort-dropdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,16 @@
1
+ import * as lit from 'lit';
2
+ import { nothing } from 'lit';
3
+ import { ElementSchema } from '../index.js';
4
+ import { N as NymbalVariantElement } from '../selected-variant-Dym0shlJ.js';
5
+ import '@nymbalhq/sdk';
6
+
7
+ /** A product page's stock level (`@nymbalhq/types`' rule): the selected variant's once the store holds this product. */
8
+ declare class NymbalStockBadge extends NymbalVariantElement {
9
+ static schema: ElementSchema;
10
+ static properties: lit.PropertyDeclarations;
11
+ static styles: lit.CSSResult[];
12
+ stock: number | undefined;
13
+ protected render(): typeof nothing | lit.TemplateResult<1>;
14
+ }
15
+
16
+ export { NymbalStockBadge };
@@ -0,0 +1,11 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalStockBadge
4
+ } from "../chunk-O2YKCDR2.js";
5
+ import "../chunk-UYSZOEOA.js";
6
+ import "../chunk-EYDMJNNK.js";
7
+ import "../chunk-UCEVCLQ7.js";
8
+ export {
9
+ NymbalStockBadge
10
+ };
11
+ //# sourceMappingURL=nymbal-stock-badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,18 @@
1
+ import * as lit from 'lit';
2
+ import { NymbalElement, ElementSchema } from '../index.js';
3
+ import '@nymbalhq/sdk';
4
+
5
+ type ToastType = 'success' | 'error' | 'warning' | 'info';
6
+ declare class NymbalToast extends NymbalElement {
7
+ static schema: ElementSchema;
8
+ static properties: lit.PropertyDeclarations;
9
+ static styles: lit.CSSResult[];
10
+ private _items;
11
+ connectedCallback(): void;
12
+ show(message: string, type?: ToastType): void;
13
+ private dismiss;
14
+ protected render(): unknown;
15
+ static showGlobal(message: string, type?: ToastType): void;
16
+ }
17
+
18
+ export { NymbalToast };
@@ -0,0 +1,10 @@
1
+ import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
2
+ import {
3
+ NymbalToast
4
+ } from "../chunk-2TPQNQYO.js";
5
+ import "../chunk-EYDMJNNK.js";
6
+ import "../chunk-UCEVCLQ7.js";
7
+ export {
8
+ NymbalToast
9
+ };
10
+ //# sourceMappingURL=nymbal-toast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,16 @@
1
+ import * as _nymbalhq_sdk from '@nymbalhq/sdk';
2
+ import * as lit from 'lit';
3
+ import { NymbalElement, ElementSchema } from '../index.js';
4
+
5
+ declare class NymbalVariantSelector extends NymbalElement {
6
+ static schema: ElementSchema;
7
+ static properties: lit.PropertyDeclarations;
8
+ static styles: lit.CSSResult[];
9
+ product: unknown;
10
+ protected stores(): _nymbalhq_sdk.ProductStore[];
11
+ protected storeSettled(): void;
12
+ protected render(): lit.TemplateResult<1> | lit.TemplateResult<1>[];
13
+ private choose;
14
+ }
15
+
16
+ export { NymbalVariantSelector };