@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,19 +1,63 @@
1
- import { FooterProps } from '@cityofportland/types/footer';
2
- import { default as React } from 'react';
3
- export type ReactFooterProps = FooterProps & React.PropsWithChildren<React.HTMLAttributes<HTMLElement>>;
4
- export declare const FooterNavigation: React.FC<React.PropsWithChildren<React.HTMLAttributes<HTMLElement>>>;
5
- export declare const FooterMenu: React.FC<React.PropsWithChildren<React.HTMLAttributes<HTMLElement>>>;
6
- export declare const FooterMenuTitle: React.FC<React.PropsWithChildren<React.HTMLAttributes<HTMLElement>>>;
7
- export declare const FooterMenuItem: React.FC<React.PropsWithChildren<React.HTMLAttributes<HTMLElement>>>;
8
- /**
9
- * The footer component is used to display information about the website, such
10
- * as contact information, social media links, and copyright information.
11
- * It is typically placed at the bottom of the page.
12
- *
13
- * The Footer component is a wrapper around the Box component that applies
14
- * the appropriate styles and structure for a footer.
15
- * It also provides subcomponents for the content, navigation, menu, menu title,
16
- * menu item, and copyright sections of the footer.
17
- *
18
- */
19
- export declare const Footer: React.FC<ReactFooterProps>;
1
+ import { default as default_2 } from 'react';
2
+
3
+ /**
4
+ * Available color schemes based on design system color tokens
5
+ */
6
+ declare const BOX_COLORS: readonly ["default", "inverse", "primary", "secondary", "success", "danger", "warning", "info", "fixed", "disabled", "fixed"];
7
+
8
+ /**
9
+ * Available color variations based on design system tokens
10
+ */
11
+ declare const BOX_VARIANTS: readonly ["subtle", "moderate", "emphasis", "strong", "light", "dark"];
12
+
13
+ declare type BoxColorScheme = (typeof BOX_COLORS)[number];
14
+
15
+ declare type BoxColorVariation = (typeof BOX_VARIANTS)[number];
16
+
17
+ /**
18
+ * Core box properties shared across all framework implementations
19
+ */
20
+ declare interface BoxProps {
21
+ /**
22
+ * HTML element type to render the Box as. Defaults to 'div'.
23
+ * @default "div"
24
+ */
25
+ as?: keyof HTMLElementTagNameMap;
26
+ /**
27
+ * Color scheme for background and content colors
28
+ */
29
+ color?: BoxColorScheme;
30
+ /**
31
+ * Color variation within the chosen color scheme
32
+ */
33
+ variant?: BoxColorVariation;
34
+ }
35
+
36
+ /**
37
+ * The footer component is used to display information about the website, such
38
+ * as contact information, social media links, and copyright information.
39
+ * It is typically placed at the bottom of the page.
40
+ *
41
+ * The Footer component is a wrapper around the Box component that applies
42
+ * the appropriate styles and structure for a footer.
43
+ * It also provides subcomponents for the content, navigation, menu, menu title,
44
+ * menu item, and copyright sections of the footer.
45
+ *
46
+ */
47
+ export declare const Footer: default_2.FC<ReactFooterProps>;
48
+
49
+ export declare const FooterMenu: default_2.FC<default_2.PropsWithChildren<default_2.HTMLAttributes<HTMLElement>>>;
50
+
51
+ export declare const FooterMenuItem: default_2.FC<default_2.PropsWithChildren<default_2.HTMLAttributes<HTMLElement>>>;
52
+
53
+ export declare const FooterMenuTitle: default_2.FC<default_2.PropsWithChildren<default_2.HTMLAttributes<HTMLElement>>>;
54
+
55
+ export declare const FooterNavigation: default_2.FC<default_2.PropsWithChildren<default_2.HTMLAttributes<HTMLElement>>>;
56
+
57
+ declare type FooterProps = Omit<BoxProps, "as"> & {
58
+ copyrightStart: number;
59
+ };
60
+
61
+ export declare type ReactFooterProps = FooterProps & default_2.PropsWithChildren<default_2.HTMLAttributes<HTMLElement>>;
62
+
63
+ export { }