@expressivecss/expressive 0.1.0-alpha.3 → 0.1.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/LICENSE +82 -2
- package/README.md +153 -43
- package/dist/css/expressive.css +7066 -9658
- package/dist/css/expressive.css.map +1 -0
- package/dist/css/expressive.min.css +1 -1
- package/dist/css/expressive.min.css.map +1 -0
- package/dist/js/expressive.cjs +7451 -0
- package/dist/js/expressive.cjs.map +7 -0
- package/dist/js/expressive.js +7313 -8099
- package/dist/js/expressive.js.map +7 -1
- package/dist/js/expressive.min.js +75 -1
- package/dist/js/expressive.min.js.map +7 -1
- package/dist/js/expressive.mjs +7222 -7998
- package/dist/js/expressive.mjs.map +7 -1
- package/dist/{js → types}/components/autocomplete.d.ts +10 -1
- package/dist/{js → types}/components/buttons.d.ts +11 -1
- package/dist/{js → types}/components/cards.d.ts +10 -1
- package/dist/{js → types}/components/carousel.d.ts +4 -5
- package/dist/{js/forms/character-counter.d.ts → types/components/characterCounter.d.ts} +1 -1
- package/dist/{js → types}/components/chips.d.ts +1 -1
- package/dist/{js → types}/components/collapsible.d.ts +1 -1
- package/dist/{js → types}/components/datepicker.d.ts +63 -2
- package/dist/{js → types}/components/dropdown.d.ts +3 -3
- package/dist/types/components/index.d.ts +23 -0
- package/dist/{js/components/materialbox.d.ts → types/components/lightbox.d.ts} +21 -21
- package/dist/{js → types}/components/modal.d.ts +1 -1
- package/dist/{js → types}/components/parallax.d.ts +11 -5
- package/dist/{js → types}/components/pushpin.d.ts +1 -1
- package/dist/{js/forms → types/components}/range.d.ts +3 -3
- package/dist/types/components/registry.d.ts +107 -0
- package/dist/{js → types}/components/scrollspy.d.ts +6 -9
- package/dist/{js/forms → types/components}/select.d.ts +11 -2
- package/dist/{js → types}/components/sidenav.d.ts +1 -1
- package/dist/{js → types}/components/slider.d.ts +3 -2
- package/dist/{js → types}/components/tabs.d.ts +3 -2
- package/dist/{js/components/tap-target.d.ts → types/components/tapTarget.d.ts} +2 -2
- package/dist/{js → types}/components/timepicker.d.ts +13 -5
- package/dist/{js/components/toast.d.ts → types/components/toasts.d.ts} +28 -4
- package/dist/{js → types}/components/tooltip.d.ts +2 -2
- package/dist/types/core/bounding.d.ts +6 -0
- package/dist/{js/foundation → types/core}/component.d.ts +1 -1
- package/dist/types/core/edges.d.ts +6 -0
- package/dist/{js/foundation → types/core}/utils.d.ts +21 -14
- package/dist/types/index.d.ts +6 -0
- package/dist/{js/plugins/docked-display.d.ts → types/plugins/dockedDisplayPlugin.d.ts} +7 -0
- package/package.json +60 -36
- package/src/sass/README.md +200 -0
- package/src/sass/abstracts/_breakpoints.scss +69 -0
- package/src/sass/abstracts/_elevation.scss +34 -0
- package/src/sass/abstracts/_index.scss +7 -0
- package/src/sass/abstracts/_mixins.scss +171 -0
- package/src/sass/abstracts/_variables.scss +57 -0
- package/src/{scss/layout/_table.scss → sass/base/_global.scss} +64 -2
- package/src/{scss/layout → sass/base}/_grid.scss +6 -6
- package/src/sass/base/_index.scss +6 -0
- package/src/{scss/foundation → sass/base}/_normalize.scss +51 -139
- package/src/sass/base/_typography.scss +90 -0
- package/src/sass/components/_badges.scss +77 -0
- package/src/{scss → sass}/components/_breadcrumb.scss +2 -0
- package/src/sass/components/_buttons.scss +407 -0
- package/src/sass/components/_cards.scss +328 -0
- package/src/{scss → sass}/components/_carousel.scss +5 -3
- package/src/sass/components/_chips.scss +140 -0
- package/src/sass/components/_collapsible.scss +81 -0
- package/src/{scss → sass}/components/_collection.scss +2 -2
- package/src/{scss/components/_date-picker.scss → sass/components/_datepicker.scss} +51 -44
- package/src/sass/components/_docked-display.scss +11 -0
- package/src/sass/components/_dropdown.scss +129 -0
- package/src/{scss/components/_material-icons.scss → sass/components/_icons-material-design.scss} +2 -0
- package/src/sass/components/_index.scss +35 -0
- package/src/{scss/components/_material-box.scss → sass/components/_lightbox.scss} +6 -4
- package/src/sass/components/_modal.scss +144 -0
- package/src/sass/components/_navbar.scss +345 -0
- package/src/{scss/layout/_footer.scss → sass/components/_page-footer.scss} +7 -6
- package/src/{scss → sass}/components/_pagination.scss +4 -3
- package/src/{scss → sass}/components/_parallax.scss +4 -1
- package/src/{scss → sass}/components/_preloader.scss +19 -97
- package/src/{scss → sass}/components/_pulse.scss +2 -0
- package/src/sass/components/_pushpin.scss +11 -0
- package/src/{scss → sass}/components/_sidenav.scss +99 -82
- package/src/{scss → sass}/components/_slider.scss +3 -1
- package/src/{scss/components/_table-of-contents.scss → sass/components/_table_of_contents.scss} +2 -0
- package/src/sass/components/_tabs.scss +232 -0
- package/src/{scss/components/_tap-target.scss → sass/components/_tapTarget.scss} +24 -22
- package/src/{scss/components/_time-picker.scss → sass/components/_timepicker.scss} +56 -56
- package/src/sass/components/_toast.scss +260 -0
- package/src/sass/components/_toolbar.scss +192 -0
- package/src/sass/components/_tooltip.scss +166 -0
- package/src/{scss → sass}/components/_transitions.scss +4 -4
- package/src/sass/components/forms/_checkboxes.scss +288 -0
- package/src/sass/components/forms/_fieldset.scss +128 -0
- package/src/{scss → sass/components}/forms/_file-input.scss +11 -9
- package/src/{scss → sass/components}/forms/_index.scss +2 -0
- package/src/sass/components/forms/_input-fields.scss +326 -0
- package/src/sass/components/forms/_radio-buttons.scss +190 -0
- package/src/sass/components/forms/_range.scss +310 -0
- package/src/sass/components/forms/_select.scss +103 -0
- package/src/sass/components/forms/_switches.scss +239 -0
- package/src/sass/expressive.scss +60 -0
- package/src/sass/tokens/_index.scss +4 -0
- package/src/sass/tokens/_reference.scss +265 -0
- package/src/sass/tokens/_theme.scss +49 -0
- package/src/{scss → sass}/utilities/_helpers.scss +33 -30
- package/src/sass/utilities/_index.scss +8 -0
- package/src/{scss → sass}/utilities/_spacing.scss +4 -3
- package/src/sass/utilities/_typescale.scss +45 -0
- package/src/sass/utilities/_visibility.scss +63 -0
- package/src/sass/utilities/_z-depth.scss +18 -0
- package/dist/js/components/index.d.ts +0 -21
- package/dist/js/forms/index.d.ts +0 -4
- package/dist/js/foundation/index.d.ts +0 -2
- package/dist/js/index.d.ts +0 -52
- package/dist/js/plugins/index.d.ts +0 -1
- package/src/scss/components/_appbar.scss +0 -454
- package/src/scss/components/_badges.scss +0 -77
- package/src/scss/components/_buttons.scss +0 -412
- package/src/scss/components/_cards.scss +0 -267
- package/src/scss/components/_chips.scss +0 -147
- package/src/scss/components/_collapsible.scss +0 -84
- package/src/scss/components/_dropdown.scss +0 -98
- package/src/scss/components/_index.scss +0 -28
- package/src/scss/components/_modal.scss +0 -84
- package/src/scss/components/_tabs.scss +0 -176
- package/src/scss/components/_toast.scss +0 -70
- package/src/scss/components/_tooltip.scss +0 -49
- package/src/scss/components/_video.scss +0 -15
- package/src/scss/expressive.scss +0 -7
- package/src/scss/forms/_checkboxes.scss +0 -199
- package/src/scss/forms/_input-fields.scss +0 -360
- package/src/scss/forms/_radio-buttons.scss +0 -114
- package/src/scss/forms/_range.scss +0 -148
- package/src/scss/forms/_select.scss +0 -108
- package/src/scss/forms/_switches.scss +0 -127
- package/src/scss/foundation/_base.scss +0 -71
- package/src/scss/foundation/_color-palette.scss +0 -402
- package/src/scss/foundation/_index.scss +0 -10
- package/src/scss/foundation/_mixins.scss +0 -198
- package/src/scss/foundation/_motion.scss +0 -70
- package/src/scss/foundation/_shape.scss +0 -30
- package/src/scss/foundation/_state-layers.scss +0 -68
- package/src/scss/foundation/_theme.scss +0 -238
- package/src/scss/foundation/_tokens.scss +0 -511
- package/src/scss/foundation/_variables.scss +0 -57
- package/src/scss/layout/_index.scss +0 -3
- package/src/scss/utilities/_a11y.scss +0 -77
- package/src/scss/utilities/_elevation.scss +0 -63
- package/src/scss/utilities/_index.scss +0 -7
- package/src/scss/utilities/_responsive.scss +0 -62
- package/src/scss/utilities/_typography.scss +0 -115
- /package/dist/{js/forms → types/behaviors}/forms.d.ts +0 -0
- /package/dist/{js/components → types/behaviors}/waves.d.ts +0 -0
- /package/src/{scss → sass}/utilities/_colors.scss +0 -0
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
// Material Design 3 reference palette.
|
|
4
|
+
//
|
|
5
|
+
// Five of the six ramps are DERIVED from --md-source at runtime with relative
|
|
6
|
+
// color syntax, rather than pasted out of the Material Theme Builder. Change
|
|
7
|
+
// --md-source and the whole theme follows, with no rebuild.
|
|
8
|
+
//
|
|
9
|
+
// The tone -> lightness table below is the part that makes this work, and the
|
|
10
|
+
// reason the obvious version of this idea fails. M3 "tone" is CIELAB L*:
|
|
11
|
+
// tone 40 means L* 40. OKLCH lightness is a different scale - the same color
|
|
12
|
+
// sits at OKLCH L 48.1%. So `oklch(40% c h)` does NOT give you M3 tone 40; it
|
|
13
|
+
// drifts a mean dEok of 0.063 (max 0.147) from the real ramps, several times
|
|
14
|
+
// the ~0.02 just-noticeable difference, turning #006495 into #004d74.
|
|
15
|
+
//
|
|
16
|
+
// Mapping tone -> OKLCH L through the table instead brings that to a mean of
|
|
17
|
+
// 0.0026 and a max of 0.0069 - imperceptible. The table is shared by every
|
|
18
|
+
// ramp because the mapping turns out to be near enough hue-independent (at
|
|
19
|
+
// tone 40 the five ramps land within 48.0-48.8%).
|
|
20
|
+
//
|
|
21
|
+
// tests/color-drift.test.js recomputes every generated value and fails if it
|
|
22
|
+
// moves more than DRIFT_BUDGET from the checked-in Material Theme Builder
|
|
23
|
+
// reference, so this cannot regress silently. That test validates the formula
|
|
24
|
+
// against #006495, the one source there is ground truth for - $md-source below
|
|
25
|
+
// is a branding choice and is free to change without failing it.
|
|
26
|
+
|
|
27
|
+
// The seed every generated ramp derives from. Chosen for a restaurant POS: the
|
|
28
|
+
// error ramp is pinned at hue 27.7deg and both primary and tertiary (source
|
|
29
|
+
// +62deg) derive from this, so the seed has to keep both clear of red. Warm
|
|
30
|
+
// "appetising" hues (0-60deg) are disqualified outright - they put primary on
|
|
31
|
+
// top of error, dEok 0.07-0.12 against ~0.28 here.
|
|
32
|
+
//
|
|
33
|
+
// Teal wins on *worst case* across both schemes rather than on either one
|
|
34
|
+
// alone, which is the metric that matters: evening service runs dark mode in a
|
|
35
|
+
// dim room, and that is where a confirm/void mix-up actually happens.
|
|
36
|
+
// light primary40 vs error40 dEok 0.278
|
|
37
|
+
// dark primary80 vs error80 dEok 0.212 <- best of the candidates
|
|
38
|
+
// light tertiary40 vs error40 dEok 0.224
|
|
39
|
+
// It also leaves green free for the "settled/paid" role a POS will want and
|
|
40
|
+
// Material does not supply.
|
|
41
|
+
$md-source: #006A79 !default;
|
|
42
|
+
|
|
43
|
+
// tone -> OKLCH lightness. Fitted against the reference ramps; see the test.
|
|
44
|
+
$tones: (
|
|
45
|
+
0: 0%, 10: 22.37%, 20: 30.99%, 25: 35.26%, 30: 39.48%, 35: 43.79%,
|
|
46
|
+
40: 48.14%, 50: 56.83%, 60: 65.42%, 70: 74.04%, 80: 82.63%, 90: 91.33%,
|
|
47
|
+
95: 95.62%, 98: 98.25%, 99: 99.19%, 100: 100%
|
|
48
|
+
) !default;
|
|
49
|
+
|
|
50
|
+
// Per-ramp hue offset from the source hue, and target chroma. Chroma is a
|
|
51
|
+
// fixed per-role value, not taken from the source - that is M3's model, and it
|
|
52
|
+
// means a desaturated brand color still yields a usable primary ramp. Where
|
|
53
|
+
// the target exceeds the sRGB gamut the browser gamut-maps by reducing chroma,
|
|
54
|
+
// which is what the reference ramps did too.
|
|
55
|
+
//
|
|
56
|
+
// These were fitted to minimise the WORST entry in each ramp, not the average.
|
|
57
|
+
// Fitting the average is the tempting mistake: it buys a better headline number
|
|
58
|
+
// while letting one tone sit near the budget, which is exactly the entry a
|
|
59
|
+
// future edit would push over.
|
|
60
|
+
//
|
|
61
|
+
// neutral's hue offset is unconstrained noise - at chroma 0.004 the hue is not
|
|
62
|
+
// visually meaningful, and anything from 0 to 360 scores about the same.
|
|
63
|
+
$ramps: (
|
|
64
|
+
"primary": ("hue": 1, "chroma": 0.123),
|
|
65
|
+
"secondary": ("hue": 5, "chroma": 0.030),
|
|
66
|
+
"tertiary": ("hue": 62, "chroma": 0.058),
|
|
67
|
+
"neutral": ("hue": 17, "chroma": 0.004),
|
|
68
|
+
"neutral-variant": ("hue": 9, "chroma": 0.013)
|
|
69
|
+
) !default;
|
|
70
|
+
|
|
71
|
+
// Which ramp entry each system color resolves to, per scheme.
|
|
72
|
+
$sys-light: (
|
|
73
|
+
"primary": "primary40", "on-primary": "primary100",
|
|
74
|
+
"primary-container": "primary90", "on-primary-container": "primary10",
|
|
75
|
+
"secondary": "secondary40", "on-secondary": "secondary100",
|
|
76
|
+
"secondary-container": "secondary90", "on-secondary-container": "secondary10",
|
|
77
|
+
"tertiary": "tertiary40", "on-tertiary": "tertiary100",
|
|
78
|
+
"tertiary-container": "tertiary90", "on-tertiary-container": "tertiary10",
|
|
79
|
+
"error": "error40", "on-error": "error100",
|
|
80
|
+
"error-container": "error90", "on-error-container": "error10",
|
|
81
|
+
"background": "neutral99", "on-background": "neutral10",
|
|
82
|
+
"surface": "neutral99", "on-surface": "neutral10",
|
|
83
|
+
"surface-variant": "neutral-variant90", "on-surface-variant": "neutral-variant30",
|
|
84
|
+
"outline": "neutral-variant50", "outline-variant": "neutral-variant80",
|
|
85
|
+
"inverse-surface": "neutral20", "inverse-on-surface": "neutral95",
|
|
86
|
+
"inverse-primary": "primary80", "surface-tint": "primary40",
|
|
87
|
+
"shadow": "neutral0", "scrim": "neutral0"
|
|
88
|
+
) !default;
|
|
89
|
+
|
|
90
|
+
$sys-dark: (
|
|
91
|
+
"primary": "primary80", "on-primary": "primary20",
|
|
92
|
+
"primary-container": "primary30", "on-primary-container": "primary90",
|
|
93
|
+
"secondary": "secondary80", "on-secondary": "secondary20",
|
|
94
|
+
"secondary-container": "secondary30", "on-secondary-container": "secondary90",
|
|
95
|
+
"tertiary": "tertiary80", "on-tertiary": "tertiary20",
|
|
96
|
+
"tertiary-container": "tertiary30", "on-tertiary-container": "tertiary90",
|
|
97
|
+
"error": "error80", "on-error": "error20",
|
|
98
|
+
"error-container": "error30", "on-error-container": "error90",
|
|
99
|
+
"background": "neutral10", "on-background": "neutral90",
|
|
100
|
+
"surface": "neutral10", "on-surface": "neutral90",
|
|
101
|
+
"surface-variant": "neutral-variant30", "on-surface-variant": "neutral-variant80",
|
|
102
|
+
"outline": "neutral-variant60", "outline-variant": "neutral-variant30",
|
|
103
|
+
"inverse-surface": "neutral90", "inverse-on-surface": "neutral10",
|
|
104
|
+
"inverse-primary": "primary40", "surface-tint": "primary80",
|
|
105
|
+
"shadow": "neutral0", "scrim": "neutral0"
|
|
106
|
+
) !default;
|
|
107
|
+
|
|
108
|
+
:root {
|
|
109
|
+
--md-source: #{$md-source};
|
|
110
|
+
|
|
111
|
+
/* primary, secondary, tertiary, neutral, neutral-variant - all generated */
|
|
112
|
+
@each $name, $cfg in $ramps {
|
|
113
|
+
$off: map.get($cfg, "hue");
|
|
114
|
+
@each $tone, $l in $tones {
|
|
115
|
+
// Tones 0 and 100 are pure black and white in every M3 ramp.
|
|
116
|
+
$c: map.get($cfg, "chroma");
|
|
117
|
+
@if $tone == 0 or $tone == 100 { $c: 0; }
|
|
118
|
+
|
|
119
|
+
@if $off == 0 {
|
|
120
|
+
--md-ref-palette-#{$name}#{$tone}: oklch(from var(--md-source) #{$l} #{$c} h);
|
|
121
|
+
} @else {
|
|
122
|
+
--md-ref-palette-#{$name}#{$tone}: oklch(from var(--md-source) #{$l} #{$c} calc(h + #{$off}));
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* error - deliberately NOT generated.
|
|
128
|
+
M3 fixes the error hue rather than deriving it: "this went wrong" should
|
|
129
|
+
not rebrand when someone changes their brand color. It is also the ramp
|
|
130
|
+
where OKLab and CIELAB lightness diverge most (it carries the highest
|
|
131
|
+
chroma), so generating it was the only one to exceed the JND - 0.027
|
|
132
|
+
against 0.008 for everything else. Both reasons point the same way. */
|
|
133
|
+
--md-ref-palette-error0: #000000;
|
|
134
|
+
--md-ref-palette-error10: #410002;
|
|
135
|
+
--md-ref-palette-error20: #690005;
|
|
136
|
+
--md-ref-palette-error25: #7e0007;
|
|
137
|
+
--md-ref-palette-error30: #93000a;
|
|
138
|
+
--md-ref-palette-error35: #a80710;
|
|
139
|
+
--md-ref-palette-error40: #ba1a1a;
|
|
140
|
+
--md-ref-palette-error50: #de3730;
|
|
141
|
+
--md-ref-palette-error60: #ff5449;
|
|
142
|
+
--md-ref-palette-error70: #ff897d;
|
|
143
|
+
--md-ref-palette-error80: #ffb4ab;
|
|
144
|
+
--md-ref-palette-error90: #ffdad6;
|
|
145
|
+
--md-ref-palette-error95: #ffedea;
|
|
146
|
+
--md-ref-palette-error98: #fff8f7;
|
|
147
|
+
--md-ref-palette-error99: #fffbff;
|
|
148
|
+
--md-ref-palette-error100: #ffffff;
|
|
149
|
+
|
|
150
|
+
/* light scheme */
|
|
151
|
+
@each $role, $ref in $sys-light {
|
|
152
|
+
--md-sys-color-#{$role}-light: var(--md-ref-palette-#{$ref});
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* dark scheme */
|
|
156
|
+
@each $role, $ref in $sys-dark {
|
|
157
|
+
--md-sys-color-#{$role}-dark: var(--md-ref-palette-#{$ref});
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* display - large */
|
|
161
|
+
--md-sys-typescale-display-large-font-family-name: Roboto;
|
|
162
|
+
--md-sys-typescale-display-large-font-family-style: Regular;
|
|
163
|
+
--md-sys-typescale-display-large-font-weight: 400;
|
|
164
|
+
--md-sys-typescale-display-large-font-size: 57px;
|
|
165
|
+
--md-sys-typescale-display-large-line-height: 64px;
|
|
166
|
+
--md-sys-typescale-display-large-letter-spacing: -0.25px;
|
|
167
|
+
/* display - medium */
|
|
168
|
+
--md-sys-typescale-display-medium-font-family-name: Roboto;
|
|
169
|
+
--md-sys-typescale-display-medium-font-family-style: Regular;
|
|
170
|
+
--md-sys-typescale-display-medium-font-weight: 400;
|
|
171
|
+
--md-sys-typescale-display-medium-font-size: 45px;
|
|
172
|
+
--md-sys-typescale-display-medium-line-height: 52px;
|
|
173
|
+
--md-sys-typescale-display-medium-letter-spacing: 0px;
|
|
174
|
+
/* display - small */
|
|
175
|
+
--md-sys-typescale-display-small-font-family-name: Roboto;
|
|
176
|
+
--md-sys-typescale-display-small-font-family-style: Regular;
|
|
177
|
+
--md-sys-typescale-display-small-font-weight: 400;
|
|
178
|
+
--md-sys-typescale-display-small-font-size: 36px;
|
|
179
|
+
--md-sys-typescale-display-small-line-height: 44px;
|
|
180
|
+
--md-sys-typescale-display-small-letter-spacing: 0px;
|
|
181
|
+
/* headline - large */
|
|
182
|
+
--md-sys-typescale-headline-large-font-family-name: Roboto;
|
|
183
|
+
--md-sys-typescale-headline-large-font-family-style: Regular;
|
|
184
|
+
--md-sys-typescale-headline-large-font-weight: 400;
|
|
185
|
+
--md-sys-typescale-headline-large-font-size: 32px;
|
|
186
|
+
--md-sys-typescale-headline-large-line-height: 40px;
|
|
187
|
+
--md-sys-typescale-headline-large-letter-spacing: 0px;
|
|
188
|
+
/* headline - medium */
|
|
189
|
+
--md-sys-typescale-headline-medium-font-family-name: Roboto;
|
|
190
|
+
--md-sys-typescale-headline-medium-font-family-style: Regular;
|
|
191
|
+
--md-sys-typescale-headline-medium-font-weight: 400;
|
|
192
|
+
--md-sys-typescale-headline-medium-font-size: 28px;
|
|
193
|
+
--md-sys-typescale-headline-medium-line-height: 36px;
|
|
194
|
+
--md-sys-typescale-headline-medium-letter-spacing: 0px;
|
|
195
|
+
/* headline - small */
|
|
196
|
+
--md-sys-typescale-headline-small-font-family-name: Roboto;
|
|
197
|
+
--md-sys-typescale-headline-small-font-family-style: Regular;
|
|
198
|
+
--md-sys-typescale-headline-small-font-weight: 400;
|
|
199
|
+
--md-sys-typescale-headline-small-font-size: 24px;
|
|
200
|
+
--md-sys-typescale-headline-small-line-height: 32px;
|
|
201
|
+
--md-sys-typescale-headline-small-letter-spacing: 0px;
|
|
202
|
+
/* body - large */
|
|
203
|
+
--md-sys-typescale-body-large-font-family-name: Roboto;
|
|
204
|
+
--md-sys-typescale-body-large-font-family-style: Regular;
|
|
205
|
+
--md-sys-typescale-body-large-font-weight: 400;
|
|
206
|
+
--md-sys-typescale-body-large-font-size: 16px;
|
|
207
|
+
--md-sys-typescale-body-large-line-height: 24px;
|
|
208
|
+
--md-sys-typescale-body-large-letter-spacing: 0.50px;
|
|
209
|
+
/* body - medium */
|
|
210
|
+
--md-sys-typescale-body-medium-font-family-name: Roboto;
|
|
211
|
+
--md-sys-typescale-body-medium-font-family-style: Regular;
|
|
212
|
+
--md-sys-typescale-body-medium-font-weight: 400;
|
|
213
|
+
--md-sys-typescale-body-medium-font-size: 14px;
|
|
214
|
+
--md-sys-typescale-body-medium-line-height: 20px;
|
|
215
|
+
--md-sys-typescale-body-medium-letter-spacing: 0.25px;
|
|
216
|
+
/* body - small */
|
|
217
|
+
--md-sys-typescale-body-small-font-family-name: Roboto;
|
|
218
|
+
--md-sys-typescale-body-small-font-family-style: Regular;
|
|
219
|
+
--md-sys-typescale-body-small-font-weight: 400;
|
|
220
|
+
--md-sys-typescale-body-small-font-size: 12px;
|
|
221
|
+
--md-sys-typescale-body-small-line-height: 16px;
|
|
222
|
+
--md-sys-typescale-body-small-letter-spacing: 0.40px;
|
|
223
|
+
/* label - large */
|
|
224
|
+
--md-sys-typescale-label-large-font-family-name: Roboto;
|
|
225
|
+
--md-sys-typescale-label-large-font-family-style: Medium;
|
|
226
|
+
--md-sys-typescale-label-large-font-weight: 500;
|
|
227
|
+
--md-sys-typescale-label-large-font-size: 14px;
|
|
228
|
+
--md-sys-typescale-label-large-line-height: 20px;
|
|
229
|
+
--md-sys-typescale-label-large-letter-spacing: 0.10px;
|
|
230
|
+
/* label - medium */
|
|
231
|
+
--md-sys-typescale-label-medium-font-family-name: Roboto;
|
|
232
|
+
--md-sys-typescale-label-medium-font-family-style: Medium;
|
|
233
|
+
--md-sys-typescale-label-medium-font-weight: 500;
|
|
234
|
+
--md-sys-typescale-label-medium-font-size: 12px;
|
|
235
|
+
--md-sys-typescale-label-medium-line-height: 16px;
|
|
236
|
+
--md-sys-typescale-label-medium-letter-spacing: 0.50px;
|
|
237
|
+
/* label - small */
|
|
238
|
+
--md-sys-typescale-label-small-font-family-name: Roboto;
|
|
239
|
+
--md-sys-typescale-label-small-font-family-style: Medium;
|
|
240
|
+
--md-sys-typescale-label-small-font-weight: 500;
|
|
241
|
+
--md-sys-typescale-label-small-font-size: 11px;
|
|
242
|
+
--md-sys-typescale-label-small-line-height: 16px;
|
|
243
|
+
--md-sys-typescale-label-small-letter-spacing: 0.50px;
|
|
244
|
+
/* title - large */
|
|
245
|
+
--md-sys-typescale-title-large-font-family-name: Roboto;
|
|
246
|
+
--md-sys-typescale-title-large-font-family-style: Regular;
|
|
247
|
+
--md-sys-typescale-title-large-font-weight: 400;
|
|
248
|
+
--md-sys-typescale-title-large-font-size: 22px;
|
|
249
|
+
--md-sys-typescale-title-large-line-height: 28px;
|
|
250
|
+
--md-sys-typescale-title-large-letter-spacing: 0px;
|
|
251
|
+
/* title - medium */
|
|
252
|
+
--md-sys-typescale-title-medium-font-family-name: Roboto;
|
|
253
|
+
--md-sys-typescale-title-medium-font-family-style: Medium;
|
|
254
|
+
--md-sys-typescale-title-medium-font-weight: 500;
|
|
255
|
+
--md-sys-typescale-title-medium-font-size: 16px;
|
|
256
|
+
--md-sys-typescale-title-medium-line-height: 24px;
|
|
257
|
+
--md-sys-typescale-title-medium-letter-spacing: 0.15px;
|
|
258
|
+
/* title - small */
|
|
259
|
+
--md-sys-typescale-title-small-font-family-name: Roboto;
|
|
260
|
+
--md-sys-typescale-title-small-font-family-style: Medium;
|
|
261
|
+
--md-sys-typescale-title-small-font-weight: 500;
|
|
262
|
+
--md-sys-typescale-title-small-font-size: 14px;
|
|
263
|
+
--md-sys-typescale-title-small-line-height: 20px;
|
|
264
|
+
--md-sys-typescale-title-small-letter-spacing: 0.10px;
|
|
265
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Maps the resolved pairs from tokens/_reference.scss onto the live
|
|
2
|
+
// --md-sys-color-* names that the rest of the framework consumes.
|
|
3
|
+
//
|
|
4
|
+
// This file used to spell out all 30 tokens four times - once for the light
|
|
5
|
+
// default, once inside @media (prefers-color-scheme: dark), and once for each
|
|
6
|
+
// of :root[theme='light'] / [theme='dark'] - because a custom property can
|
|
7
|
+
// only hold one value per selector. light-dark() holds both, so the mapping is
|
|
8
|
+
// written once and the two theme selectors only have to set color-scheme.
|
|
9
|
+
//
|
|
10
|
+
// Why that works: light-dark() resolves at computed-value time against the
|
|
11
|
+
// element's used color-scheme. Inside a custom property it survives
|
|
12
|
+
// substitution and resolves at the point of *use*, not the point of
|
|
13
|
+
// declaration - so setting color-scheme anywhere re-resolves every token
|
|
14
|
+
// below it. That is what makes a dark card on a light page possible; it also
|
|
15
|
+
// means color-scheme is now load-bearing, not decorative.
|
|
16
|
+
//
|
|
17
|
+
// The --md-sys-color-*-light / -dark pairs are deliberately left in place.
|
|
18
|
+
// They are the documented way to re-theme the framework (see the docs' Themes
|
|
19
|
+
// page) and several components reference them directly.
|
|
20
|
+
|
|
21
|
+
$sys-color-roles: (
|
|
22
|
+
"primary", "on-primary", "primary-container", "on-primary-container",
|
|
23
|
+
"secondary", "on-secondary", "secondary-container", "on-secondary-container",
|
|
24
|
+
"tertiary", "on-tertiary", "tertiary-container", "on-tertiary-container",
|
|
25
|
+
"error", "on-error", "error-container", "on-error-container",
|
|
26
|
+
"outline", "outline-variant",
|
|
27
|
+
"background", "on-background",
|
|
28
|
+
"surface", "on-surface", "surface-variant", "on-surface-variant",
|
|
29
|
+
"inverse-surface", "inverse-on-surface", "inverse-primary",
|
|
30
|
+
"shadow", "surface-tint", "scrim"
|
|
31
|
+
) !default;
|
|
32
|
+
|
|
33
|
+
:root, :host {
|
|
34
|
+
// `light dark` means: follow the OS unless an ancestor says otherwise.
|
|
35
|
+
color-scheme: light dark;
|
|
36
|
+
|
|
37
|
+
@each $role in $sys-color-roles {
|
|
38
|
+
--md-sys-color-#{$role}: light-dark(
|
|
39
|
+
var(--md-sys-color-#{$role}-light),
|
|
40
|
+
var(--md-sys-color-#{$role}-dark)
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* ===================================================================== Themes */
|
|
46
|
+
|
|
47
|
+
// Opting out of the OS preference. Every token above re-resolves from these.
|
|
48
|
+
:root[theme='light'] { color-scheme: light; }
|
|
49
|
+
:root[theme='dark'] { color-scheme: dark; }
|
|
@@ -1,31 +1,15 @@
|
|
|
1
|
+
// Small single-purpose classes a page author applies deliberately.
|
|
2
|
+
//
|
|
3
|
+
// Anything here must be one job, one class, and independent of any component.
|
|
4
|
+
// If a rule only exists to support one widget, it belongs to that component's
|
|
5
|
+
// partial instead.
|
|
6
|
+
|
|
1
7
|
// Positioning
|
|
2
8
|
.valign-wrapper { display: flex; align-items: center; }
|
|
3
9
|
|
|
4
10
|
.clearfix { clear: both; }
|
|
5
11
|
|
|
6
|
-
//
|
|
7
|
-
.divider {
|
|
8
|
-
height: 1px;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
background-color: var(--md-sys-color-outline-variant);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Pushpin
|
|
14
|
-
.pin-top, .pin-bottom {
|
|
15
|
-
position: relative;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.pinned {
|
|
19
|
-
position: fixed !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/*******************
|
|
23
|
-
Utility Classes
|
|
24
|
-
*******************/
|
|
25
|
-
|
|
26
|
-
.hide { display: none !important; }
|
|
27
|
-
|
|
28
|
-
// Text Align
|
|
12
|
+
// Text alignment
|
|
29
13
|
.left-align { text-align: left; }
|
|
30
14
|
.right-align { text-align: right }
|
|
31
15
|
.center, .center-align { text-align: center; }
|
|
@@ -34,17 +18,36 @@
|
|
|
34
18
|
.left { float: left !important; }
|
|
35
19
|
.right { float: right !important; }
|
|
36
20
|
|
|
37
|
-
//
|
|
21
|
+
// Dividers
|
|
22
|
+
.divider {
|
|
23
|
+
height: 1px;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
background-color: var(--md-sys-color-outline-variant);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Shape and text behaviour
|
|
38
29
|
.no-select { user-select: none; }
|
|
39
30
|
.circle { border-radius: 50%; }
|
|
40
31
|
.center-block { display: block; margin-left: auto; margin-right: auto; }
|
|
41
32
|
.truncate { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
42
33
|
.no-padding { padding: 0 !important; }
|
|
43
34
|
|
|
44
|
-
//
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
35
|
+
// Responsive media
|
|
36
|
+
img.responsive-img,
|
|
37
|
+
video.responsive-video {
|
|
38
|
+
max-width: 100%;
|
|
39
|
+
height: auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.video-container {
|
|
43
|
+
position: relative;
|
|
44
|
+
aspect-ratio: 16 / 9; // was padding-bottom: 56.25% + height: 0
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
|
|
47
|
+
iframe, object, embed {
|
|
48
|
+
position: absolute;
|
|
49
|
+
inset: 0;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
}
|
|
50
53
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Single-purpose helper classes.
|
|
2
|
+
|
|
3
|
+
@forward "colors"; // .primary, .on-surface-text, ... (token-driven)
|
|
4
|
+
@forward "typescale"; // .display-large, .body-medium, ...
|
|
5
|
+
@forward "z-depth"; // .z-depth-0 ... .z-depth-5, .hoverable
|
|
6
|
+
@forward "spacing"; // .m-3, .pt-2, .px-4, ...
|
|
7
|
+
@forward "visibility"; // .hide, .hide-on-med-and-down, .show-on-large, ...
|
|
8
|
+
@forward "helpers"; // alignment, floats, truncate, responsive media
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// Margin and padding scale: .m-3, .pt-2, .px-4, .my-auto, ...
|
|
2
|
+
//
|
|
3
|
+
// Shortcut x value x direction, all !important so a helper wins over the
|
|
4
|
+
// component it is applied to. Edit the maps here to change the scale.
|
|
4
5
|
|
|
5
6
|
$spacing-shortcuts: ("margin": "m", "padding": "p") !default;
|
|
6
7
|
$spacing-directions: ("top": "t", "right": "r", "bottom": "b", "left": "l") !default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use "../abstracts" as *;
|
|
2
|
+
|
|
3
|
+
// M3 typescale helper classes, generated from the tokens in tokens/_reference.scss.
|
|
4
|
+
//
|
|
5
|
+
// Every property here must correspond to a token that file actually defines -
|
|
6
|
+
// a var() pointing at an undefined custom property makes the whole
|
|
7
|
+
// declaration invalid at computed-value time.
|
|
8
|
+
//
|
|
9
|
+
// Deliberately not set:
|
|
10
|
+
// font-style - the -font-family-style token holds "Regular" / "Medium",
|
|
11
|
+
// which describe weight, not a CSS font-style keyword.
|
|
12
|
+
//
|
|
13
|
+
// Semantic elements already consume these roles (see base/_typography.scss).
|
|
14
|
+
// Use a class when the HTML cannot carry the role (a <p> that should display,
|
|
15
|
+
// a <span> used as a label).
|
|
16
|
+
|
|
17
|
+
$typescale-roles: (
|
|
18
|
+
"display-large", "display-medium", "display-small",
|
|
19
|
+
"headline-large", "headline-medium", "headline-small",
|
|
20
|
+
"body-large", "body-medium", "body-small",
|
|
21
|
+
"label-large", "label-medium", "label-small",
|
|
22
|
+
"title-large", "title-medium", "title-small"
|
|
23
|
+
) !default;
|
|
24
|
+
|
|
25
|
+
@each $role in $typescale-roles {
|
|
26
|
+
.#{$role} {
|
|
27
|
+
@include typescale($role);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Emphasis and case. One job each, independent of the type role.
|
|
32
|
+
.italic { font-style: italic; }
|
|
33
|
+
.bold { font-weight: 500; }
|
|
34
|
+
.light { font-weight: 300; }
|
|
35
|
+
.thin { font-weight: 200; }
|
|
36
|
+
.underline { text-decoration: underline; }
|
|
37
|
+
.overline { text-decoration: overline; }
|
|
38
|
+
.upper { text-transform: uppercase; }
|
|
39
|
+
.lower { text-transform: lowercase; }
|
|
40
|
+
.capitalize { text-transform: capitalize; }
|
|
41
|
+
|
|
42
|
+
// Body-size aliases when the element is not a <p> / <small>.
|
|
43
|
+
.large-text { @include typescale("body-large"); }
|
|
44
|
+
.medium-text { @include typescale("body-medium"); }
|
|
45
|
+
.small-text { @include typescale("body-small"); }
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@use "../abstracts" as *;
|
|
2
|
+
|
|
3
|
+
// Showing and hiding, globally and per breakpoint.
|
|
4
|
+
// Breakpoint strings ($small-and-down, ...) come from abstracts/_variables.scss.
|
|
5
|
+
|
|
6
|
+
.hide { display: none !important; }
|
|
7
|
+
|
|
8
|
+
.hide-on-small-only, .hide-on-small-and-down {
|
|
9
|
+
@include bp-down("small") { display: none !important; }
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.hide-on-med-and-down {
|
|
13
|
+
@include bp-down("large") { display: none !important; }
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hide-on-med-and-up {
|
|
17
|
+
@include bp-up("small") { display: none !important; }
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hide-on-med-only {
|
|
21
|
+
@include bp-between("small", "large") {
|
|
22
|
+
display: none !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.hide-on-large-only {
|
|
27
|
+
@include bp-up("large") { display: none !important; }
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.hide-on-extra-large-only {
|
|
31
|
+
@include bp-up("xlarge") { display: none !important; }
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.show-on-extra-large {
|
|
35
|
+
@include bp-up("xlarge") { display: block !important; }
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.show-on-large {
|
|
39
|
+
@include bp-up("large") { display: block !important; }
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.show-on-medium {
|
|
43
|
+
@include bp-between("small", "large") {
|
|
44
|
+
display: block !important;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.show-on-small {
|
|
49
|
+
@include bp-down("small") { display: block !important; }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.show-on-medium-and-up {
|
|
53
|
+
@include bp-up("small") { display: block !important; }
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.show-on-medium-and-down {
|
|
57
|
+
@include bp-down("large") { display: block !important; }
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Center text on mobile
|
|
61
|
+
.center-on-small-only {
|
|
62
|
+
@include bp-down("small") { text-align: center; }
|
|
63
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../abstracts" as *;
|
|
3
|
+
|
|
4
|
+
// The .z-depth-N classes, generated from the shadow map in
|
|
5
|
+
// abstracts/_elevation.scss so the classes and the z-depth() mixin cannot drift.
|
|
6
|
+
|
|
7
|
+
@each $level in map.keys($elevations) {
|
|
8
|
+
.z-depth-#{$level} {
|
|
9
|
+
@include z-depth($level);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.hoverable {
|
|
14
|
+
transition: box-shadow 0.25s;
|
|
15
|
+
&:hover {
|
|
16
|
+
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { Autocomplete, AutocompleteOptions } from './autocomplete';
|
|
2
|
-
export { FloatingActionButton, FloatingActionButtonOptions } from './buttons';
|
|
3
|
-
export { Cards, CardsOptions } from './cards';
|
|
4
|
-
export { Carousel, CarouselOptions } from './carousel';
|
|
5
|
-
export { Chips, ChipsOptions } from './chips';
|
|
6
|
-
export { Collapsible, CollapsibleOptions } from './collapsible';
|
|
7
|
-
export { Datepicker, DatepickerOptions } from './datepicker';
|
|
8
|
-
export { Dropdown, DropdownOptions } from './dropdown';
|
|
9
|
-
export { Materialbox, MaterialboxOptions } from './materialbox';
|
|
10
|
-
export { Modal, ModalOptions } from './modal';
|
|
11
|
-
export { Parallax, ParallaxOptions } from './parallax';
|
|
12
|
-
export { Pushpin, PushpinOptions } from './pushpin';
|
|
13
|
-
export { ScrollSpy, ScrollSpyOptions } from './scrollspy';
|
|
14
|
-
export { Sidenav, SidenavOptions } from './sidenav';
|
|
15
|
-
export { Slider, SliderOptions } from './slider';
|
|
16
|
-
export { Tabs, TabsOptions } from './tabs';
|
|
17
|
-
export { TapTarget, TapTargetOptions } from './tap-target';
|
|
18
|
-
export { Timepicker, TimepickerOptions } from './timepicker';
|
|
19
|
-
export { Toast, ToastOptions } from './toast';
|
|
20
|
-
export { Tooltip, TooltipOptions } from './tooltip';
|
|
21
|
-
export { Waves } from './waves';
|
package/dist/js/forms/index.d.ts
DELETED
package/dist/js/index.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { AutocompleteOptions, FloatingActionButtonOptions, CardsOptions, CarouselOptions, ChipsOptions, CollapsibleOptions, DatepickerOptions, DropdownOptions, MaterialboxOptions, ModalOptions, ParallaxOptions, PushpinOptions, ScrollSpyOptions, SidenavOptions, TabsOptions, TapTargetOptions, TimepickerOptions, TooltipOptions } from './components';
|
|
2
|
-
import { FormSelectOptions } from './forms';
|
|
3
|
-
export { Autocomplete } from './components';
|
|
4
|
-
export { FloatingActionButton } from './components';
|
|
5
|
-
export { Cards } from './components';
|
|
6
|
-
export { Carousel } from './components';
|
|
7
|
-
export { Chips } from './components';
|
|
8
|
-
export { Collapsible } from './components';
|
|
9
|
-
export { Datepicker } from './components';
|
|
10
|
-
export { Dropdown } from './components';
|
|
11
|
-
export { Materialbox } from './components';
|
|
12
|
-
export { Modal } from './components';
|
|
13
|
-
export { Parallax } from './components';
|
|
14
|
-
export { Pushpin } from './components';
|
|
15
|
-
export { ScrollSpy } from './components';
|
|
16
|
-
export { Sidenav } from './components';
|
|
17
|
-
export { Slider } from './components';
|
|
18
|
-
export { Tabs } from './components';
|
|
19
|
-
export { TapTarget } from './components';
|
|
20
|
-
export { Timepicker } from './components';
|
|
21
|
-
export { Toast } from './components';
|
|
22
|
-
export { Tooltip } from './components';
|
|
23
|
-
export { Waves } from './components';
|
|
24
|
-
export { CharacterCounter, Forms, Range, FormSelect } from './forms';
|
|
25
|
-
export declare const version = "2.2.2";
|
|
26
|
-
export interface AutoInitOptions {
|
|
27
|
-
Autocomplete?: Partial<AutocompleteOptions>;
|
|
28
|
-
Cards?: Partial<CardsOptions>;
|
|
29
|
-
Carousel?: Partial<CarouselOptions>;
|
|
30
|
-
Chips?: Partial<ChipsOptions>;
|
|
31
|
-
Collapsible?: Partial<CollapsibleOptions>;
|
|
32
|
-
Datepicker?: Partial<DatepickerOptions>;
|
|
33
|
-
Dropdown?: Partial<DropdownOptions>;
|
|
34
|
-
Materialbox?: Partial<MaterialboxOptions>;
|
|
35
|
-
Modal?: Partial<ModalOptions>;
|
|
36
|
-
Parallax?: Partial<ParallaxOptions>;
|
|
37
|
-
Pushpin?: Partial<PushpinOptions>;
|
|
38
|
-
ScrollSpy?: Partial<ScrollSpyOptions>;
|
|
39
|
-
FormSelect?: Partial<FormSelectOptions>;
|
|
40
|
-
Sidenav?: Partial<SidenavOptions>;
|
|
41
|
-
Tabs?: Partial<TabsOptions>;
|
|
42
|
-
TapTarget?: Partial<TapTargetOptions>;
|
|
43
|
-
Timepicker?: Partial<TimepickerOptions>;
|
|
44
|
-
Tooltip?: Partial<TooltipOptions>;
|
|
45
|
-
FloatingActionButton?: Partial<FloatingActionButtonOptions>;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Automatically initialize components.
|
|
49
|
-
* @param context Root element to initialize. Defaults to `document.body`.
|
|
50
|
-
* @param options Options for each component.
|
|
51
|
-
*/
|
|
52
|
-
export declare function AutoInit(context?: HTMLElement, options?: Partial<AutoInitOptions>): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DockedDisplayPlugin, DockedDisplayPluginOptions } from './docked-display';
|