@lit-material/divider 0.0.2 → 0.0.4
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/custom-elements.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"kind": "variable",
|
|
11
11
|
"name": "styles",
|
|
12
|
-
"default": "css` :host { display: block; box-sizing: border-box; height: 1px; width: 100%; background-color: var(--md-sys-color-outline-variant, #cac4d0); } /* Inset: indented from the axis perpendicular to the line itself — the inline (left/right) axis for a horizontal divider. */ :host([inset-start]) { margin-inline-start: 16px; width: auto; } :host([inset-end]) { margin-inline-end: 16px; width: auto; } :host([orientation=\"vertical\"]) { display: inline-block; align-self: stretch; height: auto; width: 1px; } /* Vertical: \"inset\" indents the block (top/bottom) axis instead. */ :host([orientation=\"vertical\"][inset-start]) { margin-inline-start: 0; margin-block-start: 16px; width: 1px; } :host([orientation=\"vertical\"][inset-end]) { margin-inline-end: 0; margin-block-end: 16px; width: 1px; } `"
|
|
12
|
+
"default": "css` :host { display: block; box-sizing: border-box; height: 1px; width: 100%; background-color: var(--md-sys-color-outline-variant, #cac4d0); } :host([hidden]) { display: none; } /* Inset: indented from the axis perpendicular to the line itself — the inline (left/right) axis for a horizontal divider. */ :host([inset-start]) { margin-inline-start: 16px; width: auto; } :host([inset-end]) { margin-inline-end: 16px; width: auto; } :host([orientation=\"vertical\"]) { display: inline-block; align-self: stretch; height: auto; width: 1px; } /* Vertical: \"inset\" indents the block (top/bottom) axis instead. */ :host([orientation=\"vertical\"][inset-start]) { margin-inline-start: 0; margin-block-start: 16px; width: 1px; } :host([orientation=\"vertical\"][inset-end]) { margin-inline-end: 0; margin-block-end: 16px; width: 1px; } `"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"exports": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider-styles.d.ts","sourceRoot":"","sources":["../src/divider-styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"divider-styles.d.ts","sourceRoot":"","sources":["../src/divider-styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBA4ClB,CAAC"}
|
package/dist/divider-styles.js
CHANGED
|
@@ -8,6 +8,10 @@ export const styles = css `
|
|
|
8
8
|
background-color: var(--md-sys-color-outline-variant, #cac4d0);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
:host([hidden]) {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
11
15
|
/* Inset: indented from the axis perpendicular to the line itself — the
|
|
12
16
|
inline (left/right) axis for a horizontal divider. */
|
|
13
17
|
:host([inset-start]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider-styles.js","sourceRoot":"","sources":["../src/divider-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"divider-styles.js","sourceRoot":"","sources":["../src/divider-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lit-material/divider",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Material Design 3 divider web component (horizontal or vertical, optionally inset).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"lit": "^3.2.0",
|
|
44
|
-
"@lit-material/tokens": "0.0
|
|
44
|
+
"@lit-material/tokens": "0.1.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@lit-labs/ssr": "^3.3.1",
|