@universal-material/web 3.0.8 → 3.0.9

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 (364) hide show
  1. package/.editorconfig +8 -0
  2. package/.eleventy.cjs +21 -0
  3. package/.eslintignore +6 -0
  4. package/.eslintrc.json +98 -0
  5. package/.prettierrc.json +7 -0
  6. package/.vscode/extensions.json +9 -0
  7. package/CHANGELOG.md +98 -0
  8. package/LICENSE +28 -0
  9. package/docs/.nojekyll +0 -0
  10. package/docs/api/index.html +149 -0
  11. package/docs/docs.css +185 -0
  12. package/docs/examples/index.html +75 -0
  13. package/docs/examples/name-property/index.html +65 -0
  14. package/docs/index.html +75 -0
  15. package/docs/install/index.html +53 -0
  16. package/docs/prism-okaidia.css +123 -0
  17. package/docs/src/_api-section.pug +27 -0
  18. package/docs/src/_layout.pug +182 -0
  19. package/docs/src/components/button-set/alignment.html +29 -0
  20. package/docs/src/components/button-set/stack.html +5 -0
  21. package/docs/src/components/button-set/usage.html +35 -0
  22. package/docs/src/components/button-set.pug +16 -0
  23. package/docs/src/components/cards/card-media.html +39 -0
  24. package/docs/src/components/cards/card-with-actions.html +38 -0
  25. package/docs/src/components/cards/simple-card.html +3 -0
  26. package/docs/src/components/cards.pug +15 -0
  27. package/docs/src/components/checkbox/usage.html +33 -0
  28. package/docs/src/components/checkbox.pug +7 -0
  29. package/docs/src/components/chips/chip-input.html +73 -0
  30. package/docs/src/components/chips/default-chips.html +25 -0
  31. package/docs/src/components/chips/elevated-chips.html +25 -0
  32. package/docs/src/components/chips/selected-chips.html +50 -0
  33. package/docs/src/components/chips.pug +16 -0
  34. package/docs/src/components/common-buttons/anchor-buttons.html +6 -0
  35. package/docs/src/components/common-buttons/buttons-icons.html +24 -0
  36. package/docs/src/components/common-buttons/buttons-trailing-icons.html +25 -0
  37. package/docs/src/components/common-buttons/buttons-variants.html +6 -0
  38. package/docs/src/components/common-buttons/filled-colors.html +4 -0
  39. package/docs/src/components/common-buttons.pug +22 -0
  40. package/docs/src/components/data-tables/simple-table.html +47 -0
  41. package/docs/src/components/data-tables/table-footer.html +59 -0
  42. package/docs/src/components/data-tables/table-header.html +43 -0
  43. package/docs/src/components/data-tables.pug +15 -0
  44. package/docs/src/components/datepicker.pug +133 -0
  45. package/docs/src/components/dialogs/example.html +44 -0
  46. package/docs/src/components/dialogs.pug +19 -0
  47. package/docs/src/components/dividers/no-margin.html +7 -0
  48. package/docs/src/components/dividers/usage.html +7 -0
  49. package/docs/src/components/dividers.pug +13 -0
  50. package/docs/src/components/dropdown-menus/down-end.html +10 -0
  51. package/docs/src/components/dropdown-menus/down-left.html +10 -0
  52. package/docs/src/components/dropdown-menus/down-right.html +10 -0
  53. package/docs/src/components/dropdown-menus/down-start.html +10 -0
  54. package/docs/src/components/dropdown-menus/down.html +10 -0
  55. package/docs/src/components/dropdown-menus/up-end.html +10 -0
  56. package/docs/src/components/dropdown-menus/up-left.html +10 -0
  57. package/docs/src/components/dropdown-menus/up-right.html +10 -0
  58. package/docs/src/components/dropdown-menus/up-start.html +10 -0
  59. package/docs/src/components/dropdown-menus/up.html +10 -0
  60. package/docs/src/components/expansion-panel.pug +33 -0
  61. package/docs/src/components/fab/button-colors.html +18 -0
  62. package/docs/src/components/fab/button-sizes.html +11 -0
  63. package/docs/src/components/fab/extended-buttons.html +18 -0
  64. package/docs/src/components/fab/floating-action-area.html +5 -0
  65. package/docs/src/components/fab/floating-menu.html +10 -0
  66. package/docs/src/components/fab/lowered-buttons.html +6 -0
  67. package/docs/src/components/fab.pug +25 -0
  68. package/docs/src/components/icon-buttons/anchor-buttons.html +15 -0
  69. package/docs/src/components/icon-buttons/buttons-variants.html +15 -0
  70. package/docs/src/components/icon-buttons/toggle-buttons-manual.html +44 -0
  71. package/docs/src/components/icon-buttons/toggle-buttons.html +48 -0
  72. package/docs/src/components/icon-buttons.pug +18 -0
  73. package/docs/src/components/lists/list-avatars.html +14 -0
  74. package/docs/src/components/lists/list-custom-dividers.html +23 -0
  75. package/docs/src/components/lists/list-dividers.html +17 -0
  76. package/docs/src/components/lists/list-dynamic.html +26 -0
  77. package/docs/src/components/lists/list-hover.html +17 -0
  78. package/docs/src/components/lists/list-icons.html +17 -0
  79. package/docs/src/components/lists/list-indexed.html +123 -0
  80. package/docs/src/components/lists/list-sections.html +16 -0
  81. package/docs/src/components/lists/list-three-lines.html +20 -0
  82. package/docs/src/components/lists/list-two-lines.html +20 -0
  83. package/docs/src/components/lists/list-with-action.html +26 -0
  84. package/docs/src/components/lists/list-with-activated-item.html +17 -0
  85. package/docs/src/components/lists/simple-list.html +17 -0
  86. package/docs/src/components/lists.pug +94 -0
  87. package/docs/src/components/menus.pug +55 -0
  88. package/docs/src/components/progress/circular-progress.html +13 -0
  89. package/docs/src/components/progress/determinate-progress.html +3 -0
  90. package/docs/src/components/progress/indeterminate-progress.html +3 -0
  91. package/docs/src/components/progress/progress-color.html +3 -0
  92. package/docs/src/components/progress.pug +18 -0
  93. package/docs/src/components/ripple/usage.html +9 -0
  94. package/docs/src/components/ripple.pug +10 -0
  95. package/docs/src/components/selection-controls/checkbox.html +22 -0
  96. package/docs/src/components/selection-controls/radio-button.html +36 -0
  97. package/docs/src/components/selection-controls/switch.html +12 -0
  98. package/docs/src/components/selection-controls.pug +13 -0
  99. package/docs/src/components/sliders/example.html +42 -0
  100. package/docs/src/components/sliders.pug +7 -0
  101. package/docs/src/components/snackbar/example.html +35 -0
  102. package/docs/src/components/snackbars.pug +21 -0
  103. package/docs/src/components/steppers.pug +57 -0
  104. package/docs/src/components/tabs/example.html +45 -0
  105. package/docs/src/components/tabs.pug +8 -0
  106. package/docs/src/components/text-fields.pug +88 -0
  107. package/docs/src/components/toolbars/simple-toolbar.html +33 -0
  108. package/docs/src/components/toolbars.pug +7 -0
  109. package/docs/src/content/typography/example.html +15 -0
  110. package/docs/src/content/typography.pug +8 -0
  111. package/docs/src/css/docs.scss +189 -0
  112. package/docs/src/index.pug +10 -0
  113. package/docs/src/js/docs.js +161 -0
  114. package/docs/src/js/universal-material.js +757 -0
  115. package/docs/src/js/universal-material.js.map +1 -0
  116. package/docs/src/js/universal-material.min.js +17 -0
  117. package/docs/src/js/universal-material.min.js.map +1 -0
  118. package/docs/src/layout/grid.pug +15 -0
  119. package/docs/src/utilities/background-colors/common-colors.html +7 -0
  120. package/docs/src/utilities/background-colors/theme-colors.html +16 -0
  121. package/docs/src/utilities/background-colors.pug +10 -0
  122. package/docs/src/utilities/text-and-background-colors/common-colors.html +80 -0
  123. package/docs/src/utilities/text-and-background-colors/theme-colors.html +208 -0
  124. package/docs/src/utilities/text-and-background-colors.pug +10 -0
  125. package/docs/src/utilities/text-colors/common-colors.html +12 -0
  126. package/docs/src/utilities/text-colors/emphasis-colors.html +26 -0
  127. package/docs/src/utilities/text-colors/theme-colors.html +37 -0
  128. package/docs/src/utilities/text-colors.pug +13 -0
  129. package/gulpfile.js +225 -0
  130. package/index.html +11 -0
  131. package/package.json +1 -1
  132. package/rollup.config.js +42 -0
  133. package/src/_utils.scss +20 -0
  134. package/src/_variables.scss +68 -0
  135. package/src/button/button-base.styles.scss +75 -0
  136. package/src/button/button-base.ts +147 -0
  137. package/src/button/button-set.styles.scss +35 -0
  138. package/src/button/button-set.ts +33 -0
  139. package/src/button/button.styles.scss +97 -0
  140. package/src/button/button.ts +64 -0
  141. package/src/button/fab.styles.scss +90 -0
  142. package/src/button/fab.ts +55 -0
  143. package/src/button/icon-button.styles.scss +74 -0
  144. package/src/button/icon-button.ts +72 -0
  145. package/src/card/card-content.styles.scss +11 -0
  146. package/src/card/card-content.ts +45 -0
  147. package/src/card/card-media.styles.scss +9 -0
  148. package/src/card/card-media.ts +24 -0
  149. package/src/card/card.styles.scss +27 -0
  150. package/src/card/card.ts +37 -0
  151. package/src/checkbox/checkbox.ts +77 -0
  152. package/src/container/container.styles.scss +39 -0
  153. package/src/container/container.ts +24 -0
  154. package/src/divider/divider.styles.scss +13 -0
  155. package/src/divider/divider.ts +21 -0
  156. package/src/elevation/elevation.styles.scss +31 -0
  157. package/src/elevation/elevation.ts +17 -0
  158. package/{index.js → src/index.ts} +1 -1
  159. package/src/ripple/ripple.styles.scss +80 -0
  160. package/src/ripple/ripple.ts +150 -0
  161. package/src/shared/base.styles.scss +5 -0
  162. package/src/table/table-body.styles.scss +9 -0
  163. package/src/table/table-body.ts +21 -0
  164. package/src/table/table-cell.styles.scss +9 -0
  165. package/src/table/table-cell.ts +21 -0
  166. package/src/table/table-head.styles.scss +9 -0
  167. package/src/table/table-head.ts +21 -0
  168. package/src/table/table-header-cell.styles.scss +10 -0
  169. package/src/table/table-header-cell.ts +21 -0
  170. package/src/table/table-row.styles.scss +3 -0
  171. package/src/table/table-row.ts +21 -0
  172. package/src/table/table.styles.scss +12 -0
  173. package/{table/table.js → src/table/table.ts} +15 -6
  174. package/src/theme/color.ts +6 -0
  175. package/src/theme/css-var-builder.ts +36 -0
  176. package/{theme/index.js → src/theme/index.ts} +0 -1
  177. package/src/theme/neutral-colors.ts +21 -0
  178. package/src/theme/rgb-color.ts +19 -0
  179. package/src/theme/theme-builder.ts +201 -0
  180. package/{theme/theme-color.d.ts → src/theme/theme-color.ts} +3 -2
  181. package/tsconfig.json +36 -0
  182. package/web-dev-server.config.js +25 -0
  183. package/web-test-runner.config.js +120 -0
  184. package/button/button-base.d.ts +0 -43
  185. package/button/button-base.d.ts.map +0 -1
  186. package/button/button-base.js +0 -152
  187. package/button/button-base.js.map +0 -1
  188. package/button/button-base.styles.d.ts +0 -2
  189. package/button/button-base.styles.d.ts.map +0 -1
  190. package/button/button-base.styles.js +0 -75
  191. package/button/button-base.styles.js.map +0 -1
  192. package/button/button-set.d.ts +0 -20
  193. package/button/button-set.d.ts.map +0 -1
  194. package/button/button-set.js +0 -38
  195. package/button/button-set.js.map +0 -1
  196. package/button/button-set.styles.d.ts +0 -2
  197. package/button/button-set.styles.d.ts.map +0 -1
  198. package/button/button-set.styles.js +0 -39
  199. package/button/button-set.styles.js.map +0 -1
  200. package/button/button.d.ts +0 -34
  201. package/button/button.d.ts.map +0 -1
  202. package/button/button.js +0 -64
  203. package/button/button.js.map +0 -1
  204. package/button/button.styles.d.ts +0 -2
  205. package/button/button.styles.d.ts.map +0 -1
  206. package/button/button.styles.js +0 -96
  207. package/button/button.styles.js.map +0 -1
  208. package/button/fab.d.ts +0 -31
  209. package/button/fab.d.ts.map +0 -1
  210. package/button/fab.js +0 -63
  211. package/button/fab.js.map +0 -1
  212. package/button/fab.styles.d.ts +0 -2
  213. package/button/fab.styles.d.ts.map +0 -1
  214. package/button/fab.styles.js +0 -89
  215. package/button/fab.styles.js.map +0 -1
  216. package/button/icon-button.d.ts +0 -35
  217. package/button/icon-button.d.ts.map +0 -1
  218. package/button/icon-button.js +0 -79
  219. package/button/icon-button.js.map +0 -1
  220. package/button/icon-button.styles.d.ts +0 -2
  221. package/button/icon-button.styles.d.ts.map +0 -1
  222. package/button/icon-button.styles.js +0 -70
  223. package/button/icon-button.styles.js.map +0 -1
  224. package/card/card-content.d.ts +0 -13
  225. package/card/card-content.d.ts.map +0 -1
  226. package/card/card-content.js +0 -44
  227. package/card/card-content.js.map +0 -1
  228. package/card/card-content.styles.d.ts +0 -2
  229. package/card/card-content.styles.d.ts.map +0 -1
  230. package/card/card-content.styles.js +0 -15
  231. package/card/card-content.styles.js.map +0 -1
  232. package/card/card-media.d.ts +0 -12
  233. package/card/card-media.d.ts.map +0 -1
  234. package/card/card-media.js +0 -29
  235. package/card/card-media.js.map +0 -1
  236. package/card/card-media.styles.d.ts +0 -2
  237. package/card/card-media.styles.d.ts.map +0 -1
  238. package/card/card-media.styles.js +0 -13
  239. package/card/card-media.styles.js.map +0 -1
  240. package/card/card.d.ts +0 -19
  241. package/card/card.d.ts.map +0 -1
  242. package/card/card.js +0 -40
  243. package/card/card.js.map +0 -1
  244. package/card/card.styles.d.ts +0 -2
  245. package/card/card.styles.d.ts.map +0 -1
  246. package/card/card.styles.js +0 -28
  247. package/card/card.styles.js.map +0 -1
  248. package/checkbox/checkbox.d.ts +0 -16
  249. package/checkbox/checkbox.d.ts.map +0 -1
  250. package/checkbox/checkbox.js +0 -75
  251. package/checkbox/checkbox.js.map +0 -1
  252. package/container/container.d.ts +0 -13
  253. package/container/container.d.ts.map +0 -1
  254. package/container/container.js +0 -23
  255. package/container/container.js.map +0 -1
  256. package/container/container.styles.d.ts +0 -2
  257. package/container/container.styles.d.ts.map +0 -1
  258. package/container/container.styles.js +0 -43
  259. package/container/container.styles.js.map +0 -1
  260. package/custom-elements.json +0 -3706
  261. package/divider/divider.d.ts +0 -14
  262. package/divider/divider.d.ts.map +0 -1
  263. package/divider/divider.js +0 -27
  264. package/divider/divider.js.map +0 -1
  265. package/divider/divider.styles.d.ts +0 -2
  266. package/divider/divider.styles.d.ts.map +0 -1
  267. package/divider/divider.styles.js +0 -15
  268. package/divider/divider.styles.js.map +0 -1
  269. package/elevation/elevation.d.ts +0 -11
  270. package/elevation/elevation.d.ts.map +0 -1
  271. package/elevation/elevation.js +0 -21
  272. package/elevation/elevation.js.map +0 -1
  273. package/elevation/elevation.styles.d.ts +0 -2
  274. package/elevation/elevation.styles.d.ts.map +0 -1
  275. package/elevation/elevation.styles.js +0 -28
  276. package/elevation/elevation.styles.js.map +0 -1
  277. package/index.d.ts +0 -27
  278. package/index.d.ts.map +0 -1
  279. package/index.js.map +0 -1
  280. package/ripple/ripple.d.ts +0 -25
  281. package/ripple/ripple.d.ts.map +0 -1
  282. package/ripple/ripple.js +0 -119
  283. package/ripple/ripple.js.map +0 -1
  284. package/ripple/ripple.styles.d.ts +0 -2
  285. package/ripple/ripple.styles.d.ts.map +0 -1
  286. package/ripple/ripple.styles.js +0 -74
  287. package/ripple/ripple.styles.js.map +0 -1
  288. package/shared/base.styles.d.ts +0 -2
  289. package/shared/base.styles.d.ts.map +0 -1
  290. package/shared/base.styles.js +0 -9
  291. package/shared/base.styles.js.map +0 -1
  292. package/table/table-body.d.ts +0 -11
  293. package/table/table-body.d.ts.map +0 -1
  294. package/table/table-body.js +0 -21
  295. package/table/table-body.js.map +0 -1
  296. package/table/table-body.styles.d.ts +0 -2
  297. package/table/table-body.styles.d.ts.map +0 -1
  298. package/table/table-body.styles.js +0 -11
  299. package/table/table-body.styles.js.map +0 -1
  300. package/table/table-cell.d.ts +0 -11
  301. package/table/table-cell.d.ts.map +0 -1
  302. package/table/table-cell.js +0 -21
  303. package/table/table-cell.js.map +0 -1
  304. package/table/table-cell.styles.d.ts +0 -2
  305. package/table/table-cell.styles.d.ts.map +0 -1
  306. package/table/table-cell.styles.js +0 -11
  307. package/table/table-cell.styles.js.map +0 -1
  308. package/table/table-head.d.ts +0 -11
  309. package/table/table-head.d.ts.map +0 -1
  310. package/table/table-head.js +0 -21
  311. package/table/table-head.js.map +0 -1
  312. package/table/table-head.styles.d.ts +0 -2
  313. package/table/table-head.styles.d.ts.map +0 -1
  314. package/table/table-head.styles.js +0 -11
  315. package/table/table-head.styles.js.map +0 -1
  316. package/table/table-header-cell.d.ts +0 -11
  317. package/table/table-header-cell.d.ts.map +0 -1
  318. package/table/table-header-cell.js +0 -21
  319. package/table/table-header-cell.js.map +0 -1
  320. package/table/table-header-cell.styles.d.ts +0 -2
  321. package/table/table-header-cell.styles.d.ts.map +0 -1
  322. package/table/table-header-cell.styles.js +0 -12
  323. package/table/table-header-cell.styles.js.map +0 -1
  324. package/table/table-row.d.ts +0 -11
  325. package/table/table-row.d.ts.map +0 -1
  326. package/table/table-row.js +0 -21
  327. package/table/table-row.js.map +0 -1
  328. package/table/table-row.styles.d.ts +0 -2
  329. package/table/table-row.styles.d.ts.map +0 -1
  330. package/table/table-row.styles.js +0 -7
  331. package/table/table-row.styles.js.map +0 -1
  332. package/table/table.d.ts +0 -16
  333. package/table/table.d.ts.map +0 -1
  334. package/table/table.js.map +0 -1
  335. package/table/table.styles.d.ts +0 -2
  336. package/table/table.styles.d.ts.map +0 -1
  337. package/table/table.styles.js +0 -16
  338. package/table/table.styles.js.map +0 -1
  339. package/theme/color.d.ts +0 -7
  340. package/theme/color.d.ts.map +0 -1
  341. package/theme/color.js +0 -2
  342. package/theme/color.js.map +0 -1
  343. package/theme/css-var-builder.d.ts +0 -9
  344. package/theme/css-var-builder.d.ts.map +0 -1
  345. package/theme/css-var-builder.js +0 -25
  346. package/theme/css-var-builder.js.map +0 -1
  347. package/theme/index.d.ts +0 -2
  348. package/theme/index.d.ts.map +0 -1
  349. package/theme/index.js.map +0 -1
  350. package/theme/neutral-colors.d.ts +0 -4
  351. package/theme/neutral-colors.d.ts.map +0 -1
  352. package/theme/neutral-colors.js +0 -19
  353. package/theme/neutral-colors.js.map +0 -1
  354. package/theme/rgb-color.d.ts +0 -9
  355. package/theme/rgb-color.d.ts.map +0 -1
  356. package/theme/rgb-color.js +0 -13
  357. package/theme/rgb-color.js.map +0 -1
  358. package/theme/theme-builder.d.ts +0 -27
  359. package/theme/theme-builder.d.ts.map +0 -1
  360. package/theme/theme-builder.js +0 -146
  361. package/theme/theme-builder.js.map +0 -1
  362. package/theme/theme-color.d.ts.map +0 -1
  363. package/theme/theme-color.js +0 -2
  364. package/theme/theme-color.js.map +0 -1
