@ultraviolet/plus 0.15.1 → 0.15.3

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 (96) hide show
  1. package/dist/components/CodeEditor/CodeEditor.cjs +39 -0
  2. package/dist/components/CodeEditor/CodeEditor.js +17 -24
  3. package/dist/components/ContentCard/Skeleton.cjs +43 -0
  4. package/dist/components/ContentCard/Skeleton.js +28 -21
  5. package/dist/components/ContentCard/index.cjs +154 -0
  6. package/dist/components/ContentCard/index.js +143 -149
  7. package/dist/components/ContentCardGroup/Card.cjs +93 -0
  8. package/dist/components/ContentCardGroup/Card.js +84 -76
  9. package/dist/components/ContentCardGroup/SkeletonCard.cjs +34 -0
  10. package/dist/components/ContentCardGroup/SkeletonCard.js +19 -13
  11. package/dist/components/ContentCardGroup/index.cjs +33 -0
  12. package/dist/components/ContentCardGroup/index.js +17 -8
  13. package/dist/components/Conversation/index.cjs +128 -0
  14. package/dist/components/Conversation/index.js +100 -42
  15. package/dist/components/CustomerSatisfaction/assets/1-5.svg.cjs +3 -0
  16. package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.cjs +3 -0
  17. package/dist/components/CustomerSatisfaction/assets/2-5.svg.cjs +3 -0
  18. package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.cjs +3 -0
  19. package/dist/components/CustomerSatisfaction/assets/3-5.svg.cjs +3 -0
  20. package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.cjs +3 -0
  21. package/dist/components/CustomerSatisfaction/assets/4-5.svg.cjs +3 -0
  22. package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.cjs +3 -0
  23. package/dist/components/CustomerSatisfaction/assets/5-5.svg.cjs +3 -0
  24. package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.cjs +3 -0
  25. package/dist/components/CustomerSatisfaction/index.cjs +123 -0
  26. package/dist/components/CustomerSatisfaction/index.js +58 -81
  27. package/dist/components/EstimateCost/Components/CustomUnitInput.cjs +33 -0
  28. package/dist/components/EstimateCost/Components/CustomUnitInput.js +19 -34
  29. package/dist/components/EstimateCost/Components/Item.cjs +303 -0
  30. package/dist/components/EstimateCost/Components/Item.js +182 -199
  31. package/dist/components/EstimateCost/Components/LineThrough.cjs +18 -0
  32. package/dist/components/EstimateCost/Components/LineThrough.js +12 -9
  33. package/dist/components/EstimateCost/Components/NumberInput.cjs +29 -0
  34. package/dist/components/EstimateCost/Components/NumberInput.js +8 -15
  35. package/dist/components/EstimateCost/Components/Region.cjs +41 -0
  36. package/dist/components/EstimateCost/Components/Region.js +16 -27
  37. package/dist/components/EstimateCost/Components/Regular.cjs +35 -0
  38. package/dist/components/EstimateCost/Components/Regular.js +20 -28
  39. package/dist/components/EstimateCost/Components/Strong.cjs +28 -0
  40. package/dist/components/EstimateCost/Components/Strong.js +15 -12
  41. package/dist/components/EstimateCost/Components/Unit.cjs +50 -0
  42. package/dist/components/EstimateCost/Components/Unit.js +27 -33
  43. package/dist/components/EstimateCost/Components/UnitInput.cjs +90 -0
  44. package/dist/components/EstimateCost/Components/UnitInput.js +39 -87
  45. package/dist/components/EstimateCost/Components/Zone.cjs +40 -0
  46. package/dist/components/EstimateCost/Components/Zone.js +16 -26
  47. package/dist/components/EstimateCost/EstimateCost.cjs +88 -0
  48. package/dist/components/EstimateCost/EstimateCost.js +24 -63
  49. package/dist/components/EstimateCost/EstimateCostContent.cjs +245 -0
  50. package/dist/components/EstimateCost/EstimateCostContent.js +148 -208
  51. package/dist/components/EstimateCost/EstimateCostProvider.cjs +36 -0
  52. package/dist/components/EstimateCost/EstimateCostProvider.js +20 -23
  53. package/dist/components/EstimateCost/OverlayComponent.cjs +122 -0
  54. package/dist/components/EstimateCost/OverlayComponent.js +79 -73
  55. package/dist/components/EstimateCost/OverlayContext.cjs +14 -0
  56. package/dist/components/EstimateCost/OverlayContext.js +3 -1
  57. package/dist/components/EstimateCost/componentStyle.cjs +230 -0
  58. package/dist/components/EstimateCost/componentStyle.js +206 -148
  59. package/dist/components/EstimateCost/constants.cjs +30 -0
  60. package/dist/components/EstimateCost/helper.cjs +19 -0
  61. package/dist/components/EstimateCost/locales/en.cjs +23 -0
  62. package/dist/components/FAQ/index.cjs +36 -0
  63. package/dist/components/FAQ/index.js +9 -5
  64. package/dist/components/Navigation/Navigation.cjs +20 -0
  65. package/dist/components/Navigation/Navigation.d.ts +4 -3
  66. package/dist/components/Navigation/Navigation.js +1 -10
  67. package/dist/components/Navigation/NavigationContent.cjs +216 -0
  68. package/dist/components/Navigation/NavigationContent.js +96 -146
  69. package/dist/components/Navigation/NavigationProvider.cjs +111 -0
  70. package/dist/components/Navigation/NavigationProvider.d.ts +7 -18
  71. package/dist/components/Navigation/NavigationProvider.js +67 -98
  72. package/dist/components/Navigation/components/Group.cjs +57 -0
  73. package/dist/components/Navigation/components/Group.js +37 -41
  74. package/dist/components/Navigation/components/Item.cjs +438 -0
  75. package/dist/components/Navigation/components/Item.d.ts +4 -3
  76. package/dist/components/Navigation/components/Item.js +296 -555
  77. package/dist/components/Navigation/components/PinnedItems.cjs +108 -0
  78. package/dist/components/Navigation/components/PinnedItems.d.ts +5 -1
  79. package/dist/components/Navigation/components/PinnedItems.js +81 -119
  80. package/dist/components/Navigation/components/Separator.cjs +17 -0
  81. package/dist/components/Navigation/components/Separator.js +9 -4
  82. package/dist/components/Navigation/constants.cjs +37 -0
  83. package/dist/components/Navigation/constants.d.ts +14 -0
  84. package/dist/components/Navigation/index.d.ts +1 -0
  85. package/dist/components/Navigation/locales/en.cjs +11 -0
  86. package/dist/components/SteppedListCard/Step.cjs +37 -0
  87. package/dist/components/SteppedListCard/Step.js +19 -38
  88. package/dist/components/SteppedListCard/SteppedListContainer.cjs +80 -0
  89. package/dist/components/SteppedListCard/SteppedListContainer.js +39 -48
  90. package/dist/components/SteppedListCard/SteppedListContent.cjs +67 -0
  91. package/dist/components/SteppedListCard/SteppedListContent.js +46 -24
  92. package/dist/components/SteppedListCard/helper.cjs +37 -0
  93. package/dist/components/SteppedListCard/helper.js +1 -3
  94. package/dist/components/index.d.ts +1 -0
  95. package/dist/index.cjs +25 -0
  96. package/package.json +24 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/plus",
