@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.
@@ -1,4 +1,4 @@
1
- import { HeroBannerInterface as ContentBannerInterface } from './ContentBanner.interface';
1
+ import { ContentBannerInterface } from './ContentBanner.interface';
2
2
  import { FC } from 'react';
3
3
 
4
4
  export declare const ContentBanner: FC<ContentBannerInterface>;
@@ -1,3 +1,4 @@
1
+ import { header } from './FaqAccordion.css';
1
2
  import { PropsWithChildren } from 'react';
2
3
 
3
4
  export interface AccordionItemProps extends PropsWithChildren {
@@ -1,3 +1,3 @@
1
- import { IconBillboardSet as Props } from './IconBillboard.interface';
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 { ImageBillboardSetProps as Props } from './ImageBillboard.interface';
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;
@@ -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
  }
@@ -1,4 +1,4 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
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",
@@ -33,9 +33,7 @@ details[open] .ph6wj62 {
33
33
  font-size: 18px;
34
34
  max-width: 80%;
35
35
  list-style: none;
36
- text-overflow: ellipsis;
37
36
  overflow: hidden;
38
- white-space: nowrap;
39
37
  }
40
38
  .ph6wj64 {
41
39
  padding: 24px;
@@ -91,31 +91,24 @@
91
91
  ._1ye8k3fl:empty {
92
92
  display: none;
93
93
  }
94
- @media screen and (max-width:1280px) {
95
- ._1ye8k3fl {
96
- margin-top: 2.5rem;
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
- ._1ye8k3fa img {
107
- aspect-ratio: 1 / 1;
98
+ ._1ye8k3f8 {
99
+ flex: 1 1;
100
+ max-width: 588px;
108
101
  }
109
- ._1ye8k3f0 ._1ye8k3fl {
110
- align-items: flex-start;
102
+ ._1ye8k3f0 ._1ye8k3f8 {
103
+ max-width: 468px;
111
104
  }
112
105
  }
113
- @media screen and (max-width:1024px) {
106
+ @media screen and (max-width:1023px) {
114
107
  ._1ye8k3f6 {
115
108
  flex-direction: column;
116
109
  }
117
- ._1ye8k3fl {
118
- flex-direction: column;
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;
@@ -130,8 +130,8 @@
130
130
  margin-bottom: 1em;
131
131
  }
132
132
  }
133
- @media screen and (max-width: 1024px) {
133
+ @media screen and (max-width: 1023px) {
134
134
  ._1r4ovbuo {
135
- grid-template-columns: auto;
135
+ grid-template-columns: 1fr;
136
136
  }
137
137
  }
@@ -237,6 +237,9 @@ hide {
237
237
  text-align: center;
238
238
  }
239
239
  sup {
240
+ font-size: 75%;
241
+ }
242
+ .list_item sup {
240
243
  vertical-align: top;
241
244
  position: relative;
242
245
  top: -0.5em;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@axos-web-dev/shared-components",
3
3
  "description": "Axos shared components library for web.",
4
- "version": "0.0.23",
4
+ "version": "0.0.25",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",