@sankhyatronics/sankhya-cms 0.2.0 → 0.3.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 (209) hide show
  1. package/custom-elements.json +10968 -3080
  2. package/dist/attention-panel/index.js +2 -2
  3. package/dist/bar-chart/index.js +2 -2
  4. package/dist/bento-grid/index.d.ts +25 -0
  5. package/dist/bento-grid/index.js +4 -4
  6. package/dist/booking/index.d.ts +309 -0
  7. package/dist/booking/index.js +20 -0
  8. package/dist/booking/index.js.map +1 -0
  9. package/dist/card/index.js +2 -2
  10. package/dist/carousel/index.d.ts +20 -6
  11. package/dist/carousel/index.js +3 -3
  12. package/dist/chip/index.js +2 -2
  13. package/dist/{chunk-OLA35A2O.js → chunk-2GTR37PU.js} +2 -2
  14. package/dist/{chunk-7NIWQWTA.js → chunk-2HMOX253.js} +128 -25
  15. package/dist/chunk-2HMOX253.js.map +1 -0
  16. package/dist/{chunk-DH53HZPB.js → chunk-37KFBKPD.js} +32 -4
  17. package/dist/chunk-37KFBKPD.js.map +1 -0
  18. package/dist/{chunk-EE6PAN3B.js → chunk-4XPKKYVZ.js} +23 -15
  19. package/dist/chunk-4XPKKYVZ.js.map +1 -0
  20. package/dist/chunk-535QAZ6A.js +236 -0
  21. package/dist/chunk-535QAZ6A.js.map +1 -0
  22. package/dist/{chunk-AKJQ345O.js → chunk-5AWGZQWU.js} +2 -2
  23. package/dist/chunk-6OZKZG5J.js +300 -0
  24. package/dist/chunk-6OZKZG5J.js.map +1 -0
  25. package/dist/chunk-AYNT7G3J.js +805 -0
  26. package/dist/chunk-AYNT7G3J.js.map +1 -0
  27. package/dist/chunk-BEWX3E6P.js +32 -0
  28. package/dist/chunk-BEWX3E6P.js.map +1 -0
  29. package/dist/chunk-CZUGPKXV.js +275 -0
  30. package/dist/chunk-CZUGPKXV.js.map +1 -0
  31. package/dist/{chunk-2DXHPEB5.js → chunk-DJFWZOZM.js} +107 -11
  32. package/dist/chunk-DJFWZOZM.js.map +1 -0
  33. package/dist/chunk-DPANTC3O.js +1714 -0
  34. package/dist/chunk-DPANTC3O.js.map +1 -0
  35. package/dist/chunk-EKZFFY45.js +426 -0
  36. package/dist/chunk-EKZFFY45.js.map +1 -0
  37. package/dist/chunk-ER7MCPDV.js +7 -0
  38. package/dist/chunk-ER7MCPDV.js.map +1 -0
  39. package/dist/chunk-EW2RK5Y6.js +383 -0
  40. package/dist/chunk-EW2RK5Y6.js.map +1 -0
  41. package/dist/{chunk-BLQV2YMO.js → chunk-EZOKT7NJ.js} +2 -2
  42. package/dist/chunk-FF2LWEF3.js +386 -0
  43. package/dist/chunk-FF2LWEF3.js.map +1 -0
  44. package/dist/chunk-FOUK3NHR.js +7 -0
  45. package/dist/chunk-FOUK3NHR.js.map +1 -0
  46. package/dist/{chunk-O4FCRKDX.js → chunk-GB4NGCZI.js} +6 -3
  47. package/dist/chunk-GB4NGCZI.js.map +1 -0
  48. package/dist/{chunk-5F5PTVWR.js → chunk-GOFSMD6W.js} +9 -10
  49. package/dist/chunk-GOFSMD6W.js.map +1 -0
  50. package/dist/{chunk-6D6ROU7X.js → chunk-IGMVF3KK.js} +2 -2
  51. package/dist/{chunk-INMSEYT6.js → chunk-IVPVYVWG.js} +2 -2
  52. package/dist/{chunk-ZRC5BVDX.js → chunk-JURCF4OD.js} +174 -12
  53. package/dist/chunk-JURCF4OD.js.map +1 -0
  54. package/dist/{chunk-FZ36KL73.js → chunk-KZ7PMFWS.js} +11 -1
  55. package/dist/chunk-KZ7PMFWS.js.map +1 -0
  56. package/dist/{chunk-EMCQBT3S.js → chunk-LO6TZBGD.js} +129 -35
  57. package/dist/chunk-LO6TZBGD.js.map +1 -0
  58. package/dist/chunk-MFRGAT6D.js +860 -0
  59. package/dist/chunk-MFRGAT6D.js.map +1 -0
  60. package/dist/chunk-MIBVQXRU.js +1098 -0
  61. package/dist/chunk-MIBVQXRU.js.map +1 -0
  62. package/dist/{chunk-35TX3AOA.js → chunk-NABSRUXG.js} +2 -2
  63. package/dist/{chunk-2FJDNJ7R.js → chunk-NXKDZWS7.js} +44 -6
  64. package/dist/chunk-NXKDZWS7.js.map +1 -0
  65. package/dist/{chunk-KMU6ABQF.js → chunk-NXUS2CH7.js} +14 -1
  66. package/dist/chunk-NXUS2CH7.js.map +1 -0
  67. package/dist/{chunk-GJO3RGOB.js → chunk-OCPGOLVF.js} +56 -11
  68. package/dist/chunk-OCPGOLVF.js.map +1 -0
  69. package/dist/chunk-OEOE6IFY.js +628 -0
  70. package/dist/chunk-OEOE6IFY.js.map +1 -0
  71. package/dist/{chunk-OELI3IWC.js → chunk-PV6OCXXN.js} +2 -2
  72. package/dist/{chunk-5C6C6K5U.js → chunk-Q66CJO3P.js} +200 -12
  73. package/dist/chunk-Q66CJO3P.js.map +1 -0
  74. package/dist/{chunk-MG2VTZA4.js → chunk-QS3ANOWN.js} +2 -2
  75. package/dist/{chunk-3OEEOBHB.js → chunk-QSJ543V2.js} +2 -2
  76. package/dist/{chunk-FML6AG2V.js → chunk-RANC3OI6.js} +2 -2
  77. package/dist/chunk-T4BIN37Q.js +32 -0
  78. package/dist/chunk-T4BIN37Q.js.map +1 -0
  79. package/dist/{chunk-YVTFQHVY.js → chunk-TEAZZPDQ.js} +2 -2
  80. package/dist/chunk-TJK55CJ2.js +49 -0
  81. package/dist/chunk-TJK55CJ2.js.map +1 -0
  82. package/dist/chunk-UKIVLF7S.js +32 -0
  83. package/dist/chunk-UKIVLF7S.js.map +1 -0
  84. package/dist/chunk-V4R7PYP5.js +905 -0
  85. package/dist/chunk-V4R7PYP5.js.map +1 -0
  86. package/dist/{chunk-AG2COC64.js → chunk-VVYQ2DDS.js} +2 -2
  87. package/dist/chunk-WAMOAAMN.js +16 -0
  88. package/dist/chunk-WAMOAAMN.js.map +1 -0
  89. package/dist/chunk-WAYHHL4J.js +1234 -0
  90. package/dist/chunk-WAYHHL4J.js.map +1 -0
  91. package/dist/{chunk-PHEGSCOM.js → chunk-WH6HE6SY.js} +10 -4
  92. package/dist/chunk-WH6HE6SY.js.map +1 -0
  93. package/dist/{chunk-5MY6OWMK.js → chunk-XP6DI3VY.js} +59 -4
  94. package/dist/chunk-XP6DI3VY.js.map +1 -0
  95. package/dist/{chunk-QLA4BH2B.js → chunk-XS6LNTSH.js} +73 -11
  96. package/dist/chunk-XS6LNTSH.js.map +1 -0
  97. package/dist/{chunk-WT4OATGP.js → chunk-ZKFCDVB4.js} +16 -7
  98. package/dist/chunk-ZKFCDVB4.js.map +1 -0
  99. package/dist/cms-theme.css +22 -0
  100. package/dist/contact-form/index.d.ts +220 -0
  101. package/dist/contact-form/index.js +16 -0
  102. package/dist/contact-form/index.js.map +1 -0
  103. package/dist/content-block/index.d.ts +39 -3
  104. package/dist/content-block/index.js +8 -5
  105. package/dist/cookie-consent/index.d.ts +60 -12
  106. package/dist/cookie-consent/index.js +3 -2
  107. package/dist/date-tile/index.js +2 -2
  108. package/dist/dropdown/index.d.ts +22 -1
  109. package/dist/dropdown/index.js +4 -2
  110. package/dist/feature-split/index.d.ts +6 -1
  111. package/dist/feature-split/index.js +5 -5
  112. package/dist/features-section/index.d.ts +49 -5
  113. package/dist/features-section/index.js +6 -6
  114. package/dist/flow/index.js +2 -2
  115. package/dist/footer/index.d.ts +13 -0
  116. package/dist/footer/index.js +2 -2
  117. package/dist/header/index.d.ts +127 -1
  118. package/dist/header/index.js +3 -2
  119. package/dist/hero/index.d.ts +75 -6
  120. package/dist/hero/index.js +6 -3
  121. package/dist/icon-button/index.d.ts +5 -3
  122. package/dist/icon-button/index.js +2 -2
  123. package/dist/index.d.ts +9 -3
  124. package/dist/index.js +118 -57
  125. package/dist/items-accordion/index.d.ts +5 -1
  126. package/dist/items-accordion/index.js +4 -4
  127. package/dist/kpi-card/index.js +2 -2
  128. package/dist/markdown/index.d.ts +18 -0
  129. package/dist/markdown/index.js +3 -3
  130. package/dist/mega-menu/index.d.ts +95 -7
  131. package/dist/mega-menu/index.js +7 -2
  132. package/dist/menu-grid/index.js +2 -2
  133. package/dist/menu-grid-item/index.js +2 -2
  134. package/dist/menu-item/index.d.ts +6 -0
  135. package/dist/menu-item/index.js +3 -2
  136. package/dist/plan-cards/index.d.ts +69 -0
  137. package/dist/plan-cards/index.js +13 -0
  138. package/dist/plan-cards/index.js.map +1 -0
  139. package/dist/product-nav/index.d.ts +127 -0
  140. package/dist/product-nav/index.js +11 -0
  141. package/dist/product-nav/index.js.map +1 -0
  142. package/dist/promo-banner/index.d.ts +34 -7
  143. package/dist/promo-banner/index.js +6 -3
  144. package/dist/quote-dialog/index.d.ts +174 -0
  145. package/dist/quote-dialog/index.js +22 -0
  146. package/dist/quote-dialog/index.js.map +1 -0
  147. package/dist/schema/index.d.ts +8 -0
  148. package/dist/schema/index.js +6 -0
  149. package/dist/schema/index.js.map +1 -1
  150. package/dist/screenshot-tour/index.d.ts +54 -0
  151. package/dist/screenshot-tour/index.js +9 -0
  152. package/dist/screenshot-tour/index.js.map +1 -0
  153. package/dist/section/index.js +3 -3
  154. package/dist/segmented-control/index.js +2 -2
  155. package/dist/select/index.js +2 -2
  156. package/dist/shared/styles.d.ts +7 -1
  157. package/dist/shared/styles.js +3 -1
  158. package/dist/stats/index.js +2 -2
  159. package/dist/steps/index.d.ts +12 -0
  160. package/dist/steps/index.js +4 -3
  161. package/dist/tag-strip/index.d.ts +7 -0
  162. package/dist/tag-strip/index.js +2 -2
  163. package/dist/testimonials/index.d.ts +9 -1
  164. package/dist/testimonials/index.js +3 -3
  165. package/dist/tooltip/index.js +2 -2
  166. package/package.json +26 -2
  167. package/dist/chunk-2DXHPEB5.js.map +0 -1
  168. package/dist/chunk-2FJDNJ7R.js.map +0 -1
  169. package/dist/chunk-4AFOKKSU.js +0 -158
  170. package/dist/chunk-4AFOKKSU.js.map +0 -1
  171. package/dist/chunk-5C6C6K5U.js.map +0 -1
  172. package/dist/chunk-5F5PTVWR.js.map +0 -1
  173. package/dist/chunk-5MY6OWMK.js.map +0 -1
  174. package/dist/chunk-7NIWQWTA.js.map +0 -1
  175. package/dist/chunk-DH53HZPB.js.map +0 -1
  176. package/dist/chunk-EE6PAN3B.js.map +0 -1
  177. package/dist/chunk-EMCQBT3S.js.map +0 -1
  178. package/dist/chunk-FZ36KL73.js.map +0 -1
  179. package/dist/chunk-GJO3RGOB.js.map +0 -1
  180. package/dist/chunk-HMUZON6I.js +0 -202
  181. package/dist/chunk-HMUZON6I.js.map +0 -1
  182. package/dist/chunk-J6EO4R73.js +0 -633
  183. package/dist/chunk-J6EO4R73.js.map +0 -1
  184. package/dist/chunk-KMU6ABQF.js.map +0 -1
  185. package/dist/chunk-MSSH3HFK.js +0 -205
  186. package/dist/chunk-MSSH3HFK.js.map +0 -1
  187. package/dist/chunk-O4FCRKDX.js.map +0 -1
  188. package/dist/chunk-PHEGSCOM.js.map +0 -1
  189. package/dist/chunk-QLA4BH2B.js.map +0 -1
  190. package/dist/chunk-SQ3OZO32.js +0 -486
  191. package/dist/chunk-SQ3OZO32.js.map +0 -1
  192. package/dist/chunk-UAIUBPDN.js +0 -11
  193. package/dist/chunk-UAIUBPDN.js.map +0 -1
  194. package/dist/chunk-WT4OATGP.js.map +0 -1
  195. package/dist/chunk-XUGEXERO.js +0 -708
  196. package/dist/chunk-XUGEXERO.js.map +0 -1
  197. package/dist/chunk-ZRC5BVDX.js.map +0 -1
  198. /package/dist/{chunk-OLA35A2O.js.map → chunk-2GTR37PU.js.map} +0 -0
  199. /package/dist/{chunk-AKJQ345O.js.map → chunk-5AWGZQWU.js.map} +0 -0
  200. /package/dist/{chunk-BLQV2YMO.js.map → chunk-EZOKT7NJ.js.map} +0 -0
  201. /package/dist/{chunk-6D6ROU7X.js.map → chunk-IGMVF3KK.js.map} +0 -0
  202. /package/dist/{chunk-INMSEYT6.js.map → chunk-IVPVYVWG.js.map} +0 -0
  203. /package/dist/{chunk-35TX3AOA.js.map → chunk-NABSRUXG.js.map} +0 -0
  204. /package/dist/{chunk-OELI3IWC.js.map → chunk-PV6OCXXN.js.map} +0 -0
  205. /package/dist/{chunk-MG2VTZA4.js.map → chunk-QS3ANOWN.js.map} +0 -0
  206. /package/dist/{chunk-3OEEOBHB.js.map → chunk-QSJ543V2.js.map} +0 -0
  207. /package/dist/{chunk-FML6AG2V.js.map → chunk-RANC3OI6.js.map} +0 -0
  208. /package/dist/{chunk-YVTFQHVY.js.map → chunk-TEAZZPDQ.js.map} +0 -0
  209. /package/dist/{chunk-AG2COC64.js.map → chunk-VVYQ2DDS.js.map} +0 -0
