@wix/himalaya-cli 0.1782.0 → 0.1784.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +68 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +126 -18
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin → ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +486 -316
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +4 -0
- package/guides/release-notes.md +31 -0
- package/guides/sdk-reference.json +62 -1
- package/guides/store-submission.md +2 -0
- package/package.json +10 -10
- package/templates/beauty-salon/config.ts +1 -1
- package/templates/beauty-salon/dev/index.ts +2684 -916
- package/templates/beauty-salon/l10n/ar.json +95 -36
- package/templates/beauty-salon/l10n/cs.json +95 -36
- package/templates/beauty-salon/l10n/da.json +95 -36
- package/templates/beauty-salon/l10n/de.json +95 -36
- package/templates/beauty-salon/l10n/el.json +95 -36
- package/templates/beauty-salon/l10n/en.json +71 -15
- package/templates/beauty-salon/l10n/es.json +95 -36
- package/templates/beauty-salon/l10n/fi.json +95 -36
- package/templates/beauty-salon/l10n/fr.json +95 -36
- package/templates/beauty-salon/l10n/he.json +78 -29
- package/templates/beauty-salon/l10n/hu.json +95 -36
- package/templates/beauty-salon/l10n/id.json +95 -36
- package/templates/beauty-salon/l10n/it.json +95 -36
- package/templates/beauty-salon/l10n/ja.json +95 -36
- package/templates/beauty-salon/l10n/ko.json +95 -36
- package/templates/beauty-salon/l10n/lt.json +95 -36
- package/templates/beauty-salon/l10n/nl.json +95 -36
- package/templates/beauty-salon/l10n/no.json +95 -36
- package/templates/beauty-salon/l10n/pl.json +95 -36
- package/templates/beauty-salon/l10n/pt.json +95 -36
- package/templates/beauty-salon/l10n/ru.json +95 -36
- package/templates/beauty-salon/l10n/sv.json +95 -36
- package/templates/beauty-salon/l10n/th.json +95 -36
- package/templates/beauty-salon/l10n/tr.json +95 -36
- package/templates/beauty-salon/l10n/uk.json +95 -36
- package/templates/beauty-salon/l10n/vi.json +95 -36
- package/templates/beauty-salon/l10n/zh.json +95 -36
- package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/branded-lite/config.ts +1 -1
- package/templates/branded-lite/dev/index.ts +2686 -930
- package/templates/branded-lite/l10n/ar.json +80 -41
- package/templates/branded-lite/l10n/cs.json +80 -41
- package/templates/branded-lite/l10n/da.json +80 -41
- package/templates/branded-lite/l10n/de.json +80 -41
- package/templates/branded-lite/l10n/el.json +80 -41
- package/templates/branded-lite/l10n/en.json +71 -20
- package/templates/branded-lite/l10n/es.json +80 -41
- package/templates/branded-lite/l10n/fi.json +80 -41
- package/templates/branded-lite/l10n/fr.json +80 -41
- package/templates/branded-lite/l10n/he.json +66 -33
- package/templates/branded-lite/l10n/hu.json +80 -41
- package/templates/branded-lite/l10n/id.json +80 -41
- package/templates/branded-lite/l10n/it.json +80 -41
- package/templates/branded-lite/l10n/ja.json +80 -41
- package/templates/branded-lite/l10n/ko.json +80 -41
- package/templates/branded-lite/l10n/lt.json +80 -41
- package/templates/branded-lite/l10n/nl.json +80 -41
- package/templates/branded-lite/l10n/no.json +80 -41
- package/templates/branded-lite/l10n/pl.json +80 -41
- package/templates/branded-lite/l10n/pt.json +80 -41
- package/templates/branded-lite/l10n/ru.json +80 -41
- package/templates/branded-lite/l10n/sv.json +80 -41
- package/templates/branded-lite/l10n/th.json +80 -41
- package/templates/branded-lite/l10n/tr.json +80 -41
- package/templates/branded-lite/l10n/uk.json +80 -41
- package/templates/branded-lite/l10n/vi.json +80 -41
- package/templates/branded-lite/l10n/zh.json +80 -41
- package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/community-club/config.ts +1 -1
- package/templates/community-club/dev/index.ts +2742 -974
- package/templates/community-club/l10n/ar.json +95 -36
- package/templates/community-club/l10n/cs.json +95 -36
- package/templates/community-club/l10n/da.json +95 -36
- package/templates/community-club/l10n/de.json +95 -36
- package/templates/community-club/l10n/el.json +95 -36
- package/templates/community-club/l10n/en.json +71 -15
- package/templates/community-club/l10n/es.json +95 -36
- package/templates/community-club/l10n/fi.json +95 -36
- package/templates/community-club/l10n/fr.json +95 -36
- package/templates/community-club/l10n/he.json +78 -29
- package/templates/community-club/l10n/hu.json +95 -36
- package/templates/community-club/l10n/id.json +95 -36
- package/templates/community-club/l10n/it.json +95 -36
- package/templates/community-club/l10n/ja.json +95 -36
- package/templates/community-club/l10n/ko.json +95 -36
- package/templates/community-club/l10n/lt.json +95 -36
- package/templates/community-club/l10n/nl.json +95 -36
- package/templates/community-club/l10n/no.json +95 -36
- package/templates/community-club/l10n/pl.json +95 -36
- package/templates/community-club/l10n/pt.json +95 -36
- package/templates/community-club/l10n/ru.json +95 -36
- package/templates/community-club/l10n/sv.json +95 -36
- package/templates/community-club/l10n/th.json +95 -36
- package/templates/community-club/l10n/tr.json +95 -36
- package/templates/community-club/l10n/uk.json +95 -36
- package/templates/community-club/l10n/vi.json +95 -36
- package/templates/community-club/l10n/zh.json +95 -36
- package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/events-meetups/config.ts +1 -1
- package/templates/events-meetups/dev/index.ts +2705 -937
- package/templates/events-meetups/l10n/ar.json +95 -36
- package/templates/events-meetups/l10n/cs.json +95 -36
- package/templates/events-meetups/l10n/da.json +95 -36
- package/templates/events-meetups/l10n/de.json +95 -36
- package/templates/events-meetups/l10n/el.json +95 -36
- package/templates/events-meetups/l10n/en.json +71 -15
- package/templates/events-meetups/l10n/es.json +95 -36
- package/templates/events-meetups/l10n/fi.json +95 -36
- package/templates/events-meetups/l10n/fr.json +95 -36
- package/templates/events-meetups/l10n/he.json +78 -29
- package/templates/events-meetups/l10n/hu.json +95 -36
- package/templates/events-meetups/l10n/id.json +95 -36
- package/templates/events-meetups/l10n/it.json +95 -36
- package/templates/events-meetups/l10n/ja.json +95 -36
- package/templates/events-meetups/l10n/ko.json +95 -36
- package/templates/events-meetups/l10n/lt.json +95 -36
- package/templates/events-meetups/l10n/nl.json +95 -36
- package/templates/events-meetups/l10n/no.json +95 -36
- package/templates/events-meetups/l10n/pl.json +95 -36
- package/templates/events-meetups/l10n/pt.json +95 -36
- package/templates/events-meetups/l10n/ru.json +95 -36
- package/templates/events-meetups/l10n/sv.json +95 -36
- package/templates/events-meetups/l10n/th.json +95 -36
- package/templates/events-meetups/l10n/tr.json +95 -36
- package/templates/events-meetups/l10n/uk.json +95 -36
- package/templates/events-meetups/l10n/vi.json +95 -36
- package/templates/events-meetups/l10n/zh.json +95 -36
- package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/gym-fitness/config.ts +1 -1
- package/templates/gym-fitness/dev/index.ts +2621 -853
- package/templates/gym-fitness/l10n/ar.json +95 -36
- package/templates/gym-fitness/l10n/cs.json +95 -36
- package/templates/gym-fitness/l10n/da.json +95 -36
- package/templates/gym-fitness/l10n/de.json +95 -36
- package/templates/gym-fitness/l10n/el.json +95 -36
- package/templates/gym-fitness/l10n/en.json +71 -15
- package/templates/gym-fitness/l10n/es.json +95 -36
- package/templates/gym-fitness/l10n/fi.json +95 -36
- package/templates/gym-fitness/l10n/fr.json +95 -36
- package/templates/gym-fitness/l10n/he.json +78 -29
- package/templates/gym-fitness/l10n/hu.json +95 -36
- package/templates/gym-fitness/l10n/id.json +95 -36
- package/templates/gym-fitness/l10n/it.json +95 -36
- package/templates/gym-fitness/l10n/ja.json +95 -36
- package/templates/gym-fitness/l10n/ko.json +95 -36
- package/templates/gym-fitness/l10n/lt.json +95 -36
- package/templates/gym-fitness/l10n/nl.json +95 -36
- package/templates/gym-fitness/l10n/no.json +95 -36
- package/templates/gym-fitness/l10n/pl.json +95 -36
- package/templates/gym-fitness/l10n/pt.json +95 -36
- package/templates/gym-fitness/l10n/ru.json +95 -36
- package/templates/gym-fitness/l10n/sv.json +95 -36
- package/templates/gym-fitness/l10n/th.json +95 -36
- package/templates/gym-fitness/l10n/tr.json +95 -36
- package/templates/gym-fitness/l10n/uk.json +95 -36
- package/templates/gym-fitness/l10n/vi.json +95 -36
- package/templates/gym-fitness/l10n/zh.json +95 -36
- package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/nonprofit-cause/config.ts +1 -1
- package/templates/nonprofit-cause/dev/index.ts +2704 -936
- package/templates/nonprofit-cause/l10n/ar.json +95 -36
- package/templates/nonprofit-cause/l10n/cs.json +95 -36
- package/templates/nonprofit-cause/l10n/da.json +95 -36
- package/templates/nonprofit-cause/l10n/de.json +95 -36
- package/templates/nonprofit-cause/l10n/el.json +95 -36
- package/templates/nonprofit-cause/l10n/en.json +71 -15
- package/templates/nonprofit-cause/l10n/es.json +95 -36
- package/templates/nonprofit-cause/l10n/fi.json +95 -36
- package/templates/nonprofit-cause/l10n/fr.json +95 -36
- package/templates/nonprofit-cause/l10n/he.json +78 -29
- package/templates/nonprofit-cause/l10n/hu.json +95 -36
- package/templates/nonprofit-cause/l10n/id.json +95 -36
- package/templates/nonprofit-cause/l10n/it.json +95 -36
- package/templates/nonprofit-cause/l10n/ja.json +95 -36
- package/templates/nonprofit-cause/l10n/ko.json +95 -36
- package/templates/nonprofit-cause/l10n/lt.json +95 -36
- package/templates/nonprofit-cause/l10n/nl.json +95 -36
- package/templates/nonprofit-cause/l10n/no.json +95 -36
- package/templates/nonprofit-cause/l10n/pl.json +95 -36
- package/templates/nonprofit-cause/l10n/pt.json +95 -36
- package/templates/nonprofit-cause/l10n/ru.json +95 -36
- package/templates/nonprofit-cause/l10n/sv.json +95 -36
- package/templates/nonprofit-cause/l10n/th.json +95 -36
- package/templates/nonprofit-cause/l10n/tr.json +95 -36
- package/templates/nonprofit-cause/l10n/uk.json +95 -36
- package/templates/nonprofit-cause/l10n/vi.json +95 -36
- package/templates/nonprofit-cause/l10n/zh.json +95 -36
- package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/podcast-creator/config.ts +1 -1
- package/templates/podcast-creator/dev/index.ts +2704 -936
- package/templates/podcast-creator/l10n/ar.json +95 -36
- package/templates/podcast-creator/l10n/cs.json +95 -36
- package/templates/podcast-creator/l10n/da.json +95 -36
- package/templates/podcast-creator/l10n/de.json +95 -36
- package/templates/podcast-creator/l10n/el.json +95 -36
- package/templates/podcast-creator/l10n/en.json +71 -15
- package/templates/podcast-creator/l10n/es.json +95 -36
- package/templates/podcast-creator/l10n/fi.json +95 -36
- package/templates/podcast-creator/l10n/fr.json +95 -36
- package/templates/podcast-creator/l10n/he.json +78 -29
- package/templates/podcast-creator/l10n/hu.json +95 -36
- package/templates/podcast-creator/l10n/id.json +95 -36
- package/templates/podcast-creator/l10n/it.json +95 -36
- package/templates/podcast-creator/l10n/ja.json +95 -36
- package/templates/podcast-creator/l10n/ko.json +95 -36
- package/templates/podcast-creator/l10n/lt.json +95 -36
- package/templates/podcast-creator/l10n/nl.json +95 -36
- package/templates/podcast-creator/l10n/no.json +95 -36
- package/templates/podcast-creator/l10n/pl.json +95 -36
- package/templates/podcast-creator/l10n/pt.json +95 -36
- package/templates/podcast-creator/l10n/ru.json +95 -36
- package/templates/podcast-creator/l10n/sv.json +95 -36
- package/templates/podcast-creator/l10n/th.json +95 -36
- package/templates/podcast-creator/l10n/tr.json +95 -36
- package/templates/podcast-creator/l10n/uk.json +95 -36
- package/templates/podcast-creator/l10n/vi.json +95 -36
- package/templates/podcast-creator/l10n/zh.json +95 -36
- package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/portfolio-creative/config.ts +1 -1
- package/templates/portfolio-creative/dev/index.ts +2499 -731
- package/templates/portfolio-creative/l10n/ar.json +95 -36
- package/templates/portfolio-creative/l10n/cs.json +95 -36
- package/templates/portfolio-creative/l10n/da.json +95 -36
- package/templates/portfolio-creative/l10n/de.json +95 -36
- package/templates/portfolio-creative/l10n/el.json +95 -36
- package/templates/portfolio-creative/l10n/en.json +71 -15
- package/templates/portfolio-creative/l10n/es.json +95 -36
- package/templates/portfolio-creative/l10n/fi.json +95 -36
- package/templates/portfolio-creative/l10n/fr.json +95 -36
- package/templates/portfolio-creative/l10n/he.json +78 -29
- package/templates/portfolio-creative/l10n/hu.json +95 -36
- package/templates/portfolio-creative/l10n/id.json +95 -36
- package/templates/portfolio-creative/l10n/it.json +95 -36
- package/templates/portfolio-creative/l10n/ja.json +95 -36
- package/templates/portfolio-creative/l10n/ko.json +95 -36
- package/templates/portfolio-creative/l10n/lt.json +95 -36
- package/templates/portfolio-creative/l10n/nl.json +95 -36
- package/templates/portfolio-creative/l10n/no.json +95 -36
- package/templates/portfolio-creative/l10n/pl.json +95 -36
- package/templates/portfolio-creative/l10n/pt.json +95 -36
- package/templates/portfolio-creative/l10n/ru.json +95 -36
- package/templates/portfolio-creative/l10n/sv.json +95 -36
- package/templates/portfolio-creative/l10n/th.json +95 -36
- package/templates/portfolio-creative/l10n/tr.json +95 -36
- package/templates/portfolio-creative/l10n/uk.json +95 -36
- package/templates/portfolio-creative/l10n/vi.json +95 -36
- package/templates/portfolio-creative/l10n/zh.json +95 -36
- package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/restaurant/config.ts +1 -1
- package/templates/restaurant/dev/index.ts +2528 -760
- package/templates/restaurant/l10n/ar.json +95 -36
- package/templates/restaurant/l10n/cs.json +95 -36
- package/templates/restaurant/l10n/da.json +95 -36
- package/templates/restaurant/l10n/de.json +95 -36
- package/templates/restaurant/l10n/el.json +95 -36
- package/templates/restaurant/l10n/en.json +71 -15
- package/templates/restaurant/l10n/es.json +95 -36
- package/templates/restaurant/l10n/fi.json +95 -36
- package/templates/restaurant/l10n/fr.json +95 -36
- package/templates/restaurant/l10n/he.json +78 -29
- package/templates/restaurant/l10n/hu.json +95 -36
- package/templates/restaurant/l10n/id.json +95 -36
- package/templates/restaurant/l10n/it.json +95 -36
- package/templates/restaurant/l10n/ja.json +95 -36
- package/templates/restaurant/l10n/ko.json +95 -36
- package/templates/restaurant/l10n/lt.json +95 -36
- package/templates/restaurant/l10n/nl.json +95 -36
- package/templates/restaurant/l10n/no.json +95 -36
- package/templates/restaurant/l10n/pl.json +95 -36
- package/templates/restaurant/l10n/pt.json +95 -36
- package/templates/restaurant/l10n/ru.json +95 -36
- package/templates/restaurant/l10n/sv.json +95 -36
- package/templates/restaurant/l10n/th.json +95 -36
- package/templates/restaurant/l10n/tr.json +95 -36
- package/templates/restaurant/l10n/uk.json +95 -36
- package/templates/restaurant/l10n/vi.json +95 -36
- package/templates/restaurant/l10n/zh.json +95 -36
- package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/retail-store/config.ts +1 -1
- package/templates/retail-store/dev/index.ts +2417 -661
- package/templates/retail-store/l10n/ar.json +95 -41
- package/templates/retail-store/l10n/cs.json +95 -41
- package/templates/retail-store/l10n/da.json +95 -41
- package/templates/retail-store/l10n/de.json +95 -41
- package/templates/retail-store/l10n/el.json +95 -41
- package/templates/retail-store/l10n/en.json +71 -20
- package/templates/retail-store/l10n/es.json +95 -41
- package/templates/retail-store/l10n/fi.json +95 -41
- package/templates/retail-store/l10n/fr.json +95 -41
- package/templates/retail-store/l10n/he.json +78 -33
- package/templates/retail-store/l10n/hu.json +95 -41
- package/templates/retail-store/l10n/id.json +95 -41
- package/templates/retail-store/l10n/it.json +95 -41
- package/templates/retail-store/l10n/ja.json +95 -41
- package/templates/retail-store/l10n/ko.json +95 -41
- package/templates/retail-store/l10n/lt.json +95 -41
- package/templates/retail-store/l10n/nl.json +95 -41
- package/templates/retail-store/l10n/no.json +95 -41
- package/templates/retail-store/l10n/pl.json +95 -41
- package/templates/retail-store/l10n/pt.json +95 -41
- package/templates/retail-store/l10n/ru.json +95 -41
- package/templates/retail-store/l10n/sv.json +95 -41
- package/templates/retail-store/l10n/th.json +95 -41
- package/templates/retail-store/l10n/tr.json +95 -41
- package/templates/retail-store/l10n/uk.json +95 -41
- package/templates/retail-store/l10n/vi.json +95 -41
- package/templates/retail-store/l10n/zh.json +95 -41
- package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
- package/templates/yoga-studio/config.ts +1 -1
- package/templates/yoga-studio/dev/index.ts +2619 -851
- package/templates/yoga-studio/l10n/ar.json +95 -36
- package/templates/yoga-studio/l10n/cs.json +95 -36
- package/templates/yoga-studio/l10n/da.json +95 -36
- package/templates/yoga-studio/l10n/de.json +95 -36
- package/templates/yoga-studio/l10n/el.json +95 -36
- package/templates/yoga-studio/l10n/en.json +71 -15
- package/templates/yoga-studio/l10n/es.json +95 -36
- package/templates/yoga-studio/l10n/fi.json +95 -36
- package/templates/yoga-studio/l10n/fr.json +95 -36
- package/templates/yoga-studio/l10n/he.json +78 -29
- package/templates/yoga-studio/l10n/hu.json +95 -36
- package/templates/yoga-studio/l10n/id.json +95 -36
- package/templates/yoga-studio/l10n/it.json +95 -36
- package/templates/yoga-studio/l10n/ja.json +95 -36
- package/templates/yoga-studio/l10n/ko.json +95 -36
- package/templates/yoga-studio/l10n/lt.json +95 -36
- package/templates/yoga-studio/l10n/nl.json +95 -36
- package/templates/yoga-studio/l10n/no.json +95 -36
- package/templates/yoga-studio/l10n/pl.json +95 -36
- package/templates/yoga-studio/l10n/pt.json +95 -36
- package/templates/yoga-studio/l10n/ru.json +95 -36
- package/templates/yoga-studio/l10n/sv.json +95 -36
- package/templates/yoga-studio/l10n/th.json +95 -36
- package/templates/yoga-studio/l10n/tr.json +95 -36
- package/templates/yoga-studio/l10n/uk.json +95 -36
- package/templates/yoga-studio/l10n/vi.json +95 -36
- package/templates/yoga-studio/l10n/zh.json +95 -36
- package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
- package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
- package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
|
@@ -79,6 +79,10 @@ interface S {
|
|
|
79
79
|
notErrored: boolean;
|
|
80
80
|
isEmpty: boolean;
|
|
81
81
|
noEmpty: boolean;
|
|
82
|
+
/** The empty state, split: no post matches the search or the category (with Clear filters), or
|
|
83
|
+
* the blog has no posts at all (no button). */
|
|
84
|
+
noMatchHidden: boolean;
|
|
85
|
+
noPostsHidden: boolean;
|
|
82
86
|
resultSummary: string;
|
|
83
87
|
}
|
|
84
88
|
|
|
@@ -205,6 +209,7 @@ function derive(s: S): S {
|
|
|
205
209
|
const isLoading = s.status === "loading";
|
|
206
210
|
const errored = s.status === "error";
|
|
207
211
|
const isEmpty = !isLoading && !errored && s.posts.length === 0;
|
|
212
|
+
const filtered = !!s.query.trim() || !!s.selectedCategoryId;
|
|
208
213
|
return {
|
|
209
214
|
...s,
|
|
210
215
|
selectedCategoryIds: [s.selectedCategoryId],
|
|
@@ -220,6 +225,8 @@ function derive(s: S): S {
|
|
|
220
225
|
notErrored: !errored,
|
|
221
226
|
isEmpty,
|
|
222
227
|
noEmpty: !isEmpty,
|
|
228
|
+
noMatchHidden: !(isEmpty && filtered),
|
|
229
|
+
noPostsHidden: !(isEmpty && !filtered),
|
|
223
230
|
noMore: !s.hasMore,
|
|
224
231
|
nextCursor: s.hasMore ? `${s.generation}:${s.offset}` : "",
|
|
225
232
|
};
|
|
@@ -290,6 +297,8 @@ const baseState: S = derive({
|
|
|
290
297
|
errored: false,
|
|
291
298
|
notErrored: true,
|
|
292
299
|
isEmpty: false,
|
|
300
|
+
noMatchHidden: true,
|
|
301
|
+
noPostsHidden: true,
|
|
293
302
|
noEmpty: true,
|
|
294
303
|
resultSummary: "",
|
|
295
304
|
});
|