@ds-gn/ui 0.0.0-stage → 0.5.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 (271) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +155 -2
  3. package/THIRD_PARTY_NOTICES +167 -0
  4. package/assets/logo-full-dark.svg +4 -0
  5. package/assets/logo-full.svg +4 -0
  6. package/assets/logo-mark.svg +3 -0
  7. package/custom-elements.json +4696 -0
  8. package/dist/common/Base/Base.d.ts +22 -0
  9. package/dist/common/controllers/AuroraMeshController.d.ts +68 -0
  10. package/dist/common/controllers/AutoRotateController.d.ts +38 -0
  11. package/dist/common/controllers/BreakpointController.d.ts +30 -0
  12. package/dist/common/controllers/LayoutChangeController.d.ts +28 -0
  13. package/dist/common/controllers/WordCycleController.d.ts +36 -0
  14. package/dist/common/helpers/aurora-mesh.d.ts +11 -0
  15. package/dist/common/helpers/define-element.d.ts +14 -0
  16. package/dist/common/helpers/enum-creator.d.ts +2 -0
  17. package/dist/common/helpers/enum-validator.d.ts +1 -0
  18. package/dist/common/helpers/layout-change.d.ts +39 -0
  19. package/dist/common/helpers/layout-change.testing.d.ts +15 -0
  20. package/dist/common/helpers/logo.string.d.ts +23 -0
  21. package/dist/common/helpers/logo.string.js +43 -0
  22. package/dist/common/helpers/logo.utils.d.ts +8 -0
  23. package/dist/common/helpers/motion.d.ts +9 -0
  24. package/dist/common/helpers/story.utils.d.ts +32 -0
  25. package/dist/common/props/surface/surface.props.d.ts +6 -0
  26. package/dist/components/Background/src/Background.d.ts +44 -0
  27. package/dist/components/Background/src/Background.js +576 -0
  28. package/dist/components/Background/src/Background.props.d.ts +20 -0
  29. package/dist/components/Background/src/Background.props.js +47 -0
  30. package/dist/components/Background/src/Background.styles.d.ts +3 -0
  31. package/dist/components/Badge/src/Badge.d.ts +28 -0
  32. package/dist/components/Badge/src/Badge.js +429 -0
  33. package/dist/components/Badge/src/Badge.playground.d.ts +2 -0
  34. package/dist/components/Badge/src/Badge.props.d.ts +16 -0
  35. package/dist/components/Badge/src/Badge.props.js +44 -0
  36. package/dist/components/Badge/src/Badge.styles.d.ts +2 -0
  37. package/dist/components/Button/src/Button.d.ts +138 -0
  38. package/dist/components/Button/src/Button.js +1102 -0
  39. package/dist/components/Button/src/Button.playground.d.ts +2 -0
  40. package/dist/components/Button/src/Button.props.d.ts +47 -0
  41. package/dist/components/Button/src/Button.props.js +79 -0
  42. package/dist/components/Button/src/Button.styles.d.ts +11 -0
  43. package/dist/components/Card/src/Card.d.ts +39 -0
  44. package/dist/components/Card/src/Card.js +564 -0
  45. package/dist/components/Card/src/Card.playground.d.ts +2 -0
  46. package/dist/components/Card/src/Card.props.d.ts +22 -0
  47. package/dist/components/Card/src/Card.props.js +42 -0
  48. package/dist/components/Card/src/Card.styles.d.ts +11 -0
  49. package/dist/components/CodeBlock/src/CodeBlock.d.ts +18 -0
  50. package/dist/components/CodeBlock/src/CodeBlock.js +372 -0
  51. package/dist/components/CodeBlock/src/CodeBlock.props.d.ts +1 -0
  52. package/dist/components/CodeBlock/src/CodeBlock.props.js +5 -0
  53. package/dist/components/CodeBlock/src/CodeBlock.styles.d.ts +9 -0
  54. package/dist/components/Container/src/Container.d.ts +26 -0
  55. package/dist/components/Container/src/Container.js +354 -0
  56. package/dist/components/Container/src/Container.props.d.ts +20 -0
  57. package/dist/components/Container/src/Container.props.js +49 -0
  58. package/dist/components/Container/src/Container.styles.d.ts +2 -0
  59. package/dist/components/Divider/src/Divider.d.ts +23 -0
  60. package/dist/components/Divider/src/Divider.js +250 -0
  61. package/dist/components/Divider/src/Divider.props.d.ts +7 -0
  62. package/dist/components/Divider/src/Divider.props.js +34 -0
  63. package/dist/components/Divider/src/Divider.styles.d.ts +2 -0
  64. package/dist/components/FeatureItem/src/FeatureItem.d.ts +30 -0
  65. package/dist/components/FeatureItem/src/FeatureItem.js +368 -0
  66. package/dist/components/FeatureItem/src/FeatureItem.props.d.ts +10 -0
  67. package/dist/components/FeatureItem/src/FeatureItem.props.js +37 -0
  68. package/dist/components/FeatureItem/src/FeatureItem.styles.d.ts +3 -0
  69. package/dist/components/FeatureTabs/src/FeatureTabs.d.ts +48 -0
  70. package/dist/components/FeatureTabs/src/FeatureTabs.js +1333 -0
  71. package/dist/components/FeatureTabs/src/FeatureTabs.props.d.ts +27 -0
  72. package/dist/components/FeatureTabs/src/FeatureTabs.props.js +80 -0
  73. package/dist/components/FeatureTabs/src/FeatureTabs.styles.d.ts +35 -0
  74. package/dist/components/Footer/src/Footer.d.ts +39 -0
  75. package/dist/components/Footer/src/Footer.js +361 -0
  76. package/dist/components/Footer/src/Footer.styles.d.ts +6 -0
  77. package/dist/components/FormBlock/src/FormBlock.d.ts +40 -0
  78. package/dist/components/FormBlock/src/FormBlock.js +476 -0
  79. package/dist/components/FormBlock/src/FormBlock.props.d.ts +5 -0
  80. package/dist/components/FormBlock/src/FormBlock.props.js +8 -0
  81. package/dist/components/FormBlock/src/FormBlock.styles.d.ts +6 -0
  82. package/dist/components/Grid/src/Grid.d.ts +35 -0
  83. package/dist/components/Grid/src/Grid.js +381 -0
  84. package/dist/components/Grid/src/Grid.props.d.ts +28 -0
  85. package/dist/components/Grid/src/Grid.props.js +57 -0
  86. package/dist/components/Grid/src/Grid.styles.d.ts +3 -0
  87. package/dist/components/Heading/src/Heading.d.ts +26 -0
  88. package/dist/components/Heading/src/Heading.js +755 -0
  89. package/dist/components/Heading/src/Heading.playground.d.ts +2 -0
  90. package/dist/components/Heading/src/Heading.props.d.ts +19 -0
  91. package/dist/components/Heading/src/Heading.props.js +47 -0
  92. package/dist/components/Heading/src/Heading.styles.d.ts +4 -0
  93. package/dist/components/HeadingBlock/src/HeadingBlock.d.ts +28 -0
  94. package/dist/components/HeadingBlock/src/HeadingBlock.js +288 -0
  95. package/dist/components/HeadingBlock/src/HeadingBlock.playground.d.ts +2 -0
  96. package/dist/components/HeadingBlock/src/HeadingBlock.props.d.ts +6 -0
  97. package/dist/components/HeadingBlock/src/HeadingBlock.props.js +33 -0
  98. package/dist/components/HeadingBlock/src/HeadingBlock.styles.d.ts +2 -0
  99. package/dist/components/Hero/src/Hero.d.ts +42 -0
  100. package/dist/components/Hero/src/Hero.js +506 -0
  101. package/dist/components/Hero/src/Hero.props.d.ts +22 -0
  102. package/dist/components/Hero/src/Hero.props.js +51 -0
  103. package/dist/components/Hero/src/Hero.styles.d.ts +10 -0
  104. package/dist/components/Icon/src/Icon.d.ts +67 -0
  105. package/dist/components/Icon/src/Icon.js +303 -0
  106. package/dist/components/Icon/src/Icon.props.d.ts +8 -0
  107. package/dist/components/Icon/src/Icon.props.js +35 -0
  108. package/dist/components/Icon/src/Icon.styles.d.ts +3 -0
  109. package/dist/components/Icon/src/icons/arrow-left.d.ts +1 -0
  110. package/dist/components/Icon/src/icons/arrow-left.js +6 -0
  111. package/dist/components/Icon/src/icons/arrow-right.d.ts +1 -0
  112. package/dist/components/Icon/src/icons/arrow-right.js +6 -0
  113. package/dist/components/Icon/src/icons/calendar.d.ts +1 -0
  114. package/dist/components/Icon/src/icons/calendar.js +6 -0
  115. package/dist/components/Icon/src/icons/check.d.ts +1 -0
  116. package/dist/components/Icon/src/icons/check.js +6 -0
  117. package/dist/components/Icon/src/icons/chevron-down.d.ts +1 -0
  118. package/dist/components/Icon/src/icons/chevron-down.js +6 -0
  119. package/dist/components/Icon/src/icons/chevron-left.d.ts +1 -0
  120. package/dist/components/Icon/src/icons/chevron-left.js +6 -0
  121. package/dist/components/Icon/src/icons/chevron-right.d.ts +1 -0
  122. package/dist/components/Icon/src/icons/chevron-right.js +6 -0
  123. package/dist/components/Icon/src/icons/chevron-up.d.ts +1 -0
  124. package/dist/components/Icon/src/icons/chevron-up.js +6 -0
  125. package/dist/components/Icon/src/icons/circle-alert.d.ts +1 -0
  126. package/dist/components/Icon/src/icons/circle-alert.js +6 -0
  127. package/dist/components/Icon/src/icons/circle-check.d.ts +1 -0
  128. package/dist/components/Icon/src/icons/circle-check.js +6 -0
  129. package/dist/components/Icon/src/icons/circle-x.d.ts +1 -0
  130. package/dist/components/Icon/src/icons/circle-x.js +6 -0
  131. package/dist/components/Icon/src/icons/copy.d.ts +1 -0
  132. package/dist/components/Icon/src/icons/copy.js +6 -0
  133. package/dist/components/Icon/src/icons/download.d.ts +1 -0
  134. package/dist/components/Icon/src/icons/download.js +6 -0
  135. package/dist/components/Icon/src/icons/ellipsis-vertical.d.ts +1 -0
  136. package/dist/components/Icon/src/icons/ellipsis-vertical.js +6 -0
  137. package/dist/components/Icon/src/icons/ellipsis.d.ts +1 -0
  138. package/dist/components/Icon/src/icons/ellipsis.js +6 -0
  139. package/dist/components/Icon/src/icons/external-link.d.ts +1 -0
  140. package/dist/components/Icon/src/icons/external-link.js +6 -0
  141. package/dist/components/Icon/src/icons/eye-off.d.ts +1 -0
  142. package/dist/components/Icon/src/icons/eye-off.js +6 -0
  143. package/dist/components/Icon/src/icons/eye.d.ts +1 -0
  144. package/dist/components/Icon/src/icons/eye.js +6 -0
  145. package/dist/components/Icon/src/icons/icon-names.d.ts +2 -0
  146. package/dist/components/Icon/src/icons/icon-names.js +36 -0
  147. package/dist/components/Icon/src/icons/index.d.ts +34 -0
  148. package/dist/components/Icon/src/icons/index.js +35 -0
  149. package/dist/components/Icon/src/icons/info.d.ts +1 -0
  150. package/dist/components/Icon/src/icons/info.js +6 -0
  151. package/dist/components/Icon/src/icons/loader.d.ts +1 -0
  152. package/dist/components/Icon/src/icons/loader.js +6 -0
  153. package/dist/components/Icon/src/icons/mail.d.ts +1 -0
  154. package/dist/components/Icon/src/icons/mail.js +6 -0
  155. package/dist/components/Icon/src/icons/menu.d.ts +1 -0
  156. package/dist/components/Icon/src/icons/menu.js +6 -0
  157. package/dist/components/Icon/src/icons/minus.d.ts +1 -0
  158. package/dist/components/Icon/src/icons/minus.js +6 -0
  159. package/dist/components/Icon/src/icons/pencil.d.ts +1 -0
  160. package/dist/components/Icon/src/icons/pencil.js +6 -0
  161. package/dist/components/Icon/src/icons/plus.d.ts +1 -0
  162. package/dist/components/Icon/src/icons/plus.js +6 -0
  163. package/dist/components/Icon/src/icons/search.d.ts +1 -0
  164. package/dist/components/Icon/src/icons/search.js +6 -0
  165. package/dist/components/Icon/src/icons/settings.d.ts +1 -0
  166. package/dist/components/Icon/src/icons/settings.js +6 -0
  167. package/dist/components/Icon/src/icons/trash-2.d.ts +1 -0
  168. package/dist/components/Icon/src/icons/trash-2.js +6 -0
  169. package/dist/components/Icon/src/icons/triangle-alert.d.ts +1 -0
  170. package/dist/components/Icon/src/icons/triangle-alert.js +6 -0
  171. package/dist/components/Icon/src/icons/upload.d.ts +1 -0
  172. package/dist/components/Icon/src/icons/upload.js +6 -0
  173. package/dist/components/Icon/src/icons/user.d.ts +1 -0
  174. package/dist/components/Icon/src/icons/user.js +6 -0
  175. package/dist/components/Icon/src/icons/x.d.ts +1 -0
  176. package/dist/components/Icon/src/icons/x.js +6 -0
  177. package/dist/components/Image/src/Image.d.ts +76 -0
  178. package/dist/components/Image/src/Image.js +456 -0
  179. package/dist/components/Image/src/Image.props.d.ts +35 -0
  180. package/dist/components/Image/src/Image.props.js +65 -0
  181. package/dist/components/Image/src/Image.styles.d.ts +4 -0
  182. package/dist/components/Input/src/Input.d.ts +60 -0
  183. package/dist/components/Input/src/Input.js +648 -0
  184. package/dist/components/Input/src/Input.playground.d.ts +2 -0
  185. package/dist/components/Input/src/Input.props.d.ts +13 -0
  186. package/dist/components/Input/src/Input.props.js +41 -0
  187. package/dist/components/Input/src/Input.styles.d.ts +6 -0
  188. package/dist/components/Modal/src/Modal.d.ts +166 -0
  189. package/dist/components/Modal/src/Modal.js +1434 -0
  190. package/dist/components/Modal/src/Modal.playground.d.ts +2 -0
  191. package/dist/components/Modal/src/Modal.props.d.ts +66 -0
  192. package/dist/components/Modal/src/Modal.props.js +65 -0
  193. package/dist/components/Modal/src/Modal.styles.d.ts +29 -0
  194. package/dist/components/Nav/src/Nav.d.ts +66 -0
  195. package/dist/components/Nav/src/Nav.js +750 -0
  196. package/dist/components/Nav/src/Nav.props.d.ts +8 -0
  197. package/dist/components/Nav/src/Nav.props.js +13 -0
  198. package/dist/components/Nav/src/Nav.styles.d.ts +10 -0
  199. package/dist/components/NavDropdownColumn/src/NavDropdownColumn.d.ts +17 -0
  200. package/dist/components/NavDropdownColumn/src/NavDropdownColumn.js +170 -0
  201. package/dist/components/NavDropdownColumn/src/NavDropdownColumn.styles.d.ts +1 -0
  202. package/dist/components/NavLink/src/NavLink.d.ts +191 -0
  203. package/dist/components/NavLink/src/NavLink.js +1916 -0
  204. package/dist/components/NavLink/src/NavLink.props.d.ts +38 -0
  205. package/dist/components/NavLink/src/NavLink.props.js +58 -0
  206. package/dist/components/NavLink/src/NavLink.styles.d.ts +22 -0
  207. package/dist/components/Stack/src/Stack.d.ts +30 -0
  208. package/dist/components/Stack/src/Stack.js +300 -0
  209. package/dist/components/Stack/src/Stack.props.d.ts +24 -0
  210. package/dist/components/Stack/src/Stack.props.js +53 -0
  211. package/dist/components/Stack/src/Stack.styles.d.ts +2 -0
  212. package/dist/components/Text/src/Text.d.ts +32 -0
  213. package/dist/components/Text/src/Text.js +327 -0
  214. package/dist/components/Text/src/Text.props.d.ts +23 -0
  215. package/dist/components/Text/src/Text.props.js +52 -0
  216. package/dist/components/Text/src/Text.styles.d.ts +2 -0
  217. package/dist/playground/types.d.ts +29 -0
  218. package/dist/playground-manifest.d.ts +6 -0
  219. package/dist/playground-manifest.js +556 -0
  220. package/dist/react/Background.d.ts +6 -0
  221. package/dist/react/Background.js +13 -0
  222. package/dist/react/Badge.d.ts +6 -0
  223. package/dist/react/Badge.js +13 -0
  224. package/dist/react/Button.d.ts +6 -0
  225. package/dist/react/Button.js +13 -0
  226. package/dist/react/Card.d.ts +6 -0
  227. package/dist/react/Card.js +13 -0
  228. package/dist/react/CodeBlock.d.ts +6 -0
  229. package/dist/react/CodeBlock.js +13 -0
  230. package/dist/react/Container.d.ts +6 -0
  231. package/dist/react/Container.js +13 -0
  232. package/dist/react/Divider.d.ts +6 -0
  233. package/dist/react/Divider.js +13 -0
  234. package/dist/react/FeatureItem.d.ts +6 -0
  235. package/dist/react/FeatureItem.js +13 -0
  236. package/dist/react/FeatureTabs.d.ts +6 -0
  237. package/dist/react/FeatureTabs.js +13 -0
  238. package/dist/react/Footer.d.ts +6 -0
  239. package/dist/react/Footer.js +13 -0
  240. package/dist/react/FormBlock.d.ts +6 -0
  241. package/dist/react/FormBlock.js +13 -0
  242. package/dist/react/Grid.d.ts +6 -0
  243. package/dist/react/Grid.js +13 -0
  244. package/dist/react/Heading.d.ts +6 -0
  245. package/dist/react/Heading.js +13 -0
  246. package/dist/react/HeadingBlock.d.ts +6 -0
  247. package/dist/react/HeadingBlock.js +13 -0
  248. package/dist/react/Hero.d.ts +6 -0
  249. package/dist/react/Hero.js +13 -0
  250. package/dist/react/Icon.d.ts +6 -0
  251. package/dist/react/Icon.js +13 -0
  252. package/dist/react/Image.d.ts +8 -0
  253. package/dist/react/Image.js +13 -0
  254. package/dist/react/Input.d.ts +8 -0
  255. package/dist/react/Input.js +13 -0
  256. package/dist/react/Modal.d.ts +10 -0
  257. package/dist/react/Modal.js +17 -0
  258. package/dist/react/Nav.d.ts +6 -0
  259. package/dist/react/Nav.js +13 -0
  260. package/dist/react/NavDropdownColumn.d.ts +6 -0
  261. package/dist/react/NavDropdownColumn.js +13 -0
  262. package/dist/react/NavLink.d.ts +8 -0
  263. package/dist/react/NavLink.js +13 -0
  264. package/dist/react/Stack.d.ts +6 -0
  265. package/dist/react/Stack.js +13 -0
  266. package/dist/react/Text.d.ts +6 -0
  267. package/dist/react/Text.js +13 -0
  268. package/dist/react/index.d.ts +24 -0
  269. package/dist/react/index.js +25 -0
  270. package/dist/surface/surface.props.js +33 -0
  271. package/package.json +352 -4
