@websublime/line-components 0.2.1 → 0.2.3
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 +53 -0
- package/custom-elements.json +1009 -33
- package/dist/separator/index.d.ts +3 -0
- package/dist/separator/index.d.ts.map +1 -0
- package/dist/separator/index.js +62 -0
- package/dist/separator/index.js.map +1 -0
- package/dist/separator/separator.d.ts +32 -0
- package/dist/separator/separator.d.ts.map +1 -0
- package/dist/separator/separator.types.d.ts +3 -0
- package/dist/separator/separator.types.d.ts.map +1 -0
- package/dist/stack/index.d.ts +3 -0
- package/dist/stack/index.d.ts.map +1 -0
- package/dist/stack/index.js +155 -0
- package/dist/stack/index.js.map +1 -0
- package/dist/stack/stack.d.ts +37 -0
- package/dist/stack/stack.d.ts.map +1 -0
- package/dist/stack/stack.types.d.ts +9 -0
- package/dist/stack/stack.types.d.ts.map +1 -0
- package/package.json +9 -1
- package/src/separator/index.ts +3 -0
- package/src/separator/separator.ts +93 -0
- package/src/separator/separator.types.ts +2 -0
- package/src/stack/index.ts +3 -0
- package/src/stack/stack.ts +169 -0
- package/src/stack/stack.types.ts +11 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Main axis of `<line-stack>`; the A2UI basic v0.9 `List.direction` values. */
|
|
2
|
+
export type StackOrientation = 'horizontal' | 'vertical';
|
|
3
|
+
|
|
4
|
+
/** Main-axis distribution of `<line-stack>`; the A2UI basic v0.9 `justify` values. */
|
|
5
|
+
export type StackJustify = 'start' | 'center' | 'end' | 'spaceBetween' | 'spaceAround' | 'spaceEvenly' | 'stretch';
|
|
6
|
+
|
|
7
|
+
/** Cross-axis alignment of `<line-stack>`; the A2UI basic v0.9 `align` values without `baseline`. */
|
|
8
|
+
export type StackAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
9
|
+
|
|
10
|
+
/** Gap step of `<line-stack>` on the `--line-layout-gap-*` scale (ARCH §17.2 C6). */
|
|
11
|
+
export type StackGap = '0' | '1' | '2' | '3' | '4' | '5';
|