3
- "version": "0.15.1",
3
+ "version": "0.15.3",
4
4
  "description": "Ultraviolet Plus",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -29,12 +29,27 @@
29
29
  "type": "module",
30
30
  "module": "./dist/index.js",
31
31
  "types": "./dist/index.d.ts",
32
+ "main": "./dist/index.cjs",
32
33
  "exports": {
33
34
  ".": {
34
35
  "types": "./dist/index.d.ts",
36
+ "require": "./dist/index.cjs",
35
37
  "default": "./dist/index.js"
36
38
  }
37
39
  },
40
+ "size-limit": [
41
+ {
42
+ "path": [
43
+ "dist/**/*.js",
44
+ "!*.d.ts",
45
+ "!*.cjs"
46
+ ],
47
+ "limit": "50 kB",
48
+ "webpack": false,
49
+ "brotli": true,
50
+ "running": false
51
+ }
52
+ ],
38
53
  "peerDependencies": {
39
54
  "@emotion/react": "11.11.4",
40
55
  "@emotion/styled": "11.11.5",
@@ -43,30 +58,30 @@
43
58
  },
44
59
  "devDependencies": {
45
60
  "@babel/core": "7.24.5",
46
- "@emotion/babel-plugin": "11.11.0",
47
61
  "@emotion/react": "11.11.4",
48
62
  "@emotion/styled": "11.11.5",
49
63
  "@types/react": "18.3.1",
50
64
  "@types/react-dom": "18.3.0",
51
65
  "react": "18.3.1",
52
66
  "react-dom": "18.3.1",
53
- "@ultraviolet/icons": "2.12.6",
54
- "@ultraviolet/illustrations": "1.7.2"
67
+ "@ultraviolet/icons": "2.12.8",
68
+ "@ultraviolet/illustrations": "1.7.3"
55
69
  },
56
70
  "dependencies": {
57
71
  "@uiw/codemirror-extensions-langs": "4.21.25",
58
72
  "@uiw/codemirror-theme-material": "4.21.25",
59
73
  "@uiw/react-codemirror": "4.21.25",
60
74
  "react-intersection-observer": "9.8.2",
61
- "@ultraviolet/icons": "2.12.6",
62
- "@ultraviolet/themes": "1.10.1",
63
- "@ultraviolet/ui": "1.51.2"
75
+ "@ultraviolet/icons": "2.12.8",
76
+ "@ultraviolet/themes": "1.10.2",
77
+ "@ultraviolet/ui": "1.51.4"
64
78
  },
65
79
  "scripts": {
66
- "build:rollup": "rollup -c ../../rollup.config.mjs",
80
+ "prebuild": "shx rm -rf dist",
67
81
  "type:generate": "tsc --declaration -p tsconfig.build.json",
68
82
  "build": "vite build --config vite.config.ts && pnpm run type:generate",
69
83
  "build:profile": "npx vite-bundle-visualizer -c vite.config.ts",
70
- "typecheck": "tsc --noEmit"
84
+ "typecheck": "tsc --noEmit",
85
+ "size": "pnpm run build && size-limit"
71
86
  }
72
87
  }