@cityofportland/components-react 1.0.0-alpha.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/README.md +278 -0
- package/dist/box.css +1 -0
- package/dist/box.es.js +57 -0
- package/dist/button.css +1 -0
- package/dist/button.es.js +35 -0
- package/dist/city-seal.css +1 -0
- package/dist/city-seal.es.js +22 -0
- package/dist/footer.css +1 -0
- package/dist/footer.es.js +10987 -0
- package/dist/index-CdrO5QDC.js +1484 -0
- package/dist/tag.css +1 -0
- package/dist/tag.es.js +16 -0
- package/package.json +71 -0
package/dist/tag.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{.tag{border-radius:var(--radius-full,62.5rem);padding-inline:var(--spacing-xs,.5rem);padding-block:var(--spacing-3xs,.125rem);width:-moz-fit-content;width:fit-content;display:inline-block}.tag.tag--info{border-color:var(--border-color-info-subtle,#99deea);background-color:var(--background-color-info-subtle,#e7f6f8);color:var(--text-color-standard-default-strong,#070708)}.tag.tag--success{border-color:var(--border-color-success-subtle,#b8d293);background-color:var(--background-color-success-subtle,#eaf4dd);color:var(--text-color-standard-default-strong,#070708)}.tag.tag--warning{border-color:var(--border-color-warning-moderate,#ffbe2e);background-color:var(--background-color-warning-subtle,#fef0c8);color:var(--text-color-standard-default-strong,#070708)}.tag.tag--danger{border-color:var(--border-color-danger-subtle,#fd8ba0);background-color:var(--background-color-danger-subtle,#f3e1e4);color:var(--text-color-standard-default-strong,#070708)}}@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-leading:initial;--tw-tracking:initial;--tw-font-weight:initial;--tw-duration:initial;--tw-outline-style:solid;--tw-border-style:solid}::backdrop{--tw-leading:initial;--tw-tracking:initial;--tw-font-weight:initial;--tw-duration:initial;--tw-outline-style:solid;--tw-border-style:solid}}}@layer base{.rich-text{font-size:var(--text-body-md,.976875rem);--tw-leading:var(--leading-body-md,1.5rem);line-height:var(--leading-body-md,1.5rem);--tw-tracking:0%;letter-spacing:0%}.rich-text p+p{margin-top:var(--spacing-sm,.75rem)}.rich-text :where(h1):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-bottom:var(--spacing-md,1rem);font-size:var(--text-heading-2xl,1.95625rem);--tw-leading:var(--leading-heading-2xl,2rem);line-height:var(--leading-heading-2xl,2rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.rich-text :where(h2):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-top:var(--spacing-xl,1.5rem);margin-bottom:var(--spacing-md,1rem);font-size:var(--text-heading-xl,1.46875rem);--tw-leading:var(--leading-heading-xl,2rem);line-height:var(--leading-heading-xl,2rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.rich-text :where(h3):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-top:var(--spacing-xl,1.5rem);margin-bottom:var(--spacing-md,1rem);font-size:var(--text-heading-lg,1.34375rem);--tw-leading:var(--leading-heading-lg,1.75rem);line-height:var(--leading-heading-lg,1.75rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.rich-text :where(h4):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-top:var(--spacing-xl,1.5rem);margin-bottom:var(--spacing-md,1rem);font-size:var(--text-heading-md,.976875rem);--tw-leading:var(--leading-heading-md,1.5rem);line-height:var(--leading-heading-md,1.5rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.rich-text :where(h5):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-top:var(--spacing-xl,1.5rem);margin-bottom:var(--spacing-md,1rem);font-size:var(--text-heading-sm,.91875rem);--tw-leading:var(--leading-heading-sm,1.25rem);line-height:var(--leading-heading-sm,1.25rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.rich-text :where(h6):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-top:var(--spacing-xl,1.5rem);margin-bottom:var(--spacing-md,1rem);font-size:var(--text-heading-xs,.85625rem);--tw-leading:var(--leading-heading-xs,1.25rem);line-height:var(--leading-heading-xs,1.25rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.rich-text :where(h1,h2,h3,h4,h5,h6):not(:where([class~=not-rich-text],[class~=not-rich-text] *)):last-child{margin-bottom:var(--spacing-none,0)}.rich-text :where(p,li):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){max-width:75ex}.rich-text :where(a):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.rich-text :where(a):not(:where([class~=not-rich-text],[class~=not-rich-text] *)):hover{text-underline-offset:15%}}.rich-text :where(a):not(:where([class~=not-rich-text],[class~=not-rich-text] *)):focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.rich-text :where(ol):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-bottom:var(--spacing-md,1rem);padding-left:var(--spacing-2xl,2rem);list-style-type:decimal}.rich-text :where(ol):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) ol{margin-bottom:var(--spacing-none,0);list-style-type:upper-alpha}.rich-text :where(ol):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) ol ol{list-style-type:upper-roman}.rich-text :where(ol):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) ol ol ol{list-style-type:lower-alpha}.rich-text :where(ol):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) ol ol ol ol{list-style-type:lower-roman}.rich-text :where(ol):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) ol ol ol ol ol{list-style-type:decimal}.rich-text :where(ul):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-bottom:var(--spacing-md,1rem);padding-left:var(--spacing-2xl,2rem);list-style-type:disc}.rich-text :where(ul):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) ul{margin-bottom:var(--spacing-none,0);list-style-type:"- "}.rich-text :where(ul):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) ul ul{list-style-type:circle}.rich-text :where(hr):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-block:var(--spacing-sm,.75rem);border-top-style:var(--tw-border-style);border-top-width:var(--border-width-md,.125rem);color:var(--color-content-standard-default-subtle,#a9aeb1)}.rich-text :where(blockquote):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-block:var(--spacing-md,1rem);border-left-style:var(--tw-border-style);border-left-width:var(--border-width-lg,.25rem);border-left-color:var(--border-color-standard-default-moderate,#a9aeb1);padding-inline:var(--spacing-xl,1.5rem);padding-block:var(--spacing-md,1rem);font-size:var(--text-body-lg,1.34375rem);--tw-leading:var(--leading-body-lg,1.75rem);line-height:var(--leading-body-lg,1.75rem);--tw-tracking:0%;letter-spacing:0%}.rich-text :where(blockquote):not(:where([class~=not-rich-text],[class~=not-rich-text] *)) p+p{margin-top:var(--spacing-xs,.5rem)}.rich-text :where(blockquote):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){font-style:italic}.rich-text :where(code):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){border-radius:var(--radius-sm,.125rem);border-color:var(--border-color-secondary-subtle,#a9aeb1);background-color:var(--background-color-secondary-subtle,#f7f9fa);color:var(--text-color-standard-default-strong,#070708);padding:var(--spacing-2xs,.25rem);font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);overflow-wrap:break-word}.rich-text :where(pre):not(:where([class~=not-rich-text],[class~=not-rich-text] *)){margin-block:var(--spacing-md,1rem)}.rich-text :where(pre):not(:where([class~=not-rich-text],[class~=not-rich-text] *))>code{border-radius:var(--radius-sm,.125rem);border-color:var(--border-color-secondary-subtle,#a9aeb1);background-color:var(--background-color-secondary-subtle,#f7f9fa);color:var(--text-color-standard-default-strong,#070708);padding:var(--spacing-2xs,.25rem);font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);overflow-wrap:break-word;padding:var(--spacing-xs,.5rem);overflow-wrap:normal;word-break:normal;display:block;overflow-x:auto}}@layer utilities{.body-lg{font-size:var(--text-body-lg,1.34375rem);--tw-leading:var(--leading-body-lg,1.75rem);line-height:var(--leading-body-lg,1.75rem);--tw-tracking:0%;letter-spacing:0%}.body-lg p+p{margin-top:var(--spacing-xs,.5rem)}.body-md{font-size:var(--text-body-md,.976875rem);--tw-leading:var(--leading-body-md,1.5rem);line-height:var(--leading-body-md,1.5rem);--tw-tracking:0%;letter-spacing:0%}.body-md p+p{margin-top:var(--spacing-sm,.75rem)}.body-sm{font-size:var(--text-body-sm,.85625rem);--tw-leading:var(--leading-body-sm,1.25rem);line-height:var(--leading-body-sm,1.25rem);--tw-tracking:0%;letter-spacing:0%}.body-sm p+p{margin-top:var(--spacing-sm,.75rem)}.body-lg+.body-lg{margin-top:var(--spacing-xs,.5rem)}.body-md+.body-md,.body-sm+.body-sm{margin-top:var(--spacing-sm,.75rem)}.link{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link:hover{text-underline-offset:15%}}.link:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-info{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link-info:hover{text-underline-offset:15%}}.link-info:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-info{cursor:help;text-decoration-style:dotted}.link-lg{font-size:var(--text-body-lg,1.34375rem);--tw-leading:var(--leading-body-lg,1.75rem);line-height:var(--leading-body-lg,1.75rem);--tw-tracking:0%;letter-spacing:0%}.link-lg p+p{margin-top:var(--spacing-xs,.5rem)}.link-lg{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link-lg:hover{text-underline-offset:15%}}.link-lg:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-md{font-size:var(--text-body-md,.976875rem);--tw-leading:var(--leading-body-md,1.5rem);line-height:var(--leading-body-md,1.5rem);--tw-tracking:0%;letter-spacing:0%}.link-md p+p{margin-top:var(--spacing-sm,.75rem)}.link-md{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link-md:hover{text-underline-offset:15%}}.link-md:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-sm{font-size:var(--text-body-sm,.85625rem);--tw-leading:var(--leading-body-sm,1.25rem);line-height:var(--leading-body-sm,1.25rem);--tw-tracking:0%;letter-spacing:0%}.link-sm p+p{margin-top:var(--spacing-sm,.75rem)}.link-sm{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link-sm:hover{text-underline-offset:15%}}.link-sm:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-info-lg{font-size:var(--text-body-lg,1.34375rem);--tw-leading:var(--leading-body-lg,1.75rem);line-height:var(--leading-body-lg,1.75rem);--tw-tracking:0%;letter-spacing:0%}.link-info-lg p+p{margin-top:var(--spacing-xs,.5rem)}.link-info-lg{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link-info-lg:hover{text-underline-offset:15%}}.link-info-lg:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-info-lg{cursor:help;text-decoration-style:dotted}.link-info-md{font-size:var(--text-body-md,.976875rem);--tw-leading:var(--leading-body-md,1.5rem);line-height:var(--leading-body-md,1.5rem);--tw-tracking:0%;letter-spacing:0%}.link-info-md p+p{margin-top:var(--spacing-sm,.75rem)}.link-info-md{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link-info-md:hover{text-underline-offset:15%}}.link-info-md:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-info-md{cursor:help;text-decoration-style:dotted}.link-info-sm{font-size:var(--text-body-sm,.85625rem);--tw-leading:var(--leading-body-sm,1.25rem);line-height:var(--leading-body-sm,1.25rem);--tw-tracking:0%;letter-spacing:0%}.link-info-sm p+p{margin-top:var(--spacing-sm,.75rem)}.link-info-sm{cursor:pointer;text-underline-offset:30%;transition-property:text-underline-offset;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s);--tw-duration:.1s;text-decoration-line:underline;text-decoration-thickness:.08em;transition-duration:.1s}@media(hover:hover){.link-info-sm:hover{text-underline-offset:15%}}.link-info-sm:focus{border-radius:var(--radius-sm,.125rem);outline-style:var(--tw-outline-style);outline-width:var(--outline-width-md,.125rem);outline-offset:1px;outline-color:var(--outline-color-standard-inverse-emphasis,#1c1d1f)}.link-info-sm{cursor:help;text-decoration-style:dotted}.heading-2xl{font-size:var(--text-heading-2xl,1.95625rem);--tw-leading:var(--leading-heading-2xl,2rem);line-height:var(--leading-heading-2xl,2rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.heading-xl{font-size:var(--text-heading-xl,1.46875rem);--tw-leading:var(--leading-heading-xl,2rem);line-height:var(--leading-heading-xl,2rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.heading-lg{font-size:var(--text-heading-lg,1.34375rem);--tw-leading:var(--leading-heading-lg,1.75rem);line-height:var(--leading-heading-lg,1.75rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.heading-md{font-size:var(--text-heading-md,.976875rem);--tw-leading:var(--leading-heading-md,1.5rem);line-height:var(--leading-heading-md,1.5rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.heading-sm{font-size:var(--text-heading-sm,.91875rem);--tw-leading:var(--leading-heading-sm,1.25rem);line-height:var(--leading-heading-sm,1.25rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.heading-xs{font-size:var(--text-heading-xs,.85625rem);--tw-leading:var(--leading-heading-xs,1.25rem);line-height:var(--leading-heading-xs,1.25rem);--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);--tw-tracking:0%;letter-spacing:0%}.hr-md{margin-block:var(--spacing-sm,.75rem);border-top-style:var(--tw-border-style);border-top-width:var(--border-width-md,.125rem);color:var(--color-content-standard-default-subtle,#a9aeb1)}.hr-lg{margin-block:var(--spacing-sm,.75rem);border-top-style:var(--tw-border-style);border-top-width:var(--border-width-lg,.25rem);color:var(--color-content-standard-default-subtle,#a9aeb1)}.hr-xl{margin-block:var(--spacing-sm,.75rem);border-top-style:var(--tw-border-style);border-top-width:var(--border-width-xl,.5rem);color:var(--color-content-standard-default-subtle,#a9aeb1)}.blockquote{margin-block:var(--spacing-md,1rem);border-left-style:var(--tw-border-style);border-left-width:var(--border-width-lg,.25rem);border-left-color:var(--border-color-standard-default-moderate,#a9aeb1);padding-inline:var(--spacing-xl,1.5rem);padding-block:var(--spacing-md,1rem);font-size:var(--text-body-lg,1.34375rem);--tw-leading:var(--leading-body-lg,1.75rem);line-height:var(--leading-body-lg,1.75rem);--tw-tracking:0%;letter-spacing:0%}.blockquote p+p{margin-top:var(--spacing-xs,.5rem)}.blockquote{font-style:italic}.code{border-radius:var(--radius-sm,.125rem);border-color:var(--border-color-secondary-subtle,#a9aeb1);background-color:var(--background-color-secondary-subtle,#f7f9fa);color:var(--text-color-standard-default-strong,#070708);padding:var(--spacing-2xs,.25rem);font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);overflow-wrap:break-word}.code-block{border-radius:var(--radius-sm,.125rem);border-color:var(--border-color-secondary-subtle,#a9aeb1);background-color:var(--background-color-secondary-subtle,#f7f9fa);color:var(--text-color-standard-default-strong,#070708);padding:var(--spacing-2xs,.25rem);font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);overflow-wrap:break-word;padding:var(--spacing-xs,.5rem);overflow-wrap:normal;word-break:normal;display:block}}@property --tw-leading{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|
package/dist/tag.es.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { j as a } from "./index-CdrO5QDC.js";
|
|
2
|
+
const i = ({
|
|
3
|
+
variant: t = "info",
|
|
4
|
+
children: o = null,
|
|
5
|
+
className: n = null,
|
|
6
|
+
...r
|
|
7
|
+
}) => {
|
|
8
|
+
function u() {
|
|
9
|
+
const s = ["tag"];
|
|
10
|
+
return s.push(`tag--${t}`), n && s.push(n), s;
|
|
11
|
+
}
|
|
12
|
+
return /* @__PURE__ */ a.jsx("span", { className: u().join(" "), ...r, children: o });
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
i as Tag
|
|
16
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cityofportland/components-react",
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
|
+
"description": "Portland Component Library using design tokens from Figma",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "City of Portland, Oregon"
|
|
7
|
+
},
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"exports": {
|
|
14
|
+
"./*": {
|
|
15
|
+
"import": "./dist/*.es.js",
|
|
16
|
+
"types": "./dist/*.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./*.css": "./dist/*.css"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@chromatic-com/storybook": "^4.1.2",
|
|
22
|
+
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
23
|
+
"@fortawesome/react-fontawesome": "^3.1.0",
|
|
24
|
+
"@storybook/addon-a11y": "^10.2.1",
|
|
25
|
+
"@storybook/addon-designs": "^11.0.1",
|
|
26
|
+
"@storybook/addon-docs": "^10.2.1",
|
|
27
|
+
"@storybook/addon-themes": "^10.2.1",
|
|
28
|
+
"@storybook/addon-vitest": "10.2.1",
|
|
29
|
+
"@storybook/react-vite": "^10.2.1",
|
|
30
|
+
"@storybook/test-runner": "^0.24.1",
|
|
31
|
+
"@tailwindcss/vite": "^4.1.16",
|
|
32
|
+
"@types/react": "^19.2.2",
|
|
33
|
+
"@types/react-dom": "^19.2.2",
|
|
34
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
35
|
+
"@vitest/browser-playwright": "^4.1.7",
|
|
36
|
+
"babel-jest": "^30.2.0",
|
|
37
|
+
"glob": "^11.0.3",
|
|
38
|
+
"identity-obj-proxy": "^3.0.0",
|
|
39
|
+
"react": "^19.2.0",
|
|
40
|
+
"react-dom": "^19.2.0",
|
|
41
|
+
"storybook": "^10.2.1",
|
|
42
|
+
"tailwindcss": "^4.1.16",
|
|
43
|
+
"vite": "^7.1.12",
|
|
44
|
+
"vitest": "^4.1.7",
|
|
45
|
+
"vitest-browser-react": "^2.0.2",
|
|
46
|
+
"@cityofportland/design-tokens": "2.0.0-alpha.0",
|
|
47
|
+
"@cityofportland/types": "1.0.0-alpha.0",
|
|
48
|
+
"@cityofportland/components-css": "1.0.0-alpha.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"react": "^19.2.0",
|
|
52
|
+
"react-dom": "^19.2.0",
|
|
53
|
+
"zod": "^4.4.3"
|
|
54
|
+
},
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "git+https://github.com/eGovPDX/portland-design-system.git"
|
|
58
|
+
},
|
|
59
|
+
"bugs": {
|
|
60
|
+
"url": "https://github.com/eGovPDX/portland-design-system/issues"
|
|
61
|
+
},
|
|
62
|
+
"homepage": "https://github.com/eGovPDX/portland-design-system#readme",
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "vite build",
|
|
65
|
+
"build:upstream": "pnpm --filter '{.}^...' build",
|
|
66
|
+
"dev": "vite",
|
|
67
|
+
"storybook": "storybook dev -p 6006 --no-open",
|
|
68
|
+
"storybook:build": "storybook build",
|
|
69
|
+
"test": "vitest"
|
|
70
|
+
}
|
|
71
|
+
}
|