@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.
Files changed (45) hide show
  1. package/dist/alert/alert.css +1 -1
  2. package/dist/alert/alert.d.ts +95 -11
  3. package/dist/alert/alert.es.js +72 -3456
  4. package/dist/box/box.css +1 -0
  5. package/dist/box/box.d.ts +89 -51
  6. package/dist/box/box.es.js +1 -1
  7. package/dist/box-1tl08xTv.js +57 -0
  8. package/dist/button/button.css +1 -1
  9. package/dist/button/button.d.ts +128 -9
  10. package/dist/button/button.es.js +2 -32
  11. package/dist/button-CF_WgNBC.js +38 -0
  12. package/dist/card/card.css +1 -0
  13. package/dist/card/card.d.ts +66 -0
  14. package/dist/card/card.es.js +76 -0
  15. package/dist/city-seal/city-seal.css +1 -1
  16. package/dist/city-seal/city-seal.d.ts +39 -18
  17. package/dist/city-seal/city-seal.es.js +2 -20
  18. package/dist/city-seal-D1o5dRUd.js +18 -0
  19. package/dist/footer/footer.d.ts +63 -19
  20. package/dist/footer/footer.es.js +745 -744
  21. package/dist/header/header.css +1 -1
  22. package/dist/header/header.d.ts +85 -19
  23. package/dist/header/header.es.js +27 -25
  24. package/dist/icon/icon.css +1 -0
  25. package/dist/icon/icon.d.ts +31 -0
  26. package/dist/icon/icon.es.js +4 -0
  27. package/dist/icon-CzVwiUJU.js +32 -0
  28. package/dist/tag/tag.css +1 -1
  29. package/dist/tag/tag.d.ts +28 -7
  30. package/dist/tag/tag.es.js +7 -5
  31. package/dist/utilities/utilities.css +1 -0
  32. package/dist/utils-DpTd6iI4.js +7 -0
  33. package/package.json +5 -4
  34. package/dist/alert/index.d.ts +0 -1
  35. package/dist/box/index.d.ts +0 -1
  36. package/dist/button/index.d.ts +0 -1
  37. package/dist/city-seal/index.d.ts +0 -1
  38. package/dist/footer/footer.test.d.ts +0 -1
  39. package/dist/footer/index.d.ts +0 -1
  40. package/dist/header/index.d.ts +0 -1
  41. package/dist/index/index.css +0 -1
  42. package/dist/index-C4cFhgXK.js +0 -68
  43. package/dist/index-IqW719eK.js +0 -1484
  44. package/dist/tag/index.d.ts +0 -1
  45. package/dist/utils.d.ts +0 -3
@@ -1,18 +1,39 @@
1
- import { CitySealProps } from '@cityofportland/types/city-seal';
2
- import { default as React } from 'react';
3
- export interface ReactCitySealProps extends CitySealProps {
4
- size?: CitySealProps["size"];
5
- className?: string;
6
- }
7
- /**
8
- * CitySeal component with two size variations (large and small). The component is
9
- * designed to be flexible, allowing you to add custom CSS classes via the
10
- * `className` prop. This enables you to easily customize the appearance of the
11
- * City Seal by adding your own styles or utility classes as needed.
12
- *
13
- * @example
14
- * // Large City Seal with a custom class
15
- * <CitySeal className="my-custom-class" size="lg" />
16
- *
17
- */
18
- export declare const CitySeal: React.FC<ReactCitySealProps>;
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 { j as r } from "../index-IqW719eK.js";
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
- e as CitySeal
3
+ o as CitySeal
22
4
  };