@tabler/charts-bootstrap 0.2.0 → 0.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 +5 -4
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tabler-charts-bootstrap.min.js +3 -2
- package/dist/tabler-charts-bootstrap.min.js.map +1 -1
- package/dist/tabler.css +1 -1
- package/package.json +8 -14
- package/scss/_tabler.scss +4 -3
package/dist/tabler.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! @tabler/charts-bootstrap, Tabler preset | MIT */
|
|
2
|
-
:where(:root,[data-bs-theme],[data-bs-theme-primary],[data-bs-theme-base],[data-bs-theme-font],[data-bs-theme-radius]){--tc-color-1:var(--tblr-primary,#066fd1);--tc-focus-color:var(--tblr-primary,#066fd1);--tc-surface:var(--tblr-bg-surface,#fff);--tc-text-color:var(--tblr-body-color,#0b0b0b);--tc-text-muted:var(--tblr-secondary,#6f6e69);--tc-grid-color:var(--tblr-border-color-translucent,#e1e0d9);--tc-baseline-color:var(--tblr-border-color,#c3c2b7);--tc-hover-color:rgba(var(--tblr-emphasis-color-rgb,11, 11, 11), .05);--tc-tooltip-bg:var(--tblr-tooltip-bg,#0b0b0b);--tc-tooltip-color:var(--tblr-tooltip-color,#fff);--tc-tooltip-muted:rgba(var(--tblr-body-bg-rgb,255, 255, 255), .7);--tc-tooltip-border:rgba(var(--tblr-body-bg-rgb,255, 255, 255), .12);--tc-tooltip-shadow:var(--tblr-box-shadow,0 4px 16px #0b0b0b1f);--tc-tooltip-radius:var(--tblr-border-radius,6px);--tc-font-family:var(--tblr-body-font-family,inherit)}
|
|
2
|
+
:where(:root,[data-bs-theme],[data-bs-theme-primary],[data-bs-theme-base],[data-bs-theme-font],[data-bs-theme-radius]){--tc-color-1:var(--tblr-chart-1,var(--tblr-primary,#066fd1));--tc-focus-color:var(--tblr-chart-1,var(--tblr-primary,#066fd1));--tc-surface:var(--tblr-bg-surface,#fff);--tc-text-color:var(--tblr-body-color,#0b0b0b);--tc-text-muted:var(--tblr-secondary,#6f6e69);--tc-grid-color:var(--tblr-border-color-translucent,#e1e0d9);--tc-baseline-color:var(--tblr-border-color,#c3c2b7);--tc-hover-color:rgba(var(--tblr-emphasis-color-rgb,11, 11, 11), .05);--tc-tooltip-bg:var(--tblr-tooltip-bg,#0b0b0b);--tc-tooltip-color:var(--tblr-tooltip-color,#fff);--tc-tooltip-muted:rgba(var(--tblr-body-bg-rgb,255, 255, 255), .7);--tc-tooltip-border:rgba(var(--tblr-body-bg-rgb,255, 255, 255), .12);--tc-tooltip-shadow:var(--tblr-box-shadow,0 4px 16px #0b0b0b1f);--tc-tooltip-radius:var(--tblr-border-radius,6px);--tc-font-family:var(--tblr-body-font-family,inherit)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tabler/charts-bootstrap",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Bootstrap 5.3 and Tabler theme mapping (CSS and SCSS) and a data API for @tabler/charts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"charts",
|
|
@@ -23,21 +23,16 @@
|
|
|
23
23
|
],
|
|
24
24
|
"main": "./dist/index.cjs",
|
|
25
25
|
"module": "./dist/index.js",
|
|
26
|
-
"types": "./dist/index.d.
|
|
26
|
+
"types": "./dist/index.d.cts",
|
|
27
27
|
"unpkg": "./dist/tabler-charts-bootstrap.min.js",
|
|
28
28
|
"jsdelivr": "./dist/tabler-charts-bootstrap.min.js",
|
|
29
29
|
"style": "./dist/bootstrap.css",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
|
-
"import":
|
|
33
|
-
|
|
34
|
-
"default": "./dist/index.js"
|
|
35
|
-
},
|
|
36
|
-
"require": {
|
|
37
|
-
"types": "./dist/index.d.cts",
|
|
38
|
-
"default": "./dist/index.cjs"
|
|
39
|
-
}
|
|
32
|
+
"import": "./dist/index.js",
|
|
33
|
+
"require": "./dist/index.cjs"
|
|
40
34
|
},
|
|
35
|
+
"./package.json": "./package.json",
|
|
41
36
|
"./bootstrap.css": "./dist/bootstrap.css",
|
|
42
37
|
"./tabler.css": "./dist/tabler.css",
|
|
43
38
|
"./scss/charts": {
|
|
@@ -47,15 +42,14 @@
|
|
|
47
42
|
"./scss/tabler": {
|
|
48
43
|
"sass": "./scss/_tabler.scss",
|
|
49
44
|
"default": "./scss/_tabler.scss"
|
|
50
|
-
}
|
|
51
|
-
"./package.json": "./package.json"
|
|
45
|
+
}
|
|
52
46
|
},
|
|
53
47
|
"files": [
|
|
54
48
|
"dist",
|
|
55
49
|
"scss"
|
|
56
50
|
],
|
|
57
51
|
"peerDependencies": {
|
|
58
|
-
"@tabler/charts": "^0.
|
|
52
|
+
"@tabler/charts": "^0.4.0",
|
|
59
53
|
"bootstrap": ">=5.3"
|
|
60
54
|
},
|
|
61
55
|
"peerDependenciesMeta": {
|
|
@@ -64,7 +58,7 @@
|
|
|
64
58
|
}
|
|
65
59
|
},
|
|
66
60
|
"devDependencies": {
|
|
67
|
-
"@tabler/charts": "^0.
|
|
61
|
+
"@tabler/charts": "^0.4.0",
|
|
68
62
|
"sass": "^1.108.2"
|
|
69
63
|
},
|
|
70
64
|
"publishConfig": {
|
package/scss/_tabler.scss
CHANGED
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
// as fallbacks), so on a Tabler page this preset only adds the theme-option
|
|
8
8
|
// scopes: the mapping is declared again on every element that carries a
|
|
9
9
|
// data-bs-theme-* attribute, so a subtree with its own primary color or
|
|
10
|
-
// radius gets it. Series
|
|
11
|
-
//
|
|
10
|
+
// radius gets it. Series 1 is the first color of Tabler's chart palette
|
|
11
|
+
// (--tblr-chart-1, the primary color unless the app overrides it); series 2–8
|
|
12
|
+
// are left to the chart stylesheet, which reads the rest of that palette. Load it after `@tabler/charts/style.css`; the plain
|
|
12
13
|
// CSS build is `@tabler/charts-bootstrap/tabler.css`.
|
|
13
14
|
//
|
|
14
15
|
// @use "@tabler/charts-bootstrap/scss/tabler";
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
$tc-prefix: "tblr-" !default,
|
|
19
20
|
$tc-theme-attribute: "data-bs-theme" !default,
|
|
20
21
|
$tc-theme-scopes: ":root, [data-bs-theme], [data-bs-theme-primary], [data-bs-theme-base], [data-bs-theme-font], [data-bs-theme-radius]" !default,
|
|
21
|
-
$tc-series-1: var(--tblr-primary, #066fd1) !default,
|
|
22
|
+
$tc-series-1: var(--tblr-chart-1, var(--tblr-primary, #066fd1)) !default,
|
|
22
23
|
$tc-surface: var(--tblr-bg-surface, #fff) !default,
|
|
23
24
|
$tc-tooltip-bg: var(--tblr-tooltip-bg, #0b0b0b) !default,
|
|
24
25
|
$tc-tooltip-color: var(--tblr-tooltip-color, #fff) !default,
|