@selfdecode/sd-component-library 3.1.0 → 4.0.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.
Files changed (80) hide show
  1. package/lib/2475490b1273c89fe9c25a6737e253ed.svg +26 -0
  2. package/lib/components/buttons/partials/goto-button/assets/arrow-right.svg +10 -3
  3. package/lib/components/carousels/carousel-section-container/interfaces.d.ts +3 -1
  4. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/navbar-item/navbar-item.d.ts +3 -1
  5. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-box/interfaces.d.ts +2 -0
  6. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navigation-item-text/navigation-item-text.d.ts +3 -1
  7. package/lib/components/complex/navbar/presentational/url-utils.d.ts +0 -6
  8. package/lib/components/containers/flex-center/flex-center.d.ts +1 -1
  9. package/lib/components/containers/flex-center-space-between/flex-center-space-between.d.ts +3 -0
  10. package/lib/components/containers/flex-center-space-between/index.d.ts +1 -0
  11. package/lib/components/containers/flex-items-center/flex-items-center.d.ts +3 -0
  12. package/lib/components/containers/flex-items-center/index.d.ts +1 -0
  13. package/lib/components/containers/grid-containers/grid-center/grid-center.d.ts +3 -0
  14. package/lib/components/containers/grid-containers/grid-center/index.d.ts +1 -0
  15. package/lib/components/containers/grid-containers/grid-container-v2/grid-container-v2.d.ts +1 -1
  16. package/lib/components/containers/grid-containers/grid-container-v2/interfaces.d.ts +1 -1
  17. package/lib/components/containers/grid-containers/index.d.ts +1 -0
  18. package/lib/components/containers/index.d.ts +3 -0
  19. package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +2 -1
  20. package/lib/components/containers/underlined-max-width-container/index.d.ts +1 -0
  21. package/lib/components/containers/underlined-max-width-container/underlined-max-width-container.d.ts +3 -0
  22. package/lib/components/icons/index.d.ts +1 -0
  23. package/lib/components/icons/thin-arrow-left.svg +26 -0
  24. package/lib/components/inputs/client-portal-input/client-portal-input.d.ts +3 -0
  25. package/lib/components/inputs/client-portal-input/index.d.ts +1 -0
  26. package/lib/components/inputs/client-portal-input/interfaces.d.ts +6 -0
  27. package/lib/components/inputs/index.d.ts +2 -0
  28. package/lib/components/inputs/input/interfaces.d.ts +3 -2
  29. package/lib/components/inputs/multi-row-secondary-text-input/utils.d.ts +5 -0
  30. package/lib/components/inputs/search-input/index.d.ts +1 -1
  31. package/lib/components/inputs/search-input/presentational/index.d.ts +1 -2
  32. package/lib/components/inputs/search-input-v2/index.d.ts +1 -0
  33. package/lib/components/inputs/search-input-v2/interfaces.d.ts +8 -0
  34. package/lib/components/inputs/search-input-v2/search-input-v2.d.ts +3 -0
  35. package/lib/components/inputs/secondary-number-input/interfaces.d.ts +3 -10
  36. package/lib/components/inputs/secondary-text-input/interfaces.d.ts +11 -8
  37. package/lib/components/inputs/secondary-text-input/partials/secondary-input-labels/interfaces.d.ts +1 -1
  38. package/lib/components/labels/base-label/interfaces.d.ts +2 -1
  39. package/lib/components/meters/common-outline-meter-partials/label-pointer/interfaces.d.ts +1 -0
  40. package/lib/components/meters/smiley-meter-v2/interfaces.d.ts +1 -1
  41. package/lib/components/meters/smiley-meter-v2/partials/matched-range-label-box/interfaces.d.ts +1 -1
  42. package/lib/components/meters/smiley-meter-v2/partials/smiley-meter-ranges/interfaces.d.ts +1 -1
  43. package/lib/components/modals/modal/interfaces.d.ts +2 -0
  44. package/lib/components/modals/primary-modal/interfaces.d.ts +1 -1
  45. package/lib/components/pagination-bars/index.d.ts +1 -0
  46. package/lib/components/pagination-bars/pagination-bar/interfaces.d.ts +1 -1
  47. package/lib/components/pagination-bars/pagination-bar-mobile/index.d.ts +1 -0
  48. package/lib/components/pagination-bars/pagination-bar-mobile/interfaces.d.ts +5 -0
  49. package/lib/components/pagination-bars/pagination-bar-mobile/pagination-bar-mobile.d.ts +3 -0
  50. package/lib/components/pagination-bars/pagination-bar-mobile/partials/index.d.ts +2 -0
  51. package/lib/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-button/index.d.ts +1 -0
  52. package/lib/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-button/interfaces.d.ts +4 -0
  53. package/lib/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-button/pagination-bar-button.d.ts +3 -0
  54. package/lib/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-current-page/index.d.ts +1 -0
  55. package/lib/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-current-page/pagination-bar-current-page.d.ts +2 -0
  56. package/lib/components/tabs/tab-bar/interfaces.d.ts +8 -1
  57. package/lib/components/tabs/tab-bar/partials/arrow-button/arrow-button.d.ts +3 -0
  58. package/lib/components/tabs/tab-bar/partials/arrow-button/index.d.ts +1 -0
  59. package/lib/components/tabs/tab-bar/partials/arrow-button/interfaces.d.ts +5 -0
  60. package/lib/components/tabs/tab-bar/partials/index.d.ts +3 -0
  61. package/lib/components/tabs/tab-bar/partials/mask/index.d.ts +1 -0
  62. package/lib/components/tabs/tab-bar/partials/mask/interfaces.d.ts +5 -0
  63. package/lib/components/tabs/tab-bar/partials/mask/mask.d.ts +3 -0
  64. package/lib/components/tabs/tab-bar/partials/tab/interfaces.d.ts +3 -0
  65. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +1 -1
  66. package/lib/components/tabs/tab-bar/tab-bar.d.ts +1 -1
  67. package/lib/components/texts/base-text-v2/interfaces.d.ts +3 -1
  68. package/lib/components/texts/responsive-text/index.d.ts +1 -1
  69. package/lib/components/texts/responsive-text/interfaces.d.ts +6 -1
  70. package/lib/components/texts/responsive-text-v2/interfaces.d.ts +1 -1
  71. package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +5 -0
  72. package/lib/core/custom-hooks.d.ts +1 -1
  73. package/lib/core/functions.d.ts +7 -0
  74. package/lib/core/theme.d.ts +32 -5
  75. package/lib/e986409f719ff9bf4d159ad2929c4590.svg +13 -0
  76. package/lib/index.js +1 -1
  77. package/lib/setupTests.d.ts +1 -0
  78. package/package.json +10 -12
  79. package/lib/components/containers/max-width-container-v2/interfaces.d.ts +0 -2
  80. package/lib/e75b99f7d1b7c672b9a629cbc3ca8165.svg +0 -6
