@pepperui/css 2.2.0 → 2.3.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.
@@ -14,6 +14,7 @@
14
14
  *
15
15
  * Style (none) check · --dot
16
16
  * Size (none) regular · --small
17
+ * Emphasis a phrase in <strong> or <b> is Bold 700 — a phrase, never the row (R11)
17
18
  */
18
19
 
19
20
  .pui-bullet-list {
@@ -54,5 +55,6 @@
54
55
  border-radius: var(--pui-radius-full);
55
56
  background: var(--pui-accent-main);
56
57
  }
58
+ .pui-bullet-list__item :is(b, strong) { font-weight: var(--pui-font-weight-700); } /* request 39 — a phrase in Bold, the site's rows */
57
59
  .pui-bullet-list--small .pui-bullet-list__item { font-size: var(--pui-type-body-medium-font-size); }
58
60
  .pui-bullet-list--small .pui-bullet-list__glyph { margin-top: 0; }
@@ -20,11 +20,22 @@
20
20
  * <div class="pui-button-group pui-card__footer">…</div></div>
21
21
  * <div class="pui-card pui-card--filled-header"><div class="pui-card__head"> …the header parts… </div> …</div>
22
22
  *
23
+ * the card as a link (request 41) — the same parts on an <a> or a <button>, no class more:
24
+ * <a class="pui-card pui-card--border" href="…"><span class="pui-card__media"><img src="…" alt=""></span>
25
+ * <span class="pui-card__header"><span class="pui-card__texts"><span class="pui-card__logo"><img src="…" alt="Client"></span>
26
+ * <span class="pui-card__title">…</span><span class="pui-card__description">…</span><span class="pui-badge pui-badge--small">…</span></span>
27
+ * <span class="pui-icon-button pui-icon-button--small pui-icon-button--round pui-card__action">…arrow-up-right…</span></span></a>
28
+ *
23
29
  * Style (none) basic · --plain · --border · --soft · --colour · --filled-header
24
30
  * Lined --lined — a 2 px border/default line on a tinted finish (basic, soft, colour); --border is the white card's 1 px
31
+ * Raised --raised — a tinted card with no line, lifted by elevation/card: a card on a white page (the form card, request 34)
32
+ * Link an <a> or a <button> that IS the card: it lifts on hover, its Action steps out, the header sits on its base
33
+ * line, the title and the line under it are body/medium Regular; __logo is a mark over the title (request 41)
34
+ * Form a card that holds a .pui-form takes the form's inset — space/32, space/24 on a phone (request 34)
25
35
  * Accent set data-accent on the card or a parent (blue / red / yellow / multicolor) — soft, colour and
26
36
  * filled-header follow it; yellow's ink is the token's, never a hand override
27
- * Sequence a row of cards in multicolor colours its icon boxes by position, sequence/1…6 (request 5)
37
+ * Sequence a row of cards in multicolor colours its icon boxes by position, sequence/1…6 (request 5); ONE card names
38
+ * its step with data-sequence="1…6" (request 35). The glyph is white on every step, yellow included
28
39
  * Canvas the title and band scale with data-canvas (D36) — 22 / 18 on the web, 26 / 20 on a slide
29
40
  */
30
41
 
@@ -49,6 +60,9 @@
49
60
  /* --lined: a 2 px border/default line on a TINTED card — Fedor's Echo AI contact card, kept against the kit's lineless tints
50
61
  ('the form is mixing with the background'; request 18, 2026-09-25). Basic, soft and colour take it; the white finishes have --border. */
51
62
  .pui-card--lined { border-width: 2px; border-color: var(--pui-border-default); }
63
+ /* --raised: the tinted card with no line, lifted by its shadow — the form card on a white page (Contact, the gated case
64
+ study; request 34, 2026-09-28). Never with --border or --lined: a line and a shadow together is the anti-pattern. */
65
+ .pui-card--raised { box-shadow: var(--pui-elevation-card); }
52
66
  .pui-card--soft { background: var(--pui-accent-bg); }
53
67
  .pui-card--colour { background: var(--pui-accent-main); color: var(--pui-accent-on-accent); }
54
68
 
@@ -85,16 +99,22 @@
85
99
  background: var(--pui-accent-main);
86
100
  color: var(--pui-accent-on-accent);
87
101
  }
102
+ /* THE WHITE BOX — on every ground the accent paints (the soft tint, the colour card, the filled head) the box is white and
103
+ its glyph is accent/text: the accent itself on blue and red, the ink on yellow, where accent/main on white was
104
+ yellow on white (request 27 — Fedor's iRTB drawing is dark; D24's flip, read from the role that already carries it).
105
+ The soft card takes the white box since request 36 (the site's demand panels, his drawing); it drew the accent box. */
106
+ .pui-card--soft .pui-card__icon,
88
107
  .pui-card--colour .pui-card__icon,
89
- .pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-main); }
108
+ .pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-text); }
90
109
  /* THE SEQUENCE (request 5, Fedor 2026-09-24): in the multicolor accent a ROW of cards reads the six-step sequence by
91
110
  position — sequence/1…6: red, yellow, blue, blue/300, grey, red/300 — so the three brand mains are not the only colours
92
- on a page. Set data-accent="multicolor" on the row (or on each card) and the icon boxes cycle; the yellow step takes
93
- the dark ink, as the yellow accent does (D24). A single card in multicolor keeps its own accent (red). */
111
+ on a page. Set data-accent="multicolor" on the row (or on each card) and the icon boxes cycle. The glyph is WHITE on
112
+ every step, the yellow one included — Fedor's decision, 2026-09-28, on his own files (it was the dark ink of D24 until
113
+ 2.3.0; the yellow ACCENT keeps D24's ink — this is the sequence's box alone). A single card in multicolor keeps its own accent (red). */
94
114
  [data-accent="multicolor"] > .pui-card:nth-child(6n+1) .pui-card__icon,
