triafly-ui-kit 1.0.76 → 1.0.79

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.
Files changed (28) hide show
  1. package/README.md +93 -93
  2. package/dist/assets/src/components/Ui/Button/Button.css +1 -1
  3. package/dist/assets/src/components/Ui/ButtonsArray/ButtonsArray.css +1 -1
  4. package/dist/assets/src/components/Ui/ModalWindow/ModalWindow.css +1 -1
  5. package/dist/assets/src/components/Ui/Tooltip/Tooltip.stories.module.css +1 -1
  6. package/dist/assets/src/context/ToastContext/ToastContext.css +1 -0
  7. package/dist/components/Ui/ButtonsArray/ButtonsArray.js +28 -25
  8. package/dist/components/Ui/Form/FormItem/FormItem.js +67 -51
  9. package/dist/components/Ui/ModalWindow/ModalWindow.js +13 -13
  10. package/dist/components/Ui/NumberInput/NumberInput.js +49 -0
  11. package/dist/components/Ui/NumberInput/index.js +4 -0
  12. package/dist/components/Ui/Table/Table.js +43 -44
  13. package/dist/context/ToastContext/ToastContext.js +22 -24
  14. package/dist/context/TriaflyContext/TriaflyProvider.js +18 -17
  15. package/dist/context/TriaflyContext/hooks/useTheme/useTheme.js +5 -5
  16. package/dist/main.d.ts +12 -2
  17. package/dist/main.js +13 -11
  18. package/dist/src/components/Ui/Tooltip/Tooltip.stories.module.css.js +1 -1
  19. package/package.json +112 -112
  20. package/src/styles/_mixins.scss +21 -21
  21. package/src/styles/fix.scss +3 -3
  22. package/src/styles/main.scss +26 -26
  23. package/src/styles/reset.scss +105 -105
  24. package/src/styles/typography.scss +106 -106
  25. package/src/styles/variables.scss +277 -342
  26. package/dist/assets/src/context/ToastContext/ToastContext.module.css +0 -1
  27. package/dist/components/Ui/Button/Button.stories.js +0 -145
  28. package/dist/src/context/ToastContext/ToastContext.module.scss.js +0 -9
@@ -1,145 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { Button as e } from "./Button.js";
3
- import { IconSearch as a } from "../Icons/Icons.js";
4
- const o = {
5
- title: "UIKit/Button",
6
- component: e,
7
- tags: ["autodocs"]
8
- }, r = {
9
- args: {
10
- label: "Brand Default",
11
- type: "button"
12
- }
13
- }, u = {
14
- args: {
15
- label: "Brand Light",
16
- className: "brand-light",
17
- type: "button"
18
- }
19
- }, i = {
20
- args: {
21
- label: "Gray",
22
- className: "gray",
23
- type: "button"
24
- }
25
- }, d = {
26
- args: {
27
- label: "Danger",
28
- className: "danger",
29
- type: "button"
30
- }
31
- }, g = {
32
- args: {
33
- label: "Outlined Brand",
34
- className: "outlined",
35
- type: "button"
36
- }
37
- }, c = {
38
- args: {
39
- label: "Outlined Gray",
40
- className: "outlined gray",
41
- type: "button"
42
- }
43
- }, b = {
44
- args: {
45
- label: "Outlined Danger",
46
- className: "outlined danger",
47
- type: "button"
48
- }
49
- }, m = {
50
- args: {
51
- label: "Small",
52
- className: "sm",
53
- type: "button"
54
- }
55
- }, p = {
56
- args: {
57
- label: "Medium (default)",
58
- type: "button"
59
- }
60
- }, y = {
61
- args: {
62
- label: "Large",
63
- className: "lg",
64
- type: "button"
65
- }
66
- }, N = {
67
- args: {
68
- label: "Rounded (default)",
69
- type: "button"
70
- }
71
- }, h = {
72
- args: {
73
- label: "Semiround",
74
- className: "semiround",
75
- type: "button"
76
- }
77
- }, B = {
78
- args: {
79
- label: "Semiround Large",
80
- className: "semiround lg",
81
- type: "button"
82
- }
83
- }, D = {
84
- args: {
85
- label: "",
86
- // Пустая строка для кнопки-иконки
87
- className: "icon-button",
88
- type: "button",
89
- icon: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(a, {}) })
90
- }
91
- }, L = {
92
- args: {
93
- label: "Brand Light Large",
94
- className: "brand-light lg",
95
- type: "button"
96
- }
97
- }, O = {
98
- args: {
99
- label: "Outlined Danger Small",
100
- className: "outlined danger sm",
101
- type: "button"
102
- }
103
- }, S = {
104
- args: {
105
- label: "Disabled Outlined Gray",
106
- className: "outlined gray",
107
- type: "button",
108
- isDisabled: !0
109
- }
110
- }, f = {
111
- args: {
112
- label: "With Icons",
113
- type: "button",
114
- icon: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(a, {}) }),
115
- iconTail: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(a, {}) })
116
- }
117
- }, G = {
118
- args: {
119
- label: "Next",
120
- type: "button",
121
- navigation: "next"
122
- }
123
- };
124
- export {
125
- r as BrandDefault,
126
- u as BrandLight,
127
- L as BrandLightLarge,
128
- d as Danger,
129
- S as DisabledOutlinedGray,
130
- i as Gray,
131
- D as IconButton,
132
- y as Large,
133
- p as Medium,
134
- G as NavigationExample,
135
- g as OutlinedBrand,
136
- b as OutlinedDanger,
137
- O as OutlinedDangerSmall,
138
- c as OutlinedGray,
139
- N as Rounded,
140
- h as Semiround,
141
- B as SemiroundLarge,
142
- m as Small,
143
- f as WithIcons,
144
- o as default
145
- };
@@ -1,9 +0,0 @@
1
- import '../../../assets/src/context/ToastContext/ToastContext.module.css';const s = "_Wrapper_12sk9_1", t = "_Toast_12sk9_11", a = {
2
- Wrapper: s,
3
- Toast: t
4
- };
5
- export {
6
- t as Toast,
7
- s as Wrapper,
8
- a as default
9
- };