@gobolt/genesis 0.8.1 → 0.8.2

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
- export type TileLogState = "success" | "error" | "generic" | "in-progress" | "none";
1
+ export type TileLogState = "success" | "error" | "exception" | "generic" | "in-progress" | "none";
2
2
  export interface TileLogProps {
3
3
  timestamp: string;
4
4
  action: string;
@@ -0,0 +1,2 @@
1
+ declare const TileLogSkeleton: () => import("react/jsx-runtime").JSX.Element;
2
+ export default TileLogSkeleton;
@@ -7,6 +7,7 @@ export declare const Default: Story;
7
7
  export declare const Success: Story;
8
8
  export declare const InProgress: Story;
9
9
  export declare const Error: Story;
10
+ export declare const Exception: Story;
10
11
  export declare const Generic: Story;
11
12
  export declare const None: Story;
12
13
  export declare const WithNote: Story;
@@ -20,3 +21,4 @@ export declare const ErrorWithAuthor: Story;
20
21
  export declare const FullTimeline: Story;
21
22
  export declare const VariedContentTimeline: Story;
22
23
  export declare const SingleEntry: Story;
24
+ export declare const Loading: Story;
@@ -1,2 +1,3 @@
1
1
  export { default } from './TileLog';
2
2
  export type { TileLogProps } from './TileLog';
3
+ export { default as TileLogSkeleton } from './TileLogSkeleton';
package/dist/index.cjs CHANGED
@@ -61619,6 +61619,9 @@ function HiDotsHorizontal(props) {
61619
61619
  function HiExclamationCircle(props) {
61620
61620
  return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z", "clipRule": "evenodd" }, "child": [] }] })(props);
61621
61621
  }
61622
+ function HiInformationCircle(props) {
61623
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z", "clipRule": "evenodd" }, "child": [] }] })(props);
61624
+ }
61622
61625
  function HiMinusCircle(props) {
61623
61626
  return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 000 2h6a1 1 0 100-2H7z", "clipRule": "evenodd" }, "child": [] }] })(props);
61624
61627
  }
@@ -89196,7 +89199,7 @@ const TimelineColumn = styled(Tile)`
89196
89199
  width: 26px;
89197
89200
  `;
89198
89201
  const TimelineLine = styled.div`
89199
- width: 1px;
89202
+ width: 2px;
89200
89203
  flex: 1;
89201
89204
  background-color: ${({ $color }) => $color ?? "#9A9A9A"};
89202
89205
  `;
@@ -89229,6 +89232,7 @@ const TileLog = ({
89229
89232
  none: "#CBCBCB",
89230
89233
  success: "#A7DFAF",
89231
89234
  error: "#F3A9AB",
89235
+ exception: "#FFE5BE",
89232
89236
  "in-progress": "#AFB8FB",
89233
89237
  generic: "#CBCBCB"
89234
89238
  };
@@ -89236,6 +89240,7 @@ const TileLog = ({
89236
89240
  none: void 0,
89237
89241
  success: theme.colors.status["success"].onsurface,
89238
89242
  error: theme.colors.status["error"].onsurface,
89243
+ exception: theme.colors.status["warning"].onsurface,
89239
89244
  "in-progress": theme.colors.status["info"].onsurface,
89240
89245
  generic: theme.colors.status["generic"].onsurface
89241
89246
  };
@@ -89262,6 +89267,20 @@ const TileLog = ({
89262
89267
  hasIcon: true
89263
89268
  }
89264
89269
  ),
89270
+ exception: /* @__PURE__ */ jsxRuntime.jsx(
89271
+ Badge$1,
89272
+ {
89273
+ state: "warning",
89274
+ customIcon: /* @__PURE__ */ jsxRuntime.jsx(
89275
+ HiInformationCircle,
89276
+ {
89277
+ size: 16,
89278
+ color: theme.colors.status["warning"].onsurface
89279
+ }
89280
+ ),
89281
+ hasIcon: true
89282
+ }
89283
+ ),
89265
89284
  "in-progress": /* @__PURE__ */ jsxRuntime.jsx(
89266
89285
  Badge$1,
89267
89286
  {
package/dist/index.js CHANGED
@@ -61601,6 +61601,9 @@ function HiDotsHorizontal(props) {
61601
61601
  function HiExclamationCircle(props) {
61602
61602
  return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z", "clipRule": "evenodd" }, "child": [] }] })(props);
61603
61603
  }
61604
+ function HiInformationCircle(props) {
61605
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z", "clipRule": "evenodd" }, "child": [] }] })(props);
61606
+ }
61604
61607
  function HiMinusCircle(props) {
61605
61608
  return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 000 2h6a1 1 0 100-2H7z", "clipRule": "evenodd" }, "child": [] }] })(props);
61606
61609
  }
@@ -89178,7 +89181,7 @@ const TimelineColumn = styled(Tile)`
89178
89181
  width: 26px;
89179
89182
  `;
89180
89183
  const TimelineLine = styled.div`
89181
- width: 1px;
89184
+ width: 2px;
89182
89185
  flex: 1;
89183
89186
  background-color: ${({ $color }) => $color ?? "#9A9A9A"};
89184
89187
  `;
@@ -89211,6 +89214,7 @@ const TileLog = ({
89211
89214
  none: "#CBCBCB",
89212
89215
  success: "#A7DFAF",
89213
89216
  error: "#F3A9AB",
89217
+ exception: "#FFE5BE",
89214
89218
  "in-progress": "#AFB8FB",
89215
89219
  generic: "#CBCBCB"
89216
89220
  };
@@ -89218,6 +89222,7 @@ const TileLog = ({
89218
89222
  none: void 0,
89219
89223
  success: theme.colors.status["success"].onsurface,
89220
89224
  error: theme.colors.status["error"].onsurface,
89225
+ exception: theme.colors.status["warning"].onsurface,
89221
89226
  "in-progress": theme.colors.status["info"].onsurface,
89222
89227
  generic: theme.colors.status["generic"].onsurface
89223
89228
  };
@@ -89244,6 +89249,20 @@ const TileLog = ({
89244
89249
  hasIcon: true
89245
89250
  }
89246
89251
  ),
89252
+ exception: /* @__PURE__ */ jsx(
89253
+ Badge$1,
89254
+ {
89255
+ state: "warning",
89256
+ customIcon: /* @__PURE__ */ jsx(
89257
+ HiInformationCircle,
89258
+ {
89259
+ size: 16,
89260
+ color: theme.colors.status["warning"].onsurface
89261
+ }
89262
+ ),
89263
+ hasIcon: true
89264
+ }
89265
+ ),
89247
89266
  "in-progress": /* @__PURE__ */ jsx(
89248
89267
  Badge$1,
89249
89268
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobolt/genesis",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "genesis design system",
5
5
  "author": "gobolt",
6
6
  "license": "MIT",