@pontive/pontkit-core 1.44.0 → 1.45.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/catalog.json +1 -1
- package/dist/styles.css +48 -7
- package/dist/theme/types.d.ts +2 -0
- package/dist/theme-golden.json +151 -63
- package/dist/theme.mjs +82 -76
- package/dist/theme.mjs.map +1 -1
- package/dist/tokens.json +77 -5
- package/package.json +1 -1
package/catalog.json
CHANGED
package/dist/styles.css
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* (11 §4, §5).
|
|
38
38
|
*
|
|
39
39
|
* border.css border width unit and styles (ref), the border width, style and outline roles and
|
|
40
|
-
* the `sem-border` / `sem-border-outline` shorthands (sem)
|
|
40
|
+
* the `sem-border` / `sem-border-outline` shorthands and `sem-border-outline-none` (sem)
|
|
41
41
|
* color/ index.css imports ref-color/ and sem-color/ (the colour roles:
|
|
42
42
|
* light-mode.css, dark-mode.css, and the mode-independent shadow and chart colours in
|
|
43
43
|
* sem-color/index.css); ref-color/index.css declares the ref colour
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
* cursor.css cursor keywords (ref) and the cursor roles (sem)
|
|
47
47
|
* dimension.css the dimension unit, size scale and keywords, space keywords, size/inset defaults
|
|
48
48
|
* filter.css the blur unit (--pont-ref-filter-blur) and the blur scale derived from it
|
|
49
|
-
* layout.css aspect ratios, box-sizing, align-items and justify-content keywords
|
|
50
|
-
* items and justify roles (sem)
|
|
49
|
+
* layout.css aspect ratios, box-sizing, align-items, align-content and justify-content keywords
|
|
50
|
+
* (ref) and the items, content and justify roles (sem)
|
|
51
51
|
* motion.css durations, easings, transition properties (ref) and the transition/animation roles (sem)
|
|
52
52
|
* opacity.css the opacity unit (--pont-ref-opacity), none/full, and the disabled role
|
|
53
53
|
* radius.css the radius knob (--pont-ref-radius) and the ref scale derived from it
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
|
|
112
112
|
--pont-sem-border-outline: var(--pont-sem-border-outline-width)
|
|
113
113
|
var(--pont-sem-border-outline-style) var(--pont-sem-color-outline);
|
|
114
|
+
--pont-sem-border-outline-none: var(--pont-ref-border-style-none);
|
|
114
115
|
}
|
|
115
116
|
}
|
|
116
117
|
|
|
@@ -1433,8 +1434,8 @@
|
|
|
1433
1434
|
* ===========================================================================
|
|
1434
1435
|
* LAYOUT TOKENS
|
|
1435
1436
|
* ---------------------------------------------------------------------------
|
|
1436
|
-
* Aspect ratios and box sizing (ref); align-items
|
|
1437
|
-
* keywords (ref, fixed) and their roles (sem, themable)
|
|
1437
|
+
* Aspect ratios and box sizing (ref); align-items, align-content and
|
|
1438
|
+
* justify-content keywords (ref, fixed) and their roles (sem, themable)
|
|
1438
1439
|
* ===========================================================================
|
|
1439
1440
|
*/
|
|
1440
1441
|
|
|
@@ -1517,7 +1518,47 @@
|
|
|
1517
1518
|
|
|
1518
1519
|
@layer pont.tokens {
|
|
1519
1520
|
:root {
|
|
1520
|
-
--pont-sem-layout-items: var(--pont-ref-layout-items-
|
|
1521
|
+
--pont-sem-layout-items: var(--pont-ref-layout-items-stretch);
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/*
|
|
1526
|
+
* ---------------------------------------------------------------------------
|
|
1527
|
+
* LAYOUT CONTENT TOKENS
|
|
1528
|
+
* ---------------------------------------------------------------------------
|
|
1529
|
+
* `align-content`
|
|
1530
|
+
* ---------------------------------------------------------------------------
|
|
1531
|
+
*/
|
|
1532
|
+
|
|
1533
|
+
/*
|
|
1534
|
+
* --------------------------------------------------
|
|
1535
|
+
* LAYOUT CONTENT REFERENCE TOKENS
|
|
1536
|
+
* --------------------------------------------------
|
|
1537
|
+
*/
|
|
1538
|
+
|
|
1539
|
+
@layer pont.tokens {
|
|
1540
|
+
:root {
|
|
1541
|
+
--pont-ref-layout-content-normal: normal;
|
|
1542
|
+
--pont-ref-layout-content-center: center;
|
|
1543
|
+
--pont-ref-layout-content-start: flex-start;
|
|
1544
|
+
--pont-ref-layout-content-end: flex-end;
|
|
1545
|
+
--pont-ref-layout-content-between: space-between;
|
|
1546
|
+
--pont-ref-layout-content-around: space-around;
|
|
1547
|
+
--pont-ref-layout-content-evenly: space-evenly;
|
|
1548
|
+
--pont-ref-layout-content-baseline: baseline;
|
|
1549
|
+
--pont-ref-layout-content-stretch: stretch;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/*
|
|
1554
|
+
* --------------------------------------------------
|
|
1555
|
+
* LAYOUT CONTENT SEMANTIC TOKENS
|
|
1556
|
+
* --------------------------------------------------
|
|
1557
|
+
*/
|
|
1558
|
+
|
|
1559
|
+
@layer pont.tokens {
|
|
1560
|
+
:root {
|
|
1561
|
+
--pont-sem-layout-content: var(--pont-ref-layout-content-normal);
|
|
1521
1562
|
}
|
|
1522
1563
|
}
|
|
1523
1564
|
|
|
@@ -1558,7 +1599,7 @@
|
|
|
1558
1599
|
|
|
1559
1600
|
@layer pont.tokens {
|
|
1560
1601
|
:root {
|
|
1561
|
-
--pont-sem-layout-justify: var(--pont-ref-layout-justify-
|
|
1602
|
+
--pont-sem-layout-justify: var(--pont-ref-layout-justify-normal);
|
|
1562
1603
|
}
|
|
1563
1604
|
}
|
|
1564
1605
|
|
package/dist/theme/types.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export type TokenType = "color" | "dimension" | "number" | "fontFamily" | "fontW
|
|
|
9
9
|
| "borderStyle"
|
|
10
10
|
/** Flex/grid cross-axis alignment (`sem-layout-items`; the `ref-layout-items-*` keywords are fixed): a CSS align-items value. */
|
|
11
11
|
| "alignItems"
|
|
12
|
+
/** Multi-line flex/grid cross-axis distribution (`sem-layout-content`; the `ref-layout-content-*` keywords are fixed): a CSS align-content value. */
|
|
13
|
+
| "alignContent"
|
|
12
14
|
/** Flex/grid main-axis distribution (`sem-layout-justify`; the `ref-layout-justify-*` keywords are fixed): a CSS justify-content value. */
|
|
13
15
|
| "justifyContent"
|
|
14
16
|
/** A fixed value (CSS keywords and viewport units: `ref-dimension-size-full`, `-dvh` …, `ref-layout-box-*`, the `sem-dimension-*` defaults; shorthands of other tokens: `sem-border`): read, never themed. */
|