@mintplayer/web-components 3.2.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.
- package/README.md +10 -11
- package/accordion/index.mjs +14 -12
- package/card/index.mjs +7 -5
- package/card/src/mp-card.element.d.ts +7 -2
- package/carousel/index.mjs +10 -9
- package/checkbox/index.mjs +1 -1
- package/chunks/{datatable-Ce-UT16z.mjs → datatable-wRsV3aob.mjs} +31 -15
- package/chunks/{datetime-picker-BT6lb4qw.mjs → datetime-picker-BQGY51b5.mjs} +8 -7
- package/custom-elements.json +1856 -1192
- package/datatable/index.mjs +1 -1
- package/datatable/src/generated/mp-datatable.generated.d.ts +20 -2
- package/datatable/src/index.d.ts +1 -1
- package/datepicker/index.mjs +8 -7
- package/datetime-picker/index.mjs +1 -1
- package/dropdown-menu/index.mjs +14 -8
- package/file-manager/index.mjs +7 -6
- package/input-group/index.mjs +12 -10
- package/machine/index.mjs +8 -1
- package/machine/src/index.d.ts +1 -0
- package/machine/src/mark-links.d.ts +6 -0
- package/nav/index.d.ts +1 -0
- package/nav/index.mjs +126 -0
- package/nav/src/generated/index.d.ts +2 -0
- package/nav/src/generated/mp-nav-item.generated.d.ts +20 -0
- package/nav/src/generated/mp-nav.generated.d.ts +63 -0
- package/nav/src/generated/nav-item.view.generated.d.ts +10 -0
- package/nav/src/generated/nav.view.generated.d.ts +10 -0
- package/nav/src/index.d.ts +1 -0
- package/nav/src/nav-item.lit.d.ts +1 -0
- package/navbar/index.mjs +64 -56
- package/navbar/src/navbar-item.lit.d.ts +1 -0
- package/otp-input/index.mjs +8 -7
- package/package.json +10 -4
- package/phone-input/index.mjs +8 -7
- package/query-builder/index.mjs +14 -12
- package/scheduler/index.mjs +27 -26
- package/select/index.mjs +11 -10
- package/signature-pad/index.mjs +8 -7
- package/spinner/index.d.ts +1 -0
- package/spinner/index.mjs +63 -0
- package/spinner/src/generated/index.d.ts +1 -0
- package/spinner/src/generated/mp-spinner.generated.d.ts +51 -0
- package/spinner/src/generated/spinner.view.generated.d.ts +9 -0
- package/spinner/src/index.d.ts +1 -0
- package/timepicker/index.mjs +13 -12
- package/typeahead/index.mjs +21 -18
- package/theming/bs-theme-preboot.js +0 -1
- package/theming/color-mode.css +0 -37
package/theming/color-mode.css
DELETED
|
@@ -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
|
-
}
|