@pontive/pontkit-core 1.28.0 → 1.30.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/custom-elements.json +1 -1
- package/dist/components/renderers/auth/scope-list/_scope-list.d.ts +1 -1
- package/dist/components/renderers/auth/scope-list/scope-list.types.d.ts +1 -1
- package/dist/components/widgets/pont-consent/consent-api.d.ts +1 -1
- package/dist/components/widgets/pont-consent/pont-consent.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/pont2/core/names.d.ts +1 -1
- package/dist/pont2/globals.css +19 -7
- package/dist/pont2/index.mjs +678 -617
- package/dist/pont2/index.mjs.map +1 -1
- package/dist/pont2/kit/alert/alert.d.ts +2 -1
- package/dist/pont2/kit/block/block.d.ts +3 -1
- package/dist/pont2/kit/flow-widget/preview.d.ts +46 -0
- package/dist/pont2/kit/index.d.ts +1 -0
- package/dist/pont2/kit/link/link.d.ts +2 -0
- package/dist/pont2/kit/otp-field/otp-resend.d.ts +2 -0
- package/dist/pont2/kit/qr-code/qr-code.d.ts +1 -0
- package/dist/pont2/kit/recovery-codes/recovery-codes.d.ts +1 -0
- package/dist/pont2/kit/typography/typography.d.ts +4 -0
- package/dist/pont2/kit/watermark/watermark.d.ts +2 -0
- package/dist/pont2/primitives/card/card.d.ts +3 -1
- package/dist/pont2/primitives/dropdown-menu/dropdown-menu.d.ts +5 -0
- package/dist/pont2/primitives/popover/popover.d.ts +2 -0
- package/dist/pont2/primitives/tooltip/tooltip.d.ts +2 -0
- package/dist/pont2/styles.css +2433 -1026
- package/dist/pont2/theme/apply.d.ts +29 -0
- package/dist/pont2/theme/compile.d.ts +23 -0
- package/dist/pont2/theme/index.d.ts +23 -0
- package/dist/pont2/theme/manifest.d.ts +2 -0
- package/dist/pont2/theme/scopes.d.ts +13 -0
- package/dist/pont2/theme/shadcn.d.ts +7 -0
- package/dist/pont2/theme/tokens.json.d.ts +7009 -0
- package/dist/pont2/theme/types.d.ts +92 -0
- package/dist/pont2/theme/validate.d.ts +11 -0
- package/dist/pont2/theme/value.d.ts +10 -0
- package/dist/pont2/theme/vocabulary.d.ts +32 -0
- package/dist/pont2/theme.mjs +337 -0
- package/dist/pont2/theme.mjs.map +1 -0
- package/dist/pont2/tokens.json +7006 -0
- package/dist/pont2/with-legacy.css +1 -1
- package/package.json +8 -2
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* | identity attr | `data-pont2-<identity>` | `data-pont2-alert` (tier-neutral: "this is an alert") |
|
|
9
9
|
* | slot attr | `data-slot="<name>"` | `data-slot="item-separator"` (shadcn's own, unprefixed) |
|
|
10
10
|
* | state attrs | `data-<state>` | `data-checked`, `data-open` (Base UI's own, unprefixed) |
|
|
11
|
-
* | CSS custom prop | `--pont2-<
|
|
11
|
+
* | CSS custom prop | `--pont2-sem-<role>` … | `--pont2-sem-color-primary` (docs/11-tokens.md) |
|
|
12
12
|
* | cascade layer | `pont2.<layer>` | `pont2.primitives`, `pont2.kit` |
|
|
13
13
|
* | custom event | `pont2-<name>` | `pont2-open-change` |
|
|
14
14
|
*
|
package/dist/pont2/globals.css
CHANGED
|
@@ -11,7 +11,19 @@
|
|
|
11
11
|
* itself to look like a shadcn app. It is global by nature (it styles
|
|
12
12
|
* `body` and `*`), which is why it is not part of styles.css.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
/* ./layers.css */
|
|
15
|
+
/*
|
|
16
|
+
* The pont2 cascade-layer order: the ONE statement, shared by every pont2
|
|
17
|
+
* stylesheet (styles.css, globals.css, with-legacy.css and compiled themes).
|
|
18
|
+
*
|
|
19
|
+
* The first @layer statement a browser meets fixes the order, so every entry
|
|
20
|
+
* starts with this one; a theme loaded before styles.css can then never land
|
|
21
|
+
* below the recipes (docs/11-tokens.md §7).
|
|
22
|
+
*
|
|
23
|
+
* reset < tokens < base < primitives < kit < theme.preset < theme.brand
|
|
24
|
+
* < unlayered app CSS
|
|
25
|
+
*/
|
|
26
|
+
@layer pont2.reset, pont2.tokens, pont2.base, pont2.primitives, pont2.kit, pont2.theme.preset, pont2.theme.brand;
|
|
15
27
|
|
|
16
28
|
@layer pont2.reset {
|
|
17
29
|
*,
|
|
@@ -22,7 +34,7 @@
|
|
|
22
34
|
box-sizing: border-box;
|
|
23
35
|
margin: 0;
|
|
24
36
|
padding: 0;
|
|
25
|
-
border: 0 solid var(--pont2-border);
|
|
37
|
+
border: 0 solid var(--pont2-sem-color-border);
|
|
26
38
|
}
|
|
27
39
|
|
|
28
40
|
html,
|
|
@@ -30,18 +42,18 @@
|
|
|
30
42
|
line-height: 1.5;
|
|
31
43
|
-webkit-text-size-adjust: 100%;
|
|
32
44
|
tab-size: 4;
|
|
33
|
-
font-family: var(--pont2-font-sans);
|
|
45
|
+
font-family: var(--pont2-sem-font-sans);
|
|
34
46
|
-webkit-tap-highlight-color: transparent;
|
|
35
47
|
}
|
|
36
48
|
|
|
37
49
|
* {
|
|
38
|
-
outline-color: color-mix(in oklab, var(--pont2-ring) 50%, transparent);
|
|
50
|
+
outline-color: color-mix(in oklab, var(--pont2-sem-color-ring) 50%, transparent);
|
|
39
51
|
}
|
|
40
52
|
|
|
41
53
|
body {
|
|
42
54
|
line-height: inherit;
|
|
43
|
-
background-color: var(--pont2-background);
|
|
44
|
-
color: var(--pont2-foreground);
|
|
55
|
+
background-color: var(--pont2-sem-color-background);
|
|
56
|
+
color: var(--pont2-sem-color-foreground);
|
|
45
57
|
}
|
|
46
58
|
|
|
47
59
|
h1, h2, h3, h4, h5, h6 {
|
|
@@ -59,7 +71,7 @@
|
|
|
59
71
|
}
|
|
60
72
|
|
|
61
73
|
code, kbd, samp, pre {
|
|
62
|
-
font-family: var(--pont2-font-mono);
|
|
74
|
+
font-family: var(--pont2-sem-font-mono);
|
|
63
75
|
font-size: 1em;
|
|
64
76
|
}
|
|
65
77
|
|