@indico-data/design-system 3.15.0 → 3.16.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.
Files changed (36) hide show
  1. package/lib/components/button/enums.d.ts +1 -1
  2. package/lib/components/button/types.d.ts +1 -1
  3. package/lib/components/icons/types.d.ts +1 -1
  4. package/lib/index.css +35 -28
  5. package/lib/index.d.ts +2 -2
  6. package/lib/index.esm.css +35 -28
  7. package/lib/index.esm.js +25 -6
  8. package/lib/index.esm.js.map +1 -1
  9. package/lib/index.js +25 -6
  10. package/lib/index.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/components/button/Button.mdx +24 -1
  13. package/src/components/button/Button.stories.tsx +7 -2
  14. package/src/components/button/Button.tsx +26 -16
  15. package/src/components/button/__tests__/Button.test.tsx +64 -11
  16. package/src/components/button/enums.ts +1 -1
  17. package/src/components/button/styles/Button.scss +19 -12
  18. package/src/components/button/styles/_variables.scss +2 -9
  19. package/src/components/button/types.ts +1 -1
  20. package/src/components/floatUI/FloatUI.stories.tsx +5 -0
  21. package/src/components/forms/input/Input.tsx +7 -2
  22. package/src/components/forms/input/styles/Input.scss +4 -2
  23. package/src/components/forms/numberInput/NumberInput.tsx +7 -2
  24. package/src/components/forms/passwordInput/PasswordInput.tsx +2 -2
  25. package/src/components/icons/Icon.mdx +1 -1
  26. package/src/components/icons/Icon.stories.tsx +2 -2
  27. package/src/components/icons/styles/Icon.scss +1 -0
  28. package/src/components/icons/types.ts +1 -1
  29. package/src/components/menu/Menu.stories.tsx +3 -0
  30. package/src/components/menu/styles/Menu.scss +2 -2
  31. package/src/components/pagination/Pagination.tsx +2 -0
  32. package/src/components/stepper/components/Legend.tsx +1 -1
  33. package/src/components/toast/Toast.stories.tsx +5 -5
  34. package/src/docs/BaseColorPalette/Swatch.tsx +2 -2
  35. package/src/docs/Primitives.mdx +7 -1
  36. package/src/styles/primitives/_iconSizes.scss +4 -4
@@ -75,7 +75,13 @@ Icon size primitives ensure consistent icon scaling across the interface.
75
75
 
76
76
  ### Icon Scale
77
77
 
78
- - **xs to 2xl**: 10px → 48px
78
+ - **xxs**: 10px
79
+ - **xs**: 12px
80
+ - **sm**: 16px
81
+ - **md**: 20px
82
+ - **lg**: 24px
83
+ - **xl**: 32px
84
+ - **2xl**: 48px
79
85
  - **3xl**: 64px
80
86
 
81
87
  ## Breakpoints
@@ -1,8 +1,8 @@
1
1
  :root {
2
- --pf-icon-size-xs: 10px;
3
- --pf-icon-size-sm: 12px;
4
- --pf-icon-size-md: 16px;
5
- // Figma has a 20
2
+ --pf-icon-size-xxs: 10px;
3
+ --pf-icon-size-xs: 12px;
4
+ --pf-icon-size-sm: 16px;
5
+ --pf-icon-size-md: 20px;
6
6
  --pf-icon-size-lg: 24px;
7
7
  --pf-icon-size-xl: 32px;
8
8
  --pf-icon-size-2xl: 48px;