package/dist/index.js CHANGED
@@ -1,119 +1,171 @@
1
- import {
2
- Stats
3
- } from "./chunk-YVTFQHVY.js";
4
- import {
5
- Steps
6
- } from "./chunk-ZRC5BVDX.js";
7
1
  import {
8
2
  TagStrip
9
- } from "./chunk-5MY6OWMK.js";
3
+ } from "./chunk-XP6DI3VY.js";
10
4
  import {
11
5
  Testimonials
12
- } from "./chunk-DH53HZPB.js";
6
+ } from "./chunk-37KFBKPD.js";
13
7
  import {
14
8
  Tooltip
15
- } from "./chunk-FML6AG2V.js";
16
- import {
17
- MenuItem
18
- } from "./chunk-2FJDNJ7R.js";
9
+ } from "./chunk-RANC3OI6.js";
19
10
  import {
20
- PromoBanner
21
- } from "./chunk-HMUZON6I.js";
11
+ ScreenshotTour
12
+ } from "./chunk-535QAZ6A.js";
22
13
  import {
23
14
  Section
24
- } from "./chunk-5F5PTVWR.js";
15
+ } from "./chunk-GOFSMD6W.js";
25
16
  import {
26
17
  SegmentedControl
27
- } from "./chunk-MG2VTZA4.js";
18
+ } from "./chunk-QS3ANOWN.js";
28
19
  import {
29
20
  Select
30
- } from "./chunk-BLQV2YMO.js";
21
+ } from "./chunk-EZOKT7NJ.js";
22
+ import {
23
+ Stats
24
+ } from "./chunk-TEAZZPDQ.js";
25
+ import {
26
+ Steps
27
+ } from "./chunk-JURCF4OD.js";
28
+ import {
29
+ MenuGrid
30
+ } from "./chunk-PV6OCXXN.js";
31
+ import {
32
+ MenuGridItem
33
+ } from "./chunk-2GTR37PU.js";
34
+ import {
35
+ MenuItem
36
+ } from "./chunk-NXKDZWS7.js";
37
+ import {
38
+ PlanCards
39
+ } from "./chunk-FF2LWEF3.js";
40
+ import {
41
+ ProductNav
42
+ } from "./chunk-OEOE6IFY.js";
43
+ import {
44
+ PromoBanner
45
+ } from "./chunk-EW2RK5Y6.js";
46
+ import {
47
+ DEFAULT_MAILTO_BODY_LIMIT,
48
+ QuoteDialog,
49
+ buildMailto,
50
+ buildQuoteMailto,
51
+ fillTemplate
52
+ } from "./chunk-AYNT7G3J.js";
53
+ import {
54
+ QUOTE_OPEN_EVENT
55
+ } from "./chunk-FOUK3NHR.js";
56
+ import {
57
+ Footer
58
+ } from "./chunk-OCPGOLVF.js";
59
+ import {
60
+ Header
61
+ } from "./chunk-WAYHHL4J.js";
31
62
  import {
32
63
  Hero
33
- } from "./chunk-SQ3OZO32.js";
64
+ } from "./chunk-MFRGAT6D.js";
34
65
  import {
35
66
  IconButton
36
- } from "./chunk-PHEGSCOM.js";
67
+ } from "./chunk-WH6HE6SY.js";
37
68
  import {
38
69
  ItemsAccordion
39
- } from "./chunk-EE6PAN3B.js";
70
+ } from "./chunk-4XPKKYVZ.js";
40
71
  import {
41
72
  KpiCard
42
- } from "./chunk-6D6ROU7X.js";
73
+ } from "./chunk-IGMVF3KK.js";
43
74
  import {
44
75
  MegaMenu,
45
76
  MegaMenuColumn,
46
77
  MegaMenuFeature
47
- } from "./chunk-J6EO4R73.js";
78
+ } from "./chunk-MIBVQXRU.js";
48
79
  import {
49
- MenuGrid
50
- } from "./chunk-OELI3IWC.js";
80
+ CONTACT_FORM_ERROR_EVENT,
81
+ CONTACT_FORM_SENT_EVENT,
82
+ CONTACT_FORM_SUBMIT_EVENT,
83
+ ContactForm
84
+ } from "./chunk-V4R7PYP5.js";
51
85
  import {
52
- MenuGridItem
53
- } from "./chunk-OLA35A2O.js";
86
+ ContentBlock
87
+ } from "./chunk-6OZKZG5J.js";
88
+ import "./chunk-BEWX3E6P.js";
89
+ import "./chunk-T4BIN37Q.js";
54
90
  import {
55
91
  CookieConsent
56
- } from "./chunk-MSSH3HFK.js";
92
+ } from "./chunk-EKZFFY45.js";
93
+ import "./chunk-WAMOAAMN.js";
57
94
  import {
58
95
  DateTile
59
- } from "./chunk-INMSEYT6.js";
96
+ } from "./chunk-IVPVYVWG.js";
60
97
  import {
61
98
  Dropdown
62
- } from "./chunk-2DXHPEB5.js";
99
+ } from "./chunk-DJFWZOZM.js";
63
100
  import {
64
- FeatureSplit
65
- } from "./chunk-WT4OATGP.js";
101
+ MEGA_MENU_LAYOUT_EVENT
102
+ } from "./chunk-ER7MCPDV.js";
103
+ import "./chunk-UKIVLF7S.js";
104
+ import "./chunk-WTD2YIAA.js";
66
105
  import {
67
106
  FeatureItem,
68
107
  FeaturesSection
69
- } from "./chunk-7NIWQWTA.js";
108
+ } from "./chunk-2HMOX253.js";
70
109
  import {
71
- Flow
72
- } from "./chunk-O4FCRKDX.js";
110
+ FeatureSplit
111
+ } from "./chunk-ZKFCDVB4.js";
73
112
  import {
74
- Footer
75
- } from "./chunk-GJO3RGOB.js";
113
+ Markdown
114
+ } from "./chunk-XS6LNTSH.js";
76
115
  import {
77
- Header
78
- } from "./chunk-XUGEXERO.js";
79
- import "./chunk-WTD2YIAA.js";
116
+ Flow
117
+ } from "./chunk-GB4NGCZI.js";
80
118
  import {
81
119
  AttentionPanel
82
- } from "./chunk-35TX3AOA.js";
120
+ } from "./chunk-NABSRUXG.js";
83
121
  import {
84
122
  BarChart
85
- } from "./chunk-AG2COC64.js";
86
- import {
87
- Card
88
- } from "./chunk-3OEEOBHB.js";
123
+ } from "./chunk-VVYQ2DDS.js";
89
124
  import {
90
125
  BentoGrid
91
- } from "./chunk-5C6C6K5U.js";
126
+ } from "./chunk-Q66CJO3P.js";
127
+ import "./chunk-TJK55CJ2.js";
128
+ import {
129
+ BOOKING_CANCELLED_EVENT,
130
+ BOOKING_CREATED_EVENT,
131
+ BOOKING_ERROR_EVENT,
132
+ BOOKING_RESCHEDULED_EVENT,
133
+ Booking,
134
+ DEFAULT_BOOKING_LABELS
135
+ } from "./chunk-DPANTC3O.js";
136
+ import "./chunk-CZUGPKXV.js";
137
+ import {
138
+ Card
139
+ } from "./chunk-QSJ543V2.js";
92
140
  import {
93
141
  Carousel
94
- } from "./chunk-EMCQBT3S.js";
142
+ } from "./chunk-LO6TZBGD.js";
143
+ import "./chunk-KZ7PMFWS.js";
95
144
  import {
96
145
  Chip
97
- } from "./chunk-AKJQ345O.js";
98
- import {
99
- ContentBlock
100
- } from "./chunk-4AFOKKSU.js";
101
- import {
102
- Markdown
103
- } from "./chunk-QLA4BH2B.js";
104
- import "./chunk-UAIUBPDN.js";
105
- import "./chunk-FZ36KL73.js";
106
- import "./chunk-KMU6ABQF.js";
146
+ } from "./chunk-5AWGZQWU.js";
147
+ import "./chunk-NXUS2CH7.js";
107
148
  import "./chunk-EUXUH3YW.js";
