Skip to content

Commit 68e8917

Browse files
Merge pull request #369 from infinum/feature/uic-docs-update
Docs update
2 parents 4b7931f + 7b0901d commit 68e8917

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1612
-257
lines changed

website/bun.lock

Lines changed: 145 additions & 177 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eightshift/docs",
3-
"version": "9.1.1",
3+
"version": "9.2.0",
44
"description": "A documentation website for Eightshift open source projects.",
55
"author": {
66
"name": "Eightshift team",
@@ -32,12 +32,12 @@
3232
"clear": "docusaurus clear"
3333
},
3434
"dependencies": {
35-
"@docusaurus/core": "^3.7.0",
36-
"@docusaurus/preset-classic": "^3.7.0",
37-
"@eightshift/ui-components": "^3.0.1",
35+
"@docusaurus/core": "^3.8.1",
36+
"@docusaurus/preset-classic": "^3.8.1",
37+
"@eightshift/ui-components": "^5.1.1",
3838
"@infinum/docusaurus-theme": "^0.5.0",
3939
"@mdx-js/react": "^3.1.0",
40-
"@wp-playground/client": "^1.0.28",
40+
"@wp-playground/client": "^1.2.1",
4141
"clsx": "^2.1.1",
4242
"es-text-loader": "file:plugins/es-text-loader",
4343
"prism-react-renderer": "^2.4.1",

website/sidebars-components.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ module.exports = {
4848
'es-ui-components/tabs',
4949
'es-ui-components/repeater',
5050
'es-ui-components/draggable-list',
51+
'es-ui-components/draggable',
5152
],
5253
},
5354
{
@@ -57,6 +58,7 @@ module.exports = {
5758
'es-ui-components/triggered-popover',
5859
'es-ui-components/animated-visibility',
5960
'es-ui-components/expandable',
61+
'es-ui-components/modal',
6062
],
6163
},
6264
{
@@ -72,6 +74,7 @@ module.exports = {
7274
type: 'category',
7375
label: 'Selection',
7476
items: [
77+
'es-ui-components/option-select',
7578
'es-ui-components/column-config-slider',
7679
'es-ui-components/matrix-align',
7780
{

website/src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export default function Home() {
9292
subtitle: 'Eightshift Development kit comes with Webpack pre-configured, so you can start building your JavaScript and CSS assets from the start. Vendor prefixes? Polyfills? SCSS compilation? Asset minification? All taken care of!'
9393
},
9494
{
95-
title: 'First-class CSS variables',
96-
subtitle: 'Forget about conditional classnames: build out CSS variables from attribute values and scope them to a particular block with almost no code.'
95+
title: 'First-class Tailwind support',
96+
subtitle: 'Speed up your development with Tailwind helpers that make it easy to build out classnames based on block attributes.'
9797
},
9898
{
9999
title: 'Cache busting',
@@ -104,7 +104,7 @@ export default function Home() {
104104
subtitle: 'Object-oriented programming is at the core of Eightshift Development kit, making your projects cleaner and allowing you to extend and replace functionality.'
105105
},
106106
{
107-
title: 'Eightshift Frontend Libs',
107+
title: 'Eightshift Frontend Libs Tailwind',
108108
subtitle: 'A collection of useful front-end utility modules and all the tools you need to start building modern Block Editor dynamic blocks.'
109109
}
110110
]}

website/src/pages/showcase-infinum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function Showcase() {
1515
keywords={siteConfig.customFields.keywords}
1616
metaImage={useBaseUrl(`img/${siteConfig.customFields.image}`)}
1717
>
18-
<ShowcaseGrid privateType={true}/>
18+
<ShowcaseGrid privateType />
1919
</Layout>
2020
);
2121
};

website/src/theme/sections/os-projects.jsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ import React from 'react';
22
import { IconLinkCards, osProjectIcons } from '@infinum/docusaurus-theme';
33

44
export const EsOpenSource = (props) => {
5+
6+
const frontendLibsTwIcon = (
7+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='80' height='80' fill='none'><path d='M44.11 14v15.36h15.35' stroke='#D92327' strokeWidth='4' strokeMiterlimit='10' strokeLinecap='square' fill='none'/><path d='M60.46 66.75H19V13h26.11l15.35 15.36v38.39Z' stroke='#D92327' strokeWidth='4' strokeMiterlimit='10' strokeLinecap='square' fill='none'/><path clip-rule='evenodd' fillRule='evenodd' d='M39.28 42c-3.275 0-5.322 1.592-6.14 4.776 1.227-1.592 2.66-2.19 4.297-1.791.934.226 1.602.885 2.34 1.615 1.205 1.188 2.599 2.563 5.642 2.563 3.274 0 5.32-1.592 6.14-4.775-1.228 1.592-2.661 2.188-4.298 1.79-.935-.227-1.603-.886-2.341-1.615C43.716 43.374 42.323 42 39.28 42Zm-6.14 7.163c-3.275 0-5.321 1.592-6.14 4.775 1.228-1.592 2.66-2.188 4.297-1.79.935.226 1.603.885 2.341 1.615 1.205 1.188 2.598 2.563 5.641 2.563 3.274 0 5.321-1.592 6.14-4.776-1.228 1.592-2.66 2.19-4.298 1.792-.934-.228-1.602-.887-2.34-1.616-1.205-1.188-2.598-2.563-5.642-2.563Z' fill='#D92327' stroke='#D92327' strokeMiterlimit='3.8637' strokeLinejoin='bevel'/></svg>
8+
);
9+
510
return (
611
<IconLinkCards
712
{...props}
@@ -23,9 +28,14 @@ export const EsOpenSource = (props) => {
2328
text: 'Eightshift Libs',
2429
url: 'https://github.com/infinum/eightshift-libs'
2530
},
31+
{
32+
icon: frontendLibsTwIcon,
33+
text: 'Eightshift Frontend Libs (Tailwind)',
34+
url: 'https://github.com/infinum/eightshift-frontend-libs-tailwind'
35+
},
2636
{
2737
icon: osProjectIcons.eightshiftFrontendLibs,
28-
text: 'Eightshift Frontend Libs',
38+
text: 'Eightshift Frontend Libs (legacy)',
2939
url: 'https://github.com/infinum/eightshift-frontend-libs'
3040
},
3141
{

website/src/theme/sections/showcase-grid/showcase-grid.js

Lines changed: 1 addition & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,6 @@ export default function ShowcaseGrid(props) {
1919
const ctaUrl = privateType ? 'https://infinum.com/contact/' : 'https://github.com/infinum/eightshift-docs/issues';
2020

2121
const privateData = [
22-
{
23-
image: useBaseUrl('img/showcase/tarisio.webp'),
24-
label: 'Tarisio',
25-
desc: 'Tarisio is a web-based auction house specializing in stringed instruments and bows. Its online auctions provide a global marketplace for fine violin sales.',
26-
link: 'https://tarisio.com/',
27-
},
28-
{
29-
image: useBaseUrl('img/showcase/t2.webp'),
30-
label: 'T2 auctions',
31-
desc: 'Auctions for the Violin Trade.',
32-
link: 'https://t2-auctions.com/',
33-
},
34-
{
35-
image: useBaseUrl('img/showcase/rasco.webp'),
36-
label: 'Rasco',
37-
desc: 'One of the leading manufacturers of municipal equipment in Europe: we produce snow ploughs (snowplow), spreaders, crane mowers and vehicle upgrades.',
38-
link: 'https://rasco.hr/',
39-
},
40-
{
41-
image: useBaseUrl('img/showcase/lynx.webp'),
42-
label: 'Lynx',
43-
desc: 'LYNX is a 2m³ vacuum road sweeper exceeding expectations. Modern design, functionality, power and ease of use for clean streets.',
44-
link: 'https://lynx.rasco.hr/',
45-
},
4622
{
4723
image: useBaseUrl('img/showcase/hak.webp'),
4824
label: 'HAK Revija',
@@ -55,18 +31,6 @@ export default function ShowcaseGrid(props) {
5531
desc: 'Our mission is to restore the feeling of joy, happiness and optimism in difficult life circumstances.',
5632
link: 'https://www.crveninosovi.hr/',
5733
},
58-
{
59-
image: useBaseUrl('img/showcase/vcfa.webp'),
60-
label: 'VCFA',
61-
desc: 'Learn with accomplished teachers and artistic colleagues from around the world. You’ll create new work, refine your vision, and enhance your critical and creative skills.',
62-
link: 'https://vcfa.edu/',
63-
},
64-
{
65-
image: useBaseUrl('img/showcase/go.webp'),
66-
label: 'Malta Go',
67-
desc: 'GO is Malta’s leading communications services company. As the first quad play provider in Malta we provide mobile, fixed line, internet and TV services to more than 500,000 customers.',
68-
link: 'https://www.go.com.mt/',
69-
},
7034
];
7135

7236
const publicData = [
@@ -94,12 +58,6 @@ export default function ShowcaseGrid(props) {
9458
desc: 'Learn how to build apps. For free. No practical experience? No problem. People who build apps every day are teaching how to create software from scratch. By the end of the course, you will have built your very own app.',
9559
link: 'https://academy.infinum.com/',
9660
},
97-
{
98-
image: useBaseUrl('img/showcase/raise-the-bar.webp'),
99-
label: 'Raise The Bar',
100-
desc: 'Coca-Cola HBC is helps to align the skills and knowledge in tourism and hospitality through Raise the Bar education program.',
101-
link: 'https://raisethebar.hr/',
102-
},
10361
{
10462
image: useBaseUrl('img/showcase/d66.webp'),
10563
label: 'D66',
@@ -108,7 +66,7 @@ export default function ShowcaseGrid(props) {
10866
},
10967
{
11068
image: useBaseUrl('img/showcase/tvornica-snova.webp'),
111-
label: 'Tvornica Snova',
69+
label: 'Tvornica snova',
11270
desc: 'Personalized books will allow each child to become the protagonist of their own story.',
11371
link: 'https://tvornicasnova.hr/',
11472
},
@@ -136,18 +94,6 @@ export default function ShowcaseGrid(props) {
13694
desc: 'Welcome to the UK Safer Internet Centre, where you can find online safety tips, advice and resources to help children and young people stay safe online.',
13795
link: 'https://saferinternet.org.uk/',
13896
},
139-
{
140-
image: useBaseUrl('img/showcase/greenwichvillage.webp'),
141-
label: 'Greenwich Village',
142-
desc: 'The Village Alliance has been a leading advocate for the Greenwich Village community for nearly thirty years.',
143-
link: 'https://greenwichvillage.nyc/',
144-
},
145-
{
146-
image: useBaseUrl('img/showcase/biller.webp'),
147-
label: 'Biller',
148-
desc: 'Let\'s make buying easier, by empowering your business buyers to use Buy Now, Pay Later. Add Biller to your checkout and watch your conversion increase.',
149-
link: 'https://biller.ai/',
150-
},
15197
{
15298
image: useBaseUrl('img/showcase/dept.webp'),
15399
label: 'DEPT®',

website/src/theme/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,8 @@
7979
.esd-space-v > :not(:last-child) {
8080
margin-bottom: 0.625rem !important;
8181
}
82+
83+
.esd-btn-custom {
84+
height: auto !important;
85+
padding: 0.5rem 1rem !important;
86+
}
-44.6 KB
Loading
10.4 KB
Loading

0 commit comments

Comments
 (0)