@teamimpact/veda-ui-blocks 0.1.0-beta.7 → 0.1.0-beta.9

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 (35) hide show
  1. package/README.md +6 -3
  2. package/dist/default.css +11280 -10085
  3. package/dist/default.css.map +1 -1
  4. package/dist/disasters.css +11278 -10083
  5. package/dist/disasters.css.map +1 -1
  6. package/dist/index.d.ts +169 -68
  7. package/dist/index.js +713 -152
  8. package/package.json +5 -7
  9. package/src/styles/components/banner.scss +0 -18
  10. package/src/styles/components/card-cta.scss +0 -90
  11. package/src/styles/components/card-detailed.scss +0 -164
  12. package/src/styles/components/card-mini.scss +0 -81
  13. package/src/styles/components/card-simple.scss +0 -79
  14. package/src/styles/components/card.scss +0 -284
  15. package/src/styles/components/compare-map.scss +0 -15
  16. package/src/styles/components/footer.scss +0 -256
  17. package/src/styles/components/header.scss +0 -212
  18. package/src/styles/components/index.scss +0 -11
  19. package/src/styles/components/tag.scss +0 -89
  20. package/src/styles/default/index.scss +0 -10
  21. package/src/styles/default/theme-tokens.scss +0 -84
  22. package/src/styles/disasters/card-cta.scss +0 -31
  23. package/src/styles/disasters/card-mini.scss +0 -4
  24. package/src/styles/disasters/card-simple.scss +0 -13
  25. package/src/styles/disasters/card.scss +0 -13
  26. package/src/styles/disasters/compare-map.scss +0 -3
  27. package/src/styles/disasters/fonts.scss +0 -29
  28. package/src/styles/disasters/footer.scss +0 -9
  29. package/src/styles/disasters/header.scss +0 -10
  30. package/src/styles/disasters/index.scss +0 -22
  31. package/src/styles/disasters/tag.scss +0 -6
  32. package/src/styles/disasters/theme-tokens.scss +0 -150
  33. package/src/styles/earthgov/footer.scss +0 -15
  34. package/src/styles/earthgov/index.scss +0 -12
  35. package/src/styles/earthgov/theme-tokens.scss +0 -104
