@eightshift/ui-components 8.4.1 → 8.5.0-beta.1

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 (55) hide show
  1. package/README.md +8 -0
  2. package/dist/assets/fonts-manifest.json +66 -0
  3. package/dist/assets/style-admin-no-fonts.css +2 -0
  4. package/dist/assets/style-admin.css +1 -1
  5. package/dist/assets/style-editor-no-fonts.css +2 -0
  6. package/dist/assets/style-editor.css +1 -1
  7. package/dist/assets/style-no-fonts.css +2 -0
  8. package/dist/assets/style.css +1 -1
  9. package/dist/{button-NgEJ1eT2.js → button-Bp6Gvutm.js} +1 -1
  10. package/dist/components/animated-visibility/animated-visibility.js +1 -1
  11. package/dist/components/breakpoint-preview/breakpoint-preview.js +15 -15
  12. package/dist/components/button/button.js +1 -1
  13. package/dist/components/color-pickers/gradient-editor.js +1 -1
  14. package/dist/components/component-toggle/component-toggle.js +2 -2
  15. package/dist/components/container-panel/container-panel.js +2 -2
  16. package/dist/components/contextual-help/contextual-help.js +1 -1
  17. package/dist/components/draggable-list/draggable-list-item.js +1 -1
  18. package/dist/components/expandable/expandable.js +1 -1
  19. package/dist/components/index.js +8 -8
  20. package/dist/components/layout/vstack.js +1 -1
  21. package/dist/components/link-input/link-input.js +1 -1
  22. package/dist/components/menu/menu.js +1 -1
  23. package/dist/components/modal/modal.js +1 -1
  24. package/dist/components/notice/notice.js +1 -1
  25. package/dist/components/number-picker/number-picker.js +1 -1
  26. package/dist/components/option-select/option-select.js +2 -2
  27. package/dist/components/placeholders/file-picker-shell.js +1 -1
  28. package/dist/components/placeholders/image-placeholder.js +2 -2
  29. package/dist/components/popover/popover.js +1 -1
  30. package/dist/components/prompt-popover/prompt-popover.js +4 -2
  31. package/dist/components/repeater/repeater-item.js +1 -1
  32. package/dist/components/repeater/repeater.js +1 -1
  33. package/dist/components/responsive/mini-responsive.js +2 -2
  34. package/dist/components/responsive/responsive-legacy.js +5 -5
  35. package/dist/components/responsive/responsive.js +3 -3
  36. package/dist/components/responsive-preview/responsive-preview.js +1 -1
  37. package/dist/components/select/async-multi-select.js +2 -2
  38. package/dist/components/select/async-select.js +2 -2
  39. package/dist/components/select/multi-select.js +2 -2
  40. package/dist/components/select/single-select.js +2 -2
  41. package/dist/components/slider/column-config-slider.js +2 -2
  42. package/dist/components/slider/slider.js +3 -3
  43. package/dist/components/smart-image/smart-image.js +1 -1
  44. package/dist/components/tabs/tabs.js +1 -1
  45. package/dist/components/toggle-button/toggle-button.js +1 -1
  46. package/dist/components/tooltip/tooltip.js +1 -1
  47. package/dist/{gradient-editor-CO1iXPM9.js → gradient-editor-Cdr-8Rgz.js} +6 -6
  48. package/dist/index.js +8 -8
  49. package/dist/{link-input-D1BWznvA.js → link-input-wXPvMs_J.js} +6 -6
  50. package/dist/{modal-DPHjb2V4.js → modal-hRIfHOS5.js} +2 -2
  51. package/dist/{number-picker-Dqwxp_2B.js → number-picker-CBvcBF-r.js} +1 -1
  52. package/dist/{tabs-DvGKX3V7.js → tabs-oYIgL_0S.js} +4 -4
  53. package/dist/{toggle-button-g3dLI2F1.js → toggle-button-BrQCdMsy.js} +1 -1
  54. package/dist/{tooltip-Dd1nNj0_.js → tooltip-C80k6UfC.js} +1 -1
  55. package/package.json +9 -1
package/README.md CHANGED
@@ -23,6 +23,14 @@ Class sorting stays with `bun run fmt`; Oxfmt loads `lib/style.css` to recognize
23
23
 
24
24
  Non-Tailwind theme and SVG marker classes are explicitly allowed by `better-tailwindcss/no-unknown-classes` in `oxlint.config.ts`. Extend that list only for classes defined or consumed by the project, not for unknown `es:` utilities.
25
25
 
26
+ ## Shared font assets
27
+
28
+ Existing `styles`, `styles-editor`, and `styles-admin` exports continue to include fonts. Applications managing shared same-origin fonts can instead load `styles-no-fonts`, `styles-editor-no-fonts`, and `styles-admin-no-fonts`. Their files are `dist/assets/style-no-fonts.css`, `style-editor-no-fonts.css`, and `style-admin-no-fonts.css`; explicit file-path exports are also available. These companions omit font declarations, not font-family styling. Load only one version of each stylesheet.
29
+
30
+ The `fonts-manifest` export (`dist/assets/fonts-manifest.json`) contains `{ version: 1, fonts: [{ hash, file }], css }`. Each hash is the full lowercase SHA-256 of the emitted font bytes; each file is an assets-relative `fonts/<filename>` path. `css` is the complete font-face stylesheet, preserving weights, subsets, display settings, and Unicode ranges, with assets-relative `./fonts/<filename>` URLs. Original files remain under `dist/assets/fonts/`.
31
+
32
+ Consumers must validate the manifest, publish these font bytes at their shared same-origin URLs, rewrite the matching CSS URLs, and load the resulting font stylesheet once alongside the font-free companions. Do not import a font-included stylesheet as well: this would reintroduce the original font URLs. Without a shared-font integration, continue using the existing exports.
33
+
26
34
  ## Who do I talk to?
