@pepperui/css 2.2.0 → 2.3.1
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 +1 -1
- package/dist/icons/sliders-vertical.svg +23 -0
- package/dist/icons/social-facebook.svg +3 -0
- package/dist/icons/social-linkedin.svg +3 -0
- package/dist/icons/social-youtube.svg +3 -0
- package/dist/icons.json +7 -1
- package/dist/icons.svg +6 -1
- package/dist/pepper-ui.css +380 -15
- package/package.json +2 -2
- package/src/components/bullet-list.css +2 -0
- package/src/components/card.css +83 -5
- package/src/components/device-frame.css +45 -0
- package/src/components/footer.css +16 -4
- package/src/components/form.css +96 -0
- package/src/components/heading-pair.css +22 -1
- package/src/components/icon-list.css +15 -1
- package/src/components/input-group.css +18 -0
- package/src/components/insight-block.css +15 -0
- package/src/components/kpi-tile.css +21 -0
- package/src/components/socials.css +41 -0
- package/src/index.css +2 -0
- package/src/type-roles.css +1 -1
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ an icon is named, and the component around it paints it (R25).
|
|
|
81
81
|
|
|
82
82
|
| File | What it is | Reach it as |
|
|
83
83
|
|---|---|---|
|
|
84
|
-
| `dist/icons.svg` | the sprite — `<symbol id="<name>" viewBox="0 0 24 24">` for every glyph, bare geometry; `.pui-icon > svg` states Lucide's attributes, so a `<use>` draws what an inline glyph draws | `@pepperui/css/icons.svg` |
|
|
84
|
+
| `dist/icons.svg` | the sprite — `<symbol id="<name>" viewBox="0 0 24 24">` for every glyph, bare geometry; `.pui-icon > svg` states Lucide's attributes, so a `<use>` draws what an inline glyph draws. After the glyphs, the three social marks — `social-linkedin`, `social-facebook`, `social-youtube` — each painting itself in `currentColor` (the Socials component; `icons.json` lists them under `marks`) | `@pepperui/css/icons.svg` |
|
|
85
85
|
| `dist/icons/<name>.svg` | the standalone file, Lucide's own — `stroke="currentColor"`, 24 × 24 — for an `<img>`, a mask or a tool that inlines | `@pepperui/css/icons/route-off.svg` |
|
|
86
86
|
| `dist/icons.json` | `{ lucide, count, sizes, names[] }` — the list a swap tool maps old files and inline glyphs onto | `@pepperui/css/icons.json` |
|
|
87
87
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- @license lucide-static v1.47.0 - ISC -->
|
|
2
|
+
<svg
|
|
3
|
+
class="lucide lucide-sliders-vertical"
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="24"
|
|
6
|
+
height="24"
|
|
7
|
+
viewBox="0 0 24 24"
|
|
8
|
+
fill="none"
|
|
9
|
+
stroke="currentColor"
|
|
10
|
+
stroke-width="2"
|
|
11
|
+
stroke-linecap="round"
|
|
12
|
+
stroke-linejoin="round"
|
|
13
|
+
>
|
|
14
|
+
<path d="M10 8h4" />
|
|
15
|
+
<path d="M12 21v-9" />
|
|
16
|
+
<path d="M12 8V3" />
|
|
17
|
+
<path d="M17 16h4" />
|
|
18
|
+
<path d="M19 12V3" />
|
|
19
|
+
<path d="M19 21v-5" />
|
|
20
|
+
<path d="M3 14h4" />
|
|
21
|
+
<path d="M5 10V3" />
|
|
22
|
+
<path d="M5 21v-7" />
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.5127 0.5459 45.8876 45.8876" width="29" height="29">
|
|
2
|
+
<path fill="currentColor" stroke="none" fill-rule="evenodd" d="M46.4003 23.4897C46.4003 10.8183 36.1279 0.545898 23.4565 0.545898C10.7851 0.545898 0.512695 10.8183 0.512695 23.4897C0.512695 34.9437 8.91517 44.4098 19.8869 46.1283V30.1755H14.6034V24.1624H19.8869V19.5801C19.8869 14.3636 22.9921 11.4869 27.741 11.4869C30.0166 11.4869 32.4004 11.8925 32.4004 11.8925V17.0072H29.7711C27.1917 17.0072 26.385 18.6128 26.385 20.2583V24.1583H32.1485L31.2271 30.1714H26.385V46.2261C37.6702 44.7847 46.4003 35.1667 46.4003 23.4897Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0.5459 45.8876 45.8876" width="29" height="29">
|
|
2
|
+
<path fill="currentColor" stroke="none" fill-rule="evenodd" d="M22.9438 46.4335C35.6153 46.4335 45.8876 36.1612 45.8876 23.4897C45.8876 10.8182 35.6153 0.545898 22.9438 0.545898C10.2723 0.545898 0 10.8182 0 23.4897C0 36.1612 10.2723 46.4335 22.9438 46.4335Z M24.5393 20.7717C24.7822 20.499 24.9822 20.2218 25.2316 19.987C25.9982 19.2644 26.9051 18.8998 27.9641 18.9089C28.5458 18.9139 29.1215 18.9558 29.6825 19.1179C30.9657 19.4891 31.7115 20.3723 32.067 21.6262C32.3337 22.5664 32.3832 23.5314 32.3847 24.5C32.3882 26.5426 32.3786 28.5848 32.3832 30.6274C32.3837 30.8188 32.3301 30.8688 32.1418 30.8673C31.0894 30.8587 30.0375 30.8582 28.9851 30.8678C28.7998 30.8693 28.7599 30.8123 28.7604 30.637C28.7665 28.6939 28.768 26.7502 28.7614 24.8065C28.7599 24.3197 28.7286 23.8329 28.5923 23.3592C28.3408 22.4871 27.7161 22.0428 26.8021 22.0907C25.5543 22.1564 24.9054 22.7745 24.7463 24.0435C24.7085 24.3465 24.6903 24.6495 24.6908 24.955C24.6923 26.8451 24.6888 28.7353 24.6958 30.6254C24.6963 30.8138 24.6494 30.8693 24.457 30.8678C23.397 30.8582 22.3371 30.8597 21.2776 30.8673C21.1074 30.8683 21.0585 30.8229 21.059 30.6507C21.0635 26.9088 21.064 23.1663 21.059 19.4244C21.0585 19.2391 21.1196 19.1962 21.2943 19.1977C22.3007 19.2053 23.3071 19.2063 24.3136 19.1972C24.4989 19.1957 24.5469 19.2553 24.5428 19.431C24.5322 19.8769 24.5393 20.3243 24.5393 20.7717Z M18.7737 25.0486C18.7737 26.8998 18.7707 28.7511 18.7783 30.6024C18.7793 30.8079 18.7278 30.8705 18.5152 30.868C17.4633 30.8564 16.4114 30.8589 15.3595 30.8665C15.1909 30.8675 15.1404 30.8256 15.1404 30.6513C15.1454 26.9034 15.1449 23.1549 15.1414 19.4064C15.1414 19.2514 15.1788 19.1959 15.3434 19.1969C16.4104 19.2039 17.4774 19.206 18.5445 19.1953C18.7495 19.1933 18.7773 19.2731 18.7767 19.4483C18.7717 21.3153 18.7737 23.1817 18.7737 25.0486Z M19.0637 15.4832C19.0647 16.6456 18.1214 17.5925 16.962 17.593C15.8172 17.5935 14.8658 16.6456 14.8623 15.5014C14.8582 14.3445 15.8091 13.3921 16.9665 13.3931C18.1158 13.3941 19.0627 14.3379 19.0637 15.4832Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.0254 0.5459 45.8876 45.8876" width="29" height="29">
|
|
2
|
+
<path fill="currentColor" stroke="none" fill-rule="evenodd" d="M22.9692 46.4335C35.6407 46.4335 45.913 36.1612 45.913 23.4897C45.913 10.8182 35.6407 0.545898 22.9692 0.545898C10.2977 0.545898 0.0253906 10.8182 0.0253906 23.4897C0.0253906 36.1612 10.2977 46.4335 22.9692 46.4335Z M32.4142 18.7451C32.1875 17.8967 31.5194 17.2291 30.6715 17.0024C29.1344 16.5903 22.9696 16.5903 22.9696 16.5903C22.9696 16.5903 16.8048 16.5903 15.2676 17.0024C14.4192 17.2291 13.7517 17.8972 13.5249 18.7451C13.1129 20.2822 13.1129 23.4899 13.1129 23.4899C13.1129 23.4899 13.1129 26.6975 13.5249 28.2347C13.7517 29.083 14.4197 29.7506 15.2676 29.9774C16.8048 30.3894 22.9696 30.3894 22.9696 30.3894C22.9696 30.3894 29.1344 30.3894 30.6715 29.9774C31.5199 29.7506 32.1875 29.0825 32.4142 28.2347C32.8263 26.6975 32.8263 23.4899 32.8263 23.4899C32.8263 23.4899 32.8258 20.2822 32.4142 18.7451ZM20.9976 26.447V20.5327L26.1191 23.4899L20.9976 26.447Z"/>
|
|
3
|
+
</svg>
|
package/dist/icons.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"lucide": "1.47.0",
|
|
3
|
-
"count":
|
|
3
|
+
"count": 276,
|
|
4
4
|
"sizes": [
|
|
5
5
|
16,
|
|
6
6
|
24,
|
|
@@ -230,6 +230,7 @@
|
|
|
230
230
|
"shopping-cart",
|
|
231
231
|
"shuffle",
|
|
232
232
|
"sliders-horizontal",
|
|
233
|
+
"sliders-vertical",
|
|
233
234
|
"smartphone",
|
|
234
235
|
"sparkles",
|
|
235
236
|
"speaker",
|
|
@@ -283,5 +284,10 @@
|
|
|
283
284
|
"workflow",
|
|
284
285
|
"x",
|
|
285
286
|
"zap"
|
|
287
|
+
],
|
|
288
|
+
"marks": [
|
|
289
|
+
"social-facebook",
|
|
290
|
+
"social-linkedin",
|
|
291
|
+
"social-youtube"
|
|
286
292
|
]
|
|
287
293
|
}
|
package/dist/icons.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
2
|
-
<!-- @pepperui/css — the design system's icon library:
|
|
2
|
+
<!-- @pepperui/css — the design system's icon library: 276 Lucide 1.47.0 glyphs (ISC, lucide.dev), the Figma Icon/* set glyph for glyph.
|
|
3
3
|
GENERATED by build/icons.js from artifacts/figma/icons.json; do not edit. Draw one as
|
|
4
4
|
span.pui-icon > svg > use href="icons.svg#route-off"; the ink is the component's. -->
|
|
5
5
|
<symbol id="activity" viewBox="0 0 24 24"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2" /></symbol>
|
|
@@ -224,6 +224,7 @@
|
|
|
224
224
|
<symbol id="shopping-cart" viewBox="0 0 24 24"><path d="m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18" /><path d="M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25" /><circle cx="18" cy="20" r="2" /><circle cx="8" cy="20" r="2" /></symbol>
|
|
225
225
|
<symbol id="shuffle" viewBox="0 0 24 24"><path d="m18 14 4 4-4 4" /><path d="m18 2 4 4-4 4" /><path d="M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22" /><path d="M2 6h1.972a4 4 0 0 1 3.6 2.2" /><path d="M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45" /></symbol>
|
|
226
226
|
<symbol id="sliders-horizontal" viewBox="0 0 24 24"><path d="M10 5H3" /><path d="M12 19H3" /><path d="M14 3v4" /><path d="M16 17v4" /><path d="M21 12h-9" /><path d="M21 19h-5" /><path d="M21 5h-7" /><path d="M8 10v4" /><path d="M8 12H3" /></symbol>
|
|
227
|
+
<symbol id="sliders-vertical" viewBox="0 0 24 24"><path d="M10 8h4" /><path d="M12 21v-9" /><path d="M12 8V3" /><path d="M17 16h4" /><path d="M19 12V3" /><path d="M19 21v-5" /><path d="M3 14h4" /><path d="M5 10V3" /><path d="M5 21v-7" /></symbol>
|
|
227
228
|
<symbol id="smartphone" viewBox="0 0 24 24"><rect width="14" height="20" x="5" y="2" rx="2" ry="2" /><path d="M12 18h.01" /></symbol>
|
|
228
229
|
<symbol id="sparkles" viewBox="0 0 24 24"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" /><path d="M20 2v4" /><path d="M22 4h-4" /><circle cx="4" cy="20" r="2" /></symbol>
|
|
229
230
|
<symbol id="speaker" viewBox="0 0 24 24"><rect width="16" height="20" x="4" y="2" rx="2" /><path d="M12 6h.01" /><circle cx="12" cy="14" r="4" /><path d="M12 14h.01" /></symbol>
|
|
@@ -277,4 +278,8 @@
|
|
|
277
278
|
<symbol id="workflow" viewBox="0 0 24 24"><rect width="8" height="8" x="3" y="3" rx="2" /><path d="M7 11v4a2 2 0 0 0 2 2h4" /><rect width="8" height="8" x="13" y="13" rx="2" /></symbol>
|
|
278
279
|
<symbol id="x" viewBox="0 0 24 24"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></symbol>
|
|
279
280
|
<symbol id="zap" viewBox="0 0 24 24"><path d="M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z" /></symbol>
|
|
281
|
+
<!-- the marks: other companies' signs (assets/marks), each painting itself in currentColor -->
|
|
282
|
+
<symbol id="social-facebook" viewBox="0.5127 0.5459 45.8876 45.8876"><path fill="currentColor" stroke="none" fill-rule="evenodd" d="M46.4003 23.4897C46.4003 10.8183 36.1279 0.545898 23.4565 0.545898C10.7851 0.545898 0.512695 10.8183 0.512695 23.4897C0.512695 34.9437 8.91517 44.4098 19.8869 46.1283V30.1755H14.6034V24.1624H19.8869V19.5801C19.8869 14.3636 22.9921 11.4869 27.741 11.4869C30.0166 11.4869 32.4004 11.8925 32.4004 11.8925V17.0072H29.7711C27.1917 17.0072 26.385 18.6128 26.385 20.2583V24.1583H32.1485L31.2271 30.1714H26.385V46.2261C37.6702 44.7847 46.4003 35.1667 46.4003 23.4897Z"/></symbol>
|
|
283
|
+
<symbol id="social-linkedin" viewBox="0 0.5459 45.8876 45.8876"><path fill="currentColor" stroke="none" fill-rule="evenodd" d="M22.9438 46.4335C35.6153 46.4335 45.8876 36.1612 45.8876 23.4897C45.8876 10.8182 35.6153 0.545898 22.9438 0.545898C10.2723 0.545898 0 10.8182 0 23.4897C0 36.1612 10.2723 46.4335 22.9438 46.4335Z M24.5393 20.7717C24.7822 20.499 24.9822 20.2218 25.2316 19.987C25.9982 19.2644 26.9051 18.8998 27.9641 18.9089C28.5458 18.9139 29.1215 18.9558 29.6825 19.1179C30.9657 19.4891 31.7115 20.3723 32.067 21.6262C32.3337 22.5664 32.3832 23.5314 32.3847 24.5C32.3882 26.5426 32.3786 28.5848 32.3832 30.6274C32.3837 30.8188 32.3301 30.8688 32.1418 30.8673C31.0894 30.8587 30.0375 30.8582 28.9851 30.8678C28.7998 30.8693 28.7599 30.8123 28.7604 30.637C28.7665 28.6939 28.768 26.7502 28.7614 24.8065C28.7599 24.3197 28.7286 23.8329 28.5923 23.3592C28.3408 22.4871 27.7161 22.0428 26.8021 22.0907C25.5543 22.1564 24.9054 22.7745 24.7463 24.0435C24.7085 24.3465 24.6903 24.6495 24.6908 24.955C24.6923 26.8451 24.6888 28.7353 24.6958 30.6254C24.6963 30.8138 24.6494 30.8693 24.457 30.8678C23.397 30.8582 22.3371 30.8597 21.2776 30.8673C21.1074 30.8683 21.0585 30.8229 21.059 30.6507C21.0635 26.9088 21.064 23.1663 21.059 19.4244C21.0585 19.2391 21.1196 19.1962 21.2943 19.1977C22.3007 19.2053 23.3071 19.2063 24.3136 19.1972C24.4989 19.1957 24.5469 19.2553 24.5428 19.431C24.5322 19.8769 24.5393 20.3243 24.5393 20.7717Z M18.7737 25.0486C18.7737 26.8998 18.7707 28.7511 18.7783 30.6024C18.7793 30.8079 18.7278 30.8705 18.5152 30.868C17.4633 30.8564 16.4114 30.8589 15.3595 30.8665C15.1909 30.8675 15.1404 30.8256 15.1404 30.6513C15.1454 26.9034 15.1449 23.1549 15.1414 19.4064C15.1414 19.2514 15.1788 19.1959 15.3434 19.1969C16.4104 19.2039 17.4774 19.206 18.5445 19.1953C18.7495 19.1933 18.7773 19.2731 18.7767 19.4483C18.7717 21.3153 18.7737 23.1817 18.7737 25.0486Z M19.0637 15.4832C19.0647 16.6456 18.1214 17.5925 16.962 17.593C15.8172 17.5935 14.8658 16.6456 14.8623 15.5014C14.8582 14.3445 15.8091 13.3921 16.9665 13.3931C18.1158 13.3941 19.0627 14.3379 19.0637 15.4832Z"/></symbol>
|
|
284
|
+
<symbol id="social-youtube" viewBox="0.0254 0.5459 45.8876 45.8876"><path fill="currentColor" stroke="none" fill-rule="evenodd" d="M22.9692 46.4335C35.6407 46.4335 45.913 36.1612 45.913 23.4897C45.913 10.8182 35.6407 0.545898 22.9692 0.545898C10.2977 0.545898 0.0253906 10.8182 0.0253906 23.4897C0.0253906 36.1612 10.2977 46.4335 22.9692 46.4335Z M32.4142 18.7451C32.1875 17.8967 31.5194 17.2291 30.6715 17.0024C29.1344 16.5903 22.9696 16.5903 22.9696 16.5903C22.9696 16.5903 16.8048 16.5903 15.2676 17.0024C14.4192 17.2291 13.7517 17.8972 13.5249 18.7451C13.1129 20.2822 13.1129 23.4899 13.1129 23.4899C13.1129 23.4899 13.1129 26.6975 13.5249 28.2347C13.7517 29.083 14.4197 29.7506 15.2676 29.9774C16.8048 30.3894 22.9696 30.3894 22.9696 30.3894C22.9696 30.3894 29.1344 30.3894 30.6715 29.9774C31.5199 29.7506 32.1875 29.0825 32.4142 28.2347C32.8263 26.6975 32.8263 23.4899 32.8263 23.4899C32.8263 23.4899 32.8258 20.2822 32.4142 18.7451ZM20.9976 26.447V20.5327L26.1191 23.4899L20.9976 26.447Z"/></symbol>
|
|
280
285
|
</svg>
|