package/.editorconfig ADDED
@@ -0,0 +1,8 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ insert_final_newline = true
7
+ indent_size = 2
8
+ indent_style = space
package/.eleventy.cjs ADDED
@@ -0,0 +1,21 @@
1
+ const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
2
+
3
+ module.exports = function (eleventyConfig) {
4
+ eleventyConfig.addPlugin(syntaxHighlight);
5
+ eleventyConfig.addPassthroughCopy('docs-src/docs.css');
6
+ eleventyConfig.addPassthroughCopy('docs-src/.nojekyll');
7
+ eleventyConfig.addPassthroughCopy(
8
+ 'node_modules/@webcomponents/webcomponentsjs'
9
+ );
10
+ eleventyConfig.addPassthroughCopy('node_modules/lit/polyfill-support.js');
11
+ return {
12
+ dir: {
13
+ input: 'docs-src',
14
+ output: 'docs',
15
+ },
16
+ templateExtensionAliases: {
17
+ '11ty.cjs': '11ty.js',
18
+ '11tydata.cjs': '11tydata.js',
19
+ },
20
+ };
21
+ };
package/.eslintignore ADDED
@@ -0,0 +1,6 @@
1
+ node_modules/*
2
+ docs/*
3
+ docs-src/*
4
+ rollup-config.js
5
+ custom-elements.json
6
+ web-dev-server.config.js
package/.eslintrc.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "root": true,
3
+ "extends": [
4
+ "eslint:recommended",
5
+ "plugin:@typescript-eslint/eslint-recommended",
6
+ "plugin:@typescript-eslint/recommended"
7
+ ],
8
+ "parser": "@typescript-eslint/parser",
9
+ "parserOptions": {
10
+ "ecmaVersion": 2020,
11
+ "sourceType": "module"
12
+ },
13
+ "plugins": [
14
+ "@typescript-eslint",
15
+ "eslint-plugin-import",
16
+ "eslint-plugin-import-helpers",
17
+ "unused-imports"
18
+ ],
19
+ "env": {
20
+ "browser": true
21
+ },
22
+ "rules": {
23
+ "no-prototype-builtins": "off",
24
+ "@typescript-eslint/ban-types": "off",
25
+ "@typescript-eslint/explicit-function-return-type": "off",
26
+ "@typescript-eslint/explicit-module-boundary-types": "off",
27
+ "@typescript-eslint/no-explicit-any": "error",
28
+ "@typescript-eslint/no-empty-function": "off",
29
+ "@typescript-eslint/no-non-null-assertion": "off",
30
+ "@typescript-eslint/no-unused-vars": [
31
+ "error",
32
+ {
33
+ "argsIgnorePattern": "^_"
34
+ }
35
+ ],
36
+ "eol-last": "error",
37
+ "import-helpers/order-imports": [
38
+ "error",
39
+ {
40
+ "alphabetize": {
41
+ "order": "asc",
42
+ "ignoreCase": true
43
+ },
44
+ "newlinesBetween": "always",
45
+ "groups": [
46
+ "/^@angular|^rxjs/",
47
+ "module",
48
+ "/^locale/messages/",
49
+ [
50
+ "parent",
51
+ "sibling",
52
+ "index",
53
+ "/^(\\.|@app|@core|@admin|@document-management|@bot-management|core|shared|chatbot)/"
54
+ ]
55
+ ]
56
+ }
57
+ ],
58
+ "no-else-return": ["error", { "allowElseIf": false }],
59
+ "no-lonely-if": "error",
60
+ "no-multi-spaces": ["error"],
61
+ "no-multiple-empty-lines": ["error", {"max": 1, "maxEOF": 1}],
62
+ "padding-line-between-statements": [
63
+ "error",
64
+ { "blankLine": "always", "prev": "block-like", "next": "*"},
65
+ { "blankLine": "always", "prev": "*", "next": "block-like"}
66
+ ],
67
+ "space-before-blocks": ["error", "always"],
68
+ "space-in-parens": ["error", "never"],
69
+ "space-before-function-paren": [
70
+ "error",
71
+ {
72
+ "anonymous": "never",
73
+ "asyncArrow": "always",
74
+ "named": "never"
75
+ }
76
+ ],
77
+ "unused-imports/no-unused-imports": "error"
78
+ },
79
+ "overrides": [
80
+ {
81
+ "files": ["rollup.config.js", "web-test-runner.config.js"],
82
+ "env": {
83
+ "node": true
84
+ }
85
+ },
86
+ {
87
+ "files": [
88
+ "*_test.ts",
89
+ "**/custom_typings/*.ts",
90
+ "packages/labs/ssr/src/test/integration/tests/**",
91
+ "packages/labs/ssr/src/lib/util/parse5-utils.ts"
92
+ ],
93
+ "rules": {
94
+ "@typescript-eslint/no-explicit-any": "off"
95
+ }
96
+ }
97
+ ]
98
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "trailingComma": "es5",
3
+ "tabWidth": 2,
4
+ "singleQuote": true,
5
+ "bracketSpacing": false,
6
+ "arrowParens": "always"
7
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3
+ // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4
+
5
+ // List of extensions which should be recommended for users of this workspace.
6
+ "recommendations": ["runem.lit-plugin"],
7
+ // List of extensions recommended by VS Code that should not be recommended for users of this workspace.
8
+ "unwantedRecommendations": []
9
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,98 @@
1
+ # @lit/lit-starter-ts
2
+
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4451](https://github.com/lit/lit/pull/4451) [`7852e130`](https://github.com/lit/lit/commit/7852e13022c9dcfcff5ed54a215c93420349e318) - Minor security fixes.
8
+
9
+ ## 2.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [#4141](https://github.com/lit/lit/pull/4141) [`6b515e43`](https://github.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5) - Update TypeScript to ~5.2.0
14
+
15
+ - [#3756](https://github.com/lit/lit/pull/3756) [`f06f7972`](https://github.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4) - Drop IE11 support
16
+
17
+ ### Patch Changes
18
+
19
+ - [#3814](https://github.com/lit/lit/pull/3814) [`23326c6b`](https://github.com/lit/lit/commit/23326c6b9a6abdf01998dadf5d0f20a643e457aa) - Update to TypeScript v5.0
20
+
21
+ - Updated dependencies [[`dfd747cf`](https://github.com/lit/lit/commit/dfd747cf4f7239e0c3bb7134f8acb967d0157654), [`6b515e43`](https://github.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5), [`23c404fd`](https://github.com/lit/lit/commit/23c404fdec0cd7be834221b6ddf9b659c24ca8a2), [`1040f758`](https://github.com/lit/lit/commit/1040f75861b029527538b4ec36b2cfedcc32988a), [`0f6878dc`](https://github.com/lit/lit/commit/0f6878dc45fd95bbeb8750f277349c1392e2b3ad), [`1db01376`](https://github.com/lit/lit/commit/1db0137699b35d7e7bfac9b2ab274af4100fd7cf), [`2a01471a`](https://github.com/lit/lit/commit/2a01471a5f65fe34bad11e1099281811b8d0f79b), [`6f2833fd`](https://github.com/lit/lit/commit/6f2833fd05f2ecde5386f72d291dafc9dbae0cf7), [`c3e473b4`](https://github.com/lit/lit/commit/c3e473b499ff029b5e1aff01ca8799daf1ca1bbe), [`2eba6997`](https://github.com/lit/lit/commit/2eba69974c9e130e7483f44f9daca308345497d5), [`92cedaa2`](https://github.com/lit/lit/commit/92cedaa2c8cd8a306be3fe25d52e0e47bb044020), [`d27a77ec`](https://github.com/lit/lit/commit/d27a77ec3d3999e872df9218a2b07f90f22eb417), [`7e8491d4`](https://github.com/lit/lit/commit/7e8491d4ed9f0c39d974616c4678552ef50b81df), [`6470807f`](https://github.com/lit/lit/commit/6470807f3a0981f9d418cb26f05969912455d148), [`23326c6b`](https://github.com/lit/lit/commit/23326c6b9a6abdf01998dadf5d0f20a643e457aa), [`09949234`](https://github.com/lit/lit/commit/09949234445388d51bfb4ee24ff28a4c9f82fe17), [`f06f7972`](https://github.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4)]:
22
+ - lit@3.0.0
23
+
24
+ ## 2.0.0-pre.1
25
+
26
+ ### Major Changes
27
+
28
+ - [#4141](https://github.com/lit/lit/pull/4141) [`6b515e43`](https://github.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5) - Update TypeScript to ~5.2.0
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [[`6b515e43`](https://github.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5), [`0f6878dc`](https://github.com/lit/lit/commit/0f6878dc45fd95bbeb8750f277349c1392e2b3ad), [`2a01471a`](https://github.com/lit/lit/commit/2a01471a5f65fe34bad11e1099281811b8d0f79b), [`2eba6997`](https://github.com/lit/lit/commit/2eba69974c9e130e7483f44f9daca308345497d5), [`d27a77ec`](https://github.com/lit/lit/commit/d27a77ec3d3999e872df9218a2b07f90f22eb417), [`6470807f`](https://github.com/lit/lit/commit/6470807f3a0981f9d418cb26f05969912455d148), [`09949234`](https://github.com/lit/lit/commit/09949234445388d51bfb4ee24ff28a4c9f82fe17)]:
33
+ - lit@3.0.0-pre.1
34
+
35
+ ## 2.0.0-pre.0
36
+
37
+ ### Major Changes
38
+
39
+ - [#3756](https://github.com/lit/lit/pull/3756) [`f06f7972`](https://github.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4) - Drop IE11 support
40
+
41
+ ### Patch Changes
42
+
43
+ - [#3814](https://github.com/lit/lit/pull/3814) [`23326c6b`](https://github.com/lit/lit/commit/23326c6b9a6abdf01998dadf5d0f20a643e457aa) - Update to TypeScript v5.0
44
+
45
+ - Updated dependencies [[`dfd747cf`](https://github.com/lit/lit/commit/dfd747cf4f7239e0c3bb7134f8acb967d0157654), [`23c404fd`](https://github.com/lit/lit/commit/23c404fdec0cd7be834221b6ddf9b659c24ca8a2), [`1db01376`](https://github.com/lit/lit/commit/1db0137699b35d7e7bfac9b2ab274af4100fd7cf), [`c3e473b4`](https://github.com/lit/lit/commit/c3e473b499ff029b5e1aff01ca8799daf1ca1bbe), [`92cedaa2`](https://github.com/lit/lit/commit/92cedaa2c8cd8a306be3fe25d52e0e47bb044020), [`23326c6b`](https://github.com/lit/lit/commit/23326c6b9a6abdf01998dadf5d0f20a643e457aa), [`f06f7972`](https://github.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4)]:
46
+ - lit@3.0.0-pre.0
47
+
48
+ ## 1.0.6
49
+
50
+ ### Patch Changes
51
+
52
+ - [#4157](https://github.com/lit/lit/pull/4157) [`da32db2e`](https://github.com/lit/lit/commit/da32db2e67547e0f17b7132065559eba2b1d3513) Thanks [@welingtonms](https://github.com/welingtonms)! - Improve bundling and minification recommendations.
53
+
54
+ ## 1.0.5
55
+
56
+ ### Patch Changes
57
+
58
+ - [#3561](https://github.com/lit/lit/pull/3561) [`e5c254e9`](https://github.com/lit/lit/commit/e5c254e96cb5d0f770ec616332e231559325c5c5) - Update dependency `@rollup/plugin-replace`
59
+
60
+ ## 1.0.4
61
+
62
+ ### Patch Changes
63
+
64
+ - [#2922](https://github.com/lit/lit/pull/2922) [`da9db86a`](https://github.com/lit/lit/commit/da9db86a33cba710d439e254df2492f9f6dcbbee) - Update dependencies and remove unused dependencies
65
+
66
+ ## 1.0.3
67
+
68
+ ### Patch Changes
69
+
70
+ - [#2757](https://github.com/lit/lit/pull/2757) [`55841c14`](https://github.com/lit/lit/commit/55841c14f52891357dd93680d3bc5b1da6c89c8a) - Update Rollup and Rollup plugins
71
+
72
+ ## 1.0.2
73
+
74
+ ### Patch Changes
75
+
76
+ - [#2535](https://github.com/lit/lit/pull/2535) [`d1359856`](https://github.com/lit/lit/commit/d1359856698d1af381b335fb757f9282574690b0) - Update the README to indicate that issues and PRs should be filed on the main Lit repo.
77
+
78
+ ## 1.0.1
79
+
80
+ ### Patch Changes
81
+
82
+ - [#2300](https://github.com/lit/lit/pull/2300) [`8b9dcb4d`](https://github.com/lit/lit/commit/8b9dcb4d10e4161083146ae40d0b12174a63d31d) - Fix starter kits so `npm run serve` serves the root directory, and add a link to the `/dev/index.html` component example from `/`.
83
+
84
+ - Updated dependencies [[`fcc2b3d0`](https://github.com/lit/lit/commit/fcc2b3d0054e69e6f76588ea9f440117b6d0deed), [`49ecf623`](https://github.com/lit/lit/commit/49ecf6239033e9578184d46116e6b89676d091db), [`1d563e83`](https://github.com/lit/lit/commit/1d563e830c02a2d1a22e1e939f1ace971b1d1ae7)]:
85
+ - lit@2.1.0
86
+
87
+ ## 1.0.0
88
+
89
+ ### Patch Changes
90
+
91
+ - [#2113](https://github.com/lit/lit/pull/2113) [`5b2f3642`](https://github.com/lit/lit/commit/5b2f3642ff91931b5b01f8bdd2ed98aba24f1047) - Dependency upgrades including TypeScript 4.4.2
92
+
93
+ - [#2103](https://github.com/lit/lit/pull/2103) [`15a8356d`](https://github.com/lit/lit/commit/15a8356ddd59a1e80880a93acd21fadc9c24e14b) - Added Lit dev mode to test and serve commands, controlled via the MODE=dev or MODE=prod environment variables.
94
+
95
+ - [#2117](https://github.com/lit/lit/pull/2117) [`eff2fbc7`](https://github.com/lit/lit/commit/eff2fbc7e45cfc2a7b8df21e18c84619dfbcb277) - Updated starter templates to use open-wc analyzer for generating custom-elements.json, and updated basic API docs generater included in the template to the new manifest format.
96
+
97
+ - Updated dependencies [[`15a8356d`](https://github.com/lit/lit/commit/15a8356ddd59a1e80880a93acd21fadc9c24e14b), [`5fabe2b5`](https://github.com/lit/lit/commit/5fabe2b5ae4ab8fba9dc2d23a69105d32e4c0705), [`5b2f3642`](https://github.com/lit/lit/commit/5b2f3642ff91931b5b01f8bdd2ed98aba24f1047), [`5fabe2b5`](https://github.com/lit/lit/commit/5fabe2b5ae4ab8fba9dc2d23a69105d32e4c0705), [`5fabe2b5`](https://github.com/lit/lit/commit/5fabe2b5ae4ab8fba9dc2d23a69105d32e4c0705), [`0312f3e5`](https://github.com/lit/lit/commit/0312f3e533611eb3f4f9381594485a33ad003b74)]:
98
+ - lit@2.0.0
package/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2019 Google LLC. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/docs/.nojekyll ADDED
File without changes
@@ -0,0 +1,149 @@
1
+
2
+ <!doctype html>
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <title><my-element> ⌲ Docs</title>
9
+ <link rel="stylesheet" href="../docs.css">
10
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600|Roboto+Mono">
11
+ <link href="../prism-okaidia.css" rel="stylesheet" />
12
+ <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
13
+ <script src="/node_modules/lit/polyfill-support.js"></script>
14
+ <script type="module" src="../my-element.bundled.js"></script>
15
+ </head>
16
+ <body>
17
+
18
+ <header>
19
+ <h1>&lt;my-element></h1>
20
+ <h2>A web component just for me.</h2>
21
+ </header>
22
+
23
+ <nav>
24
+ <a href="../">Home</a>
25
+ <a href="../examples/">Examples</a>
26
+ <a href="">API</a>
27
+ <a href="../install/">Install</a>
28
+ </nav>
29
+ <div id="main-wrapper">
30
+ <main>
31
+
32
+ <h1>API</h1>
33
+
34
+ <h2>&lt;my-element></h2>
35
+ <div>
36
+ An example element.
37
+ </div>
38
+
39
+ <h3>Attributes</h3>
40
+ <table>
41
+ <tr>
42
+ <th>Name</th><th>Description</th><th>Type</th><th>Default</th>
43
+ </tr>
44
+
45
+ <tr>
46
+ <td>name</td><td>The name to say "Hello" to.</td><td>string</td><td>'World'</td>
47
+ </tr>
48
+
49
+ <tr>
50
+ <td>count</td><td>The number of times the button has been clicked.</td><td>number</td><td>0</td>
51
+ </tr>
52
+
53
+ </table>
54
+
55
+
56
+ <h3>Properties</h3>
57
+ <table>
58
+ <tr>
59
+ <th>Name</th><th>Attribute</th><th>Description</th><th>Type</th><th>Default</th>
60
+ </tr>
61
+
62
+ <tr>
63
+ <td>name</td><td>name</td><td>The name to say "Hello" to.</td><td>string</td><td>'World'</td>
64
+ </tr>
65
+
66
+ <tr>
67
+ <td>count</td><td>count</td><td>The number of times the button has been clicked.</td><td>number</td><td>0</td>
68
+ </tr>
69
+
70
+ </table>
71
+
72
+
73
+ <h3>Methods</h3>
74
+ <table>
75
+ <tr>
76
+ <th>Name</th><th>Parameters</th><th>Description</th><th>Return</th>
77
+ </tr>
78
+
79
+ <tr>
80
+ <td>sayHello</td><td>
81
+
82
+ <table>
83
+ <tr>
84
+ <th>Name</th><th>Description</th><th>Type</th>
85
+ </tr>
86
+
87
+ <tr>
88
+ <td>name</td><td>The name to say "Hello" to</td><td>string</td>
89
+ </tr>
90
+
91
+ </table>
92
+ </td><td>Formats a greeting</td><td>string</td>
93
+ </tr>
94
+
95
+ </table>
96
+
97
+
98
+ <h3>Events</h3>
99
+ <table>
100
+ <tr>
101
+ <th>Name</th><th>Description</th>
102
+ </tr>
103
+
104
+ <tr>
105
+ <td>count-changed</td><td>Indicates when the count changes</td>
106
+ </tr>
107
+
108
+ </table>
109
+
110
+
111
+ <h3>Slots</h3>
112
+ <table>
113
+ <tr>
114
+ <th>Name</th><th>Description</th>
115
+ </tr>
116
+
117
+ <tr>
118
+ <td>(default)</td><td>This element has a slot</td>
119
+ </tr>
120
+
121
+ </table>
122
+
123
+
124
+ <h3>CSS Shadow Parts</h3>
125
+ <table>
126
+ <tr>
127
+ <th>Name</th><th>Description</th>
128
+ </tr>
129
+
130
+ <tr>
131
+ <td>button</td><td>The button</td>
132
+ </tr>
133
+
134
+ </table>
135
+
136
+
137
+
138
+
139
+ </main>
140
+ </div>
141
+
142
+ <footer>
143
+ <p>
144
+ Made with
145
+ <a href="https://github.com/lit/lit-element-starter-ts">lit-starter-ts</a>
146
+ </p>
147
+ </footer>
148
+ </body>
149
+ </html>
package/docs/docs.css ADDED
@@ -0,0 +1,185 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ body {
6
+ margin: 0;
7
+ color: #333;
8
+ font-family: 'Open Sans', arial, sans-serif;
9
+ min-width: min-content;
10
+ min-height: 100vh;
11
+ font-size: 18px;
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: stretch;
15
+ }
16
+
17
+ #main-wrapper {
18
+ flex-grow: 1;
19
+ }
20
+
21
+ main {
22
+ max-width: 1024px;
23
+ margin: 0 auto;
24
+ }
25
+
26
+ a:visited {
27
+ color: inherit;
28
+ }
29
+
30
+ header {
31
+ width: 100%;
32
+ display: flex;
33
+ flex-direction: column;
34
+ align-items: center;
35
+ justify-content: center;
36
+ height: 360px;
37
+ margin: 0;
38
+ background: linear-gradient(0deg, rgba(9,9,121,1) 0%, rgba(0,212,255,1) 100%);
39
+ color: white;
40
+ }
41
+
42
+ footer {
43
+ width: 100%;
44
+ min-height: 120px;
45
+ background: gray;
46
+ color: white;
47
+ display: flex;
48
+ flex-direction: column;
49
+ justify-content: center;
50
+ padding: 12px;
51
+ margin-top: 64px;
52
+ }
53
+
54
+ h1 {
55
+ font-size: 2.5em;
56
+ font-weight: 400;
57
+ }
58
+
59
+ h2 {
60
+ font-size: 1.6em;
61
+ font-weight: 300;
62
+ margin: 64px 0 12px;
63
+ }
64
+
65
+ h3 {
66
+ font-weight: 300;
67
+ }
68
+
69
+ header h1 {
70
+ width: auto;
71
+ font-size: 2.8em;
72
+ margin: 0;
73
+ }
74
+
75
+ header h2 {
76
+ width: auto;
77
+ margin: 0;
78
+ }
79
+
80
+ nav {
81
+ display: grid;
82
+ width: 100%;
83
+ max-width: 100%;
84
+ grid-template-columns: repeat(auto-fit, 240px);
85
+ justify-content: center;
86
+ border-bottom: 1px solid #efefef;
87
+ }
88
+
89
+ nav > a {
90
+ color: #444;
91
+ display: block;
92
+ flex: 1;
93
+ font-size: 18px;
94
+ padding: 20px 0;
95
+ text-align: center;
96
+ text-decoration: none;
97
+ }
98
+
99
+ nav > a:hover {
100
+ text-decoration: underline;
101
+ }
102
+
103
+ nav.collection {
104
+ border: none;
105
+ }
106
+
107
+ nav.collection > ul {
108
+ padding: 0;
109
+ list-style: none;
110
+ }
111
+
112
+ nav.collection > ul > li {
113
+ padding: 4px 0;
114
+ }
115
+
116
+ nav.collection > ul > li.selected {
117
+ font-weight: 600;
118
+ }
119
+
120
+ nav.collection a {
121
+ text-decoration: none;
122
+ }
123
+
124
+ nav.collection a:hover {
125
+ text-decoration: underline;
126
+ }
127
+
128
+ section.columns {
129
+ display: grid;
130
+ grid-template-columns: repeat(auto-fit, minmax(400px, 488px));
131
+ grid-gap: 48px;
132
+ justify-content: center;
133
+ }
134
+
135
+ section.columns > div {
136
+ flex: 1;
137
+ }
138
+
139
+ section.examples {
140
+ display: grid;
141
+ grid-template-columns: 240px minmax(400px, 784px);
142
+ grid-gap: 48px;
143
+ justify-content: center;
144
+ }
145
+
146
+ section.examples h2:first-of-type {
147
+ margin-top: 0;
148
+ }
149
+
150
+ table {
151
+ width: 100%;
152
+ border-collapse: collapse;
153
+ }
154
+ th {
155
+ font-weight: 600;
156
+ }
157
+
158
+ td, th {
159
+ border: solid 1px #aaa;
160
+ padding: 4px;
161
+ text-align: left;
162
+ vertical-align: top;
163
+ }
164
+
165
+
166
+
167
+
168
+ :root {
169
+ --reference-width: 100vh;
170
+ --sm-breakpoint: 576px;
171
+ --md-breakpoint: 768px;
172
+ --lg-breakpoint: 992px;
173
+ --xl-breakpoint: 1200px;
174
+ --xs-container-width: 100%;
175
+ --xs-container-width-value: clamp(0px, calc(var(--sm-breakpoint) - var(--reference-width)) * 100000, var(--xs-container-width));
176
+ --is-xl: 1px;
177
+ --is-sm: clamp(0, calc(0 * max(0, min(1, calc((100% - var(--sm-breakpoint)) / (var(--md-breakpoint) - var(--sm-breakpoint)))))), 1);
178
+ --is-md: clamp(0, calc(0 * max(0, min(1, calc((100% - var(--md-breakpoint)) / (var(--lg-breakpoint) - var(--md-breakpoint)))))), 1);
179
+ --is-lg: clamp(0, calc(0 *max(0, min(1, calc((100% - var(--lg-breakpoint)) / (var(--xl-breakpoint) - var(--lg-breakpoint)))))), 1);
180
+ }
181
+
182
+ .container {
183
+ width: var(--xs-container-width-value);
184
+ border: 1px solid black;
185
+ }