108
149
  export {
109
150
  AttentionPanel,
151
+ BOOKING_CANCELLED_EVENT,
152
+ BOOKING_CREATED_EVENT,
153
+ BOOKING_ERROR_EVENT,
154
+ BOOKING_RESCHEDULED_EVENT,
110
155
  BarChart,
111
156
  BentoGrid,
157
+ Booking,
158
+ CONTACT_FORM_ERROR_EVENT,
159
+ CONTACT_FORM_SENT_EVENT,
160
+ CONTACT_FORM_SUBMIT_EVENT,
112
161
  Card,
113
162
  Carousel,
114
163
  Chip,
164
+ ContactForm,
115
165
  ContentBlock,
116
166
  CookieConsent,
167
+ DEFAULT_BOOKING_LABELS,
168
+ DEFAULT_MAILTO_BODY_LIMIT,
117
169
  DateTile,
118
170
  Dropdown,
119
171
  FeatureItem,
@@ -126,6 +178,7 @@ export {
126
178
  IconButton,
127
179
  ItemsAccordion,
128
180
  KpiCard,
181
+ MEGA_MENU_LAYOUT_EVENT,
129
182
  Markdown,
130
183
  MegaMenu,
131
184
  MegaMenuColumn,
@@ -133,7 +186,12 @@ export {
133
186
  MenuGrid,
134
187
  MenuGridItem,
135
188
  MenuItem,
189
+ PlanCards,
190
+ ProductNav,
136
191
  PromoBanner,
192
+ QUOTE_OPEN_EVENT,
193
+ QuoteDialog,
194
+ ScreenshotTour,
137
195
  Section,
138
196
  SegmentedControl,
139
197
  Select,
@@ -141,6 +199,9 @@ export {
141
199
  Steps,
142
200
  TagStrip,
143
201
  Testimonials,
144
- Tooltip
202
+ Tooltip,
203
+ buildMailto,
204
+ buildQuoteMailto,
205
+ fillTemplate
145
206
  };
146
207
  //# sourceMappingURL=index.js.map
@@ -9,9 +9,13 @@ interface AccordionItem {
9
9
  }
10
10
  /**
11
11
  * A vertical list of collapsible title/content rows; one open at a time unless `allow-multiple`.
12
- * Each row's `content` is Markdown, sanitized. `open-first` starts with the first row open.
12
+ * Each row's `content` is Markdown, sanitized. `open-first` starts with the first row open. The
13
+ * section title is an `<h2>` and each row title an `<h3>` wrapping its toggle button, which
14
+ * exposes `aria-expanded` and `aria-controls` for the row's panel.
13
15
  *
14
16
  * @cssprop --st-items-accordion-padding - Overrides the block's padding.
17
+ * @csspart trigger - The button that opens and closes a row.
18
+ * @csspart heading - The `<h3>` wrapping each trigger.
15
19
  */
16
20
  declare class ItemsAccordion extends LitElement {
17
21
  static styles: lit.CSSResult;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ItemsAccordion
3
- } from "../chunk-EE6PAN3B.js";
4
- import "../chunk-UAIUBPDN.js";
5
- import "../chunk-FZ36KL73.js";
6
- import "../chunk-KMU6ABQF.js";
3
+ } from "../chunk-4XPKKYVZ.js";
4
+ import "../chunk-TJK55CJ2.js";
5
+ import "../chunk-KZ7PMFWS.js";
6
+ import "../chunk-NXUS2CH7.js";
7
7
  import "../chunk-EUXUH3YW.js";
8
8
  export {
9
9
  ItemsAccordion
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  KpiCard
3
- } from "../chunk-6D6ROU7X.js";
4
- import "../chunk-KMU6ABQF.js";
3
+ } from "../chunk-IGMVF3KK.js";
4
+ import "../chunk-NXUS2CH7.js";
5
5
  import "../chunk-EUXUH3YW.js";
6
6
  export {
7
7
  KpiCard
@@ -8,6 +8,22 @@ import { LitElement, nothing } from 'lit';
8
8
  * a `markdown-error` event (detail: `{ error }`).
9
9
  *
10
10
  * Text color is inherited from the parent so inverted containers just work.
11
+ *
12
+ * `list-style="check"` replaces the bullets of unordered lists with a check mark, in the colour of
13
+ * `--st-markdown-list-check-color` (navy by default).
14
+ *
15
+ * Code blocks are a dark navy panel (14px monospace, 20px padding, 12px corners) that scrolls
16
+ * sideways only when a line is wider than the block; ```json fences get syntax colours. Inline
17
+ * `code` is a chip tinted from the surrounding text colour.
18
+ *
19
+ * @cssprop --st-markdown-list-check-color - Colour of the check marks (`list-style="check"`).
20
+ * @cssprop --st-markdown-code-bg - Code block background (default `#011d41`).
21
+ * @cssprop --st-markdown-code-color - Code block text (default `#e4ebff`).
22
+ * @cssprop --st-markdown-code-border - Code block hairline (default `#e4ebff` at 14%).
23
+ * @cssprop --st-markdown-code-key - JSON keys (default `#8eaffe`).
24
+ * @cssprop --st-markdown-code-string - JSON strings (default `#49cce0`).
25
+ * @cssprop --st-markdown-code-number - JSON numbers, `true`, `false`, `null` (default `#fbbf77`).
26
+ * @cssprop --st-markdown-code-punct - JSON punctuation (default `#c9d7fe`).
11
27
  */
12
28
  declare class Markdown extends LitElement {
13
29
  static styles: lit.CSSResult;
@@ -15,6 +31,8 @@ declare class Markdown extends LitElement {
15
31
  content: string;
16
32
  /** URL of a Markdown file to fetch. */
17
33
  src: string;
34
+ /** `default` keeps bullets; `check` shows a check mark on each unordered item. */
35
+ listStyle: 'default' | 'check';
18
36
  private fetched;
19
37
  private loading;
20
38
  private error;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Markdown
3
- } from "../chunk-QLA4BH2B.js";
4
- import "../chunk-UAIUBPDN.js";
5
- import "../chunk-KMU6ABQF.js";
3
+ } from "../chunk-XS6LNTSH.js";
4
+ import "../chunk-TJK55CJ2.js";
5
+ import "../chunk-NXUS2CH7.js";
6
6
  import "../chunk-EUXUH3YW.js";
7
7
  export {
8
8
  Markdown
@@ -1,5 +1,5 @@
1
1
  import * as lit from 'lit';
2
- import { LitElement } from 'lit';
2
+ import { LitElement, PropertyValues, TemplateResult } from 'lit';
3
3
 
4
4
  /**
5
5
  * The rich layout of a mega-menu panel, after okta.com: an optional intro column on the left (a
@@ -13,11 +13,15 @@ import { LitElement } from 'lit';
13
13
  * everything stacked in the narrow drill-down panel `st-header` shows on a phone (where the intro
14
14
  * heading is left out — the drill-down already shows the section's name).
15
15
  *
16
+ * `cta-label` + `cta-href` add a call-to-action pill pinned to the foot of the intro column, so the
17
+ * column ends level with the featured cards instead of leaving an empty gap under the text.
18
+ *
16
19
  * @slot - The link columns (`st-mega-menu-column`s, or any blocks).
17
20
  * @slot intro - Quick links under the intro text, e.g. `st-menu-item`s with an icon.
18
21
  * @slot featured - Promo cards (`st-mega-menu-feature`s), stacked.
19
22
  * @csspart inner - The grid holding every area.
20
23
  * @csspart intro - The intro column.
24
+ * @csspart cta - The intro column's call-to-action pill.
21
25
  * @csspart columns - The grid holding the link columns.
22
26
  * @csspart featured - The featured column.
23
27
  */
@@ -31,12 +35,21 @@ declare class MegaMenu extends LitElement {
31
35
  featuredHeading: string;
32
36
  /** Number of link columns side by side at full width. `0` (the default) uses one per slotted column. */
33
37
  columns: number;
38
+ /** Label of the call-to-action pill at the foot of the intro column. Needs `cta-href`. */
39
+ ctaLabel: string;
40
+ /** Target of the intro column's call to action. */
41
+ ctaHref: string;
42
+ /** Whether the menu panel is shown. Set to `false` to hide it entirely (it keeps its slotted content). */
43
+ visible: boolean;
34
44
  private columnCount;
35
45
  private hasIntroLinks;
36
46
  private hasFeatured;
37
47
  private onColumnsSlotChange;
38
48
  private onIntroSlotChange;
39
49
  private onFeaturedSlotChange;
50
+ private get layout();
51
+ private lastTracks;
52
+ protected updated(_changed: PropertyValues): void;
40
53
  render(): lit.TemplateResult<1>;
41
54
  }
42
55
 
@@ -47,19 +60,45 @@ declare class MegaMenu extends LitElement {
47
60
  *
48
61
  * `variant="card"` puts the column on a tinted rounded tile and `variant="accent"` on a solid
49
62
  * accent tile with light text; both suit a row of equal columns without intro or featured area.
50
- * `cta-label` + `cta-href` add a pill button at the bottom of the column.
63
+ *
64
+ * `variant="product"` makes a product card for a row of products: an icon tile and a `tag` pill on a
65
+ * top row, the heading and description, the links as rows
66
+ * with a `→` arrow (a new-tab link keeps its `↗` icon), and a full-width `cta-label` + `cta-href`
67
+ * button pinned to the bottom. The icon tile shows `icon` (an iconify name), or, when `icon-src` is set,
68
+ * that image at 28px on the same tinted tile (`icon-src-dark`, if set, replaces it on the dark theme). The
69
+ * card lifts and gets an accent border on hover or focus. Set
70
+ * `accent` (any CSS colour) to tint it; it defaults to the theme accent. A card whose link is the
71
+ * page being shown (see `st-header`'s `current-path`) becomes the "You are here" card: a 2px accent
72
+ * border, a faint accent wash, a `currentLabel` pill and a solid button. Inside an `inline`
73
+ * (hamburger) header panel the card does not lift.
74
+ *
75
+ * `decoration` (`none` default, `flow`, `orbit`, `waves` or `ribbon`) draws faint curvy line art in
76
+ * the card's accent behind its top-right corner. It is `product`-only and sits under the content;
77
+ * it drifts on hover or focus, but not in the `inline` panel or with reduced motion.
78
+ *
79
+ * `cta-label` + `cta-href` add a pill button at the bottom of any variant's column.
51
80
  *
52
81
  * The heading (when `href` is set) and the button fire a *cancelable* `mega-menu-select` event
53
82
  * (detail: `{ href }`) before navigating; a host doing client-side routing calls
54
- * `event.preventDefault()` on it.
83
+ * `event.preventDefault()` on it. A link whose `href` is the page being shown (see `st-header`'s
84
+ * `current-path`) gets `aria-current="page"`.
55
85
  *
56
86
  * @slot - The column's links, or nested `st-mega-menu-column` groups.
57
87
  * @fires mega-menu-select - The heading link or the button was clicked (cancelable; detail `{ href }`).
88
+ * @csspart top - The product card's top row (icon tile and pills).
89
+ * @csspart icon - The product card's icon tile. With `icon-src` it holds the image (one, or two with `icon-src-dark`) at 28px, on the same tinted tile.
90
+ * @csspart tag - The product card's tag pill.
91
+ * @csspart current - The product card's "You are here" pill.
58
92
  * @csspart heading - The heading text or link.
59
93
  * @csspart description - The line under the heading.
60
94
  * @csspart items - The box holding the links.
61
95
  * @csspart cta - The pill button.
96
+ * @csspart decoration - The decorative line art of a `product` card (`decoration` other than `none`).
62
97
  * @cssprop --st-mega-menu-column-padding - Overrides the padding of a `card`/`accent` column.
98
+ * @cssprop --st-mega-menu-column-accent - The accent of a `product` card (default `--st-color-accent`); `accent` sets it.
99
+ * @cssprop --st-mega-menu-column-lift - The hover/focus lift of a `product` card (default `-3px`); `st-dropdown` sets it to `0px` while `inline`.
100
+ * @cssprop --st-mega-menu-column-deco-opacity - The resting opacity of the `decoration` line art (default `0.28`); raise or lower it per theme, e.g. on dark surfaces.
101
+ * @cssprop --st-mega-menu-column-deco-transform - The hover/focus shift of the `decoration` line art (default `translate(-6px, 4px)`); `st-dropdown` sets it to `none` while `inline`.
63
102
  */
64
103
  declare class MegaMenuColumn extends LitElement {
65
104
  static styles: lit.CSSResult;
@@ -67,15 +106,53 @@ declare class MegaMenuColumn extends LitElement {
67
106
  /** Makes the heading a link (e.g. to the section's overview page). */
68
107
  href: string;
69
108
  description: string;
70
- /** `plain` (default), `card` (tinted tile) or `accent` (solid accent tile, light text). */
71
- variant: 'plain' | 'card' | 'accent';
109
+ /** `plain` (default), `card` (tinted tile), `accent` (solid accent tile, light text) or `product` (a product card). */
110
+ variant: 'plain' | 'card' | 'accent' | 'product';
72
111
  /** Text of a pill button at the bottom of the column; needs `cta-href`. */
73
112
  ctaLabel: string;
74
113
  ctaHref: string;
114
+ /**
115
+ * Variant the column takes while its heading or button links to the page being shown, e.g. a card
116
+ * that turns accent on its own product page. Empty (default) keeps `variant` at all times.
117
+ */
118
+ currentVariant: '' | 'plain' | 'card' | 'accent';
119
+ /** Small icon tile on a `product` card: an iconify icon name, e.g. `heroicons:book-open`. */
120
+ icon: string;
121
+ /** Image icon of a `product` card (28px inside the 44px tile), e.g. a product logo. Replaces the iconify `icon` when set. */
122
+ iconSrc: string;
123
+ /** Dark-theme variant of `icon-src`, shown on the site's dark theme (`:root.dark`) in place of it. Needs `icon-src`. */
124
+ iconSrcDark: string;
125
+ /** Short label pill on the top row of a `product` card, e.g. `Open source`. */
126
+ tag: string;
127
+ /** Accent of a `product` card, any CSS colour (sets `--st-mega-menu-column-accent`). */
128
+ accent: string;
129
+ /**
130
+ * Decorative curvy line art behind a `product` card's top-right corner: `flow` (lines fanning down-left),
131
+ * `orbit` (concentric arcs), `waves` (parallel waves across the top) or `ribbon` (crossing loops).
132
+ * `none` (default) draws nothing. Other variants ignore it.
133
+ */
134
+ decoration: 'none' | 'flow' | 'orbit' | 'waves' | 'ribbon';
135
+ /** "You are here" marker on the `product` card of the page being shown. */
136
+ currentLabel: string;
137
+ /** Page path the header is showing; set by `st-header`. A link whose href matches gets `aria-current="page"`. */
138
+ currentPath: string;
139
+ /**
140
+ * True while the column is the page being shown: while `current-variant` applies, or always for a
141
+ * `product` card. Set by the column, never from outside.
142
+ */
143
+ current: boolean;
144
+ /** Whether the links slot has any links, so a `product` card draws its divider only above them. */
145
+ private hasLinks;
146
+ private onLinksSlotChange;
147
+ protected willUpdate(changed: Map<string, unknown>): void;
75
148
  private select;
76
149
  private renderHeading;
150
+ private renderDecoration;
151
+ /** The tile's content: the `icon-src` image (light, plus the dark one when `icon-src-dark` is set), else the iconify `icon`. */
152
+ private renderTileIcon;
153
+ private renderTop;
77
154
  private renderCta;
78
- render(): lit.TemplateResult<1>;
155
+ render(): TemplateResult<1>;
79
156
  }
80
157
 
81
158
  /**
@@ -130,6 +207,8 @@ declare class MegaMenuFeature extends LitElement {
130
207
  logoAlt: string;
131
208
  /** Call-to-action text at the bottom of the card; empty hides it. */
132
209
  ctaLabel: string;
210
+ /** Page path the header is showing; set by `st-header`. A card whose `href` matches gets `aria-current="page"`. */
211
+ currentPath: string;
133
212
  private get isExternal();
134
213
  private onClick;
135
214
  render(): lit.TemplateResult<1>;
@@ -138,5 +217,14 @@ declare class MegaMenuFeature extends LitElement {
138
217
  interface MegaMenuSelectEventDetail {
139
218
  href: string;
140
219
  }
220
+ /**
221
+ * Fired on `st-mega-menu` (bubbles, composed) when the number of grid tracks it lays out changes: the intro
222
+ * column, each link column and the featured column. The `mega` dropdown around it uses this to keep a panel
223
+ * with few columns from stretching to the full width.
224
+ */
225
+ declare const MEGA_MENU_LAYOUT_EVENT = "st-mega-menu-layout";
226
+ interface MegaMenuLayoutEventDetail {
227
+ tracks: number;
228
+ }
141
229
 
142
- export { MegaMenu, MegaMenuColumn, MegaMenuFeature, type MegaMenuSelectEventDetail };
230
+ export { MEGA_MENU_LAYOUT_EVENT, MegaMenu, MegaMenuColumn, MegaMenuFeature, type MegaMenuLayoutEventDetail, type MegaMenuSelectEventDetail };
@@ -2,11 +2,16 @@ import {
2
2
  MegaMenu,
3
3
  MegaMenuColumn,
4
4
  MegaMenuFeature
5
- } from "../chunk-J6EO4R73.js";
5
+ } from "../chunk-MIBVQXRU.js";
6
+ import {
7
+ MEGA_MENU_LAYOUT_EVENT
8
+ } from "../chunk-ER7MCPDV.js";
9
+ import "../chunk-UKIVLF7S.js";
6
10
  import "../chunk-WTD2YIAA.js";
7
- import "../chunk-KMU6ABQF.js";
11
+ import "../chunk-NXUS2CH7.js";
8
12
  import "../chunk-EUXUH3YW.js";
9
13
  export {
14
+ MEGA_MENU_LAYOUT_EVENT,
10
15
  MegaMenu,
11
16
  MegaMenuColumn,
12
17
  MegaMenuFeature
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MenuGrid
3
- } from "../chunk-OELI3IWC.js";
4
- import "../chunk-KMU6ABQF.js";
3
+ } from "../chunk-PV6OCXXN.js";
4
+ import "../chunk-NXUS2CH7.js";
5
5
  import "../chunk-EUXUH3YW.js";
6
6
  export {
7
7
  MenuGrid
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MenuGridItem
3
- } from "../chunk-OLA35A2O.js";
4
- import "../chunk-KMU6ABQF.js";
3
+ } from "../chunk-2GTR37PU.js";
4
+ import "../chunk-NXUS2CH7.js";
5
5
  import "../chunk-EUXUH3YW.js";
6
6
  export {
7
7
  MenuGridItem
@@ -11,8 +11,12 @@ import { LitElement } from 'lit';
11
11
  * Renders a real `<a href>` but fires a *cancelable* `menu-item-select` event (detail: `{ href }`)
12
12
  * before navigating — a host doing client-side routing calls `event.preventDefault()` on it.
13
13
  *
14
+ * It is the current page (`aria-current="page"`, shown as active) when `active` is set, or when the
15
+ * `href` matches `currentPath`, which an enclosing `st-header` sets from its `current-path`.
16
+ *
14
17
  * @slot icon - The row's icon, sized to `icon-size` (16px, or 14px when `compact`).
15
18
  * @cssprop --st-menu-item-icon-size - Width and height of the slotted icon; `icon-size` sets it.
19
+ * @cssprop --st-menu-item-arrow - A trailing glyph (e.g. `'→'`) drawn after a `link` variant's title; none by default, and not drawn on a link that opens a new tab.
16
20
  */
17
21
  declare class MenuItem extends LitElement {
18
22
  /** `focus()` on the element focuses its link, so `st-dropdown` can arrow-key between items. */
@@ -32,6 +36,8 @@ declare class MenuItem extends LitElement {
32
36
  badge: string;
33
37
  /** Highlights this row as the current page (source: `isActive`). */
34
38
  active: boolean;
39
+ /** Page path the header is showing; set by `st-header` (from its `current-path`), so this row can compare its `href` with it. */
40
+ currentPath: string;
35
41
  compact: boolean;
36
42
  /** Suppresses the description even when `description` is set (source: `showDescription`, default `true`). */
37
43
  showDescription: boolean;
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  MenuItem
3
- } from "../chunk-2FJDNJ7R.js";
3
+ } from "../chunk-NXKDZWS7.js";
4
+ import "../chunk-UKIVLF7S.js";
4
5
  import "../chunk-WTD2YIAA.js";
5
- import "../chunk-KMU6ABQF.js";
6
+ import "../chunk-NXUS2CH7.js";
6
7
  import "../chunk-EUXUH3YW.js";
7
8
  export {
8
9
  MenuItem
@@ -0,0 +1,69 @@
1
+ import * as lit from 'lit';
2
+ import { LitElement } from 'lit';
3
+
4
+ interface PlanCardItem {
5
+ id: string;
6
+ /** Iconify icon name, e.g. `mdi:rocket-launch`. */
7
+ icon?: string;
8
+ title: string;
9
+ /** Small pill beside the title, e.g. "Most popular". */
10
+ badge?: string;
11
+ /** `highlight` (cyan, navy text) or `primary` (navy, white text). Default `primary`. */
12
+ badgeTone?: 'highlight' | 'primary';
13
+ description?: string;
14
+ bullets?: string[];
15
+ /** Label of the card's button. */
16
+ actionLabel: string;
17
+ /** Target of the button when the cards have no `quoteDialog`. */
18
+ href?: string;
19
+ /** The highlighted card: white with a 2px navy border and a navy button. */
20
+ featured?: boolean;
21
+ }
22
+ /**
23
+ * A row of plan or offer cards with a header above them. Each card has an icon, a title with an
24
+ * optional badge, a description, check-marked bullets and a button at the foot of the card.
25
+ *
26
+ * A button opens a `st-quote-dialog` when `quote-dialog` names its `id`: it fires a window
27
+ * `st-quote-open` event with `{ dialog, option: item.id, trigger }` and does not navigate. Without
28
+ * `quote-dialog`, the button is a link to `href`. The footnote's action (`footnote-action-label`)
29
+ * opens the same dialog with the option `unsure`. Put `{action}` in `footnote` to place that button
30
+ * inside the sentence (the text around it is then plain text, not Markdown); without the token the
31
+ * button follows the footnote.
32
+ *
33
+ * @cssprop --st-plan-cards-padding - Overrides the block's padding.
34
+ * @cssprop --st-plan-cards-lead-color - Colour of the line under the title (default `--st-cms-text`).
35
+ * @csspart header - The eyebrow, title and lead block.
36
+ * @csspart grid - The grid of cards.
37
+ * @csspart card - One plan card.
38
+ * @csspart icon - The icon tile.
39
+ * @csspart badge - The pill beside a card title.
40
+ * @csspart action - The card button (a `<button>` with `quote-dialog`, otherwise a link with `href`).
41
+ * @csspart footnote - The footnote under the cards.
42
+ * @csspart footnote-action - The text button in the footnote.
43
+ */
44
+ declare class PlanCards extends LitElement {
45
+ static styles: lit.CSSResult;
46
+ /** Small uppercase label above the title. */
47
+ eyebrow: string;
48
+ title: string;
49
+ /** The line under the title. */
50
+ subtitle: string;
51
+ /** The cards, in order. */
52
+ items: PlanCardItem[];
53
+ /** Markdown under the cards, centred. Put `{action}` where the footnote's text button goes. */
54
+ footnote: string;
55
+ /** Label of a text button after the footnote. Opens the quote dialog with the option `unsure`. */
56
+ footnoteActionLabel: string;
57
+ /** `id` of a `st-quote-dialog`. Set, the card buttons open that dialog instead of linking. */
58
+ quoteDialog: string;
59
+ /** Fires the window `st-quote-open` event for the dialog. The page does not navigate. */
60
+ private openQuote;
61
+ private renderFootnoteAction;
62
+ private renderAction;
63
+ private renderCard;
64
+ /** `{action}` in the footnote becomes the inline text button; otherwise Markdown, then the button. */
65
+ private renderFootnote;
66
+ render(): lit.TemplateResult<1>;
67
+ }
68
+
69
+ export { type PlanCardItem, PlanCards };