@arthurzakharov/ui-kit 2.9.0 → 2.10.0

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.
@@ -0,0 +1 @@
1
+ ._Timetable_1y4a7_1{display:flex;flex-direction:column;gap:var(--rm-ui-padding-xxs);padding:var(--rm-ui-padding-sm) var(--rm-ui-padding-md)}._Title_1y4a7_8{margin:0;font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-primary)}._Line_1y4a7_16{margin:0;font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-secondary)}
@@ -0,0 +1 @@
1
+ export { Timetable, type TimetableProps } from './timetable.component';
@@ -0,0 +1,4 @@
1
+ import { Timetable as o } from "./timetable.component.js";
2
+ export {
3
+ o as Timetable
4
+ };
@@ -0,0 +1,6 @@
1
+ import { Base } from '../../utils/types';
2
+ export interface TimetableProps extends Base {
3
+ title: string;
4
+ lines: string[];
5
+ }
6
+ export declare const Timetable: ({ title, lines, ...base }: TimetableProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { jsxs as d, jsx as s } from "react/jsx-runtime";
2
+ import { baseProps as l, clsx as o } from "../../utils/functions/functions.util.js";
3
+ import '../../assets/timetable-C4OGIa6M.css';const r = "_Timetable_1y4a7_1", T = "_Title_1y4a7_8", _ = "_Line_1y4a7_16", e = {
4
+ Timetable: r,
5
+ Title: T,
6
+ Line: _
7
+ }, L = ({ title: c, lines: m, ...a }) => {
8
+ const t = l(a, "data-testid", "timetable");
9
+ return /* @__PURE__ */ d("div", { "data-testid": t, className: o(e.Timetable, l(a, "className")), children: [
10
+ /* @__PURE__ */ s("p", { "data-testid": `${t}-title`, className: e.Title, children: c }),
11
+ m.map((n, i) => /* @__PURE__ */ s("p", { "data-testid": `${t}-line-${i}`, className: e.Line, children: n }, i))
12
+ ] });
13
+ };
14
+ export {
15
+ L as Timetable
16
+ };
package/dist/main.d.ts CHANGED
@@ -48,6 +48,7 @@ export { Payment, type PaymentBlockProps, type PaymentGlassProps, type PaymentIn
48
48
  export { PriceLine, type PriceLineProps } from './components/price-line';
49
49
  export { Sidebar, type SidebarProps } from './components/sidebar';
50
50
  export { Signature } from './components/signature';
51
+ export { Timetable, type TimetableProps } from './components/timetable';
51
52
  export { Svg, type SvgProps } from './utils/svg/svg.component';
52
53
  export { Text, type TextProps } from './components/text';
53
54
  export { UserPanel } from './components/user-panel';
package/dist/main.js CHANGED
@@ -7,8 +7,8 @@ import { Button as d } from "./controls/buttons/button/button.component.js";
7
7
  import { ButtonCard as l } from "./controls/buttons/button-card/button-card.component.js";
8
8
  import { ButtonRadio as u } from "./controls/buttons/button-radio/button-radio.component.js";
9
9
  import { ButtonText as B } from "./controls/buttons/button-text/button-text.component.js";
10
- import { CardImage as F } from "./controls/interactives/card-image/card-image.component.js";
11
- import { CardText as T } from "./controls/interactives/card-text/card-text.component.js";
10
+ import { CardImage as b } from "./controls/interactives/card-image/card-image.component.js";
11
+ import { CardText as F } from "./controls/interactives/card-text/card-text.component.js";
12
12
  import { Checkbox as S } from "./controls/interactives/checkbox/checkbox.component.js";
13
13
  import { Dropdown as D } from "./controls/interactives/dropdown/dropdown.component.js";
14
14
  import { Input as P } from "./controls/interactives/input/input.component.js";
@@ -33,9 +33,9 @@ import { Dialog as no } from "./components/dialog/dialog.component.js";
33
33
  import { DialogArticle as co } from "./components/dialog-article/dialog-article.component.js";
34
34
  import { Expenses as so } from "./components/expenses/expenses.component.js";
35
35
  import { Footer as go } from "./components/footer/footer.component.js";
36
- import { FormRow as Co } from "./components/form-row/form-row.component.js";
37
- import { Header as Lo } from "./components/header/header.component.js";
38
- import { InfoPanel as bo } from "./components/info-panel/info-panel.component.js";
36
+ import { FormRow as To } from "./components/form-row/form-row.component.js";
37
+ import { Header as Co } from "./components/header/header.component.js";
38
+ import { InfoPanel as Lo } from "./components/info-panel/info-panel.component.js";
39
39
  import { Information as Ao } from "./components/information/information.component.js";
40
40
  import { Layout as Io } from "./components/layout/layout.component.js";
41
41
  import { Line as Ro } from "./components/line/line.component.js";
@@ -48,11 +48,12 @@ import { Payment as Uo } from "./components/payment/payment.component.js";
48
48
  import { PriceLine as jo } from "./components/price-line/price-line.component.js";
49
49
  import { Sidebar as Jo } from "./components/sidebar/sidebar.component.js";
50
50
  import { Signature as Oo } from "./components/signature/signature.component.js";
51
- import { Svg as Vo } from "./utils/svg/svg.component.js";
52
- import { Text as Yo } from "./components/text/text.component.js";
53
- import { UserPanel as _o } from "./components/user-panel/user-panel.component.js";
54
- import { Warranty as or } from "./components/warranty/warranty.component.js";
55
- import { clsx as er, convertToEuro as tr } from "./utils/functions/functions.util.js";
51
+ import { Timetable as Vo } from "./components/timetable/timetable.component.js";
52
+ import { Svg as Yo } from "./utils/svg/svg.component.js";
53
+ import { Text as _o } from "./components/text/text.component.js";
54
+ import { UserPanel as or } from "./components/user-panel/user-panel.component.js";
55
+ import { Warranty as er } from "./components/warranty/warranty.component.js";
56
+ import { clsx as xr, convertToEuro as mr } from "./utils/functions/functions.util.js";
56
57
  import './assets/main-DZmlIs7j.css';export {
57
58
  Z as Accordion,
58
59
  $ as AccordionTable,
@@ -63,8 +64,8 @@ import './assets/main-DZmlIs7j.css';export {
63
64
  u as ButtonRadio,
64
65
  B as ButtonText,
65
66
  z as Caption,
66
- F as CardImage,
67
- T as CardText,
67
+ b as CardImage,
68
+ F as CardText,
68
69
  mo as Certifications,
69
70
  S as Checkbox,
70
71
  N as Choice,
@@ -79,10 +80,10 @@ import './assets/main-DZmlIs7j.css';export {
79
80
  m as FadeScale,
80
81
  f as FadeSlide,
81
82
  go as Footer,
82
- Co as FormRow,
83
- Lo as Header,
83
+ To as FormRow,
84
+ Co as Header,
84
85
  q as HiddenInput,
85
- bo as InfoPanel,
86
+ Lo as InfoPanel,
86
87
  Ao as Information,
87
88
  P as Input,
88
89
  K as Label,
@@ -101,12 +102,13 @@ import './assets/main-DZmlIs7j.css';export {
101
102
  Jo as Sidebar,
102
103
  Oo as Signature,
103
104
  X as Status,
104
- Vo as Svg,
105
- Yo as Text,
105
+ Yo as Svg,
106
+ _o as Text,
106
107
  w as TextArea,
107
108
  E as TextField,
108
- _o as UserPanel,
109
- or as Warranty,
110
- er as clsx,
111
- tr as convertToEuro
109
+ Vo as Timetable,
110
+ or as UserPanel,
111
+ er as Warranty,
112
+ xr as clsx,
113
+ mr as convertToEuro
112
114
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "2.9.0",
4
+ "version": "2.10.0",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",