@cityofportland/components-react 1.0.0-alpha.5 → 1.0.0-alpha.7
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/dist/alert/alert.lib.css +2 -0
- package/dist/alert/{alert.d.ts → alert.lib.d.ts} +29 -15
- package/dist/alert/alert.lib.es.js +64 -0
- package/dist/box/{box.css → box.lib.css} +1 -0
- package/dist/box/{box.d.ts → box.lib.d.ts} +17 -17
- package/dist/box/box.lib.es.js +4 -0
- package/dist/box-B8x1KDnE.js +45 -0
- package/dist/button/button.lib.css +2 -0
- package/dist/button/{button.d.ts → button.lib.d.ts} +15 -46
- package/dist/button/button.lib.es.js +4 -0
- package/dist/button-rc1SIqSI.js +16 -0
- package/dist/card/card.lib.css +2 -0
- package/dist/card/card.lib.d.ts +134 -0
- package/dist/card/card.lib.es.js +44 -0
- package/dist/city-seal/{city-seal.css → city-seal.lib.css} +1 -0
- package/dist/city-seal/city-seal.lib.es.js +4 -0
- package/dist/city-seal-7i9vWvJO.js +11 -0
- package/dist/collection/collection.lib.css +2 -0
- package/dist/collection/collection.lib.d.ts +81 -0
- package/dist/collection/collection.lib.es.js +25 -0
- package/dist/footer/footer.lib.css +2 -0
- package/dist/footer/{footer.d.ts → footer.lib.d.ts} +3 -3
- package/dist/footer/footer.lib.es.js +2615 -0
- package/dist/header/header.lib.css +2 -0
- package/dist/header/{header.d.ts → header.lib.d.ts} +23 -23
- package/dist/header/header.lib.es.js +44 -0
- package/dist/icon/icon.lib.css +2 -0
- package/dist/icon/icon.lib.es.js +4 -0
- package/dist/icon-Du3bCwWr.js +21 -0
- package/dist/input/input.lib.css +2 -0
- package/dist/input/input.lib.d.ts +142 -0
- package/dist/input/input.lib.es.js +46 -0
- package/dist/tag/tag.lib.css +2 -0
- package/dist/tag/tag.lib.es.js +17 -0
- package/dist/utilities/utilities.lib.css +2 -0
- package/dist/utils-D8EDUGI1.js +7 -0
- package/package.json +40 -38
- package/dist/alert/alert.css +0 -1
- package/dist/alert/alert.es.js +0 -88
- package/dist/box/box.es.js +0 -56
- package/dist/button/button.css +0 -1
- package/dist/button/button.es.js +0 -40
- package/dist/card/card.css +0 -1
- package/dist/card/card.d.ts +0 -66
- package/dist/card/card.es.js +0 -75
- package/dist/city-seal/city-seal.es.js +0 -17
- package/dist/footer/footer.css +0 -1
- package/dist/footer/footer.es.js +0 -10987
- package/dist/header/header.css +0 -1
- package/dist/header/header.es.js +0 -44
- package/dist/icon/icon.css +0 -1
- package/dist/icon/icon.es.js +0 -31
- package/dist/index-IqW719eK.js +0 -1484
- package/dist/tag/tag.css +0 -1
- package/dist/tag/tag.es.js +0 -17
- package/dist/utilities/utilities.css +0 -1
- package/dist/utils-DpTd6iI4.js +0 -7
- /package/dist/city-seal/{city-seal.d.ts → city-seal.lib.d.ts} +0 -0
- /package/dist/icon/{icon.d.ts → icon.lib.d.ts} +0 -0
- /package/dist/tag/{tag.d.ts → tag.lib.d.ts} +0 -0
package/dist/header/header.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-font-weight:initial}::backdrop{--tw-font-weight:initial}}}@layer components{.header{width:100%;padding-block:var(--spacing-md,1rem);padding-inline:var(--spacing-xl,1.5rem);justify-content:space-between;align-items:center;gap:var(--spacing-sm,.75rem);flex-wrap:wrap;display:flex}.header__branding{align-items:center;gap:var(--spacing-md,1rem);font-size:var(--text-heading-lg,1.34375rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);flex:none;display:flex}.header__branding .header__logo{flex:none;justify-content:center;align-items:center;display:inline-flex}.header__branding .header__title{gap:var(--spacing-xs,.5rem);flex-direction:column;display:flex}.header__content{align-items:center;gap:var(--spacing-lg,1.25rem);flex-wrap:wrap;display:flex}.header__nav-list{margin:var(--spacing-none,0);padding:var(--spacing-none,0);align-items:center;gap:var(--spacing-lg,1.25rem);flex-direction:row;list-style-type:none;display:flex}.header__nav-item{margin:var(--spacing-none,0)}}@property --tw-font-weight{syntax:"*";inherits:false}
|
package/dist/header/header.es.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { j as s } from "../index-IqW719eK.js";
|
|
2
|
-
import { Box as t } from "../box/box.es.js";
|
|
3
|
-
import { CitySeal as i } from "../city-seal/city-seal.es.js";
|
|
4
|
-
import { m } from "../utils-DpTd6iI4.js";
|
|
5
|
-
const j = ({
|
|
6
|
-
children: e,
|
|
7
|
-
className: a,
|
|
8
|
-
...r
|
|
9
|
-
}) => /* @__PURE__ */ s.jsx(t, { className: m(["header__branding"], a), ...r, children: e }), p = ({
|
|
10
|
-
children: e = /* @__PURE__ */ s.jsx(i, { size: "sm" })
|
|
11
|
-
}) => /* @__PURE__ */ s.jsx("span", { className: "header__logo", children: e }), N = ({
|
|
12
|
-
children: e
|
|
13
|
-
}) => /* @__PURE__ */ s.jsx("div", { className: "header__content", children: e }), _ = ({
|
|
14
|
-
children: e,
|
|
15
|
-
href: a = "#",
|
|
16
|
-
className: r = "",
|
|
17
|
-
...o
|
|
18
|
-
}) => {
|
|
19
|
-
const n = m(["link", r]);
|
|
20
|
-
return /* @__PURE__ */ s.jsx("a", { href: a, className: n, ...o, children: e });
|
|
21
|
-
}, f = ({
|
|
22
|
-
children: e,
|
|
23
|
-
className: a,
|
|
24
|
-
color: r,
|
|
25
|
-
variant: o,
|
|
26
|
-
...n
|
|
27
|
-
}) => /* @__PURE__ */ s.jsx(
|
|
28
|
-
t,
|
|
29
|
-
{
|
|
30
|
-
as: "header",
|
|
31
|
-
color: r,
|
|
32
|
-
variant: o,
|
|
33
|
-
className: ["header", a].filter(Boolean).join(" "),
|
|
34
|
-
...n,
|
|
35
|
-
children: e
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
export {
|
|
39
|
-
f as Header,
|
|
40
|
-
j as HeaderBranding,
|
|
41
|
-
N as HeaderContent,
|
|
42
|
-
p as HeaderLogo,
|
|
43
|
-
_ as HeaderNavLink
|
|
44
|
-
};
|
package/dist/icon/icon.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer components{.icon,.icon svg{fill:currentColor;flex-shrink:0;width:auto;display:block}:is(.icon,.icon svg).icon--xs{height:var(--height-400,1rem)}:is(.icon,.icon svg).icon--xs svg{height:var(--height-400,1rem)}:is(.icon,.icon svg).icon--sm{height:var(--height-600,1.5rem)}:is(.icon,.icon svg).icon--sm svg{height:var(--height-600,1.5rem)}:is(.icon,.icon svg).icon--md{height:var(--height-1000,2.5rem)}:is(.icon,.icon svg).icon--md svg{height:var(--height-1000,2.5rem)}:is(.icon,.icon svg).icon--lg{height:var(--height-1500,3.75rem)}:is(.icon,.icon svg).icon--lg svg{height:var(--height-1500,3.75rem)}}
|
package/dist/icon/icon.es.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../index-IqW719eK.js";
|
|
2
|
-
function c({
|
|
3
|
-
className: i = "",
|
|
4
|
-
size: s
|
|
5
|
-
}) {
|
|
6
|
-
const t = /* @__PURE__ */ new Set(["icon"]);
|
|
7
|
-
return s && t.add(`icon--${s}`), i && i.split(" ").forEach((o) => t.add(o)), Array.from(t).join(" ");
|
|
8
|
-
}
|
|
9
|
-
const d = ({
|
|
10
|
-
className: i,
|
|
11
|
-
icon: s,
|
|
12
|
-
size: t,
|
|
13
|
-
...o
|
|
14
|
-
}) => {
|
|
15
|
-
const n = c({
|
|
16
|
-
className: i,
|
|
17
|
-
size: t
|
|
18
|
-
});
|
|
19
|
-
return /* @__PURE__ */ r.jsx(
|
|
20
|
-
"svg",
|
|
21
|
-
{
|
|
22
|
-
viewBox: `0 0 ${s.width} ${s.height}`,
|
|
23
|
-
className: n,
|
|
24
|
-
...o,
|
|
25
|
-
children: s.paths.map((a) => /* @__PURE__ */ r.jsx("path", { ...a }))
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
d as Icon
|
|
31
|
-
};
|