@cityofportland/components-react 1.0.0-alpha.4 → 1.0.0-alpha.6
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.css +1 -1
- package/dist/alert/alert.d.ts +95 -11
- package/dist/alert/alert.es.js +72 -3456
- package/dist/box/box.css +1 -0
- package/dist/box/box.d.ts +89 -51
- package/dist/box/box.es.js +1 -1
- package/dist/box-1tl08xTv.js +57 -0
- package/dist/button/button.css +1 -1
- package/dist/button/button.d.ts +128 -9
- package/dist/button/button.es.js +2 -32
- package/dist/button-CF_WgNBC.js +38 -0
- package/dist/card/card.css +1 -0
- package/dist/card/card.d.ts +66 -0
- package/dist/card/card.es.js +76 -0
- package/dist/city-seal/city-seal.css +1 -1
- package/dist/city-seal/city-seal.d.ts +39 -18
- package/dist/city-seal/city-seal.es.js +2 -20
- package/dist/city-seal-D1o5dRUd.js +18 -0
- package/dist/footer/footer.d.ts +63 -19
- package/dist/footer/footer.es.js +745 -744
- package/dist/header/header.css +1 -1
- package/dist/header/header.d.ts +85 -19
- package/dist/header/header.es.js +27 -25
- package/dist/icon/icon.css +1 -0
- package/dist/icon/icon.d.ts +31 -0
- package/dist/icon/icon.es.js +4 -0
- package/dist/icon-CzVwiUJU.js +32 -0
- package/dist/tag/tag.css +1 -1
- package/dist/tag/tag.d.ts +28 -7
- package/dist/tag/tag.es.js +7 -5
- package/dist/utilities/utilities.css +1 -0
- package/dist/utils-DpTd6iI4.js +7 -0
- package/package.json +5 -4
- package/dist/alert/index.d.ts +0 -1
- package/dist/box/index.d.ts +0 -1
- package/dist/button/index.d.ts +0 -1
- package/dist/city-seal/index.d.ts +0 -1
- package/dist/footer/footer.test.d.ts +0 -1
- package/dist/footer/index.d.ts +0 -1
- package/dist/header/index.d.ts +0 -1
- package/dist/index/index.css +0 -1
- package/dist/index-C4cFhgXK.js +0 -68
- package/dist/index-IqW719eK.js +0 -1484
- package/dist/tag/index.d.ts +0 -1
- package/dist/utils.d.ts +0 -3
|
@@ -1,18 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Available size variations for the City Seal
|
|
5
|
+
*/
|
|
6
|
+
declare const CITY_SEAL_SIZES: readonly ["xl", "lg", "sm"];
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* CitySeal component with two size variations (large and small). The component is
|
|
10
|
+
* designed to be flexible, allowing you to add custom CSS classes via the
|
|
11
|
+
* `className` prop. This enables you to easily customize the appearance of the
|
|
12
|
+
* City Seal by adding your own styles or utility classes as needed.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* // Large City Seal with a custom class
|
|
16
|
+
* <CitySeal className="my-custom-class" size="lg" />
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare const CitySeal: default_2.FC<ReactCitySealProps>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Core CitySeal properties shared across all framework implementations
|
|
23
|
+
*/
|
|
24
|
+
declare interface CitySealProps {
|
|
25
|
+
/**
|
|
26
|
+
* Size of the City Seal
|
|
27
|
+
* @default "lg"
|
|
28
|
+
*/
|
|
29
|
+
size?: CitySealSize;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare type CitySealSize = (typeof CITY_SEAL_SIZES)[number];
|
|
33
|
+
|
|
34
|
+
export declare interface ReactCitySealProps extends CitySealProps {
|
|
35
|
+
size?: CitySealProps["size"];
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { }
|
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function l({
|
|
3
|
-
className: t = "",
|
|
4
|
-
size: i = "lg"
|
|
5
|
-
}) {
|
|
6
|
-
const s = /* @__PURE__ */ new Set(["city-seal"]);
|
|
7
|
-
return s.add(`city-seal--${i}`), t && t.split(" ").forEach((a) => s.add(a)), Array.from(s).join(" ");
|
|
8
|
-
}
|
|
9
|
-
const e = ({
|
|
10
|
-
size: t = "lg",
|
|
11
|
-
className: i,
|
|
12
|
-
...s
|
|
13
|
-
}) => {
|
|
14
|
-
const a = l({
|
|
15
|
-
className: i,
|
|
16
|
-
size: t
|
|
17
|
-
});
|
|
18
|
-
return /* @__PURE__ */ r.jsx("img", { className: a, alt: "", ...s });
|
|
19
|
-
};
|
|
1
|
+
import { C as o } from "../city-seal-D1o5dRUd.js";
|
|
20
2
|
export {
|
|
21
|
-
|
|
3
|
+
o as CitySeal
|
|
22
4
|
};
|