95
115
  .pui-card[data-accent="multicolor"]:nth-child(6n+1) .pui-card__icon { background: var(--pui-sequence-1); color: var(--pui-text-on-accent); }
96
116
  [data-accent="multicolor"] > .pui-card:nth-child(6n+2) .pui-card__icon,
97
- .pui-card[data-accent="multicolor"]:nth-child(6n+2) .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-default); }
117
+ .pui-card[data-accent="multicolor"]:nth-child(6n+2) .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-on-accent); }
98
118
  [data-accent="multicolor"] > .pui-card:nth-child(6n+3) .pui-card__icon,
99
119
  .pui-card[data-accent="multicolor"]:nth-child(6n+3) .pui-card__icon { background: var(--pui-sequence-3); color: var(--pui-text-on-accent); }
100
120
  [data-accent="multicolor"] > .pui-card:nth-child(6n+4) .pui-card__icon,
@@ -103,6 +123,15 @@
103
123
  .pui-card[data-accent="multicolor"]:nth-child(6n+5) .pui-card__icon { background: var(--pui-sequence-5); color: var(--pui-text-on-accent); }
104
124
  [data-accent="multicolor"] > .pui-card:nth-child(6n+6) .pui-card__icon,
105
125
  .pui-card[data-accent="multicolor"]:nth-child(6n+6) .pui-card__icon { background: var(--pui-sequence-6); color: var(--pui-text-on-accent); }
126
+ /* ONE CARD NAMES ITS STEP (request 35): the site's rows skip steps and repeat them — five chips on 1 2 3 5 6, four cards all
127
+ on the first, a slider whose cards are each alone in their slide — so position cannot say it. data-sequence="1…6" on
128
+ the card; it outranks the row's position and the finish's white box. */
129
+ .pui-card[data-sequence="1"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-1); color: var(--pui-text-on-accent); }
130
+ .pui-card[data-sequence="2"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-on-accent); }
131
+ .pui-card[data-sequence="3"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-3); color: var(--pui-text-on-accent); }
132
+ .pui-card[data-sequence="4"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-4); color: var(--pui-text-on-accent); }
133
+ .pui-card[data-sequence="5"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-5); color: var(--pui-text-on-accent); }
134
+ .pui-card[data-sequence="6"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-6); color: var(--pui-text-on-accent); }
106
135
  .pui-card__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