@@ -1,150 +0,0 @@
1
- // Disasters USWDS theme configuration
2
- @use "uswds-core" with (
3
- // GENERAL SETTINGS
4
- // https://designsystem.digital.gov/documentation/settings/#general-settings-2
5
- $theme-show-notifications: false,
6
- $theme-show-compile-warnings: false,
7
- $theme-image-path: "./img",
8
-
9
- // COLOR SETTINGS
10
- // https: //designsystem.digital.gov/documentation/settings/#color-settings-2
11
- $theme-color-base-family: "gray-cool",
12
- $theme-color-base-lightest: "gray-cool-4",
13
- $theme-color-base-lighter: "gray-cool-10",
14
- $theme-color-base-light: "gray-cool-30",
15
- $theme-color-base: "gray-cool-50",
16
- $theme-color-base-dark: "gray-cool-60",
17
- $theme-color-base-darker: "gray-cool-70",
18
- $theme-color-base-darkest: "gray-cool-80",
19
- $theme-color-base-ink: "gray-cool-90",
20
-
21
- $theme-color-primary-family: "blue-cool",
22
- $theme-color-primary-lightest: #e7f1f3,
23
- $theme-color-primary-lighter: #c3dce0,
24
- $theme-color-primary-light: #87bac1,
25
- $theme-color-primary: #0e7482,
26
- $theme-color-primary-vivid: #00687d,
27
- $theme-color-primary-dark: #0d313d,
28
- $theme-color-primary-darker: #0a252e,
29
- $theme-color-primary-darkest: #07191f,
30
-
31
- $theme-color-secondary-family: "magenta-vivid",
32
- $theme-color-secondary-lightest: #fae8f1,
33
- $theme-color-secondary-lighter: #f2c6db,
34
- $theme-color-secondary-light: #e48db7,
35
- $theme-color-secondary: #c91b6e,
36
- $theme-color-secondary-vivid: #c91b6e,
37
- $theme-color-secondary-dark: #971453,
38
- $theme-color-secondary-darker: #650e37,
39
- $theme-color-secondary-darkest: #32071c,
40
-
41
- $theme-color-accent-cool-family: "indigo-cool",
42
- $theme-color-accent-cool-lightest: #edf1f7,
43
- $theme-color-accent-cool-lighter: #d3dbeb,
44
- $theme-color-accent-cool-light: #a7b7d7,
45
- $theme-color-accent-cool: #4f6fae,
46
- $theme-color-accent-cool-dark: #3b5383,
47
- $theme-color-accent-cool-darker: #283857,
48
- $theme-color-accent-cool-darkest: #141c2c,
49
-
50
- $theme-link-color: "primary",
51
- $theme-link-visited-color: "primary-darker",
52
- $theme-link-hover-color: "cyan-60v",
53
- $theme-link-active-color: "primary-darker",
54
- $theme-link-reverse-color: "base-light",
55
- $theme-link-reverse-hover-color: "base-lighter",
56
- $theme-link-reverse-active-color: "white",
57
-
58
- // COMPONENT SETTINGS
59
- // https://designsystem.digital.gov/documentation/settings/#component-settings-2
60
- $theme-button-border-radius: 0,
61
- $theme-card-border-radius: 0,
62
-
63
- $theme-banner-max-width: "widescreen",
64
- $theme-footer-max-width: "widescreen",
65
- $theme-header-max-width: "widescreen",
66
-
67
- $theme-card-font-family: "heading",
68
- $theme-header-font-family: "heading",
69
- $theme-navigation-font-family: "heading",
70
-
71
- // SPACING SETTINGS
72
- // https://designsystem.digital.gov/documentation/settings/#spacing-settings-2
73
- $theme-grid-container-max-width: "widescreen",
74
- $theme-site-margins-breakpoint: "widescreen",
75
- $theme-site-margins-width: 7,
76
- $theme-site-margins-mobile-width: 2,
77
-
78
- // TYPE SETTINGS
79
- // https://designsystem.digital.gov/documentation/settings/#typography-settings-2
80
- // https://designsystem.digital.gov/design-tokens/typesetting/font-family/
81
- $theme-typeface-tokens: (
82
- "inter": (
83
- "display-name": "Inter Variable",
84
- "cap-height": 364px,
85
- "stack": "system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
86
- ),
87
- "dm-mono": (
88
- "display-name": "DM Mono",
89
- "cap-height": 364px,
90
- "stack": "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
91
- )
92
- ),
93
- $theme-font-path: "./fonts",
94
- $theme-font-type-mono: "dm-mono",
95
- $theme-font-type-sans: "public-sans",
96
- $theme-font-type-serif: "inter",
97
-
98
- $theme-font-role-ui: "sans",
99
- $theme-font-role-heading: "serif",
100
- $theme-font-role-body: "sans",
101
- $theme-font-role-code: "mono",
102
- $theme-font-role-alt: "serif",
103
-
104
- $theme-type-scale-3xs: 1,
105
- $theme-type-scale-2xs: 3,
106
- $theme-type-scale-xs: 4,
107
- $theme-type-scale-sm: 5,
108
- $theme-type-scale-md: 7,
109
- $theme-type-scale-lg: 9,
110
- $theme-type-scale-xl: 12,
111
- $theme-type-scale-2xl: 14,
112
- $theme-type-scale-3xl: 15,
113
-
114
- $theme-font-weight-thin: false,
115
- $theme-font-weight-light: 300,
116
- $theme-font-weight-normal: 400,
117
- $theme-font-weight-medium: false,
118
- $theme-font-weight-semibold: 600,
119
- $theme-font-weight-bold: 700,
120
- $theme-font-weight-heavy: 900,
121
-
122
- // UTILITY SETTINGS
123
- // https://designsystem.digital.gov/documentation/settings/#utilities-settings-2
124
- $utilities-use-important: false,
125
- $theme-utility-breakpoints: (
126
- "card": false,
127
- "card-lg": false,
128
- "mobile": true,
129
- "mobile-lg": false,
130
- "tablet": true,
131
- "tablet-lg": false,
132
- "desktop": true,
133
- "desktop-lg": true,
134
- "widescreen": true
135
- ),
136
-
137
- $overflow-settings: (responsive: true),
138
- $position-settings: (responsive: true),
139
- $top-settings: (responsive: true),
140
- $right-settings: (responsive: true),
141
- $left-settings: (responsive: true),
142
- $bottom-settings: (responsive: true),
143
- $z-index-settings: (responsive: true),
144
- $background-color-settings: (responsive: true),
145
- $font-style-settings: (responsive: true),
146
- $color-settings: (responsive: true, hover: true),
147
- $flex-direction-settings: (responsive: true),
148
- $flex-settings: (responsive: true),
149
- $order-settings: (responsive: true)
150
- );
@@ -1,15 +0,0 @@
1
- @use "uswds-core" as *;
2
- @use "../components/footer" with (
3
- $theme-footer-secondary-link-color: "base-light"
4
- );
5
-
6
- .blocks-footer.usa-footer--slim {
7
- .usa-footer__primary-section > .grid-container > div > div:first-child > svg,
8
- .usa-footer__primary-section > .grid-container > div > div:first-child svg {
9
- max-height: 6.5rem;
10
-
11
- @include at-media("desktop") {
12
- max-height: 7.5rem;
13
- }
14
- }
15
- }
@@ -1,12 +0,0 @@
1
- // EarthGov theme manifest
2
-
3
- // 1. Forward theme token configuration first (must be before uswds-core/@forward)
4
- @forward "theme-tokens";
5
-
6
- // 2. Then forward USWDS itself
7
- @forward "uswds";
8
-
9
- // 3. Forward all custom component styles via earthgov theme component overrides files and
10
- // default theme component style aggregator
11
- @forward "footer";
12
- @forward "../components/index";
@@ -1,104 +0,0 @@
1
- // earthgov theme configuration
2
- @use "uswds-core" with (
3
- $theme-show-notifications: false,
4
- $theme-show-compile-warnings: false,
5
- $utilities-use-important: false,
6
- $theme-image-path: "./img",
7
- $theme-font-path: "./fonts",
8
- $theme-utility-breakpoints: (
9
- "mobile": true,
10
- "mobile-lg": true,
11
- "tablet-lg": true,
12
- "desktop": true,
13
- "desktop-lg": true,
14
- "widescreen": true,
15
- ),
16
- $theme-button-border-radius: 0,
17
- $theme-card-border-radius: 0,
18
- // TYPOGRAPHY
19
- $theme-typeface-tokens: (
20
- baseFontFamily: (
21
- "display-name": var(--base-font-family),
22
- "cap-height": 364px,
23
- ),
24
- ),
25
- $theme-font-type-serif: "merriweather",
26
- $theme-font-type-sans: "helvetica",
27
- $theme-font-type-mono: "roboto-mono",
28
-
29
- $theme-type-scale-3xs: 1,
30
- $theme-type-scale-2xs: 3,
31
- $theme-type-scale-xs: 4,
32
- $theme-type-scale-sm: 5,
33
- $theme-type-scale-md: 7,
34
- $theme-type-scale-lg: 9,
35
- $theme-type-scale-xl: 12,
36
- $theme-type-scale-2xl: 14,
37
- $theme-type-scale-3xl: 18,
38
-
39
- // COLORS
40
- // Body
41
- $theme-body-background-color: "black",
42
- // Text
43
- $theme-text-color: "white",
44
- $theme-text-reverse-color: "ink",
45
- $theme-link-color: "primary-light",
46
- $theme-link-reverse-color: "primary",
47
- $theme-link-visited-color: "primary-light",
48
-
49
- // Base
50
- $theme-color-base-lightest: "gray-cool-4",
51
- $theme-color-base-light: "gray-cool-30",
52
- $theme-color-base-darkest: "gray-cool-80",
53
- $theme-color-base-ink: "gray-cool-90",
54
-
55
- $theme-header-max-width: "widescreen",
56
- $theme-footer-max-width: "widescreen",
57
-
58
- $theme-banner-max-width: "widescreen",
59
-
60
- $theme-in-page-nav-background-color: "white",
61
-
62
- $theme-accordion-button-background-color: "primary-vivid",
63
-
64
- $overflow-settings: (
65
- responsive: true,
66
- ),
67
- $position-settings: (
68
- responsive: true,
69
- ),
70
- $top-settings: (
71
- responsive: true,
72
- ),
73
- $right-settings: (
74
- responsive: true,
75
- ),
76
- $left-settings: (
77
- responsive: true,
78
- ),
79
- $bottom-settings: (
80
- responsive: true,
81
- ),
82
- $z-index-settings: (
83
- responsive: true,
84
- ),
85
- $background-color-settings: (
86
- responsive: true,
87
- ),
88
- $font-style-settings: (
89
- responsive: true,
90
- ),
91
- $color-settings: (
92
- responsive: true,
93
- hover: true,
94
- ),
95
- $flex-direction-settings: (
96
- responsive: true,
97
- ),
98
- $flex-settings: (
99
- responsive: true,
100
- ),
101
- $order-settings: (
102
- responsive: true,
103
- )
104
- );