@cagatayfdn/flora-components 0.0.115 → 0.0.116

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 (117) hide show
  1. package/dist/Accordion.css +1 -1
  2. package/dist/ActionButton.css +1 -1
  3. package/dist/AlertCard.css +1 -1
  4. package/dist/Autocomplete.css +1 -1
  5. package/dist/Button.css +1 -1
  6. package/dist/Card.css +1 -1
  7. package/dist/Checkbox.css +1 -1
  8. package/dist/Config.css +1 -1
  9. package/dist/Confirm.css +1 -1
  10. package/dist/ContentHeader.css +1 -1
  11. package/dist/Divider.css +1 -1
  12. package/dist/DropdownList.css +1 -1
  13. package/dist/ErrorLogModal.css +1 -1
  14. package/dist/FileUpload.css +1 -1
  15. package/dist/FileUpload.module-BxCEtOHx.js +32 -0
  16. package/dist/Heading.css +1 -1
  17. package/dist/IconBox.css +1 -1
  18. package/dist/InfoBoxList.css +1 -1
  19. package/dist/InfoBoxList.module-CmdO3WXi.js +8 -0
  20. package/dist/InfoDate.css +1 -1
  21. package/dist/InfoText.css +1 -1
  22. package/dist/Input.css +1 -1
  23. package/dist/Label.css +1 -1
  24. package/dist/Legends.css +1 -1
  25. package/dist/Loading.css +1 -1
  26. package/dist/MenuItem-Df6Zsa7E.js +53 -0
  27. package/dist/MenuItem.css +1 -1
  28. package/dist/Modal.css +1 -1
  29. package/dist/NoResult.css +1 -1
  30. package/dist/PageWrap.css +1 -1
  31. package/dist/Pager.css +1 -1
  32. package/dist/Panel.css +1 -1
  33. package/dist/Radio.css +1 -1
  34. package/dist/ResultError.css +1 -1
  35. package/dist/ScrollContainer.css +1 -1
  36. package/dist/{Select-DcLZCXNo.js → Select-BGHusr4q.js} +1 -1
  37. package/dist/Select.css +1 -1
  38. package/dist/Select.module-gwwx8i1I.js +20 -0
  39. package/dist/StatusTag.css +1 -1
  40. package/dist/StatusTypography.css +1 -1
  41. package/dist/Stepper.css +1 -1
  42. package/dist/Switch.css +1 -1
  43. package/dist/Tab.css +1 -1
  44. package/dist/Table.css +1 -1
  45. package/dist/Table.module-vUNIKXwV.js +29 -0
  46. package/dist/Textarea.css +1 -1
  47. package/dist/Tooltip.css +1 -1
  48. package/dist/TypographyText.css +1 -1
  49. package/dist/ValidationError.css +1 -1
  50. package/dist/components/Accordion/Accordion.js +22 -22
  51. package/dist/components/ActionButton/ActionButton.js +25 -25
  52. package/dist/components/AlertCard/AlertCard.js +9 -9
  53. package/dist/components/Autocomplete/Autocomplete.js +25 -25
  54. package/dist/components/Button/Button.js +43 -43
  55. package/dist/components/Card/Card.js +12 -12
  56. package/dist/components/Charts/Legends.js +8 -8
  57. package/dist/components/Checkbox/Checkbox.js +46 -109
  58. package/dist/components/Config/Config.js +14 -14
  59. package/dist/components/Confirm/Confirm.js +20 -20
  60. package/dist/components/ContentHeader/ContentHeader.js +31 -31
  61. package/dist/components/Datepicker/Datepicker.js +18 -18
  62. package/dist/components/Divider/Divider.js +19 -19
  63. package/dist/components/Drawer/index.js +4 -4
  64. package/dist/components/Dropdown/DropdownList.js +23 -23
  65. package/dist/components/ErrorLogModal/ErrorLogModal.js +36 -31
  66. package/dist/components/FileUpload/FileUpload.js +1 -1
  67. package/dist/components/FileUpload/ImagePreview.js +1 -1
  68. package/dist/components/FileUpload/LengthCard.js +1 -1
  69. package/dist/components/FileUpload/PreviewModal.js +1 -1
  70. package/dist/components/Heading/Heading.js +14 -14
  71. package/dist/components/IconBox/IconBox.js +4 -4
  72. package/dist/components/InfoBoxList/InfoBoxList.js +1 -1
  73. package/dist/components/InfoBoxList/helper.js +1 -1
  74. package/dist/components/InfoDate/InfoDate.js +5 -5
  75. package/dist/components/InfoText/InfoText.js +1 -1
  76. package/dist/components/Input/Input.js +38 -38
  77. package/dist/components/Label/Label.js +8 -8
  78. package/dist/components/Loading/Loading.js +25 -25
  79. package/dist/components/Modal/Modal.js +22 -22
  80. package/dist/components/NavigatorCard/index.js +27 -27
  81. package/dist/components/NoResult/NoResult.js +5 -5
  82. package/dist/components/PageWrapper/PageWrap.js +7 -7
  83. package/dist/components/Pager/Pager.js +23 -23
  84. package/dist/components/Panel/Panel.js +23 -23
  85. package/dist/components/Radio/Radio.js +32 -32
  86. package/dist/components/ResultError/ResultError.js +1 -1
  87. package/dist/components/ScrollContainer/ScrollContainer.js +7 -7
  88. package/dist/components/Select/NoData.js +1 -1
  89. package/dist/components/Select/OptionItem.js +1 -1
  90. package/dist/components/Select/Select.js +2 -2
  91. package/dist/components/Sidebar/MenuItem.js +1 -1
  92. package/dist/components/Sidebar/index.js +1 -1
  93. package/dist/components/StatusTag/StatusTag.js +10 -10
  94. package/dist/components/StatusTypography/StatusTypography.js +20 -20
  95. package/dist/components/Stepper/Stepper.js +18 -18
  96. package/dist/components/Switch/Switch.js +24 -24
  97. package/dist/components/Tab/Tab.js +7 -7
  98. package/dist/components/Table/Table.js +2 -2
  99. package/dist/components/Table/TableHeader.js +2 -2
  100. package/dist/components/Table/TableSort.js +1 -1
  101. package/dist/components/Textarea/Textarea.js +51 -51
  102. package/dist/components/Tooltip/Tooltip.js +19 -19
  103. package/dist/components/TypographyText/TypographyText.js +29 -29
  104. package/dist/components/ValidationError/ValidationError.js +1 -1
  105. package/dist/components/index.js +2 -2
  106. package/dist/index.css +1 -1
  107. package/dist/index.js +2 -2
  108. package/dist/index2.css +1 -1
  109. package/dist/main.css +1 -0
  110. package/dist/main.js +55 -0
  111. package/dist/prodivers.css +2 -2
  112. package/package.json +5 -2
  113. package/dist/FileUpload.module-bCNvwTRa.js +0 -32
  114. package/dist/InfoBoxList.module-C6t2KDOB.js +0 -8
  115. package/dist/MenuItem-DAf7NU3h.js +0 -53
  116. package/dist/Select.module-BVWgPUEN.js +0 -20
  117. package/dist/Table.module-DeJB9uZC.js +0 -29
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.115",
3
+ "version": "0.0.116",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -34,6 +34,7 @@
34
34
  "dependencies": {
35
35
  "@ebay/nice-modal-react": "1.2.13",
36
36
  "@hookform/resolvers": "2.8.2",
37
+ "@tailwindcss/vite": "^4.1.17",
37
38
  "@types/node": "18.7.6",
38
39
  "@types/yup": "0.29.13",
39
40
  "axios": "0.21.0",
@@ -55,7 +56,10 @@
55
56
  "react-router-dom": "6.22.0",
56
57
  "react-toastify": "8.1.0",
57
58
  "react-tooltip": "4.2.21",
59
+ "tailwindcss": "^4.1.17",
58
60
  "vite-plugin-dts": "^3.7.3",
61
+ "vite-plugin-lib-inject-css": "^2.2.2",
62
+ "vite-tsconfig-paths": "^5.1.4",
59
63
  "yup": "0.32.11"
60
64
  },