27
35
 
28
36
  If you have any questions or problems, please [open an issue](https://github.com/infinum/eightshift-ui-components/issues) on GitHub and we will do our best to give you a timely answer.
@@ -0,0 +1,66 @@
1
+ {
2
+ "version": 1,
3
+ "fonts": [
4
+ {
5
+ "hash": "ead637fd0b6b887d829b3ce3f25fdc242b1de0cfb69c0d97987933675d1315ba",
6
+ "file": "fonts/geist-latin-400-normal.woff2"
7
+ },
8
+ {
9
+ "hash": "6145bf6706dbc1b6686f04f871489cf724951f00b752745896ccdcac07639a53",
10
+ "file": "fonts/geist-latin-500-normal.woff2"
11
+ },
12
+ {
13
+ "hash": "728e76ff0b76212419e83011f5202c2fd1144da9d7915a4fa787561f5a3f334d",
14
+ "file": "fonts/geist-latin-700-normal.woff2"
15
+ },
16
+ {
17
+ "hash": "6e4c9792d82ae0ddb7e0e4c83afa7deb9fcf785ca373c25f63cfe577d0f78fd7",
18
+ "file": "fonts/geist-latin-ext-400-normal.woff2"
19
+ },
20
+ {
21
+ "hash": "b35a1f6ecc3923cc5edfcc45b4394e5905168fe10bf6f507c1d752962f69cbc2",
22
+ "file": "fonts/geist-latin-ext-500-normal.woff2"
23
+ },
24
+ {
25
+ "hash": "f942cf9480a5dc6ef1bfd4d6e2983049452b404850afdbb179ee72df438044f7",
26
+ "file": "fonts/geist-latin-ext-700-normal.woff2"
27
+ },
28
+ {
29
+ "hash": "3f98383b122fe015a48536cd4a1cda855a201718923ffe74931a01597107b9b5",
30
+ "file": "fonts/geist-mono-latin-400-normal.woff2"
31
+ },
32
+ {
33
+ "hash": "72971bd4908d3984fa1b1426bb363730e4957e16a0f58bfbca76993095715488",
34
+ "file": "fonts/geist-mono-latin-500-normal.woff2"
35
+ },
36
+ {
37
+ "hash": "e26f16d6bda234828e574c948d9a5aca1327f83df2b3529a4ebea406ca026d0c",
38
+ "file": "fonts/geist-mono-latin-700-normal.woff2"
39
+ },
40
+ {
41
+ "hash": "8ede9cb664d0e0446ed066201d58e444f6147645ae0cb1108f765f68c54fe0a4",
42
+ "file": "fonts/geist-mono-latin-ext-400-normal.woff2"
43
+ },
44
+ {
45
+ "hash": "84c2a01e0e35619e561d46285ccecec68aae76cb96c618b8e047806cb5530741",
46
+ "file": "fonts/geist-mono-latin-ext-500-normal.woff2"
47
+ },
48
+ {
49
+ "hash": "b1ebee3cc1ac18e8f8ad144e6876a218dab6aec36a780f2ae42b78d9657d69fc",
50
+ "file": "fonts/geist-mono-latin-ext-700-normal.woff2"
51
+ },
52
+ {
53
+ "hash": "87218291dc2464e35c34d2a21f7127bdba4d7beee22975d3552245d2293a6d38",
54
+ "file": "fonts/google-sans-flex-latin-full-normal.woff2"
55
+ },
56
+ {
57
+ "hash": "d049a5d1464a52cbd704bebd39a7b986dbb307bdb4dd3f63affdb8a0a2274e04",
58
+ "file": "fonts/google-sans-flex-latin-ext-full-normal.woff2"
59
+ },
60
+ {
61
+ "hash": "b25c89681d73c5db50d8c3107ec8d4e5a922560583f7cb1356da97c1c0f0c1c8",
62
+ "file": "fonts/google-sans-flex-symbols-full-normal.woff2"
63
+ }
64
+ ],
65
+ "css": "@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:400;src:url(./fonts/geist-latin-400-normal.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:500;src:url(./fonts/geist-latin-500-normal.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:700;src:url(./fonts/geist-latin-700-normal.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:400;src:url(./fonts/geist-latin-ext-400-normal.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:500;src:url(./fonts/geist-latin-ext-500-normal.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:700;src:url(./fonts/geist-latin-ext-700-normal.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./fonts/geist-mono-latin-400-normal.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./fonts/geist-mono-latin-500-normal.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:700;src:url(./fonts/geist-mono-latin-700-normal.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./fonts/geist-mono-latin-ext-400-normal.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./fonts/geist-mono-latin-ext-500-normal.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:700;src:url(./fonts/geist-mono-latin-ext-700-normal.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Google Sans Flex Variable;font-style:oblique 0deg 10deg;font-display:swap;font-weight:1 1000;font-stretch:25% 151%;src:url(./fonts/google-sans-flex-latin-full-normal.woff2)format(\"woff2-variations\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Google Sans Flex Variable;font-style:oblique 0deg 10deg;font-display:swap;font-weight:1 1000;font-stretch:25% 151%;src:url(./fonts/google-sans-flex-latin-ext-full-normal.woff2)format(\"woff2-variations\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Google Sans Flex Variable;font-style:oblique 0deg 10deg;font-display:swap;font-weight:1 1000;font-stretch:25% 151%;src:url(./fonts/google-sans-flex-symbols-full-normal.woff2)format(\"woff2-variations\");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}"
66
+ }