@mintplayer/web-components 3.3.0 → 3.4.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 (46) hide show
  1. package/README.md +10 -11
  2. package/accordion/index.mjs +14 -12
  3. package/card/index.mjs +7 -5
  4. package/card/src/mp-card.element.d.ts +7 -2
  5. package/carousel/index.mjs +10 -9
  6. package/checkbox/index.mjs +1 -1
  7. package/chunks/{datatable-DabWV3-q.mjs → datatable-wRsV3aob.mjs} +14 -12
  8. package/chunks/{datetime-picker-BT6lb4qw.mjs → datetime-picker-BQGY51b5.mjs} +8 -7
  9. package/custom-elements.json +4326 -3690
  10. package/datatable/index.mjs +1 -1
  11. package/datepicker/index.mjs +8 -7
  12. package/datetime-picker/index.mjs +1 -1
  13. package/dropdown-menu/index.mjs +14 -8
  14. package/file-manager/index.mjs +7 -6
  15. package/input-group/index.mjs +12 -10
  16. package/machine/index.mjs +8 -1
  17. package/machine/src/index.d.ts +1 -0
  18. package/machine/src/mark-links.d.ts +6 -0
  19. package/nav/index.d.ts +1 -0
  20. package/nav/index.mjs +126 -0
  21. package/nav/src/generated/index.d.ts +2 -0
  22. package/nav/src/generated/mp-nav-item.generated.d.ts +20 -0
  23. package/nav/src/generated/mp-nav.generated.d.ts +63 -0
  24. package/nav/src/generated/nav-item.view.generated.d.ts +10 -0
  25. package/nav/src/generated/nav.view.generated.d.ts +10 -0
  26. package/nav/src/index.d.ts +1 -0
  27. package/nav/src/nav-item.lit.d.ts +1 -0
  28. package/navbar/index.mjs +64 -56
  29. package/navbar/src/navbar-item.lit.d.ts +1 -0
  30. package/otp-input/index.mjs +8 -7
  31. package/package.json +10 -4
  32. package/phone-input/index.mjs +8 -7
  33. package/query-builder/index.mjs +14 -12
  34. package/scheduler/index.mjs +27 -26
  35. package/select/index.mjs +11 -10
  36. package/signature-pad/index.mjs +8 -7
  37. package/spinner/index.d.ts +1 -0
  38. package/spinner/index.mjs +63 -0
  39. package/spinner/src/generated/index.d.ts +1 -0
  40. package/spinner/src/generated/mp-spinner.generated.d.ts +51 -0
  41. package/spinner/src/generated/spinner.view.generated.d.ts +9 -0
  42. package/spinner/src/index.d.ts +1 -0
  43. package/timepicker/index.mjs +13 -12
  44. package/typeahead/index.mjs +21 -18
  45. package/theming/bs-theme-preboot.js +0 -1
  46. package/theming/color-mode.css +0 -37
@@ -1,37 +0,0 @@
1
- /*
2
- * @mintplayer/web-components/theming/color-mode.css (PRD dark-mode D6, D7)
3
- *
4
- * --mp-color-mode is the token component sheets query with
5
- * "@container style(--mp-color-mode: dark)". Custom-property style queries see
6
- * through shadow roots and survive the light-tier rescoper, which Bootstrap's
7
- * [data-bs-theme=dark] descendant rules cannot. The nearest themed ancestor wins,
8
- * so a nested data-bs-theme=light section is light again.
9
- *
10
- * Angular gets this through _bootstrap.scss. React/Vue consumers @import it next
11
- * to bootstrap.min.css. A custom theme declares its own --mp-color-mode (light or
12
- * dark) in its [data-bs-theme=...] block.
13
- */
14
- :root,
15
- [data-bs-theme=light] {
16
- --mp-color-mode: light;
17
- }
18
-
19
- [data-bs-theme=dark] {
20
- --mp-color-mode: dark;
21
- }
22
-
23
- /*
24
- * Give the server-rendered toggle its box before the component's scoped sheet
25
- * is installed, so installing it causes no layout shift. The selector is the
26
- * one the scoped sheet rescopes `.theme-toggle` to, so it can only match the
27
- * toggle. Every box-affecting declaration must match `.theme-toggle` in
28
- * ui-core's theme-toggle.scoped.scss, vertical-align included: an inline-block
29
- * sits on the baseline by default, 4px lower than the middle-aligned toggle.
30
- */
31
- .theme-toggle[data-mps=theme-toggle] {
32
- display: inline-block;
33
- width: 1.5em;
34
- height: 1.5em;
35
- vertical-align: middle;
36
- line-height: 1;
37
- }