61
65
  "devDependencies": {
@@ -92,7 +96,6 @@
92
96
  "identity-obj-proxy": "^3.0.0",
93
97
  "jest": "^29.7.0",
94
98
  "jest-environment-jsdom": "^29.7.0",
95
- "sass": "^1.72.0",
96
99
  "storybook": "^8.0.4",
97
100
  "ts-jest": "^29.1.2",
98
101
  "typescript": "^5.4.3",
@@ -1,32 +0,0 @@
1
- import './FileUpload.css';const e = "_container_1a5f2_2", _ = "_info_1a5f2_6", r = "_fieldWrap_1a5f2_15", a = "_control_1a5f2_23", o = "_selectedFileWrap_1a5f2_36", t = "_selectedFileWrap__multiple_1a5f2_44", n = "_fileGroup_1a5f2_47", i = "_imageContainer_1a5f2_50", l = "_fieldWrap__multiple_1a5f2_65", c = "_fileName_1a5f2_96", f = "_light_1a5f2_108", d = "_error_1a5f2_125", s = "_deleteIcon_1a5f2_130", p = "_border__blue_1a5f2_152", h = "_border__black_1a5f2_156", g = "_border__none_1a5f2_160", m = "_lengthCard_1a5f2_164", u = "_previewModal_1a5f2_179", b = "_header_1a5f2_183", C = "_pictureContainer_1a5f2_186", v = "_previewContainer_1a5f2_192", w = "_preview_1a5f2_179", W = "_imagePreviewModal_1a5f2_235", F = "_lengthContainer_1a5f2_250", M = {
2
- container: e,
3
- info: _,
4
- fieldWrap: r,
5
- control: a,
6
- selectedFileWrap: o,
7
- selectedFileWrap__multiple: t,
8
- fileGroup: n,
9
- imageContainer: i,
10
- fieldWrap__multiple: l,
11
- fileName: c,
12
- light: f,
13
- error: d,
14
- deleteIcon: s,
15
- "height-40": "_height-40_1a5f2_144",
16
- "height-80": "_height-80_1a5f2_148",
17
- border__blue: p,
18
- border__black: h,
19
- border__none: g,
20
- lengthCard: m,
21
- previewModal: u,
22
- header: b,
23
- pictureContainer: C,
24
- previewContainer: v,
25
- preview: w,
26
- imagePreviewModal: W,
27
- "mr-auto": "_mr-auto_1a5f2_246",
28
- lengthContainer: F
29
- };
30
- export {
31
- M as s
32
- };
@@ -1,8 +0,0 @@
1
- import './InfoBoxList.css';const e = "_item_agw97_1", c = "_connectedService_agw97_54", t = "_subUrl_agw97_59", s = {
2
- item: e,
3
- connectedService: c,
4
- subUrl: t
5
- };
6
- export {
7
- s
8
- };
@@ -1,53 +0,0 @@
1
- import { j as s } from "./jsx-runtime-BcAkpsdy.js";
2
- import r from "./components/Icon/index.js";
3
- import _ from "./components/PermaLink/PermaLink.js";
4
- import a from "./components/Tooltip/Tooltip.js";
5
- import { AppearanceDirection as c } from "./enums/appearance.js";
6
- import './MenuItem.css';const m = "_menu_1f9sy_1", l = "_arrow_1f9sy_18", u = "_up_1f9sy_33", d = "_selected_1f9sy_49", f = "_subMenuWrap_1f9sy_52", y = "_opened_1f9sy_59", x = "_hover_1f9sy_67", j = "_item_1f9sy_104", h = "_closeMenu_1f9sy_111", M = "_tooltipWrap_1f9sy_134", n = {
7
- menu: m,
8
- arrow: l,
9
- up: u,
10
- selected: d,
11
- subMenuWrap: f,
12
- opened: y,
13
- hover: x,
14
- item: j,
15
- closeMenu: h,
16
- tooltipWrap: M
17
- }, w = ({
18
- icon: e,
19
- title: o,
20
- to: t,
21
- visibleTooltip: i = !1
22
- }) => {
23
- const p = () => t ? /* @__PURE__ */ s.jsxs(_, { className: n.item, to: t, children: [
24
- e && /* @__PURE__ */ s.jsx(r, { name: e }),
25
- " ",
26
- /* @__PURE__ */ s.jsxs("span", { children: [
27
- " ",
28
- o
29
- ] })
30
- ] }) : /* @__PURE__ */ s.jsxs("a", { className: n.item, "data-testid": "menuitem-link", children: [
31
- e && /* @__PURE__ */ s.jsx(r, { name: e }),
32
- " ",
33
- /* @__PURE__ */ s.jsxs("span", { children: [
34
- " ",
35
- o
36
- ] })
37
- ] });
38
- return /* @__PURE__ */ s.jsx(
39
- a,
40
- {
41
- id: `sideItem${t}`,
42
- tooltipContent: o,
43
- tooltipVisible: i,
44
- contentClass: n.tooltipWrap,
45
- direction: c.RIGHT,
46
- children: p()
47
- }
48
- );
49
- };
50
- export {
51
- w as M,
52
- n as s
53
- };
@@ -1,20 +0,0 @@
1
- import './Select.css';const t = "_container_9jq4w_1", e = "_fieldWrap_9jq4w_7", o = "_error_9jq4w_13", _ = "_disabled_9jq4w_20", s = "_select_9jq4w_28", n = "_optionItem_9jq4w_63", c = "_selected_9jq4w_66", i = "_multiple_9jq4w_83", r = "_light_9jq4w_102", a = "_radius_9jq4w_144", l = "_itemSuffix_9jq4w_148", d = "_customOptionItem_9jq4w_153", m = "_remove_9jq4w_169", w = "_noData_9jq4w_179", j = {
2
- container: t,
3
- "react-dropdown-select-no-data": "_react-dropdown-select-no-data_9jq4w_4",
4
- fieldWrap: e,
5
- error: o,
6
- disabled: _,
7
- select: s,
8
- optionItem: n,
9
- selected: c,
10
- multiple: i,
11
- light: r,
12
- radius: a,
13
- itemSuffix: l,
14
- customOptionItem: d,
15
- remove: m,
16
- noData: w
17
- };
18
- export {
19
- j as s
20
- };
@@ -1,29 +0,0 @@
1
- import './Table.css';const t = "_wrapper_1g7h7_1", _ = "_header_1g7h7_4", e = "_title_1g7h7_7", o = "_subTitle_1g7h7_13", s = "_table_1g7h7_18", n = "_fixed_1g7h7_24", a = "_light_1g7h7_50", r = "_fixedHeader_1g7h7_55", i = "_dark_1g7h7_65", c = "_tableWrap_1g7h7_71", g = "_actionWrap_1g7h7_116", h = "_tableLoading_1g7h7_120", l = "_selectedAction_1g7h7_130", d = "_rightGroup_1g7h7_137", p = "_pageSizeWrap_1g7h7_141", b = "_pager_1g7h7_151", u = "_size_1g7h7_155", W = "_noResult_1g7h7_159", f = "_scrollWrap_1g7h7_168", x = "_justifyContentEnd_1g7h7_172", w = "_width100_1g7h7_176", z = "_sort_1g7h7_180", y = "_icons_1g7h7_188", j = "_sorted_1g7h7_196", k = {
2
- wrapper: t,
3
- header: _,
4
- title: e,
5
- subTitle: o,
6
- table: s,
7
- fixed: n,
8
- light: a,
9
- fixedHeader: r,
10
- dark: i,
11
- tableWrap: c,
12
- actionWrap: g,
13
- tableLoading: h,
14
- selectedAction: l,
15
- rightGroup: d,
16
- pageSizeWrap: p,
17
- pager: b,
18
- size: u,
19
- noResult: W,
20
- scrollWrap: f,
21
- justifyContentEnd: x,
22
- width100: w,
23
- sort: z,
24
- icons: y,
25
- sorted: j
26
- };
27
- export {
28
- k as s
29
- };