@axos-web-dev/shared-components 0.0.23 → 0.0.25
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/ContentBanner/index.d.ts +1 -1
- package/dist/FaqAccordion/index.d.ts +1 -0
- package/dist/IconBillboard/IconBillboardSet.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboard.d.ts +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Table.interface.d.ts +2 -0
- package/dist/Table/Table.js +6 -4
- package/dist/assets/FaqAccordion/FaqAccordion.css +0 -2
- package/dist/assets/HeroBanner/HeroBanner.css +35 -35
- package/dist/assets/IconBillboard/IconBillboard.css +2 -2
- package/dist/assets/globals.css +3 -0
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './IconBillboard.interface';
|
|
2
2
|
|
|
3
3
|
export declare const IconBillboardSet: ({ variant, side, iconBillboards, headline, bodyCopy, additionalDetails, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './ImageBillboard.interface';
|
|
2
2
|
|
|
3
3
|
export declare const ImageBillboardSet: ({ id, variant, headline, bodyCopy, additionalDetails, imageBillboards, }: Props) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CellProps, RowProps, TableContainerProps, TableProps } from './Table.interface';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
|
-
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, tableDescription, }: TableContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, tableDescription, internalName, id, }: TableContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const TableRow: ({ children, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare const TableHead: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,10 +14,12 @@ export interface TableProps extends PropsWithChildren {
|
|
|
14
14
|
alternateColorRows?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export interface TableContainerProps extends PropsWithChildren {
|
|
17
|
+
id?: string;
|
|
17
18
|
variant: string;
|
|
18
19
|
tableTitle: ReactNode | string;
|
|
19
20
|
tableBody?: ReactNode | string;
|
|
20
21
|
tableFooter: ReactNode | string;
|
|
21
22
|
tableType?: string;
|
|
22
23
|
tableDescription?: ReactNode | string;
|
|
24
|
+
internalName?: string;
|
|
23
25
|
}
|
package/dist/Table/Table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { createElement } from "react";
|
|
@@ -8,9 +8,11 @@ const TableContainer = ({
|
|
|
8
8
|
tableBody,
|
|
9
9
|
tableFooter,
|
|
10
10
|
tableType = "Standard",
|
|
11
|
-
tableDescription
|
|
11
|
+
tableDescription,
|
|
12
|
+
internalName,
|
|
13
|
+
id
|
|
12
14
|
}) => {
|
|
13
|
-
return /* @__PURE__ */ jsxs(
|
|
15
|
+
return /* @__PURE__ */ jsx("section", { id: internalName == null ? void 0 : internalName.replace(/ /g, "-"), children: /* @__PURE__ */ jsxs(
|
|
14
16
|
"div",
|
|
15
17
|
{
|
|
16
18
|
className: clsx(
|
|
@@ -24,7 +26,7 @@ const TableContainer = ({
|
|
|
24
26
|
tableFooter && /* @__PURE__ */ jsx("div", { className: clsx(table_container_text, "push_up_24"), children: tableFooter })
|
|
25
27
|
]
|
|
26
28
|
}
|
|
27
|
-
);
|
|
29
|
+
) }, id);
|
|
28
30
|
};
|
|
29
31
|
const Table = ({
|
|
30
32
|
variant = "primary",
|
|
@@ -91,31 +91,24 @@
|
|
|
91
91
|
._1ye8k3fl:empty {
|
|
92
92
|
display: none;
|
|
93
93
|
}
|
|
94
|
-
@media screen and (
|
|
95
|
-
.
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
._1ye8k3f0 ._1ye8k3fl {
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
@media (max-width: 1280px) and (min-width: 1024px) {
|
|
103
|
-
._1ye8k3f0 ._1ye8k3f9 {
|
|
104
|
-
width: calc(100%-28px);
|
|
94
|
+
@media screen and (min-width:1024px) {
|
|
95
|
+
._1ye8k3f7 {
|
|
96
|
+
flex-direction: row-reverse;
|
|
105
97
|
}
|
|
106
|
-
.
|
|
107
|
-
|
|
98
|
+
._1ye8k3f8 {
|
|
99
|
+
flex: 1 1;
|
|
100
|
+
max-width: 588px;
|
|
108
101
|
}
|
|
109
|
-
._1ye8k3f0 .
|
|
110
|
-
|
|
102
|
+
._1ye8k3f0 ._1ye8k3f8 {
|
|
103
|
+
max-width: 468px;
|
|
111
104
|
}
|
|
112
105
|
}
|
|
113
|
-
@media screen and (max-width:
|
|
106
|
+
@media screen and (max-width:1023px) {
|
|
114
107
|
._1ye8k3f6 {
|
|
115
108
|
flex-direction: column;
|
|
116
109
|
}
|
|
117
|
-
.
|
|
118
|
-
|
|
110
|
+
._1ye8k3f8 {
|
|
111
|
+
text-align: center;
|
|
119
112
|
}
|
|
120
113
|
}
|
|
121
114
|
@media (max-width: 1023px) {
|
|
@@ -143,23 +136,6 @@
|
|
|
143
136
|
}
|
|
144
137
|
}
|
|
145
138
|
}
|
|
146
|
-
@media screen and (min-width:1024px) {
|
|
147
|
-
._1ye8k3f7 {
|
|
148
|
-
flex-direction: row-reverse;
|
|
149
|
-
}
|
|
150
|
-
._1ye8k3f8 {
|
|
151
|
-
flex: 1 1;
|
|
152
|
-
max-width: 588px;
|
|
153
|
-
}
|
|
154
|
-
._1ye8k3f0 ._1ye8k3f8 {
|
|
155
|
-
max-width: 468px;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
@media screen and (max-width:1023px) {
|
|
159
|
-
._1ye8k3f8 {
|
|
160
|
-
text-align: center;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
139
|
@media screen and (max-width:603px) {
|
|
164
140
|
._1ye8k3f8 {
|
|
165
141
|
max-width: calc(100% - 2rem);
|
|
@@ -167,12 +143,36 @@
|
|
|
167
143
|
margin-right: auto;
|
|
168
144
|
}
|
|
169
145
|
}
|
|
146
|
+
@media screen and (max-width:1280px) {
|
|
147
|
+
._1ye8k3fl {
|
|
148
|
+
margin-top: 2.5rem;
|
|
149
|
+
}
|
|
150
|
+
._1ye8k3f0 ._1ye8k3fl {
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
@media (max-width: 1280px) and (min-width: 1024px) {
|
|
155
|
+
._1ye8k3f0 ._1ye8k3f9 {
|
|
156
|
+
width: calc(100%-28px);
|
|
157
|
+
}
|
|
158
|
+
._1ye8k3fa img {
|
|
159
|
+
aspect-ratio: 1 / 1;
|
|
160
|
+
}
|
|
161
|
+
._1ye8k3f0 ._1ye8k3fl {
|
|
162
|
+
align-items: flex-start;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
170
165
|
@media (max-width: 603px) {
|
|
171
166
|
._1ye8k3f9 {
|
|
172
167
|
width: 100%;
|
|
173
168
|
max-width: 100%;
|
|
174
169
|
}
|
|
175
170
|
}
|
|
171
|
+
@media screen and (max-width:1024px) {
|
|
172
|
+
._1ye8k3fl {
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
176
|
@media screen and (max-width:768px) {
|
|
177
177
|
._1ye8k3fg {
|
|
178
178
|
font-size: 28px;
|
package/dist/assets/globals.css
CHANGED