@c2n/list 0.0.13 → 0.0.14
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/dist/list.js +2 -2
- package/package.json +4 -4
package/dist/list.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement, html, unsafeCSS } from "lit";
|
|
2
|
-
import {
|
|
2
|
+
import { query } from "lit/decorators.js";
|
|
3
3
|
import { customElement } from "@c2n/core/element-helper.js";
|
|
4
4
|
import { selectedItemValueContext } from "@c2n/list-item/list-item-context.js";
|
|
5
5
|
import { ListItem } from "@c2n/list-item";
|
|
6
|
-
import { arrayPropertyConverter } from "@c2n/core/lit-helper.js";
|
|
6
|
+
import { arrayPropertyConverter, property } from "@c2n/core/lit-helper.js";
|
|
7
7
|
//#region src/list.scss?inline
|
|
8
8
|
var list_default = "/* ex : var((width: 24px), width, c2-checkbox) returns var(--c2-checkbox-width, 24px) */\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n gap: var(--c2-list--gap);\n overflow: auto;\n overscroll-behavior: contain;\n pointer-events: initial;\n max-height: var(--c2-list--max-height);\n border-top: var(--c2-list--border-top);\n border-bottom: var(--c2-list--border-bottom);\n border-right: var(--c2-list--border-right);\n border-left: var(--c2-list--border-left);\n padding-top: var(--c2-list--padding-top,4px);\n padding-bottom: var(--c2-list--padding-bottom,4px);\n padding-right: var(--c2-list--padding-right,4px);\n padding-left: var(--c2-list--padding-left,4px);\n background: var(--c2-list--background,#ffffff);\n box-shadow: var(--c2-list--box-shadow);\n border-top-left-radius: var(--c2-list--border-top-left-radius);\n border-top-right-radius: var(--c2-list--border-top-right-radius);\n border-bottom-left-radius: var(--c2-list--border-bottom-left-radius);\n border-bottom-right-radius: var(--c2-list--border-bottom-right-radius);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host(:focus) {\n outline: none;\n}\n\n::slotted(hr) {\n flex: none;\n border: none;\n border-top: 1px solid var(--c2-list__divider--color,#e4e4e7);\n margin: var(--c2-list__divider--margin,4px 0);\n}\n\n::slotted(:is(h1, h2, h3, h4, h5, h6)) {\n flex: none;\n margin: 0;\n color: var(--c2-list__heading--color,#71717a);\n font-size: var(--c2-list__heading--font-size,11px);\n font-weight: var(--c2-list__heading--font-weight,600);\n letter-spacing: var(--c2-list__heading--letter-spacing,0.06em);\n text-transform: var(--c2-list__heading--text-transform,uppercase);\n line-height: 1.4;\n padding-top: var(--c2-list__heading--padding-top,10px);\n padding-right: var(--c2-list__heading--padding-right,10px);\n padding-bottom: var(--c2-list__heading--padding-bottom,4px);\n padding-left: var(--c2-list__heading--padding-left,10px);\n user-select: none;\n}\n\n:host(.padding-top-0) ::slotted(c2-list-item:first-child) {\n --c2-list-item--border-top-left-radius: var(--c2-list--border-top-left-radius);\n --c2-list-item--border-top-right-radius: var(--c2-list--border-top-right-radius);\n}\n\n:host(.padding-bottom-0) ::slotted(c2-list-item:last-child) {\n --c2-list-item--border-bottom-left-radius: var(--c2-list--border-bottom-left-radius);\n --c2-list-item--border-bottom-right-radius: var(--c2-list--border-bottom-right-radius);\n}\n\n:host([disabled]) {\n pointer-events: none;\n opacity: 0.38;\n}";
|
|
9
9
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c2n/list",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/list.js",
|
|
6
6
|
"exports": {
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@c2n/core": "0.0.
|
|
66
|
-
"@c2n/list-item": "0.0.
|
|
65
|
+
"@c2n/core": "0.0.14",
|
|
66
|
+
"@c2n/list-item": "0.0.14",
|
|
67
67
|
"lit": "3.3.3"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@c2n/config": "*"
|
|
71
71
|
},
|
|
72
72
|
"customElements": "custom-elements.json",
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "0261bfceaaa9f710a54e8f36cb57f946c0b83e53"
|
|
74
74
|
}
|