107
136
  .pui-card__title {
108
137
  margin: 0;
@@ -116,6 +145,7 @@
116
145
  .pui-card__action { flex: none; align-self: flex-start; }
117
146
 
118
147
  .pui-card__band {
148
+ margin: 0; /* request 37 — a part written as a <p> keeps no page margin (Bootstrap's 1rem on the site) */
119
149
  padding: var(--pui-space-12);
120
150
  border-radius: var(--pui-radius-8);
121
151
  background: var(--pui-card-band);
@@ -134,5 +164,53 @@
134
164
  color: var(--pui-text-default);
135
165
  font-weight: var(--pui-font-weight-400); /* R13 (request 9) */
136
166
  }
167
+ .pui-card__slot > :is(p, h1, h2, h3, h4, h5, h6) { margin: 0; } /* request 37 — the slot's gap is the rhythm */
137
168
  .pui-card--filled-header .pui-card__slot { background: transparent; padding: 0; }
138
169
  .pui-card__footer { align-self: flex-start; }
170
+
171
+ /* THE FORM'S CARD (request 34; Fedor, 2026-09-28: 'there is no form without a card'). A card that holds a form takes the
172
+ form's inset — space/32, space/24 under the web-mobile mode's 768 — where a card's own is space/20. No class: the
173
+ form says it. Its finish is one of three: --lined (tinted, the 2 px line), --raised (tinted, lifted), --plain (white). */
174
+ .pui-card:has(> .pui-form) { padding: var(--pui-space-32); }
175
+ @media (max-width: 767px) {
176
+ .pui-card:has(> .pui-form) { padding: var(--pui-space-24); }
177
+ }
178
+
179
+ /* THE CARD AS A LINK (request 41) — a blog post, a case study, a team member: one object, the Card as an <a> or a
180
+ <button>, built from the Card's own parts. No component per content type (Fedor, 2026-09-28) and no class more: the
181
+ element says it. :where() keeps each rule at the weight of its classes, so a page's one-class rule still places it.
182
+ It lifts on hover (elevation/card, space/4 up over motion/menu), the Action steps out (3 px over 300 ms — the site's
183
+ arrow, stated), the header sits on its base line at space/12, the title and the line under it are body/medium
184
+ Regular in text/default, a badge stands space/8 under them, a logo is a 125 × 30 box on a 35 line (stated). */
185
+ :where(a, button).pui-card {
186
+ justify-content: space-between;
187
+ margin: 0;
188
+ text-align: left;
189
+ text-decoration: none;
190
+ cursor: pointer;
191
+ transition:
192
+ box-shadow var(--pui-motion-menu) var(--pui-motion-easing),
193
+ transform var(--pui-motion-menu) var(--pui-motion-easing);
194
+ }
195
+ :where(a, button).pui-card:hover { box-shadow: var(--pui-elevation-card); transform: translateY(calc(-1 * var(--pui-space-4))); }
196
+ .pui-card:focus-visible { outline: none; box-shadow: var(--pui-ring); } /* only a card that is a link or a button takes focus */
197
+ :where(a, button).pui-card > .pui-card__header { align-items: flex-end; justify-content: space-between; gap: var(--pui-space-12); }
198
+ :where(a, button).pui-card .pui-card__texts { gap: 0; }
199
+ :where(a, button).pui-card .pui-card__title,
200
+ :where(a, button).pui-card .pui-card__description {
201
+ color: var(--pui-text-default);
202
+ font-size: var(--pui-type-body-medium-font-size);
203
+ font-weight: var(--pui-font-weight-400);
204
+ line-height: var(--pui-font-line-height-normal);
205
+ }
206
+ :where(a, button).pui-card .pui-card__texts > .pui-badge { align-self: flex-start; margin-top: var(--pui-space-8); }
207
+ :where(a, button).pui-card .pui-card__action { align-self: flex-end; transition: transform 300ms var(--pui-motion-easing-enter); }
208
+ :where(a, button).pui-card:hover .pui-card__action { transform: translate(3px, -3px); }
209
+ .pui-card__logo { display: flex; align-items: center; height: 35px; }
210
+ .pui-card__logo > img { width: auto; height: auto; max-width: 125px; max-height: 30px; object-fit: contain; object-position: left center; }
211
+ @media (prefers-reduced-motion: reduce) {
212
+ :where(a, button).pui-card,
213
+ :where(a, button).pui-card .pui-card__action { transition: none; }
214
+ :where(a, button).pui-card:hover,
215
+ :where(a, button).pui-card:hover .pui-card__action { transform: none; }
216
+ }
@@ -18,7 +18,15 @@
18
18
  * <span class="pui-device-frame__url">mafo.mobupps.com</span></div>
19
19
  * <div class="pui-device-frame__screen"><img src="…" alt="…"></div></div></div>
20
20
  *
21
+ * with the toolbar (request 29) — the same bar, the glyphs a browser shows:
22
+ * <div class="pui-device-frame__bar"><span class="pui-device-frame__lights"><i></i><i></i><i></i></span>
23
+ * <span class="pui-device-frame__nav"> …three .pui-icon: chevron-left · chevron-right · refresh-cw… </span>
24
+ * <span class="pui-device-frame__url"><span class="pui-icon">…lock…</span><span class="pui-device-frame__url-text">mobupps.com/MAFO</span><span class="pui-icon">…star…</span></span>
25
+ * <span class="pui-device-frame__tools"> …three .pui-icon: shield · plus · menu… </span></div>
26
+ *
21
27
  * Kind --browser (the window; the only kind today)
28
+ * Toolbar __nav and __tools beside the well, a glyph at each end of __url around __url-text — seven library glyphs
29
+ * in illustration/chrome/text, the site's window (request 29). Without them the bar is the lights and the well
22
30
  * Unit --pui-device-unit — one design pixel; the host sets it from its width
23
31
  */
24
32
 
@@ -82,3 +90,40 @@
82
90
  }
83
91
  .pui-device-frame__screen > img,
84
92
  .pui-device-frame__screen > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
93
+
94
+ /* THE TOOLBAR (request 29; taken as an option, 2026-09-28): the site's window shows what a browser shows — back,
95
+ forward and reload before the well, a lock and a star inside it, a shield, a plus and the menu after it. Every glyph
96
+ is the library's, in illustration/chrome/text, 8.32 of the unit in a 13.07 box (7.13 inside the well) — the site's
97
+ numbers; the address is set in the platform's UI face, as a browser sets it. */
98
+ .pui-device-frame__nav,
99
+ .pui-device-frame__tools {
100
+ display: flex;
101
+ flex: none;
102
+ align-items: center;
103
+ gap: calc(3.5648 * var(--pui-device-unit));
104
+ color: var(--pui-illustration-chrome-text);
105
+ }
106
+ .pui-device-frame__nav > .pui-icon,
107
+ .pui-device-frame__tools > .pui-icon {
108
+ box-sizing: content-box;
109
+ width: calc(8.3179 * var(--pui-device-unit));
110
+ height: calc(8.3179 * var(--pui-device-unit));
111
+ padding: calc(2.376 * var(--pui-device-unit));
112
+ }
113
+ .pui-device-frame__url:has(> .pui-device-frame__url-text) {
114
+ display: flex;
115
+ align-items: center;
116
+ gap: calc(4.7531 * var(--pui-device-unit));
117
+ padding: 0 calc(5.9414 * var(--pui-device-unit));
118
+ }
119
+ .pui-device-frame__url > .pui-icon { width: calc(7.1296 * var(--pui-device-unit)); height: calc(7.1296 * var(--pui-device-unit)); }
120
+ .pui-device-frame__url-text {
121
+ flex: 1 1 auto;
122
+ min-width: 0;
123
+ overflow: hidden;
124
+ font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
125
+ font-size: calc(7.1296 * var(--pui-device-unit));
126
+ text-align: center;
127
+ white-space: nowrap;
128
+ text-overflow: ellipsis;
129
+ }
@@ -5,9 +5,11 @@
5
5
  * Subscription (three links; a heading, the social marks, the email field with its Subscribe button), the badges filling