@@ -0,0 +1,1333 @@
1
+ var __legacyDecorateClassTS = function(decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1;i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
11
+
12
+ // components/FeatureTabs/src/FeatureTabs.ts
13
+ import"../../Button/src/Button.js";
14
+ import"../../CodeBlock/src/CodeBlock.js";
15
+ import"../../Container/src/Container.js";
16
+ import"../../Grid/src/Grid.js";
17
+ import"../../HeadingBlock/src/HeadingBlock.js";
18
+ import"../../Icon/src/Icon.js";
19
+
20
+ // common/Base/Base.ts
21
+ import { html, LitElement } from "lit";
22
+
23
+ // common/helpers/define-element.ts
24
+ var defineElement = (tag, ctor) => {
25
+ if (typeof customElements === "undefined")
26
+ return;
27
+ if (!customElements.get(tag))
28
+ customElements.define(tag, ctor);
29
+ };
30
+
31
+ // common/Base/Base.css
32
+ import { css } from "lit";
33
+ var styles = css`/* Base reset in @layer base ensures it comes before utilities in Tailwind v4 cascade
34
+ This prevents the reset from overriding component utility classes */
35
+ @layer base {
36
+ :host {
37
+ display: block;
38
+ box-sizing: border-box;
39
+ line-height: 1.5;
40
+ -webkit-text-size-adjust: 100%;
41
+ tab-size: 4;
42
+ font-family: var(
43
+ --default-font-family,
44
+ var(--font-sans, ui-sans-serif, system-ui, sans-serif)
45
+ );
46
+ }
47
+
48
+ *,
49
+ *::before,
50
+ *::after {
51
+ box-sizing: inherit;
52
+ margin: 0;
53
+ padding: 0;
54
+ border: 0 solid;
55
+ }
56
+
57
+ :host h1,
58
+ :host h2,
59
+ :host h3,
60
+ :host h4,
61
+ :host h5,
62
+ :host h6 {
63
+ font-size: inherit;
64
+ font-weight: inherit;
65
+ margin: 0;
66
+ padding: 0;
67
+ }
68
+ }
69
+ `;
70
+ var Base_default = styles;
71
+
72
+ // common/Base/Base.ts
73
+ class Base extends LitElement {
74
+ static styles = Base_default;
75
+ updateTheme(changedProperties, surface) {
76
+ if (changedProperties.has("surface")) {
77
+ if (surface) {
78
+ this.setAttribute("data-theme", surface);
79
+ } else {
80
+ this.removeAttribute("data-theme");
81
+ }
82
+ }
83
+ }
84
+ emit(name, detail, options = {}) {
85
+ return this.dispatchEvent(new CustomEvent(name, {
86
+ detail,
87
+ bubbles: true,
88
+ composed: true,
89
+ cancelable: options.cancelable ?? false
90
+ }));
91
+ }
92
+ render() {
93
+ return html`<slot></slot>`;
94
+ }
95
+ }
96
+ defineElement("dsgn-base", Base);
97
+
98
+ // common/helpers/motion.ts
99
+ var REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
100
+ var cachedMatchMedia;
101
+ var cachedQuery = null;
102
+ function prefersReducedMotion() {
103
+ const mm = typeof matchMedia === "function" ? matchMedia : undefined;
104
+ if (mm !== cachedMatchMedia) {
105
+ cachedMatchMedia = mm;
106
+ cachedQuery = mm ? mm(REDUCED_MOTION_QUERY) : null;
107
+ }
108
+ return cachedQuery?.matches ?? false;
109
+ }
110
+
111
+ // common/controllers/AutoRotateController.ts
112
+ var TICK_MS = 32;
113
+
114
+ class AutoRotateController {
115
+ get running() {
116
+ return this._timerId !== null;
117
+ }
118
+ constructor(host, duration = 6000, canRun = () => true) {
119
+ this._timerId = null;
120
+ this._startedAt = 0;
121
+ this._itemCount = 0;
122
+ this.activeIndex = 0;
123
+ this.progress = 0;
124
+ this.paused = false;
125
+ this.host = host;
126
+ this._duration = duration;
127
+ this._canRun = canRun;
128
+ host.addController(this);
129
+ }
130
+ hostDisconnected() {
131
+ this._stopTimer();
132
+ }
133
+ hostUpdated() {
134
+ this._reconcile();
135
+ }
136
+ setDuration(ms) {
137
+ this._duration = ms;
138
+ this._retime();
139
+ }
140
+ goTo(index) {
141
+ this.activeIndex = index;
142
+ this.progress = 0;
143
+ this.paused = true;
144
+ this._stopTimer();
145
+ this.host.requestUpdate();
146
+ }
147
+ pause() {
148
+ this.paused = true;
149
+ this._stopTimer();
150
+ this.host.requestUpdate();
151
+ }
152
+ resume(itemCount) {
153
+ this._itemCount = itemCount;
154
+ this.paused = false;
155
+ this.progress = 0;
156
+ this.host.requestUpdate();
157
+ }
158
+ next(itemCount) {
159
+ this._itemCount = itemCount;
160
+ this.activeIndex = (this.activeIndex + 1) % itemCount;
161
+ this._retime();
162
+ this.host.requestUpdate();
163
+ }
164
+ get _allowed() {
165
+ return !this.paused && this._itemCount > 0 && !prefersReducedMotion() && this._canRun();
166
+ }
167
+ _reconcile() {
168
+ if (this._allowed && !this.running) {
169
+ this._startTimer();
170
+ } else if (!this._allowed && this.running) {
171
+ this._stopTimer();
172
+ }
173
+ }
174
+ _retime() {
175
+ this.progress = 0;
176
+ this._stopTimer();
177
+ if (this._allowed) {
178
+ this._startTimer();
179
+ }
180
+ }
181
+ _startTimer() {
182
+ this._startedAt = Date.now();
183
+ this._timerId = setInterval(() => {
184
+ const elapsed = Date.now() - this._startedAt;
185
+ this.progress = Math.min(elapsed / this._duration, 1);
186
+ if (this.progress >= 1) {
187
+ this.activeIndex = (this.activeIndex + 1) % this._itemCount;
188
+ this.progress = 0;
189
+ this._startedAt = Date.now();
190
+ }
191
+ this.host.requestUpdate();
192
+ }, TICK_MS);
193
+ }
194
+ _stopTimer() {
195
+ if (this._timerId !== null) {
196
+ clearInterval(this._timerId);
197
+ this._timerId = null;
198
+ }
199
+ }
200
+ }
201
+
202
+ // common/helpers/enum-validator.ts
203
+ var enumValidator = (propName, enumSet, candidateValue) => {
204
+ if (!enumSet.has(candidateValue)) {
205
+ throw new Error(`Invalid prop ${propName} of value ${candidateValue}. Expected one of: ${Array.from(enumSet).join(", ")}`);
206
+ }
207
+ };
208
+
209
+ // common/helpers/enum-creator.ts
210
+ var enumCreator = (acceptableValues, propName, type, other = {}) => {
211
+ const acceptableValuesSet = new Set(acceptableValues);
212
+ return {
213
+ type,
214
+ hasChanged(newValue, oldValue) {
215
+ if (newValue !== oldValue) {
216
+ enumValidator(propName, acceptableValuesSet, newValue);
217
+ return true;
218
+ }
219
+ return false;
220
+ },
221
+ ...other
222
+ };
223
+ };
224
+
225
+ // common/props/surface/surface.props.ts
226
+ var surfaceValues = {
227
+ LIGHT: "light",
228
+ DARK: "dark"
229
+ };
230
+ var surfaceProps = enumCreator(Object.values(surfaceValues), "surface", String, { reflect: true });
231
+
232
+ // ../../node_modules/.bun/lit-html@3.3.3/node_modules/lit-html/development/is-server.js
233
+ var NODE_MODE = false;
234
+ var isServer = NODE_MODE;
235
+
236
+ // ../../node_modules/.bun/@lit-labs+observers@2.1.0/node_modules/@lit-labs/observers/development/intersection-controller.js
237
+ class IntersectionController {
238
+ constructor(host, { target, config, callback, skipInitial }) {
239
+ this._targets = new Set;
240
+ this._skipInitial = false;
241
+ this._unobservedUpdate = false;
242
+ this._host = host;
243
+ if (target !== null) {
244
+ this._targets.add(target ?? host);
245
+ }
246
+ this._skipInitial = skipInitial ?? this._skipInitial;
247
+ this.callback = callback;
248
+ if (isServer) {
249
+ return;
250
+ }
251
+ if (!window.IntersectionObserver) {
252
+ console.warn(`IntersectionController error: browser does not support IntersectionObserver.`);
253
+ return;
254
+ }
255
+ this._observer = new IntersectionObserver((entries) => {
256
+ const unobservedUpdate = this._unobservedUpdate;
257
+ this._unobservedUpdate = false;
258
+ if (this._skipInitial && unobservedUpdate) {
259
+ return;
260
+ }
261
+ this.handleChanges(entries);
262
+ this._host.requestUpdate();
263
+ }, config);
264
+ host.addController(this);
265
+ }
266
+ handleChanges(entries) {
267
+ this.value = this.callback?.(entries, this._observer);
268
+ }
269
+ hostConnected() {
270
+ for (const target of this._targets) {
271
+ this.observe(target);
272
+ }
273
+ }
274
+ hostDisconnected() {
275
+ this.disconnect();
276
+ }
277
+ async hostUpdated() {
278
+ const pendingRecords = this._observer.takeRecords();
279
+ if (pendingRecords.length) {
280
+ this.handleChanges(pendingRecords);
281
+ }
282
+ }
283
+ observe(target) {
284
+ this._targets.add(target);
285
+ this._observer.observe(target);
286
+ this._unobservedUpdate = true;
287
+ }
288
+ unobserve(target) {
289
+ this._targets.delete(target);
290
+ this._observer.unobserve(target);
291
+ }
292
+ disconnect() {
293
+ this._observer.disconnect();
294
+ }
295
+ }
296
+
297
+ // components/FeatureTabs/src/FeatureTabs.ts
298
+ import {
299
+ html as html2,
300
+ nothing,
301
+ svg
302
+ } from "lit";
303
+ import { property } from "lit/decorators.js";
304
+ import { keyed } from "lit/directives/keyed.js";
305
+ import { styleMap } from "lit/directives/style-map.js";
306
+ import {
307
+ containerPaddingValues,
308
+ containerSizeValues
309
+ } from "../../Container/src/Container.props.js";
310
+
311
+ // components/FeatureTabs/src/FeatureTabs.css
312
+ import { css as css2 } from "lit";
313
+ var styles2 = css2`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
314
+ @layer properties;
315
+ @layer theme {
316
+ :root, :host {
317
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
318
+ monospace;
319
+ --color-orange-900: oklch(40.8% 0.123 38.172);
320
+ --color-white: #fff;
321
+ --spacing: 0.25rem;
322
+ --font-weight-semibold: 600;
323
+ --tracking-tight: -0.025em;
324
+ --radius-lg: 0.5rem;
325
+ --radius-xl: 0.75rem;
326
+ --radius-2xl: 1rem;
327
+ --default-transition-duration: 150ms;
328
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
329
+ --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
330
+ --color-accent: inherit;
331
+ --color-eyebrow: inherit;
332
+ --color-outline: inherit;
333
+ --color-outline-strong: inherit;
334
+ --color-pattern-dot: inherit;
335
+ --color-surface-default: inherit;
336
+ --color-surface-elevated: inherit;
337
+ --color-text-primary: inherit;
338
+ --color-text-secondary: inherit;
339
+ --color-text-tertiary: inherit;
340
+ --animate-fade-in-a: fade-in-a 0.3s ease-in;
341
+ --animate-fade-in-b: fade-in-b 0.3s ease-in;
342
+ }
343
+ }
344
+ @layer utilities {
345
+ .absolute {
346
+ position: absolute;
347
+ }
348
+ .relative {
349
+ position: relative;
350
+ }
351
+ .static {
352
+ position: static;
353
+ }
354
+ .top-0 {
355
+ top: calc(var(--spacing) * 0);
356
+ }
357
+ .bottom-0 {
358
+ bottom: calc(var(--spacing) * 0);
359
+ }
360
+ .left-0 {
361
+ left: calc(var(--spacing) * 0);
362
+ }
363
+ .col-1 {
364
+ grid-column: 1;
365
+ }
366
+ .col-2 {
367
+ grid-column: 2;
368
+ }
369
+ .m-0 {
370
+ margin: calc(var(--spacing) * 0);
371
+ }
372
+ .mt-1 {
373
+ margin-top: calc(var(--spacing) * 1);
374
+ }
375
+ .mt-3 {
376
+ margin-top: calc(var(--spacing) * 3);
377
+ }
378
+ .mt-4 {
379
+ margin-top: calc(var(--spacing) * 4);
380
+ }
381
+ .mt-5 {
382
+ margin-top: calc(var(--spacing) * 5);
383
+ }
384
+ .mt-8 {
385
+ margin-top: calc(var(--spacing) * 8);
386
+ }
387
+ .mb-0\\.5 {
388
+ margin-bottom: calc(var(--spacing) * 0.5);
389
+ }
390
+ .mb-6 {
391
+ margin-bottom: calc(var(--spacing) * 6);
392
+ }
393
+ .mb-14 {
394
+ margin-bottom: calc(var(--spacing) * 14);
395
+ }
396
+ .ml-auto {
397
+ margin-left: auto;
398
+ }
399
+ .block {
400
+ display: block;
401
+ }
402
+ .flex {
403
+ display: flex;
404
+ }
405
+ .grid {
406
+ display: grid;
407
+ }
408
+ .hidden {
409
+ display: none;
410
+ }
411
+ .inline {
412
+ display: inline;
413
+ }
414
+ .inline-block {
415
+ display: inline-block;
416
+ }
417
+ .inline-flex {
418
+ display: inline-flex;
419
+ }
420
+ .h-2 {
421
+ height: calc(var(--spacing) * 2);
422
+ }
423
+ .h-9 {
424
+ height: calc(var(--spacing) * 9);
425
+ }
426
+ .h-12 {
427
+ height: calc(var(--spacing) * 12);
428
+ }
429
+ .h-\\[3px\\] {
430
+ height: 3px;
431
+ }
432
+ .h-full {
433
+ height: 100%;
434
+ }
435
+ .w-2 {
436
+ width: calc(var(--spacing) * 2);
437
+ }
438
+ .w-6 {
439
+ width: calc(var(--spacing) * 6);
440
+ }
441
+ .w-9 {
442
+ width: calc(var(--spacing) * 9);
443
+ }
444
+ .w-12 {
445
+ width: calc(var(--spacing) * 12);
446
+ }
447
+ .w-\\[3px\\] {
448
+ width: 3px;
449
+ }
450
+ .w-full {
451
+ width: 100%;
452
+ }
453
+ .max-w-\\[560px\\] {
454
+ max-width: 560px;
455
+ }
456
+ .min-w-0 {
457
+ min-width: calc(var(--spacing) * 0);
458
+ }
459
+ .flex-1 {
460
+ flex: 1;
461
+ }
462
+ .shrink-0 {
463
+ flex-shrink: 0;
464
+ }
465
+ .animate-fade-in-a {
466
+ animation: var(--animate-fade-in-a);
467
+ }
468
+ .animate-fade-in-b {
469
+ animation: var(--animate-fade-in-b);
470
+ }
471
+ .cursor-pointer {
472
+ cursor: pointer;
473
+ }
474
+ .list-none {
475
+ list-style-type: none;
476
+ }
477
+ .appearance-none {
478
+ appearance: none;
479
+ }
480
+ .flex-col {
481
+ flex-direction: column;
482
+ }
483
+ .items-baseline {
484
+ align-items: baseline;
485
+ }
486
+ .items-center {
487
+ align-items: center;
488
+ }
489
+ .items-stretch {
490
+ align-items: stretch;
491
+ }
492
+ .justify-center {
493
+ justify-content: center;
494
+ }
495
+ .gap-0\\.5 {
496
+ gap: calc(var(--spacing) * 0.5);
497
+ }
498
+ .gap-2 {
499
+ gap: calc(var(--spacing) * 2);
500
+ }
501
+ .gap-3 {
502
+ gap: calc(var(--spacing) * 3);
503
+ }
504
+ .gap-4 {
505
+ gap: calc(var(--spacing) * 4);
506
+ }
507
+ .gap-\\[10px\\] {
508
+ gap: 10px;
509
+ }
510
+ .gap-\\[14px\\] {
511
+ gap: 14px;
512
+ }
513
+ .overflow-hidden {
514
+ overflow: hidden;
515
+ }
516
+ .rounded-2xl {
517
+ border-radius: var(--radius-2xl);
518
+ }
519
+ .rounded-\\[10px\\] {
520
+ border-radius: 10px;
521
+ }
522
+ .rounded-full {
523
+ border-radius: calc(infinity * 1px);
524
+ }
525
+ .rounded-lg {
526
+ border-radius: var(--radius-lg);
527
+ }
528
+ .rounded-xl {
529
+ border-radius: var(--radius-xl);
530
+ }
531
+ .border {
532
+ border-style: var(--tw-border-style);
533
+ border-width: 1px;
534
+ }
535
+ .border-0 {
536
+ border-style: var(--tw-border-style);
537
+ border-width: 0px;
538
+ }
539
+ .border-outline {
540
+ border-color: var(--color-outline);
541
+ }
542
+ .border-outline-strong {
543
+ border-color: var(--color-outline-strong);
544
+ }
545
+ .border-transparent {
546
+ border-color: transparent;
547
+ }
548
+ .bg-\\[var\\(--color-orange-900\\)\\] {
549
+ background-color: var(--color-orange-900);
550
+ }
551
+ .bg-accent {
552
+ background-color: var(--color-accent);
553
+ }
554
+ .bg-outline {
555
+ background-color: var(--color-outline);
556
+ }
557
+ .bg-surface-default {
558
+ background-color: var(--color-surface-default);
559
+ }
560
+ .bg-surface-elevated {
561
+ background-color: var(--color-surface-elevated);
562
+ }
563
+ .bg-text-tertiary {
564
+ background-color: var(--color-text-tertiary);
565
+ }
566
+ .bg-transparent {
567
+ background-color: transparent;
568
+ }
569
+ .p-0 {
570
+ padding: calc(var(--spacing) * 0);
571
+ }
572
+ .p-4 {
573
+ padding: calc(var(--spacing) * 4);
574
+ }
575
+ .px-\\[8px\\] {
576
+ padding-inline: 8px;
577
+ }
578
+ .py-\\[10px\\] {
579
+ padding-block: 10px;
580
+ }
581
+ .py-\\[18px\\] {
582
+ padding-block: 18px;
583
+ }
584
+ .pt-7 {
585
+ padding-top: calc(var(--spacing) * 7);
586
+ }
587
+ .pr-5 {
588
+ padding-right: calc(var(--spacing) * 5);
589
+ }
590
+ .pl-\\[22px\\] {
591
+ padding-left: 22px;
592
+ }
593
+ .text-left {
594
+ text-align: left;
595
+ }
596
+ .font-display {
597
+ font-family: var(--font-display);
598
+ }
599
+ .font-mono {
600
+ font-family: var(--font-mono);
601
+ }
602
+ .text-\\[11px\\] {
603
+ font-size: 11px;
604
+ }
605
+ .text-\\[12px\\] {
606
+ font-size: 12px;
607
+ }
608
+ .text-\\[13\\.5px\\] {
609
+ font-size: 13.5px;
610
+ }
611
+ .text-\\[17px\\] {
612
+ font-size: 17px;
613
+ }
614
+ .text-\\[18px\\] {
615
+ font-size: 18px;
616
+ }
617
+ .text-\\[24px\\] {
618
+ font-size: 24px;
619
+ }
620
+ .leading-\\[1\\.2\\] {
621
+ --tw-leading: 1.2;
622
+ line-height: 1.2;
623
+ }
624
+ .leading-\\[1\\.05\\] {
625
+ --tw-leading: 1.05;
626
+ line-height: 1.05;
627
+ }
628
+ .leading-\\[1\\.6\\] {
629
+ --tw-leading: 1.6;
630
+ line-height: 1.6;
631
+ }
632
+ .leading-\\[1\\.45\\] {
633
+ --tw-leading: 1.45;
634
+ line-height: 1.45;
635
+ }
636
+ .font-semibold {
637
+ --tw-font-weight: var(--font-weight-semibold);
638
+ font-weight: var(--font-weight-semibold);
639
+ }
640
+ .tracking-\\[-0\\.01em\\] {
641
+ --tw-tracking: -0.01em;
642
+ letter-spacing: -0.01em;
643
+ }
644
+ .tracking-\\[0\\.06em\\] {
645
+ --tw-tracking: 0.06em;
646
+ letter-spacing: 0.06em;
647
+ }
648
+ .tracking-tight {
649
+ --tw-tracking: var(--tracking-tight);
650
+ letter-spacing: var(--tracking-tight);
651
+ }
652
+ .text-accent {
653
+ color: var(--color-accent);
654
+ }
655
+ .text-eyebrow {
656
+ color: var(--color-eyebrow);
657
+ }
658
+ .text-inherit {
659
+ color: inherit;
660
+ }
661
+ .text-text-primary {
662
+ color: var(--color-text-primary);
663
+ }
664
+ .text-text-secondary {
665
+ color: var(--color-text-secondary);
666
+ }
667
+ .text-text-tertiary {
668
+ color: var(--color-text-tertiary);
669
+ }
670
+ .text-white {
671
+ color: var(--color-white);
672
+ }
673
+ .uppercase {
674
+ text-transform: uppercase;
675
+ }
676
+ .shadow {
677
+ --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
678
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
679
+ }
680
+ .shadow-none {
681
+ --tw-shadow: 0 0 #0000;
682
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
683
+ }
684
+ .transition-all {
685
+ transition-property: all;
686
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
687
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
688
+ }
689
+ .transition-colors {
690
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
691
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
692
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
693
+ }
694
+ .duration-150 {
695
+ --tw-duration: 150ms;
696
+ transition-duration: 150ms;
697
+ }
698
+ .duration-200 {
699
+ --tw-duration: 200ms;
700
+ transition-duration: 200ms;
701
+ }
702
+ .duration-\\[250ms\\] {
703
+ --tw-duration: 250ms;
704
+ transition-duration: 250ms;
705
+ }
706
+ .outline-none {
707
+ --tw-outline-style: none;
708
+ outline-style: none;
709
+ }
710
+ .sm\\:flex-row {
711
+ @media (width >= 40rem) {
712
+ flex-direction: row;
713
+ }
714
+ }
715
+ .sm\\:items-center {
716
+ @media (width >= 40rem) {
717
+ align-items: center;
718
+ }
719
+ }
720
+ .sm\\:p-9 {
721
+ @media (width >= 40rem) {
722
+ padding: calc(var(--spacing) * 9);
723
+ }
724
+ }
725
+ .sm\\:text-\\[36px\\] {
726
+ @media (width >= 40rem) {
727
+ font-size: 36px;
728
+ }
729
+ }
730
+ .lg\\:mt-auto {
731
+ @media (width >= 64rem) {
732
+ margin-top: auto;
733
+ }
734
+ }
735
+ .lg\\:block {
736
+ @media (width >= 64rem) {
737
+ display: block;
738
+ }
739
+ }
740
+ .lg\\:flex {
741
+ @media (width >= 64rem) {
742
+ display: flex;
743
+ }
744
+ }
745
+ .lg\\:hidden {
746
+ @media (width >= 64rem) {
747
+ display: none;
748
+ }
749
+ }
750
+ .lg\\:h-full {
751
+ @media (width >= 64rem) {
752
+ height: 100%;
753
+ }
754
+ }
755
+ .lg\\:flex-col {
756
+ @media (width >= 64rem) {
757
+ flex-direction: column;
758
+ }
759
+ }
760
+ }
761
+ @property --dsgn-border-sweep-angle {
762
+ syntax: '<angle>';
763
+ inherits: false;
764
+ initial-value: 0deg;
765
+ }
766
+ @property --tw-border-style {
767
+ syntax: "*";
768
+ inherits: false;
769
+ initial-value: solid;
770
+ }
771
+ @property --tw-leading {
772
+ syntax: "*";
773
+ inherits: false;
774
+ }
775
+ @property --tw-font-weight {
776
+ syntax: "*";
777
+ inherits: false;
778
+ }
779
+ @property --tw-tracking {
780
+ syntax: "*";
781
+ inherits: false;
782
+ }
783
+ @property --tw-shadow {
784
+ syntax: "*";
785
+ inherits: false;
786
+ initial-value: 0 0 #0000;
787
+ }
788
+ @property --tw-shadow-color {
789
+ syntax: "*";
790
+ inherits: false;
791
+ }
792
+ @property --tw-shadow-alpha {
793
+ syntax: "<percentage>";
794
+ inherits: false;
795
+ initial-value: 100%;
796
+ }
797
+ @property --tw-inset-shadow {
798
+ syntax: "*";
799
+ inherits: false;
800
+ initial-value: 0 0 #0000;
801
+ }
802
+ @property --tw-inset-shadow-color {
803
+ syntax: "*";
804
+ inherits: false;
805
+ }
806
+ @property --tw-inset-shadow-alpha {
807
+ syntax: "<percentage>";
808
+ inherits: false;
809
+ initial-value: 100%;
810
+ }
811
+ @property --tw-ring-color {
812
+ syntax: "*";
813
+ inherits: false;
814
+ }
815
+ @property --tw-ring-shadow {
816
+ syntax: "*";
817
+ inherits: false;
818
+ initial-value: 0 0 #0000;
819
+ }
820
+ @property --tw-inset-ring-color {
821
+ syntax: "*";
822
+ inherits: false;
823
+ }
824
+ @property --tw-inset-ring-shadow {
825
+ syntax: "*";
826
+ inherits: false;
827
+ initial-value: 0 0 #0000;
828
+ }
829
+ @property --tw-ring-inset {
830
+ syntax: "*";
831
+ inherits: false;
832
+ }
833
+ @property --tw-ring-offset-width {
834
+ syntax: "<length>";
835
+ inherits: false;
836
+ initial-value: 0px;
837
+ }
838
+ @property --tw-ring-offset-color {
839
+ syntax: "*";
840
+ inherits: false;
841
+ initial-value: #fff;
842
+ }
843
+ @property --tw-ring-offset-shadow {
844
+ syntax: "*";
845
+ inherits: false;
846
+ initial-value: 0 0 #0000;
847
+ }
848
+ @property --tw-duration {
849
+ syntax: "*";
850
+ inherits: false;
851
+ }
852
+ @keyframes fade-in-a {
853
+ from {
854
+ opacity: 0;
855
+ }
856
+ to {
857
+ opacity: 1;
858
+ }
859
+ }
860
+ @keyframes fade-in-b {
861
+ from {
862
+ opacity: 0;
863
+ }
864
+ to {
865
+ opacity: 1;
866
+ }
867
+ }
868
+ @layer properties {
869
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
870
+ *, ::before, ::after, ::backdrop {
871
+ --tw-border-style: solid;
872
+ --tw-leading: initial;
873
+ --tw-font-weight: initial;
874
+ --tw-tracking: initial;
875
+ --tw-shadow: 0 0 #0000;
876
+ --tw-shadow-color: initial;
877
+ --tw-shadow-alpha: 100%;
878
+ --tw-inset-shadow: 0 0 #0000;
879
+ --tw-inset-shadow-color: initial;
880
+ --tw-inset-shadow-alpha: 100%;
881
+ --tw-ring-color: initial;
882
+ --tw-ring-shadow: 0 0 #0000;
883
+ --tw-inset-ring-color: initial;
884
+ --tw-inset-ring-shadow: 0 0 #0000;
885
+ --tw-ring-inset: initial;
886
+ --tw-ring-offset-width: 0px;
887
+ --tw-ring-offset-color: #fff;
888
+ --tw-ring-offset-shadow: 0 0 #0000;
889
+ --tw-duration: initial;
890
+ --dsgn-border-sweep-angle: 0deg;
891
+ }
892
+ }
893
+ }
894
+ `;
895
+ var FeatureTabs_default = styles2;
896
+
897
+ // components/FeatureTabs/src/FeatureTabs.props.ts
898
+ var DEFAULT_FEATURES = [
899
+ {
900
+ id: "orchestrator",
901
+ eyebrow: "CLI",
902
+ title: "Orchestrator",
903
+ short: "Scaffold, generate, and build from one CLI.",
904
+ desc: "Three commands cover the full lifecycle. Adapters handle language, styling, and tooling so you never touch the wiring.",
905
+ code: "ds-gn create design-system",
906
+ metric: "3 commands",
907
+ icon: "terminal",
908
+ ctaLabel: "Join the waitlist",
909
+ ctaHref: "#hero"
910
+ },
911
+ {
912
+ id: "authoring",
913
+ eyebrow: "Engine",
914
+ title: "Authoring brain",
915
+ short: "A canonical core composed by patch-based adapters.",
916
+ desc: "One canonical core template plus patch-based adapters composes your project. Change language, styling, or tooling without forking — just swap the adapter.",
917
+ code: "adapters/styling/tailwind",
918
+ metric: "1 core",
919
+ icon: "brain",
920
+ ctaLabel: "Join the waitlist",
921
+ ctaHref: "#hero"
922
+ },
923
+ {
924
+ id: "compiler",
925
+ eyebrow: "Build",
926
+ title: "Compiler",
927
+ short: "Tree-shakable ESM, types, and CSS — minified.",
928
+ desc: "Bundles components to tree-shakable ESM with types, compiles Tailwind or concatenates CSS, minified for prod. One step. No config tax.",
929
+ code: "bun build:ui",
930
+ metric: "46kb gzip",
931
+ icon: "cpu",
932
+ ctaLabel: "Join the waitlist",
933
+ ctaHref: "#hero"
934
+ },
935
+ {
936
+ id: "tokens",
937
+ eyebrow: "Tokens",
938
+ title: "Typed tokens",
939
+ short: "Semantic tokens, emitted to Tailwind, CSS, and shadow DOM.",
940
+ desc: "Semantic color, typography, and breakpoint tokens emit Tailwind @theme, public CSS variables, and shadow-DOM variables — type-checked across the chain.",
941
+ code: "--text-primary-on-light",
942
+ metric: "169 tokens",
943
+ icon: "palette",
944
+ ctaLabel: "Join the waitlist",
945
+ ctaHref: "#hero"
946
+ },
947
+ {
948
+ id: "adapters",
949
+ eyebrow: "Adapters",
950
+ title: "Stack-agnostic",
951
+ short: "Language, styling, and tooling — pick at compose time.",
952
+ desc: "Adapters express language, styling, and tooling as patches over the core — pick TypeScript or JS and Tailwind, Sass, or CSS without forking. The output is Lit web components that run in React, Vue, Svelte, or vanilla.",
953
+ code: "adapters/framework/lit",
954
+ metric: "7 adapters",
955
+ icon: "plug",
956
+ ctaLabel: "Join the waitlist",
957
+ ctaHref: "#hero"
958
+ }
959
+ ];
960
+ var DEFAULT_DURATION = 6000;
961
+ var DEFAULT_CODE_PATH = "~/dsgn-system";
962
+ var DEFAULT_ROTATING_LABEL = "auto-rotating";
963
+ var DEFAULT_PAUSED_LABEL = "paused — click to resume";
964
+ var DEFAULT_PAUSE_ARIA_LABEL = "Pause auto-rotate";
965
+ var DEFAULT_RESUME_ARIA_LABEL = "Resume auto-rotate";
966
+ var DEFAULT_TABS_ARIA_LABEL = "Features";
967
+
968
+ // ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
969
+ function r(e) {
970
+ var t, f, n = "";
971
+ if (typeof e == "string" || typeof e == "number")
972
+ n += e;
973
+ else if (typeof e == "object")
974
+ if (Array.isArray(e)) {
975
+ var o = e.length;
976
+ for (t = 0;t < o; t++)
977
+ e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
978
+ } else
979
+ for (f in e)
980
+ e[f] && (n && (n += " "), n += f);
981
+ return n;
982
+ }
983
+ function clsx() {
984
+ for (var e, t, f = 0, n = "", o = arguments.length;f < o; f++)
985
+ (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
986
+ return n;
987
+ }
988
+ var clsx_default = clsx;
989
+
990
+ // components/FeatureTabs/src/FeatureTabs.styles.ts
991
+ var headerClassNames = () => clsx_default("mb-14");
992
+ var tabsColClassNames = () => clsx_default("hidden", "lg:flex", "lg:flex-col");
993
+ var tabListClassNames = () => clsx_default("list-none", "m-0", "p-0", "flex", "flex-col", "gap-4", "flex-1");
994
+ var tabItemClassNames = () => clsx_default("block");
995
+ var tabBtnClassNames = (active) => clsx_default("w-full", "text-left", "block", "cursor-pointer", "relative", "overflow-hidden", "rounded-xl", "py-[18px]", "pl-[22px]", "pr-5", "border", "transition-all", "duration-200", "text-inherit", "appearance-none", active ? ["bg-surface-elevated", "border-outline-strong"] : ["bg-surface-default", "border-transparent"]);
996
+ var railClassNames = () => clsx_default("absolute", "left-0", "top-0", "bottom-0", "w-[3px]", "bg-outline");
997
+ var railFillClassNames = () => clsx_default("absolute", "left-0", "top-0", "w-[3px]", "bg-accent");
998
+ var tabInnerClassNames = () => clsx_default("flex", "items-center", "gap-[14px]");
999
+ var iconBadgeClassNames = (active, large = false) => clsx_default("flex", "items-center", "justify-center", "shrink-0", "transition-all", "duration-200", large ? ["w-12", "h-12", "rounded-[10px]"] : ["w-9", "h-9", "border", "rounded-lg"], active ? ["bg-accent", "text-white", "border-transparent"] : ["bg-surface-elevated", "text-text-secondary", "border-outline"]);
1000
+ var tabMetaClassNames = () => clsx_default("min-w-0", "flex-1", "flex", "flex-col");
1001
+ var tabMetaRowClassNames = () => clsx_default("flex", "items-baseline", "gap-[10px]", "mb-0.5");
1002
+ var tabEyebrowClassNames = (active) => clsx_default("font-mono", "text-[11px]", "tracking-[0.06em]", "uppercase", active ? "text-eyebrow" : "text-text-tertiary");
1003
+ var tabIndexClassNames = () => clsx_default("font-mono", "text-[11px]", "text-text-tertiary", "ml-auto");
1004
+ var tabTitleClassNames = () => clsx_default("font-display", "text-[18px]", "font-semibold", "text-text-primary", "tracking-[-0.01em]", "leading-[1.2]");
1005
+ var tabShortClassNames = () => clsx_default("text-[13.5px]", "text-text-secondary", "mt-1", "leading-[1.45]");
1006
+ var controlClassNames = () => clsx_default("mt-3", "pl-[22px]");
1007
+ var controlBtnClassNames = () => clsx_default("bg-transparent", "border-0", "cursor-pointer", "text-text-tertiary", "font-mono", "text-[11px]", "tracking-[0.06em]", "uppercase", "p-0", "inline-flex", "items-center", "gap-2", "appearance-none");
1008
+ var controlDotClassNames = (rotating) => clsx_default("inline-block", "w-2", "h-2", "rounded-full", "shrink-0", rotating ? "bg-accent" : "bg-text-tertiary");
1009
+ var detailClassNames = () => clsx_default("bg-surface-default", "border", "border-outline", "rounded-2xl", "p-4", "sm:p-9", "relative", "overflow-hidden", "flex", "flex-col", "lg:h-full");
1010
+ var PATTERN_MASK = "radial-gradient(ellipse at 80% 0%, #000 30%, transparent 70%)";
1011
+ var patternOverlayStyles = () => ({
1012
+ position: "absolute",
1013
+ inset: "0",
1014
+ opacity: "0.25",
1015
+ pointerEvents: "none",
1016
+ backgroundImage: "radial-gradient(circle at 1px 1px, var(--color-pattern-dot) 1px, transparent 0)",
1017
+ backgroundSize: "24px 24px",
1018
+ maskImage: PATTERN_MASK,
1019
+ WebkitMaskImage: PATTERN_MASK
1020
+ });
1021
+ var detailContentClassNames = (idx) => clsx_default("relative", "flex", "flex-col", "flex-1", idx % 2 === 0 ? "animate-fade-in-a" : "animate-fade-in-b");
1022
+ var detailHeaderClassNames = () => clsx_default("flex", "items-center", "gap-3", "mb-6");
1023
+ var detailEyebrowClassNames = () => clsx_default("font-mono", "text-[11px]", "tracking-[0.06em]", "uppercase", "text-text-tertiary");
1024
+ var detailCounterClassNames = () => clsx_default("ml-auto", "font-mono", "text-[12px]", "text-text-tertiary");
1025
+ var detailTitleClassNames = () => clsx_default("font-display", "text-[24px]", "sm:text-[36px]", "font-semibold", "tracking-tight", "text-text-primary", "leading-[1.05]");
1026
+ var detailDescClassNames = () => clsx_default("text-[17px]", "text-text-secondary", "leading-[1.6]", "mt-4", "max-w-[560px]");
1027
+ var codeWrapClassNames = () => clsx_default("mt-8");
1028
+ var ctaRowClassNames = () => clsx_default("flex", "flex-col", "sm:flex-row", "gap-[10px]", "lg:mt-auto", "pt-7", "items-stretch", "sm:items-center");
1029
+ var mobileProgressClassNames = () => clsx_default("block", "lg:hidden", "h-[3px]", "bg-outline", "rounded-full", "mt-4", "overflow-hidden");
1030
+ var mobileProgressFillClassNames = () => clsx_default("h-full", "bg-accent", "rounded-full");
1031
+ var mobileNavClassNames = () => clsx_default("flex", "lg:hidden", "items-center", "justify-center", "gap-2", "mt-5");
1032
+ var dotsClassNames = () => clsx_default("flex", "items-center", "gap-0.5", "justify-center");
1033
+ var dotPipClassNames = () => clsx_default("appearance-none", "border-0", "outline-none", "shadow-none", "py-[10px]", "px-[8px]", "bg-transparent", "cursor-pointer", "flex", "items-center", "justify-center");
1034
+ var dotPipInnerClassNames = (active) => clsx_default("block", "rounded-full", "h-2", "transition-all", "duration-[250ms]", active ? ["w-6", "bg-accent"] : ["w-2", "bg-[var(--color-orange-900)]"]);
1035
+ var playPauseClassNames = () => clsx_default("appearance-none", "border-0", "outline-none", "bg-transparent", "cursor-pointer", "text-accent", "py-[10px]", "px-[8px]", "flex", "items-center", "justify-center", "rounded-full", "transition-colors", "duration-150");
1036
+
1037
+ // components/FeatureTabs/src/FeatureTabs.ts
1038
+ var FEATURE_TAB_ICONS = {
1039
+ terminal: svg`<polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/>`,
1040
+ brain: svg`<path d="M9 4.5a2.5 2.5 0 0 0-2.5 2.5v.5a2.5 2.5 0 0 0-2 4 2.5 2.5 0 0 0 2 4v.5A2.5 2.5 0 0 0 9 18.5a2.5 2.5 0 0 0 3-2.5V6a2.5 2.5 0 0 0-3-1.5z"/><path d="M15 4.5A2.5 2.5 0 0 1 17.5 7v.5a2.5 2.5 0 0 1 2 4 2.5 2.5 0 0 1-2 4v.5A2.5 2.5 0 0 1 15 18.5a2.5 2.5 0 0 1-3-2.5V6a2.5 2.5 0 0 1 3-1.5z"/>`,
1041
+ cpu: svg`<rect x="5" y="5" width="14" height="14" rx="2"/><rect x="9" y="9" width="6" height="6"/><line x1="9" y1="2" x2="9" y2="5"/><line x1="15" y1="2" x2="15" y2="5"/><line x1="9" y1="19" x2="9" y2="22"/><line x1="15" y1="19" x2="15" y2="22"/><line x1="2" y1="9" x2="5" y2="9"/><line x1="2" y1="15" x2="5" y2="15"/><line x1="19" y1="9" x2="22" y2="9"/><line x1="19" y1="15" x2="22" y2="15"/>`,
1042
+ palette: svg`<circle cx="12" cy="12" r="9"/><circle cx="7.5" cy="10.5" r="1" fill="currentColor"/><circle cx="12" cy="7.5" r="1" fill="currentColor"/><circle cx="16.5" cy="10.5" r="1" fill="currentColor"/><path d="M12 21a3 3 0 0 1-3-3c0-1.5 1-2 1-3a2 2 0 0 0-2-2"/>`,
1043
+ plug: svg`<path d="M9 2v6"/><path d="M15 2v6"/><path d="M7 8h10v3a5 5 0 0 1-5 5 5 5 0 0 1-5-5z"/><path d="M12 16v6"/>`,
1044
+ shield: svg`<path d="M12 3l8 3v5c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6z"/><path d="M9 12l2 2 4-4"/>`
1045
+ };
1046
+ var nextTabIndex = (key, index, lastIndex) => {
1047
+ switch (key) {
1048
+ case "ArrowDown":
1049
+ case "ArrowRight":
1050
+ return index === lastIndex ? 0 : index + 1;
1051
+ case "ArrowUp":
1052
+ case "ArrowLeft":
1053
+ return index === 0 ? lastIndex : index - 1;
1054
+ case "Home":
1055
+ return 0;
1056
+ case "End":
1057
+ return lastIndex;
1058
+ default:
1059
+ return;
1060
+ }
1061
+ };
1062
+
1063
+ class FeatureTabs extends Base {
1064
+ static styles = [Base.styles, FeatureTabs_default];
1065
+ constructor() {
1066
+ super();
1067
+ this._inView = new IntersectionController(this, {
1068
+ config: { threshold: 0 },
1069
+ callback: (entries) => entries[entries.length - 1]?.isIntersecting ?? false
1070
+ });
1071
+ this.surface = surfaceValues.DARK;
1072
+ this.features = DEFAULT_FEATURES;
1073
+ this.duration = DEFAULT_DURATION;
1074
+ this.codePath = DEFAULT_CODE_PATH;
1075
+ this.rotatingLabel = DEFAULT_ROTATING_LABEL;
1076
+ this.pausedLabel = DEFAULT_PAUSED_LABEL;
1077
+ this.pauseAriaLabel = DEFAULT_PAUSE_ARIA_LABEL;
1078
+ this.resumeAriaLabel = DEFAULT_RESUME_ARIA_LABEL;
1079
+ this.tabsAriaLabel = DEFAULT_TABS_ARIA_LABEL;
1080
+ this._rotate = new AutoRotateController(this, DEFAULT_DURATION, () => this._inView.value === true);
1081
+ }
1082
+ firstUpdated() {
1083
+ this._rotate.resume(this.features.length);
1084
+ }
1085
+ updated(changedProperties) {
1086
+ super.updated(changedProperties);
1087
+ this.updateTheme(changedProperties, this.surface);
1088
+ if (changedProperties.has("duration")) {
1089
+ this._rotate.setDuration(this.duration);
1090
+ }
1091
+ }
1092
+ _handleTabClick(index) {
1093
+ this._rotate.goTo(index);
1094
+ }
1095
+ _handleTabKeyDown(event, index) {
1096
+ const nextIndex = nextTabIndex(event.key, index, this.features.length - 1);
1097
+ if (nextIndex === undefined)
1098
+ return;
1099
+ event.preventDefault();
1100
+ this._rotate.goTo(nextIndex);
1101
+ const tabs = event.currentTarget ? event.currentTarget.closest('[role="tablist"]')?.querySelectorAll('[role="tab"]') : undefined;
1102
+ tabs?.[nextIndex]?.focus();
1103
+ }
1104
+ _handlePauseResume() {
1105
+ if (this._rotate.paused) {
1106
+ this._rotate.resume(this.features.length);
1107
+ } else {
1108
+ this._rotate.pause();
1109
+ }
1110
+ }
1111
+ _renderIcon(name, size = "md") {
1112
+ return html2`<dsgn-icon
1113
+ .icon=${FEATURE_TAB_ICONS[name]}
1114
+ size=${size}
1115
+ ></dsgn-icon>`;
1116
+ }
1117
+ _renderCtas(feature) {
1118
+ const hasPrimary = Boolean(feature.ctaLabel && feature.ctaHref);
1119
+ const hasSecondary = Boolean(feature.ctaSecondaryLabel && feature.ctaSecondaryHref);
1120
+ if (!hasPrimary && !hasSecondary)
1121
+ return nothing;
1122
+ return html2`<div class="${ctaRowClassNames()}">
1123
+ ${hasPrimary ? html2`<dsgn-button
1124
+ appearance="solid"
1125
+ surface="dark"
1126
+ href=${feature.ctaHref ?? ""}
1127
+ >${feature.ctaLabel}</dsgn-button
1128
+ >` : nothing}
1129
+ ${hasSecondary ? html2`<dsgn-button
1130
+ appearance="ghost"
1131
+ surface="dark"
1132
+ href=${feature.ctaSecondaryHref ?? ""}
1133
+ >${feature.ctaSecondaryLabel}</dsgn-button
1134
+ >` : nothing}
1135
+ </div>`;
1136
+ }
1137
+ _renderDetailPanel(idx, feature, progress, total, paused, features, slot) {
1138
+ const isDesktopPanel = Boolean(slot);
1139
+ return html2`
1140
+ <div
1141
+ class="${detailClassNames()}"
1142
+ role=${isDesktopPanel ? "tabpanel" : nothing}
1143
+ id=${isDesktopPanel ? "feature-tabs-panel" : nothing}
1144
+ aria-labelledby=${isDesktopPanel ? `feature-tab-${idx}` : nothing}
1145
+ slot=${slot ?? ""}
1146
+ >
1147
+ <div aria-hidden="true" style=${styleMap(patternOverlayStyles())}></div>
1148
+
1149
+ ${keyed(idx, html2`
1150
+ <div class="${detailContentClassNames(idx)}">
1151
+ <div class="${detailHeaderClassNames()}">
1152
+ <span class="${iconBadgeClassNames(true, true)}">
1153
+ ${this._renderIcon(feature.icon, "lg")}
1154
+ </span>
1155
+ <span class="${detailEyebrowClassNames()}"
1156
+ >— ${feature.eyebrow}</span
1157
+ >
1158
+ <span class="${detailCounterClassNames()}">
1159
+ ${String(idx + 1).padStart(2, "0")} /
1160
+ ${String(total).padStart(2, "0")}
1161
+ </span>
1162
+ </div>
1163
+
1164
+ <h3 class="${detailTitleClassNames()}">${feature.title}</h3>
1165
+ <p class="${detailDescClassNames()}">${feature.desc}</p>
1166
+
1167
+ <div class="${codeWrapClassNames()}">
1168
+ <dsgn-code-block
1169
+ command="${feature.code}"
1170
+ output="${feature.metric}"
1171
+ path=${this.codePath}
1172
+ surface="dark"
1173
+ ></dsgn-code-block>
1174
+ </div>
1175
+
1176
+ ${this._renderCtas(feature)}
1177
+ </div>
1178
+ `)}
1179
+
1180
+ <div class="${mobileProgressClassNames()}">
1181
+ <div
1182
+ class="${mobileProgressFillClassNames()}"
1183
+ style=${styleMap({ width: `${progress * 100}%` })}
1184
+ ></div>
1185
+ </div>
1186
+
1187
+ <div class="${mobileNavClassNames()}">
1188
+ <div class="${dotsClassNames()}">
1189
+ ${features.map((feat, i) => html2`
1190
+ <button
1191
+ class="${dotPipClassNames()}"
1192
+ aria-label="${feat.title}"
1193
+ @click=${() => this._handleTabClick(i)}
1194
+ >
1195
+ <span class="${dotPipInnerClassNames(i === idx)}"></span>
1196
+ </button>
1197
+ `)}
1198
+ </div>
1199
+ <button
1200
+ class="${playPauseClassNames()}"
1201
+ @click=${this._handlePauseResume}
1202
+ aria-label="${paused ? this.resumeAriaLabel : this.pauseAriaLabel}"
1203
+ >
1204
+ ${paused ? svg`<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><polygon points="5 3 19 12 5 21 5 3"/></svg>` : svg`<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><rect x="6" y="4" width="4" height="16"/><rect x="14" y="4" width="4" height="16"/></svg>`}
1205
+ </button>
1206
+ </div>
1207
+ </div>
1208
+ `;
1209
+ }
1210
+ _renderTabList(features, idx, progress, paused, slot) {
1211
+ return html2`
1212
+ <div class="${tabsColClassNames()}" slot=${slot ?? ""}>
1213
+ <ul
1214
+ class="${tabListClassNames()}"
1215
+ role="tablist"
1216
+ aria-label="${this.tabsAriaLabel}"
1217
+ aria-orientation="vertical"
1218
+ >
1219
+ ${features.map((feat, i) => html2`
1220
+ <li class="${tabItemClassNames()}" role="presentation">
1221
+ <button
1222
+ class="${tabBtnClassNames(i === idx)}"
1223
+ id="feature-tab-${i}"
1224
+ role="tab"
1225
+ aria-selected="${i === idx}"
1226
+ aria-controls="feature-tabs-panel"
1227
+ tabindex=${i === idx ? "0" : "-1"}
1228
+ @click=${() => this._handleTabClick(i)}
1229
+ @keydown=${(event) => this._handleTabKeyDown(event, i)}
1230
+ >
1231
+ <span class="${railClassNames()}"></span>
1232
+ ${i === idx ? html2`<span
1233
+ class="${railFillClassNames()}"
1234
+ style=${styleMap({ height: `${progress * 100}%` })}
1235
+ ></span>` : ""}
1236
+ <span class="${tabInnerClassNames()}">
1237
+ <span class="${iconBadgeClassNames(i === idx)}">
1238
+ ${this._renderIcon(feat.icon, "sm")}
1239
+ </span>
1240
+ <span class="${tabMetaClassNames()}">
1241
+ <span class="${tabMetaRowClassNames()}">
1242
+ <span class="${tabEyebrowClassNames(i === idx)}"
1243
+ >— ${feat.eyebrow}</span
1244
+ >
1245
+ <span class="${tabIndexClassNames()}">0${i + 1}</span>
1246
+ </span>
1247
+ <span class="${tabTitleClassNames()}">${feat.title}</span>
1248
+ <span class="${tabShortClassNames()}">${feat.short}</span>
1249
+ </span>
1250
+ </span>
1251
+ </button>
1252
+ </li>
1253
+ `)}
1254
+ </ul>
1255
+ <div class="${controlClassNames()}">
1256
+ <button
1257
+ class="${controlBtnClassNames()}"
1258
+ @click=${this._handlePauseResume}
1259
+ aria-label="${paused ? this.resumeAriaLabel : this.pauseAriaLabel}"
1260
+ >
1261
+ <span class="${controlDotClassNames(!paused)}"></span>
1262
+ ${paused ? this.pausedLabel : `${this.rotatingLabel} · ${Math.round(this.duration / 1000)}s`}
1263
+ </button>
1264
+ </div>
1265
+ </div>
1266
+ `;
1267
+ }
1268
+ render() {
1269
+ const features = this.features;
1270
+ const idx = this._rotate.activeIndex;
1271
+ const progress = this._rotate.progress;
1272
+ const paused = this._rotate.paused;
1273
+ const activeFeature = features[idx] ?? features[0];
1274
+ const total = features.length;
1275
+ return html2`
1276
+ <section>
1277
+ <dsgn-container
1278
+ size="${containerSizeValues.XXL}"
1279
+ padding-x="${containerPaddingValues.MD}"
1280
+ padding-y="${containerPaddingValues.MD}"
1281
+ >
1282
+ <div class="${headerClassNames()}">
1283
+ <slot name="header"></slot>
1284
+ </div>
1285
+
1286
+ <!-- Mobile: detail panel only, no grid -->
1287
+ <div class="lg:hidden">
1288
+ ${this._renderDetailPanel(idx, activeFeature, progress, total, paused, features)}
1289
+ </div>
1290
+
1291
+ <!-- Desktop: full grid with tabs + detail -->
1292
+ <div class="hidden lg:block">
1293
+ <dsgn-grid cols="7-5" gap="xl" ?reverse=${true}>
1294
+ ${this._renderTabList(features, idx, progress, paused, "col-2")}
1295
+ ${this._renderDetailPanel(idx, activeFeature, progress, total, paused, features, "col-1")}
1296
+ </dsgn-grid>
1297
+ </div>
1298
+ </dsgn-container>
1299
+ </section>
1300
+ `;
1301
+ }
1302
+ }
1303
+ __legacyDecorateClassTS([
1304
+ property({ ...surfaceProps })
1305
+ ], FeatureTabs.prototype, "surface", undefined);
1306
+ __legacyDecorateClassTS([
1307
+ property({ attribute: false })
1308
+ ], FeatureTabs.prototype, "features", undefined);
1309
+ __legacyDecorateClassTS([
1310
+ property({ type: Number })
1311
+ ], FeatureTabs.prototype, "duration", undefined);
1312
+ __legacyDecorateClassTS([
1313
+ property({ type: String, attribute: "code-path" })
1314
+ ], FeatureTabs.prototype, "codePath", undefined);
1315
+ __legacyDecorateClassTS([
1316
+ property({ type: String, attribute: "rotating-label" })
1317
+ ], FeatureTabs.prototype, "rotatingLabel", undefined);
1318
+ __legacyDecorateClassTS([
1319
+ property({ type: String, attribute: "paused-label" })
1320
+ ], FeatureTabs.prototype, "pausedLabel", undefined);
1321
+ __legacyDecorateClassTS([
1322
+ property({ type: String, attribute: "pause-aria-label" })
1323
+ ], FeatureTabs.prototype, "pauseAriaLabel", undefined);
1324
+ __legacyDecorateClassTS([
1325
+ property({ type: String, attribute: "resume-aria-label" })
1326
+ ], FeatureTabs.prototype, "resumeAriaLabel", undefined);
1327
+ __legacyDecorateClassTS([
1328
+ property({ type: String, attribute: "tabs-aria-label" })
1329
+ ], FeatureTabs.prototype, "tabsAriaLabel", undefined);
1330
+ defineElement("dsgn-feature-tabs", FeatureTabs);
1331
+ export {
1332
+ FeatureTabs
1333
+ };