@pismo/marola 2.1.5 → 2.1.8
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/assets/Fieldset.css +1 -0
- package/dist/assets/TransactionRow.css +1 -1
- package/dist/components/Fieldset/Fieldset.d.ts +8 -0
- package/dist/components/Fieldset/Fieldset.js +17 -0
- package/dist/components/Fieldset/Fieldset.stories.d.ts +13 -0
- package/dist/components/Icon/Icon.js +151 -127
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/TransactionRow/TransactionRow.js +30 -30
- package/dist/components/Typography/Typography.test.d.ts +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +85 -83
- package/package.json +1 -1
- /package/dist/components/{Typography/typography.test.d.ts → Fieldset/Fieldset.spec.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._fieldset_jfgs1_1{display:block;padding:.5rem 1rem 1rem;-webkit-appearance:inherit;-moz-appearance:inherit;appearance:inherit;border-color:var(--gray-25);border-style:solid;border-width:1px;border-radius:var(--border-radius)}._fieldset_jfgs1_1 legend{margin-left:-.5rem;font-size:var(--base-font-size-sm);color:var(--colors-neutral-text-color-text)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_kdqr0_1{width:100%;height:56px;border-top:1px solid var(--border-secondary)}._container-grid_kdqr0_6{display:grid;grid-template-columns:1fr 1.5fr .5fr 5fr 2fr 2fr;align-items:center;justify-content:space-between;padding:12px 16px}._container-pending_kdqr0_13{display:flex;align-items:center;justify-content:flex-start;padding:12px 16px}._container-pending--right_kdqr0_19{margin-left:auto}._container_kdqr0_1 :hover{cursor:pointer;background-color:var(--border-secondary)}._info-section_kdqr0_27{display:flex}._info-section--item_kdqr0_30{padding-left:8px}._info-section--item_kdqr0_30:not(:first-child){margin-left:8px;border-left:1px solid var(--border-secondary)}._info-section--right_kdqr0_37{display:flex;justify-content:flex-end}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export type FieldsetProps = PropsWithChildren<{
|
|
3
|
+
legend?: React.ReactNode;
|
|
4
|
+
'data-testid'?: string;
|
|
5
|
+
classNameWrapper?: string;
|
|
6
|
+
classNameLegend?: string;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const Fieldset: ({ children, legend, "data-testid": dataTestId, classNameWrapper, classNameLegend, }: FieldsetProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import '../../assets/Fieldset.css';const r = "_fieldset_jfgs1_1", f = {
|
|
4
|
+
fieldset: r
|
|
5
|
+
}, n = ({
|
|
6
|
+
children: e,
|
|
7
|
+
legend: s,
|
|
8
|
+
"data-testid": t,
|
|
9
|
+
classNameWrapper: d,
|
|
10
|
+
classNameLegend: i
|
|
11
|
+
}) => /* @__PURE__ */ l("fieldset", { "data-testid": t, className: c(f.fieldset, d), children: [
|
|
12
|
+
s && /* @__PURE__ */ a("legend", { className: i, children: s }),
|
|
13
|
+
e
|
|
14
|
+
] });
|
|
15
|
+
export {
|
|
16
|
+
n as Fieldset
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { FieldsetProps } from './Fieldset';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ children, legend, "data-testid": dataTestId, classNameWrapper, classNameLegend, }: FieldsetProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Simple: Story;
|