6
6
  * the rest, centred. Headings 14 SemiBold in nav/section/fg (the site's 600), links 14 Regular in nav/item/fg
7
7
  * (neutral-300 for the site's 200 — stated), white on hover; the email field a 36-tall box at radius/8 in
8
- * color/alpha/white-8 with a nav/item/bg-active stroke (the site's white .05 and #404040 — stated), and its Subscribe
9
- * button the field's own — 12 Regular on a 1.2 line in text/default on text/on-inverse, space/4 × space/8, radius/4, 22 tall —
10
- * not the Button component. Web only. Figma 265:10. Contract: registry/footer/registry.json.
8
+ * color/alpha/white-8 with a nav/item/bg-active stroke (the site's white .05 and #404040 — stated). Web only.
9
+ * Figma 265:10. Contract: registry/footer/registry.json.
10
+ * 2.3.0 (request 33; Fedor, 2026-09-28): THE EMAIL FIELD IS THE INPUT GROUP on the dark ground, the small Button in it —
11
+ * 'the same component … the only difference must be the colour' — and the social marks are the Socials row (request 40).
12
+ * `__pill`, `__subscribe` and `__socials` are DEPRECATED: they paint as before for this minor and go in the next major.
11
13
  * 2.5.10 (2026-09-18): the field was drawn as a pill with the small Button in it and the headings at 500 from 2.2 on;
12
14
  * the design lead's built footer (the prototypes' styles.css and the site's global-2026.css) is the spec, and the
13
15
  * library's Footer already drew the box — the class keeps its 1.0 name, `__pill`.
@@ -17,7 +19,9 @@
17
19
  * <footer class="pui-footer">
18
20
  * <div class="pui-footer__column"><p class="pui-footer__heading">Menu</p><a class="pui-footer__link" href="…">Case studies</a> …</div>
19
21
  * <div class="pui-footer__column pui-footer__column--stack"> …Terms… <div><p class="pui-footer__heading">Subscription</p>
20
- * <label class="pui-footer__pill"><input placeholder="Enter your email"><button class="pui-footer__subscribe">Subscribe</button></label></div></div>
22
+ * <div class="pui-socials pui-socials--on-dark"> …three marks… </div>
23
+ * <div class="pui-field"><label class="pui-input-group pui-input-group--on-dark"><input class="pui-input-group__control" type="email"
24
+ * placeholder="Enter your email"><button class="pui-button pui-button--small pui-input-group__button">Subscribe</button></label></div></div></div>
21
25
  * <div class="pui-footer__badges"> …img… </div></footer>
22
26
  */
23
27
 
@@ -58,7 +62,14 @@
58
62
  .pui-footer__links { display: flex; flex-direction: column; gap: var(--pui-space-4); margin: 0; padding: 0; list-style: none; }
59
63
  .pui-footer__link:hover { color: var(--pui-nav-item-fg-active); }
60
64
  .pui-footer__link:focus-visible { outline: none; border-radius: var(--pui-radius-4); box-shadow: var(--pui-ring); }
65
+ /* the step above the socials row and above the email field — what __socials and __pill carried; the field is the
66
+ Subscription column's 303 (Figma 265:28 — stated) */
67
+ .pui-footer .pui-socials,
68
+ .pui-footer .pui-field { margin-top: var(--pui-space-8); }
69
+ .pui-footer .pui-field { width: 303px; max-width: 100%; }
70
+ /* deprecated: 2.3.0 — use .pui-socials (socials.css) */
61
71
  .pui-footer__socials { display: flex; gap: var(--pui-space-12); margin-top: var(--pui-space-8); }
72
+ /* deprecated: 2.3.0 — use .pui-input-group.pui-input-group--on-dark with the small Button in it (input-group.css) */
62
73
  .pui-footer__pill { /* the email field — a box since 2.5.10; the name is 1.0's */
63
74
  display: flex;
64
75
  align-items: center;
@@ -91,6 +102,7 @@
91
102
  .pui-footer__pill:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
92
103
  /* The field's own Subscribe button (2.5.10, Figma 265:36): 12 Regular text/default on text/on-inverse, space/4 × space/8,
93
104
  radius/4, on a 1.2 line so it is the site's 22 tall — the site's mini button, not the Button component (28 at its smallest). */
105
+ /* deprecated: 2.3.0 — the field's button is the small Button inside the Input group */
94
106
  .pui-footer__subscribe {
95
107
  flex: none;
96
108
  margin: 0;
@@ -0,0 +1,96 @@
1
+ /* form.css — Form (10_COMPONENTS.md § Forms).
2
+ *
3
+ * The form itself — the kit named the parts (Field, Input, Checkbox, Button, Form result, Card) and every consumer
4
+ * wrote the form its own way; this is the one structure, read off the site's form block (blocks/form-2026), Fedor's:
5
+ * a column at space/24 › the title (the Card's title) › the spam trap › the Fields, one per control › the consent (a
6
+ * Checkbox in a Field, with its message) › ONE primary Button at full width › the Form result, which takes the
7
+ * fields' place once the form is sent. The card is part of the form ('there is no form without a card', Fedor
8
+ * 2026-09-28): a Card in one of three finishes — --lined, --raised, --plain — at the form's inset (card.css).
9
+ * Two parts a form needs that no control had: the FILE control (a label drawn as the Input around a hidden file
10
+ * input, the file's name in the caption ink, a paperclip at its end) and the SENDING state of the Button
11
+ * (aria-busy — it dims and cannot be pressed twice; the label says 'Sending…'). Request 34 from the corporate site,
12
+ * 2026-09-28. Figma: Form. Contract: registry/form/registry.json.
13
+ *
14
+ * <div class="pui-card pui-card--lined"><form class="pui-form" novalidate>
15
+ * <h3 class="pui-card__title">Get in touch with us to know more</h3>
16
+ * <input class="pui-form__trap" type="text" name="surname" tabindex="-1" autocomplete="off" aria-hidden="true">
17
+ * <div class="pui-field"><label class="pui-field__label" for="f-name">Name</label>
18
+ * <input class="pui-input" id="f-name" required><span class="pui-field__error">Please enter your name</span></div>
19
+ * <div class="pui-field"><span class="pui-field__label">CV</span>
20
+ * <label class="pui-input pui-input--file"><span class="pui-input__file-name">No file chosen</span>
21
+ * <span class="pui-icon pui-input__file-icon"><svg><use href="icons.svg#paperclip"/></svg></span>
22
+ * <input type="file"></label></div>
23
+ * <div class="pui-field"><label class="pui-checkbox"> …the consent… </label><span class="pui-field__error">…</span></div>
24
+ * <button class="pui-button pui-button--block" type="submit">Book a demo</button>
25
+ * <div class="pui-form-result" role="status" aria-live="polite"> … </div></form></div>
26
+ *
27
+ * State .is-success on the form — the parts leave and the Form result shows in their place
28
+ * aria-busy="true" (with disabled) on the Button — sending
29
+ * Parts __trap — the spam trap, never shown · .pui-input--file with __file-name and __file-icon
30
+ * Rule one primary action; the order of the parts never changes; a failure is an Alert above the Button, not the result
31
+ */
32
+
33
+ .pui-form {
34
+ display: flex;
35
+ flex-direction: column;
36
+ gap: var(--pui-space-24);
37
+ min-width: 0;
38
+ margin: 0;
39
+ font-family: var(--pui-font-family);
40
+ }
41
+ .pui-form__trap { display: none; }
42
+
43
+ /* the result takes the fields' place */
44
+ .pui-form > .pui-form-result { display: none; }
45
+ .pui-form.is-success > :not(.pui-form-result) {
46
+ pointer-events: none;
47
+ animation: pui-form-out var(--pui-motion-menu) var(--pui-motion-easing) forwards;
48
+ }
49
+ .pui-form.is-success > .pui-form-result {
50
+ display: flex;
51
+ animation: pui-form-result-in var(--pui-motion-menu) var(--pui-motion-easing) var(--pui-motion-state) both;
52
+ }
53
+ @keyframes pui-form-out { to { opacity: 0; display: none; } }
54
+ @keyframes pui-form-result-in { from { opacity: 0; transform: translateY(var(--pui-space-8)); } }
55
+ @media (prefers-reduced-motion: reduce) {
56
+ .pui-form.is-success > :not(.pui-form-result) { animation: none; display: none; }
57
+ .pui-form.is-success > .pui-form-result { animation: none; }
58
+ }
59
+
60
+ /* the file control — the Input's box as a label around the native input, which is hidden and still focusable */
61
+ .pui-input--file {
62
+ position: relative;
63
+ display: flex;
64
+ align-items: center;
65
+ gap: var(--pui-space-8);
66
+ overflow: hidden;
67
+ cursor: pointer;
68
+ }
69
+ .pui-input--file > input[type="file"] {
70
+ position: absolute;
71
+ width: 1px;
72
+ height: 1px;
73
+ opacity: 0;
74
+ pointer-events: none;
75
+ }
76
+ .pui-input--file:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
77
+ .pui-input__file-name {
78
+ flex: 1 1 auto;
79
+ min-width: 0;
80
+ overflow: hidden;
81
+ color: var(--pui-text-caption);
82
+ white-space: nowrap;
83
+ text-overflow: ellipsis;
84
+ }
85
+ .pui-input__file-name :is(b, strong) { font-weight: var(--pui-font-weight-600); }
86
+ .pui-input__file-icon { flex: none; width: var(--pui-size-icon-16); height: var(--pui-size-icon-16); color: var(--pui-text-muted); }
87
+
88
+ /* sending — the Button between the press and the answer */
89
+ .pui-button[aria-busy="true"] {
90
+ background: var(--pui-action-primary-bg); /* it keeps its fill — a sending button is not a disabled one; set `disabled` with it so it leaves the tab order */
91
+ color: var(--pui-action-primary-fg);
92
+ opacity: 0.5;
93
+ cursor: progress;
94
+ pointer-events: none;
95
+ transform: none;
96
+ }
@@ -10,7 +10,11 @@
10
10
  * <p class="pui-heading-pair__subtitle">Powered by verified MAFO performance</p></header>
11
11
  * <header class="pui-heading-pair pui-heading-pair--web"><p class="pui-heading-pair__eyebrow">About us</p> …title, subtitle… </header>
12
12
  *
13
- * Style (none) slide · --web
13
+ * <header class="pui-heading-pair pui-heading-pair--section"><h2 class="pui-heading-pair__title">MAFO Demand</h2>
14
+ * <p class="pui-heading-pair__subtitle">Intelligence for User Acquisition &amp; Growth Teams</p></header>
15
+ *
16
+ * Style (none) slide · --web (a page's head) · --section (a section of a web page: the title headline/small, the
17
+ * line under it title/small at Regular in accent/heading, space/8 between them — request 43)
14
18
  */
15
19
 
16
20
  .pui-heading-pair {
@@ -55,3 +59,20 @@
55
59
  font-weight: var(--pui-font-weight-400);
56
60
  line-height: var(--pui-font-line-height-normal);
57
61
  }
62
+
63
+ /* A SECTION OF A WEB PAGE (request 43): the product pages open each section with a title at headline/small and, under
64
+ it, a line at title/small Regular in the page's accent/heading — the slide pair one step down, space/8 apart (the
65
+ site's own gap). The accent is the page's data-accent. */
66
+ .pui-heading-pair--section { gap: var(--pui-space-8); }
67
+ .pui-heading-pair--section .pui-heading-pair__title {
68
+ font-size: var(--pui-type-headline-small-font-size);
69
+ font-weight: var(--pui-type-headline-small-font-weight);
70
+ line-height: var(--pui-type-headline-small-line-height);
71
+ letter-spacing: var(--pui-type-headline-small-letter-spacing);
72
+ }
73
+ .pui-heading-pair--section .pui-heading-pair__subtitle {
74
+ font-size: var(--pui-type-title-small-font-size);
75
+ font-weight: var(--pui-font-weight-400);
76
+ line-height: var(--pui-type-title-small-line-height);
77
+ letter-spacing: var(--pui-type-title-small-letter-spacing);
78
+ }
@@ -15,6 +15,10 @@
15
15
  * <li class="pui-icon-list__row pui-icon-list__row--success">…</li></ul>
16
16
  *
17
17
  * Size (none) medium · --small (on the list)
18
+ * Canvas (none) the deck's rows, which touch · --web — a list on a web page (request 39; Fedor's values of
19
+ * 2026-09-03): the rows stand space/12 apart; under 768 a success or danger row centres its glyph on its
20
+ * (often two-line) text. The title stands space/12 over its text in both
21
+ * Emphasis a phrase in <strong> or <b> inside a row's text is Bold 700 — a phrase, never the row (R11)
18
22
  * Tone (none) accent · __row--success · __row--danger · __row--neutral
19
23
  * Sequence data-accent="multicolor" on the list colours the glyphs by row, sequence/1…6 (request 5)
20
24
  */
@@ -57,7 +61,7 @@
57
61
  .pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--success > .pui-icon-list__icon { color: var(--pui-status-success-solid); }
58
62
  .pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--danger > .pui-icon-list__icon { color: var(--pui-status-danger-solid); }
59
63
  .pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--neutral > .pui-icon-list__icon { color: var(--pui-text-subtle); } /* request 12, Fedor 2026-09-25: the grey IS the point of the row — MAFO's Problem beside Our solution; was text/default */
60
- .pui-icon-list__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
64
+ .pui-icon-list__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-12); } /* the set's own gap (Figma 149:14 Body, space/12) and the site's since 2026-09-03 — it was space/4 until 2.3.0 (request 39) */
61
65
  .pui-icon-list__title {
62
66
  margin: 0;
63
67
  font-size: var(--pui-type-body-large-font-size);
@@ -70,9 +74,19 @@
70
74
  font-weight: var(--pui-font-weight-400);
71
75
  line-height: var(--pui-font-line-height-normal);
72
76
  }
77
+ .pui-icon-list__text :is(b, strong) { font-weight: var(--pui-font-weight-700); }
73
78
  .pui-icon-list--small .pui-icon-list__icon { margin-top: 0; }
74
79
  .pui-icon-list--small .pui-icon-list__title {
75
80
  font-size: var(--pui-type-body-medium-font-size);
76
81
  font-weight: var(--pui-font-weight-400);
77
82
  }
78
83
  .pui-icon-list--small .pui-icon-list__text { display: none; }
84
+
85
+ /* ON A WEB PAGE (request 39). The deck's rows touch — the padding is the rhythm; on a page the rows stand apart,
86
+ Fedor's value on the site since 2026-09-03. */
87
+ .pui-icon-list--web { gap: var(--pui-space-12); }
88
+ @media (max-width: 767px) {
89
+ .pui-icon-list--web > .pui-icon-list__row--success,
90
+ .pui-icon-list--web > .pui-icon-list__row--danger { align-items: center; }
91
+ .pui-icon-list--web > :is(.pui-icon-list__row--success, .pui-icon-list__row--danger) > .pui-icon-list__icon { margin-top: 0; }
92
+ }
@@ -20,6 +20,9 @@
20
20
  * State :hover · :focus-within · error = --error or :has([aria-invalid="true"]) (+ the error ring when focused,
21
21
  * 3.5.2) · disabled = --disabled or
22
22
  * :has(:disabled)
23
+ * Ground (none) light · --on-dark — the same box on surface/inverse (the footer's email field, request 33): the wash
24
+ * color/alpha/white-8, the line nav/item/bg-active, the ink nav/item/fg-active, the placeholder nav/section/fg,
25
+ * and the Button in it turned over — text/on-inverse under text/default, with the inset ring
23
26
  * Parts __icon (16, text/muted) · __prefix / __suffix (the caption ink, the text's size) · __control · __button
24
27
  * Rule one box, one border — never two bordered controls pretending to be one; the nested button takes
25
28
  * radius 4 and the 4 px inset, never the text padding.
@@ -90,3 +93,18 @@
90
93
  padding-inline-start: calc(var(--pui-space-16) - 1px);
91
94
  font-size: var(--pui-font-size-16);
92
95
  }
96
+
97
+ /* ON A DARK GROUND (request 33; Fedor, 2026-09-28: 'this must be the same component … the only difference must be the
98
+ colour'). The footer's email field is this box, not a drawing of its own: the four colours the Footer gave its field,
99
+ and the Button turned over. Hover, focus and error are the box's own and read on surface/inverse. */
100
+ .pui-input-group--on-dark {
101
+ border-color: var(--pui-nav-item-bg-active);
102
+ background: var(--pui-color-alpha-white-8);
103
+ box-shadow: none;
104
+ color: var(--pui-nav-item-fg-active);
105
+ }
106
+ .pui-input-group--on-dark .pui-input-group__control::placeholder,
107
+ .pui-input-group--on-dark :is(.pui-input-group__prefix, .pui-input-group__suffix, .pui-input-group__icon) { color: var(--pui-nav-section-fg); }
108
+ .pui-input-group--on-dark .pui-input-group__button.pui-button { background: var(--pui-text-on-inverse); color: var(--pui-text-default); }
109
+ .pui-input-group--on-dark .pui-input-group__button.pui-button:is(:hover, :active) { background: var(--pui-action-secondary-bg-hover); }
110
+ .pui-input-group--on-dark .pui-input-group__button.pui-button:focus-visible { box-shadow: var(--pui-ring-inset); }
@@ -12,6 +12,8 @@
12
12
  * <div class="pui-insight-block pui-insight-block--bar"> …the same two texts… </div>
13
13
  *
14
14
  * Style (none) plain · --bar
15
+ * Canvas (none) the slide's sizes · --web with --bar — a block that opens a section of a web page under its heading
16
+ * pair: Statement title/small at Semibold, Subtext body/medium on the relaxed line (request 38)
15
17
  * Accent the Accent mode on the instance (data-accent); one insight, one accent
16
18
  */
17
19
 
@@ -61,3 +63,16 @@
61
63
  color: var(--pui-text-default);
62
64
  font-size: var(--pui-type-body-large-font-size);
63
65
  }
66
+
67
+ /* ON A WEB PAGE (request 38): the bar's 40 over 22 are a slide's. Under a section's heading pair the statement is
68
+ title/small at Semibold and the text body/medium on the relaxed line — the site's product pages, Fedor's drawing.
69
+ The width is the page's (636–740 there); the three-quarter cap still holds. */
70
+ .pui-insight-block--web.pui-insight-block--bar .pui-insight-block__statement {
71
+ font-size: var(--pui-type-title-small-font-size);
72
+ font-weight: var(--pui-font-weight-600);
73
+ line-height: var(--pui-type-title-small-line-height);
74
+ }
75
+ .pui-insight-block--web.pui-insight-block--bar .pui-insight-block__subtext {
76
+ font-size: var(--pui-type-body-medium-font-size);
77
+ line-height: var(--pui-font-line-height-relaxed);
78
+ }
@@ -20,6 +20,9 @@
20
20
  * a category instead of a delta — the same corner, no ring:
21
21
  * <span class="pui-badge pui-badge--blue pui-badge--small pui-kpi-tile__tag"><span class="pui-icon pui-badge__icon">…</span>Fintech</span>
22
22
  *
23
+ * Narrow under 200 px of its OWN width (four across on a tablet, two on a phone — the site's 167) the tile stacks the
24
+ * value over its tag at space/4, steps the value to title/medium and sits 12 / 20 inside (request 42). The
25
+ * tile is a size container for it: it takes its width from its row and never from its content
23
26
  * Tone (none) neutral · --blue · --red · --yellow. The neutral tone FOLLOWS THE GROUND (ground.css, D107): it is
24
27
  * surface/sunken — neutral/100 on a white page, neutral/200 on the product ground; the three tints do not move
25
28
  * Parts __tag — a category in the top corner instead of a delta; never rung, whatever its tone (D92)
@@ -28,6 +31,7 @@
28
31
  */
29
32
 
30
33
  .pui-kpi-tile {
34
+ container: pui-kpi-tile / inline-size; /* request 42 — the narrow form reads the tile's own width */
31
35
  display: flex;
32
36
  flex-direction: column;
33
37
  justify-content: space-between; /* D59: the top block and the bottom block, the room between them */
@@ -77,12 +81,15 @@
77
81
  min-width: 0;
78
82
  }
79
83
  .pui-kpi-tile__value {
84
+ margin: 0; /* request 37 — written as a <p> on the site; the page's paragraph margin stays out */
85
+ white-space: nowrap; /* a number never breaks */
80
86
  font-size: var(--pui-type-title-large-font-size);
81
87
  font-weight: var(--pui-type-title-large-font-weight);
82
88
  line-height: var(--pui-type-title-large-line-height);
83
89
  letter-spacing: var(--pui-type-title-large-letter-spacing);
84
90
  }
85
91
  .pui-kpi-tile__label {
92
+ margin: 0; /* request 37 */
86
93
  font-size: var(--pui-type-body-small-font-size);
87
94
  font-weight: var(--pui-font-weight-400);
88
95
  line-height: var(--pui-font-line-height-normal);
@@ -102,3 +109,17 @@
102
109
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
103
110
  gap: var(--pui-layout-section-gap);
104
111
  }
112
+
113
+ /* THE NARROW FORM (request 42) — Fedor's tablet and phone tiles on the site, stated once for every page: below 200 px
114
+ of the tile's own width the top row stacks (the value over its tag, space/4), the value is title/medium, and the
115
+ tile sits 12 above and below instead of 20. A container cannot restyle itself, so the 8 that comes off the top and
116
+ the bottom is taken by the two blocks (space/12 − space/20). */
117
+ @container pui-kpi-tile (max-width: 199px) {
118
+ .pui-kpi-tile > .pui-kpi-tile__top { flex-direction: column; align-items: flex-start; gap: var(--pui-space-4); margin-top: calc(var(--pui-space-12) - var(--pui-space-20)); }
119
+ .pui-kpi-tile > .pui-kpi-tile__bottom { margin-bottom: calc(var(--pui-space-12) - var(--pui-space-20)); }
120
+ .pui-kpi-tile > .pui-kpi-tile__top > .pui-kpi-tile__value {
121
+ font-size: var(--pui-type-title-medium-font-size);
122
+ line-height: var(--pui-type-title-medium-line-height);
123
+ letter-spacing: var(--pui-type-title-medium-letter-spacing);
124
+ }
125
+ }
@@ -0,0 +1,41 @@
1
+ /* socials.css — Socials (10_COMPONENTS.md § Content blocks).
2
+ *
3
+ * The row of social marks — ONE component for every place: the footer of every page, the share row of a blog article
4
+ * (Fedor, 2026-09-28: 'structurally, because of classes, it looks like they are different components, but actually this
5
+ * is the one single component. The difference is only colour'). Three marks — LinkedIn, Facebook, YouTube — each a
6
+ * round 29 box (the Footer's drawing, Figma 265:30; between size/icon/24 and /32 — stated), space/12 apart. A mark is a
7
+ * glyph of the sprite painted by currentColor (R25): a disc in the ink with the company's sign cut out of it, so the
8
+ * ground shows through — text/default on a light ground, text/on-inverse on a dark one. The marks are
9
+ * icons.svg#social-linkedin · #social-facebook · #social-youtube. A link opens the company's profile (or shares the
10
+ * page) in a new tab and says where in its aria-label. Request 40 from the corporate site, 2026-09-28.
11
+ * Figma: Socials. Contract: registry/socials/registry.json.
12
+ *
13
+ * <div class="pui-socials">
14
+ * <a class="pui-socials__link" href="…" target="_blank" rel="noopener" aria-label="LinkedIn">
15
+ * <span class="pui-icon" aria-hidden="true"><svg><use href="icons.svg#social-linkedin"/></svg></span></a> …</div>
16
+ * <div class="pui-socials pui-socials--on-dark"> …the same links… </div>
17
+ *
18
+ * Ground (none) light · --on-dark
19
+ */
20
+
21
+ .pui-socials {
22
+ display: flex;
23
+ align-items: center;
24
+ gap: var(--pui-space-12);
25
+ margin: 0;
26
+ padding: 0;
27
+ list-style: none;
28
+ color: var(--pui-text-default);
29
+ }
30
+ .pui-socials--on-dark { color: var(--pui-text-on-inverse); }
31
+ .pui-socials__link {
32
+ display: flex;
33
+ flex: none;
34
+ border-radius: var(--pui-radius-full);
35
+ color: inherit;
36
+ text-decoration: none;
37
+ transition: opacity var(--pui-motion-state) var(--pui-motion-easing);
38
+ }
39
+ .pui-socials__link:is(:link, :visited) { color: inherit; }
40
+ .pui-socials__link:focus-visible { outline: none; box-shadow: var(--pui-ring); }
41
+ .pui-socials__link > .pui-icon { width: 29px; height: 29px; } /* the mark's box — the Footer's drawing (stated) */
package/src/index.css CHANGED
@@ -21,6 +21,7 @@
21
21
  @import "./components/field.css";
22
22
  @import "./components/label.css";
23
23
  @import "./components/input-group.css";
24
+ @import "./components/form.css";
24
25
  @import "./components/select.css";
25
26
  @import "./components/native-select.css";
26
27
  @import "./components/combobox.css";
@@ -72,6 +73,7 @@
72
73
  @import "./components/avatar.css";
73
74
  @import "./components/table.css";
74
75
  @import "./components/device-frame.css";
76
+ @import "./components/socials.css";
75
77
 
76
78
  /* Shells and patterns */
77
79
  @import "./components/sidebar.css";
@@ -1,5 +1,5 @@
1
1
  /* type-roles.css — the Typography roles as classes (request 24, 2026-09-25). GENERATED by build/css.js from
2
- * @pepperui/tokens 1.4.0 — do not edit: every role the token source authors, one class each. A class sets the
2
+ * @pepperui/tokens 1.4.1 — do not edit: every role the token source authors, one class each. A class sets the
3
3
  * role's five properties from its custom properties, so it follows the canvas: the web-tablet and web-mobile media blocks
4
4
  * and [data-canvas="slide"] re-resolve the variables and the class moves with them. For a page's own statement, a
5
5
  * section lead, a figure — where no component owns the text and a size would otherwise be typed (R13).