@snowcone-app/ui 0.2.5 → 0.3.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/CHANGELOG.md +23 -0
- package/dist/index.cjs +905 -580
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -1
- package/dist/index.d.ts +37 -1
- package/dist/index.js +882 -552
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/LoadingOverlayPrismCandy.tsx +476 -0
- package/src/index.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#699](https://github.com/snowcone-app/snowcone-monorepo/pull/699) [`7ee6a75`](https://github.com/snowcone-app/snowcone-monorepo/commit/7ee6a75444a97bff9071bb1d5bd81387dd16b3fb) Thanks [@kevinsproles](https://github.com/kevinsproles)! - The snowcone rainbow render-in-flight loading overlay.
|
|
8
|
+
- **canvas**: `Editor.Preview` gains a `loadingOverlay` prop (`true`/`"dark"`/
|
|
9
|
+
`"light"`): while a server render is in flight, the www PDP's prism loader
|
|
10
|
+
shimmers over the still-visible previous mockup — 200ms show-delay so
|
|
11
|
+
fast/cached renders never flash it, 400ms post-render linger, fade-out.
|
|
12
|
+
Opting in moves `data-sc-part="preview"` to a positioned `.sc-preview-frame`
|
|
13
|
+
stage (documented in the styling contract); without the prop the DOM is the
|
|
14
|
+
original bare `<img>`, unchanged. `SnowconeEditor`'s previews opt in.
|
|
15
|
+
- **ui**: `LoadingOverlayPrismCandy` / `LoadingOverlayPrismCandyInline` (the
|
|
16
|
+
PDP hero's candy loader) move into `@snowcone-app/ui` so any surface can use
|
|
17
|
+
the brand loader; the www module is now a re-export shim.
|
|
18
|
+
|
|
19
|
+
## 0.2.6
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`755ad1d`](https://github.com/snowcone-app/snowcone-monorepo/commit/755ad1dc55449c4ec2b0da0158ff411913dce832)]:
|
|
24
|
+
- @snowcone-app/sdk@0.16.0
|
|
25
|
+
|
|
3
26
|
## 0.2.5
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|