@gobolt/genesis 0.8.3 → 0.8.5
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/components/TileLog/TileLogSpacer.d.ts +2 -0
- package/dist/components/TileLog/__stories__/TileLog.stories.d.ts +2 -0
- package/dist/components/TileLog/index.d.ts +1 -0
- package/dist/components/TileLog/styles.d.ts +3 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +30 -4
- package/dist/index.js +30 -4
- package/package.json +1 -1
|
@@ -6,10 +6,13 @@ interface TimelineLineProps {
|
|
|
6
6
|
$color?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('..').TileProps, StyledProps>> & string & Omit<({ children, dataTestId, className, style, isHorizontal, }: import('..').TileProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
9
|
+
export declare const SkeletonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('..').TileProps, "theme"> & StyledProps, never>> & string;
|
|
9
10
|
export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('..').TileProps, StyledProps>> & string & Omit<({ children, dataTestId, className, style, isHorizontal, }: import('..').TileProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
10
11
|
export declare const TimelineColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('..').TileProps, never>> & string & Omit<({ children, dataTestId, className, style, isHorizontal, }: import('..').TileProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
11
12
|
export declare const TimelineLine: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TimelineLineProps>> & string;
|
|
12
13
|
export declare const Dot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
14
|
export declare const Content: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('..').TileProps, StyledProps>> & string & Omit<({ children, dataTestId, className, style, isHorizontal, }: import('..').TileProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
14
15
|
export declare const ActionNote: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('..').TileProps, never>> & string & Omit<({ children, dataTestId, className, style, isHorizontal, }: import('..').TileProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
16
|
+
export declare const SpacerWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
|
|
17
|
+
export declare const SpacerColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
18
|
export {};
|
|
@@ -83,6 +83,7 @@ export type { TileProps } from './Tile';
|
|
|
83
83
|
export { default as TileLog } from './TileLog';
|
|
84
84
|
export type { TileLogProps } from './TileLog';
|
|
85
85
|
export { TileLogSkeleton } from './TileLog';
|
|
86
|
+
export { TileLogSpacer } from './TileLog';
|
|
86
87
|
export { default as Toast } from './Toast';
|
|
87
88
|
export type { ToastProps } from './Toast';
|
|
88
89
|
export { default as Tooltip } from './Tooltip';
|
package/dist/index.cjs
CHANGED
|
@@ -89183,6 +89183,10 @@ const Wrapper = styled(Tile)`
|
|
|
89183
89183
|
background-color: #f4f4f4;
|
|
89184
89184
|
}
|
|
89185
89185
|
`;
|
|
89186
|
+
const SkeletonWrapper = styled(Wrapper)`
|
|
89187
|
+
height: 80px;
|
|
89188
|
+
overflow: hidden;
|
|
89189
|
+
`;
|
|
89186
89190
|
const Container = styled(Tile)`
|
|
89187
89191
|
flex-direction: row;
|
|
89188
89192
|
justify-content: flex-start;
|
|
@@ -89215,10 +89219,29 @@ const Content = styled(Tile)`
|
|
|
89215
89219
|
flex: 1;
|
|
89216
89220
|
min-width: 0;
|
|
89217
89221
|
padding: ${({ theme }) => theme.sizing.Size3}px 0;
|
|
89222
|
+
|
|
89223
|
+
.ant-skeleton-paragraph {
|
|
89224
|
+
margin: 0px !important;
|
|
89225
|
+
}
|
|
89218
89226
|
`;
|
|
89219
89227
|
const ActionNote = styled(Tile)`
|
|
89220
89228
|
padding: 0;
|
|
89221
89229
|
`;
|
|
89230
|
+
const SpacerWrapper = styled.div`
|
|
89231
|
+
flex: 1;
|
|
89232
|
+
display: flex;
|
|
89233
|
+
flex-direction: row;
|
|
89234
|
+
padding: 0 ${({ theme }) => theme.sizing.Size6}px;
|
|
89235
|
+
background-color: #fff;
|
|
89236
|
+
`;
|
|
89237
|
+
const SpacerColumn = styled.div`
|
|
89238
|
+
display: flex;
|
|
89239
|
+
flex-direction: column;
|
|
89240
|
+
align-items: center;
|
|
89241
|
+
align-self: stretch;
|
|
89242
|
+
flex-shrink: 0;
|
|
89243
|
+
width: 26px;
|
|
89244
|
+
`;
|
|
89222
89245
|
const TileLog = ({
|
|
89223
89246
|
timestamp,
|
|
89224
89247
|
action,
|
|
@@ -89362,13 +89385,13 @@ const TileLog = ({
|
|
|
89362
89385
|
] })
|
|
89363
89386
|
] }) });
|
|
89364
89387
|
};
|
|
89365
|
-
const GENERIC_COLOR = "#CBCBCB";
|
|
89388
|
+
const GENERIC_COLOR$1 = "#CBCBCB";
|
|
89366
89389
|
const TileLogSkeleton = () => {
|
|
89367
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
89390
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SkeletonWrapper, { children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
|
|
89368
89391
|
/* @__PURE__ */ jsxRuntime.jsxs(TimelineColumn, { children: [
|
|
89369
|
-
/* @__PURE__ */ jsxRuntime.jsx(TimelineLine, { $color: GENERIC_COLOR }),
|
|
89392
|
+
/* @__PURE__ */ jsxRuntime.jsx(TimelineLine, { $color: GENERIC_COLOR$1 }),
|
|
89370
89393
|
/* @__PURE__ */ jsxRuntime.jsx(Dot, {}),
|
|
89371
|
-
/* @__PURE__ */ jsxRuntime.jsx(TimelineLine, { $color: GENERIC_COLOR })
|
|
89394
|
+
/* @__PURE__ */ jsxRuntime.jsx(TimelineLine, { $color: GENERIC_COLOR$1 })
|
|
89372
89395
|
] }),
|
|
89373
89396
|
/* @__PURE__ */ jsxRuntime.jsxs(Content, { children: [
|
|
89374
89397
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -89400,6 +89423,8 @@ const TileLogSkeleton = () => {
|
|
|
89400
89423
|
] })
|
|
89401
89424
|
] }) });
|
|
89402
89425
|
};
|
|
89426
|
+
const GENERIC_COLOR = "#CBCBCB";
|
|
89427
|
+
const TileLogSpacer = () => /* @__PURE__ */ jsxRuntime.jsx(SpacerWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(SpacerColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(TimelineLine, { $color: GENERIC_COLOR }) }) });
|
|
89403
89428
|
const GlobalStyles = styled.createGlobalStyle`
|
|
89404
89429
|
* {
|
|
89405
89430
|
margin: 0;
|
|
@@ -89460,6 +89485,7 @@ exports.Tag = Tag;
|
|
|
89460
89485
|
exports.Tile = Tile;
|
|
89461
89486
|
exports.TileLog = TileLog;
|
|
89462
89487
|
exports.TileLogSkeleton = TileLogSkeleton;
|
|
89488
|
+
exports.TileLogSpacer = TileLogSpacer;
|
|
89463
89489
|
exports.Toast = Toast;
|
|
89464
89490
|
exports.Tooltip = Tooltip2;
|
|
89465
89491
|
exports.Typography = Typography;
|
package/dist/index.js
CHANGED
|
@@ -89165,6 +89165,10 @@ const Wrapper = styled(Tile)`
|
|
|
89165
89165
|
background-color: #f4f4f4;
|
|
89166
89166
|
}
|
|
89167
89167
|
`;
|
|
89168
|
+
const SkeletonWrapper = styled(Wrapper)`
|
|
89169
|
+
height: 80px;
|
|
89170
|
+
overflow: hidden;
|
|
89171
|
+
`;
|
|
89168
89172
|
const Container = styled(Tile)`
|
|
89169
89173
|
flex-direction: row;
|
|
89170
89174
|
justify-content: flex-start;
|
|
@@ -89197,10 +89201,29 @@ const Content = styled(Tile)`
|
|
|
89197
89201
|
flex: 1;
|
|
89198
89202
|
min-width: 0;
|
|
89199
89203
|
padding: ${({ theme }) => theme.sizing.Size3}px 0;
|
|
89204
|
+
|
|
89205
|
+
.ant-skeleton-paragraph {
|
|
89206
|
+
margin: 0px !important;
|
|
89207
|
+
}
|
|
89200
89208
|
`;
|
|
89201
89209
|
const ActionNote = styled(Tile)`
|
|
89202
89210
|
padding: 0;
|
|
89203
89211
|
`;
|
|
89212
|
+
const SpacerWrapper = styled.div`
|
|
89213
|
+
flex: 1;
|
|
89214
|
+
display: flex;
|
|
89215
|
+
flex-direction: row;
|
|
89216
|
+
padding: 0 ${({ theme }) => theme.sizing.Size6}px;
|
|
89217
|
+
background-color: #fff;
|
|
89218
|
+
`;
|
|
89219
|
+
const SpacerColumn = styled.div`
|
|
89220
|
+
display: flex;
|
|
89221
|
+
flex-direction: column;
|
|
89222
|
+
align-items: center;
|
|
89223
|
+
align-self: stretch;
|
|
89224
|
+
flex-shrink: 0;
|
|
89225
|
+
width: 26px;
|
|
89226
|
+
`;
|
|
89204
89227
|
const TileLog = ({
|
|
89205
89228
|
timestamp,
|
|
89206
89229
|
action,
|
|
@@ -89344,13 +89367,13 @@ const TileLog = ({
|
|
|
89344
89367
|
] })
|
|
89345
89368
|
] }) });
|
|
89346
89369
|
};
|
|
89347
|
-
const GENERIC_COLOR = "#CBCBCB";
|
|
89370
|
+
const GENERIC_COLOR$1 = "#CBCBCB";
|
|
89348
89371
|
const TileLogSkeleton = () => {
|
|
89349
|
-
return /* @__PURE__ */ jsx(
|
|
89372
|
+
return /* @__PURE__ */ jsx(SkeletonWrapper, { children: /* @__PURE__ */ jsxs(Container, { children: [
|
|
89350
89373
|
/* @__PURE__ */ jsxs(TimelineColumn, { children: [
|
|
89351
|
-
/* @__PURE__ */ jsx(TimelineLine, { $color: GENERIC_COLOR }),
|
|
89374
|
+
/* @__PURE__ */ jsx(TimelineLine, { $color: GENERIC_COLOR$1 }),
|
|
89352
89375
|
/* @__PURE__ */ jsx(Dot, {}),
|
|
89353
|
-
/* @__PURE__ */ jsx(TimelineLine, { $color: GENERIC_COLOR })
|
|
89376
|
+
/* @__PURE__ */ jsx(TimelineLine, { $color: GENERIC_COLOR$1 })
|
|
89354
89377
|
] }),
|
|
89355
89378
|
/* @__PURE__ */ jsxs(Content, { children: [
|
|
89356
89379
|
/* @__PURE__ */ jsx(
|
|
@@ -89382,6 +89405,8 @@ const TileLogSkeleton = () => {
|
|
|
89382
89405
|
] })
|
|
89383
89406
|
] }) });
|
|
89384
89407
|
};
|
|
89408
|
+
const GENERIC_COLOR = "#CBCBCB";
|
|
89409
|
+
const TileLogSpacer = () => /* @__PURE__ */ jsx(SpacerWrapper, { children: /* @__PURE__ */ jsx(SpacerColumn, { children: /* @__PURE__ */ jsx(TimelineLine, { $color: GENERIC_COLOR }) }) });
|
|
89385
89410
|
const GlobalStyles = createGlobalStyle`
|
|
89386
89411
|
* {
|
|
89387
89412
|
margin: 0;
|
|
@@ -89443,6 +89468,7 @@ export {
|
|
|
89443
89468
|
Tile,
|
|
89444
89469
|
TileLog,
|
|
89445
89470
|
TileLogSkeleton,
|
|
89471
|
+
TileLogSpacer,
|
|
89446
89472
|
Toast,
|
|
89447
89473
|
Tooltip2 as Tooltip,
|
|
89448
89474
|
Typography,
|