@@ -1 +1,2 @@
1
+ import "@testing-library/jest-dom";
1
2
  import "@testing-library/jest-dom/extend-expect";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfdecode/sd-component-library",
3
- "version": "3.1.0",
3
+ "version": "4.0.2",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -16,14 +16,15 @@
16
16
  "@rebass/forms": "^4.0.6",
17
17
  "@svgr/webpack": "^5.5.0",
18
18
  "@testing-library/jest-dom": "^4.2.4",
19
- "@testing-library/react": "^9.5.0",
19
+ "@testing-library/react": "^13.3.0",
20
20
  "@testing-library/user-event": "^7.2.1",
21
21
  "@types/body-scroll-lock": "^3.1.0",
22
22
  "@types/jest": "^24.9.1",
23
- "@types/node": "^12.12.50",
24
- "@types/react": "^16.9.43",
23
+ "@types/node": "^18.7.11",
24
+ "@types/react": "^18.0.17",
25
25
  "@types/react-date-range": "1.1.3",
26
- "@types/react-dom": "^16.9.8",
26
+ "@types/react-dom": "^18.0.6",
27
+ "@zarconontol/enzyme-adapter-react-18": "^0.7.3",
27
28
  "babel-jest": "^27.4.2",
28
29
  "babel-loader": "^8.2.3",
29
30
  "babel-plugin-named-asset-import": "^0.3.8",
@@ -52,6 +53,7 @@
52
53
  "jest-watch-typeahead": "^1.0.0",
53
54
  "lint-staged": "^10.2.11",
54
55
  "mini-css-extract-plugin": "^2.4.5",
56
+ "next-share": "^0.18.0",
55
57
  "postcss": "^8.4.4",
56
58
  "postcss-flexbugs-fixes": "^5.0.2",
57
59
  "postcss-loader": "^6.2.1",
@@ -59,15 +61,14 @@
59
61
  "postcss-preset-env": "^7.0.1",
60
62
  "prettier": "^2.0.5",
61
63
  "prompts": "^2.4.2",
62
- "react": "^16.13.1",
64
+ "react": "^18.2.0",
63
65
  "react-app-polyfill": "^3.0.0",
64
66
  "react-contenteditable": "^3.3.6",
65
67
  "react-date-range": "1.1.3",
66
68
  "react-dev-utils": "^12.0.1",
67
- "react-dom": "^16.13.1",
69
+ "react-dom": "^18.2.0",
68
70
  "react-refresh": "^0.11.0",
69
71
  "react-router-dom": "^5.3.3",
70
- "react-share": "^4.2.1",
71
72
  "react-transition-group": "^4.4.1",
72
73
  "rebass": "^4.0.7",
73
74
  "resolve": "^1.20.0",
@@ -126,7 +127,6 @@
126
127
  "devDependencies": {
127
128
  "@trivago/prettier-plugin-sort-imports": "^3.1.1",
128
129
  "@types/enzyme": "^3.10.5",
129
- "@types/enzyme-adapter-react-16": "^1.0.6",
130
130
  "@types/history": "^4.7.11",
131
131
  "@types/lodash": "^4.14.182",
132
132
  "@types/react-router-dom": "^5.3.3",
@@ -135,12 +135,10 @@
135
135
  "@types/rebass__forms": "^4.0.2",
136
136
  "copyfiles": "^2.3.0",
137
137
  "enzyme": "^3.11.0",
138
- "enzyme-adapter-react-16": "^1.15.6",
139
138
  "husky": "^4.2.5",
140
139
  "prettier-check": "^2.0.0",
141
140
  "react-docgen-typescript": "^1.18.0",
142
- "react-styleguidist": "^11.1.5",
143
- "react-test-renderer": "^16.13.1",
141
+ "react-styleguidist": "^11.2.0",
144
142
  "shelljs": "^0.8.4",
145
143
  "typescript": "^4.6.4",
146
144
  "webpack-cli": "^4.1.0",
@@ -1,2 +0,0 @@
1
- import { MaxWidthContainerProps } from "../max-width-container/interfaces";
2
- export declare type MaxWidthContainerV2Props = MaxWidthContainerProps;
@@ -1,6 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.243" viewBox="0 0 15 16.243">
2
- <g id="arrow_right" transform="translate(0.5 -9.879)">
3
- <path id="Path_86" data-name="Path 86" d="M18,24l6-6-6-6" transform="translate(-11)" fill="none" stroke="#4568f9" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
4
- <path id="Path_87" data-name="Path 87" d="M12,18H24" transform="translate(-11)" fill="none" stroke="#4568f9" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
5
- </g>
6
- </svg>